* sysdep.c (seed_random): Fix typo: HAV_LRAND48 -> HAVE_LRAND48.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0e23ef9d
PE
12012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2
3 Better seed support for (random).
4 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6 * play/mpuz.el, play/tetris.el, play/zone.el:
7 * calc/calc-comb.el (math-init-random-base):
8 * play/blackbox.el (bb-init-board):
9 * play/life.el (life):
10 * server.el (server-use-tcp):
11 * type-break.el (type-break):
12 Remove unnecessary call to (random t).
13 * net/sasl.el (sasl-unique-id-function):
14 Change (random t) to (random), now that the latter is more random.
15 * play/life.el (life-initialized): Remove no-longer-needed var.
16
862382df
MR
172012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
18
19 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
20 Consider frame's buffer predicate when choosing the buffer.
21 (Bug#12081)
22
262a66e1
RS
232012-08-30 Richard Stallman <rms@gnu.org>
24
25 * simple.el (special-mode-map): Delete binding for `z'.
26
f17e1d00
AS
272012-08-30 Andreas Schwab <schwab@linux-m68k.org>
28
29 * progmodes/compile.el (compilation-always-kill): Doc fix.
30
24777832
CY
312012-08-30 Chong Yidong <cyd@gnu.org>
32
33 * window.el (display-buffer-reuse-frames): Make the obsolescence
34 message more informative.
35
69ba1f04
GM
362012-08-30 Glenn Morris <rgm@gnu.org>
37
38 * paren.el (show-paren-delay):
39 Add a :set function. Doc fix. (Bug#12297)
40
f0019ede
MB
412012-08-29 Martin Blais <blais@furius.ca> (tiny change)
42
43 * progmodes/compile.el (compilation-always-kill): New var.
44 (compilation-start): Use it.
45
35e62fc9
SM
462012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
47
af070a1c
SM
48 * simple.el (read-only-mode): Move from files.el for bootstrapping.
49 * files.el (read-only-mode): Move to simple.el.
50
35e62fc9
SM
51 * files.el (read-only-mode): New minor mode.
52 (toggle-read-only): Use it and mark obsolete.
53 (find-file--read-only):
54 * vc/vc.el (vc-next-action, vc-checkout):
55 * vc/vc-cvs.el (vc-cvs-checkout):
56 * obsolete/vc-mcvs.el (vc-mcvs-update):
57 * ffap.el (ffap--toggle-read-only): Update callers.
58
c2c43c23
MA
592012-08-29 Michael Albinus <michael.albinus@gmx.de>
60
61 * eshell/esh-ext.el (eshell-external-command): Do not examine
62 remote shell scripts. See
63 <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
64
65 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
66 "/usr/local/sbin".
67
9fba804b
SM
682012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
71
eada0861 722012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 73
806f0cc7
LL
74 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
75 completion-at-point. (Bug#12220)
76
3bb213b9
LL
77 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
78
22ab32ef
LL
79 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
80
eada0861 812012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 82
19c17fc1
CY
83 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
84 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 85
eada0861 862012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
87
88 * progmodes/hideif.el (hif-compress-define-list):
89 Fix typo. (Bug#11951)
90
eada0861 912012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
92
93 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
94 buffer local setting.
95
27d6c5a8
LL
96 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
97 rcirc-encode-coding-system.
98
eada0861 992012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
100
101 * net/rcirc.el (rcirc-split-message): New function.
102 (rcirc-send-message): Use it. (Bug#12051)
103
d44688e4
JL
1042012-08-28 Juri Linkov <juri@jurta.org>
105
106 * info.el (Info-fontify-node): Hide empty lines at the end of
107 the node. (Bug#12272)
108
34f10d41
MR
1092012-08-27 Drew Adams <drew.adams@oracle.com>
110
111 * dired.el (dired-pop-to-buffer): Make window start at beginning
112 of buffer (Bug#12281).
113
77f1f99c
CY
1142012-08-26 Chong Yidong <cyd@gnu.org>
115
116 * window.el (special-display-regexps, special-display-frame-alist)
117 (special-display-buffer-names, special-display-function)
118 (display-buffer-reuse-frames): Mark as obsolete.
119
120 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
121
122 * help.el (help-print-return-message): Don't treat
123 display-buffer-reuse-frames specially.
124
d97af5a0
CY
1252012-08-26 Chong Yidong <cyd@gnu.org>
126
9fba804b
SM
127 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
128 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
129 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
130 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
131 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
132 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
133 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
134 the functions directly with gdb-display-buffer-other-frame-action.
135 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
136 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
137 (gdb-display-stack-buffer, gdb-display-locals-buffer)
138 (gdb-display-registers-buffer): Define directly.
139 (def-gdb-display-buffer): Macro deleted.
140 (gdb-display-buffer): Remove second and third args, callers don't
141 use them. Defer to the default display-buffer behavior, apart
142 from making windows dedicated.
143 (gdb-setup-windows): Don't call display-buffer unnecessarily.
144
145 * progmodes/gud.el (gud-display-line): Just use display-buffer.
146
147 * window.el (display-buffer-pop-up-frame): Handle a
148 pop-up-frame-parameters alist entry.
149 (display-buffer): Document it.
150
dd7ffad6
CY
1512012-08-26 Chong Yidong <cyd@gnu.org>
152
153 * isearch.el (search-whitespace-regexp): Make string and nil
154 values apply to both ordinary and regexp search. Allow a cons
155 cell value to distinguish between the two.
156 (isearch-whitespace-regexp, isearch-search-forward)
157 (isearch-search-backward): New functions.
158 (isearch-occur, isearch-search-fun-default, isearch-search)
159 (isearch-lazy-highlight-new-loop): Use them.
160 (isearch-forward, isearch-forward-regexp): Doc fix.
161
4c47bd1e
CY
1622012-08-26 Chong Yidong <cyd@gnu.org>
163
164 * faces.el (help-argument-name): Always inherit from italic
165 (Bug#12213).
166
9aba119d
MR
1672012-08-25 Martin Rudalics <rudalics@gmx.at>
168
169 * window.el (window--even-window-heights): Even heights when
170 WINDOW and the selected window form a vertical combination.
171 (display-buffer-use-some-window): Provide that window used gets
172 sized back by quit-window. (Bug#11880) and (Bug#12091)
173
ca5256ad
PE
1742012-08-24 Paul Eggert <eggert@cs.ucla.edu>
175
176 Fix file time stamp problem with bzr and CVS (Bug#12001).
177 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
178 in the file's time stamp, since the version control system loses
179 that information.
180
d1c0d176
JL
1812012-08-22 Juri Linkov <juri@jurta.org>
182
183 * info.el (Info-fontify-node): Hide the suffix of the
184 Info file name in the header line. (Bug#12187)
185
141562ff
GM
1862012-08-22 Glenn Morris <rgm@gnu.org>
187
188 * calendar/cal-tex.el (cal-tex-weekly-common):
189 Restore leading blank page.
190
61a48e19 1912012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
192
193 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
194 the region under `shift-select-mode'. (Bug#12231)
195
1962012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
197
198 * progmodes/executable.el (executable-prefix): Set to "#!" instead
199 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
200 gives details on why the space is never needed.
201
ea95074e
MR
2022012-08-22 Martin Rudalics <rudalics@gmx.at>
203
9fba804b
SM
204 * window.el (walk-window-tree, window-with-parameter):
205 New optional argument MINIBUF to control whether these functions
ea95074e
MR
206 should run on the minibuffer window.
207 (window-at-side-list): Don't operate on minibuffer window.
208 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
209 (window--size-ignore): Rename to window--size-ignore-p.
210 Update callers.
caceae25
MR
211 (display-buffer-in-atom-window, window--major-non-side-window)
212 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
213 (delete-side-window, display-buffer-in-side-window):
214 New functions.
caceae25
MR
215 (window--side-check, window-deletable-p, delete-window)
216 (delete-other-windows, split-window): Handle side windows and
217 atomic windows appropriately.
218 (window--display-buffer): Call display-buffer-record-window also
219 when the window buffer did not change.
ea95074e 220
80a51fa0
CS
2212012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
222
223 * help-fns.el (help-fns--key-bindings):
224 Abbreviate non-symbol remap targets. (Bug#12174)
225
fbb6300b
MR
2262012-08-22 Martin Rudalics <rudalics@gmx.at>
227
228 * dired.el (dired-mark-remembered): Don't clobber point.
229 (Bug#11795)
230
2b2c0794
GM
2312012-08-22 Glenn Morris <rgm@gnu.org>
232
233 * progmodes/bug-reference.el (bug-reference): New custom group.
234 (bug-reference-bug-regexp): Make it a defcustom.
235
37219830
DU
2362012-08-22 Daiki Ueno <ueno@unixuser.org>
237
238 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
239 (js-paren-indent-offset, js-square-indent-offset)
240 (js-curly-indent-offset): Add :safe (Bug#12257).
241
94e0e559
EC
2422012-08-22 Edward O'Connor <hober0@gmail.com>
243
244 * json.el (json-key-format): Add error properties.
245 (json-encode-key): New function.
246 (json-encode-hash-table, json-encode-alist, json-encode-plist):
247 Use json-encode-key.
248
da485f5e
GM
2492012-08-22 Glenn Morris <rgm@gnu.org>
250
251 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
252 (cal-tex-leftday, cal-tex-rightday): Remove functions.
253 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
254 Update for above change.
255
c6cc78b8
AS
2562012-08-21 Andreas Schwab <schwab@linux-m68k.org>
257
258 * cus-face.el (custom-face-attributes): Fix customize type for the
259 :underline attribute. (Bug#11805)
260
5481664a
MR
2612012-08-21 Martin Rudalics <rudalics@gmx.at>
262
263 * window.el (window-point-1, set-window-point-1): Remove.
264 (window-in-direction, record-window-buffer)
265 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
266 (window--state-get-1, display-buffer-record-window):
267 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
268 window-point and set-window-point respectively.
269
6d74698e
GM
2702012-08-21 Glenn Morris <rgm@gnu.org>
271
b7fa2691
GM
272 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
273 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
274 Use it.
275
52f56d5a
GM
276 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
277 (cal-tex-shortday): New function.
278 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
279 (cal-tex-cursor-filofax-daily): Use the above.
280
9f1ee09e
GM
281 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
282 New functions.
283 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
284 (cal-tex-cursor-filofax-week): Use them.
285
79858159
GM
286 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
287 New constants.
288 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
289 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
290
d346b2b4
GM
291 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
292 (cal-tex-end-document): Don't rely on buffer name.
293
b2403709
GM
294 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
295 Use cal-tex-vspace.
296 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
297 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
298 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
299 Use cal-tex-arg.
b2403709 300
1cebb5c0
GM
301 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
302 (cal-tex-cursor-week, cal-tex-cursor-week2)
303 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
304 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
305 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
306 (cal-tex-insert-preamble, cal-tex-b-document)
307 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
308 Improve cal-tex-cmd usage.
309
c68cd5d4
GM
310 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
311 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
312 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
313 (cal-tex-weekly-paper): New function.
314 (cal-tex-cursor-week, cal-tex-cursor-week2)
315 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
316 (cal-tex-cursor-day): Use it.
317
9dca4801
GM
318 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
319 (cal-tex-cursor-filofax-week): Remove leading blank page.
320
1941e134
GM
321 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
322 Add autoload cookie. For now at least, don't use color, since
323 no other cal-tex function does.
324
6d74698e
GM
325 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
326 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
327 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
328
64cde199
JL
3292012-08-21 Juri Linkov <juri@jurta.org>
330
331 * info.el (Info-file-attributes): New variable.
332 (info-insert-file-contents): Add file attributes to
333 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
334 `Info-toc-nodes' when previous modtime of the Info file is less
335 than new modtime.
336 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
337 of info.el. (Bug#12230)
338
32757648
GM
3392012-08-20 Glenn Morris <rgm@gnu.org>
340
341 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
342 * calendar/holidays.el (calendar-holiday-list):
343 Report errors with display-warning rather than beep'n'sleep.
344
a32fbbcf
MA
3452012-08-20 Michael Albinus <michael.albinus@gmx.de>
346
347 * net/tramp.el (tramp-accept-process-output): Accept only output
348 from PROC. Otherwise, process filters and sentinels might be
349 confused. (Bug#12145)
350
a05731a0
CY
3512012-08-20 Chong Yidong <cyd@gnu.org>
352
353 * descr-text.el (describe-text-properties-1): Use overlays-in to
354 report on empty overlays (Bug#3322).
355
36e8d1eb
GM
3562012-08-20 Glenn Morris <rgm@gnu.org>
357
3d300447
GM
358 * mail/rmailout.el (rmail-output-read-file-name):
359 Trap and report errors in rmail-output-file-alist elements.
360
36e8d1eb
GM
361 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
362 since most non-font-lock faces are not also variables).
363
b96e5814
ER
3642012-08-20 Edward Reingold <reingold@iit.edu>
365
366 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
367 New function. (Bug12160)
368
7cef3569
GM
3692012-08-19 Glenn Morris <rgm@gnu.org>
370
371 * mail/rmailout.el (rmail-output-read-file-name):
372 Fix previous change (when the alist is nil or does not match).
373
17975d7f
CY
3742012-08-19 Chong Yidong <cyd@gnu.org>
375
376 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
377 (Bug#12228).
378
2170b1bd
CY
3792012-08-18 Chong Yidong <cyd@gnu.org>
380
381 * simple.el (yank-handled-properties): New defcustom.
382 (yank-excluded-properties): Add font-lock-face and category.
383 (yank): Doc fix.
384
9fba804b
SM
385 * subr.el (remove-yank-excluded-properties):
386 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
387 and category is now done this way, instead of being hard-coded.
388 (insert-for-yank-1): Remove font-lock-face handling.
389 (yank-handle-font-lock-face-property)
390 (yank-handle-category-property): New function.
391
ee218151
GM
3922012-08-17 Glenn Morris <rgm@gnu.org>
393
394 * mail/rmailout.el (rmail-output-read-file-name):
395 Check rmail-output-file-alist against the full message body
396 in the correct rmail buffer. (Bug#12214)
397
4a6bc3fd
MA
3982012-08-17 Michael Albinus <michael.albinus@gmx.de>
399
9fba804b
SM
400 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
401 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 402
383dcbf9
CY
4032012-08-17 Chong Yidong <cyd@gnu.org>
404
405 * mouse.el (mouse-appearance-menu): If x-select-font returns a
406 font spec, set the font directly (Bug#3228).
407
998c4a6a
MR
4082012-08-17 Martin Rudalics <rudalics@gmx.at>
409
410 * window.el (delete-window): Fix last fix.
411
52162052
MR
4122012-08-16 Martin Rudalics <rudalics@gmx.at>
413
414 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
415 (window-child, window-child-count, window-last-child)
416 (window-normalize-window, window-combined-p)
417 (window-combinations, window-atom-root, window-min-size)
418 (window-sizable, window-sizable-p, window-size-fixed-p)
419 (window-min-delta, window-max-delta, window--resizable)
420 (window--resizable-p, window-resizable, window-total-size)
421 (window-full-height-p, window-full-width-p, window-body-size)
422 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
423 (minimize-window, window-deletable-p, delete-window)
424 (delete-other-windows, set-window-buffer-start-and-point)
425 (next-buffer, previous-buffer, split-window, balance-windows-2)
426 (set-window-text-height, window-buffer-height)
427 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
428 (truncated-partial-width-window-p): Minor code adjustments.
429 In doc-strings state whether the argument window has to denote a
85c2386b 430 live, valid or any window.
52162052 431
1c308380
PS
4322012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
433
434 * progmodes/subword.el (subword-forward-function)
435 (subword-backward-function, subword-forward-regexp)
436 (subword-backward-regexp): New variables.
437 (subword-forward, subword-forward-internal, subword-backward-internal):
438 Use new variables, eg so that different "word" definitions
439 can be easily used. (Bug#11411)
440
94c9ece1
SM
4412012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
444 for composite selectors.
445 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
446 operation just because we can't find a previous revision.
447
f2045622
CY
4482012-08-15 Chong Yidong <cyd@gnu.org>
449
450 * frame.el (set-frame-font): Accept font objects.
451
582db660
SM
4522012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
455
2f29c200
WJ
4562012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
457
456e62c2
WJ
458 * man.el (Man-overstrike-face, Man-underline-face)
459 (Man-reverse-face): Remove variables.
460 (Man-overstrike, Man-underline, Man-reverse): New faces.
461 (Man-fontify-manpage): Use them instead of the variables.
462 (Man-cleanup-manpage): Comment change.
463 (Man-ansi-color-map): New variable.
464 (Man-fontify-manpage): Use it.
465 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
466
2f29c200
WJ
467 Implement ANSI SGR parameters 22-27 (bug#12146).
468 * ansi-color.el (ansi-colors): Doc fix.
469 (ansi-color-context, ansi-color-context-region): Doc fix.
470 (ansi-color--find-face): New function.
471 (ansi-color-apply, ansi-color-apply-on-region): Use it.
472 Rename the local variable `face' to `codes' since it is now a list of
473 ansi codes. Doc fix.
474 (ansi-color-get-face): Remove.
475 (ansi-color-parse-sequence): New function, derived from
476 ansi-color-get-face.
477 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
478 codes 22-27.
479
b4f5e9df
SM
4802012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * subr.el (read-passwd): Allow use from a minibuffer.
483
ba025fbd
EZ
4842012-08-14 Eli Zaretskii <eliz@gnu.org>
485
486 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
487 inside comments and strings as identifiers.
488
489 * progmodes/gud.el (gud-tooltip-print-command): Quote the
490 expression to evaluate. This allows to evaluate expressions with
491 embedded whitespace.
492 (gud-tooltip-tips): Add a blank before the newline in the
493 message-box text, for the benefit of message-box emulation on
494 MS-Windows.
495
496 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
497 messages from GDB, pop them up in a tooltip to give feedback to
498 user.
b4f5e9df
SM
499 (gdb-tooltip-print-1): Quote the expression to evaluate.
500 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
501 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
502 if the TTY name is nil or empty (which happens when communicating
503 with the inferior via pipes, e.g. on MS-Windows).
504 (gdb-internals): If GDB sends a "&\n" empty debugging message,
505 don't send that to the GUD buffer.
506
c548f821
GM
5072012-08-14 Glenn Morris <rgm@gnu.org>
508
509 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
510 Optimize away setq-default with no args, as for setq. (Bug#12195)
511
55802e4a
CY
5122012-08-14 Chong Yidong <cyd@gnu.org>
513
4abcdac8
CY
514 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
515
55802e4a
CY
516 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
517 (Bug#12085).
518
3c3cda1a
GM
5192012-08-14 Glenn Morris <rgm@gnu.org>
520
521 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
522
e1873bd0
MA
5232012-08-14 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
526 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
527 Use cached shell name.
528
925411b4
FEG
5292012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
530
531 * progmodes/python.el (python-shell-send-string):
3c3cda1a 532 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 533
e636fafe
DG
5342012-08-14 Dmitry Gutov <dgutov@yandex.ru>
535
536 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
537 (ruby-percent-literal-beg-re): New constant.
538 (ruby-syntax-general-delimiters-goto-beg): Rename to
539 `ruby-syntax-enclosing-percent-literal', improve literal type check.
540 (ruby-syntax-propertize-general-delimiters): Rename to
541 `ruby-syntax-propertize-percent-literal', it's a shorter and more
542 popular term. Adjust comments everywhere.
543 (ruby-syntax-propertize-percent-literal): Only propertize when not
544 inside a simple string or comment. When the literal is unclosed,
545 leave the text after it unpropertized.
f063063a
DG
546 (ruby-syntax-methods-before-regexp): New constant.
547 (ruby-syntax-propertize-function): Use it to recognize regexps.
548 Don't look at the text after regexp, just use the whitelist.
e636fafe 549
e5b19827
AS
5502012-08-14 Andreas Schwab <schwab@linux-m68k.org>
551
552 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
553 non-nil always load the compiled file if it exists. (Bug#12197)
554
a9f6f311
CY
5552012-08-14 Chong Yidong <cyd@gnu.org>
556
557 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
558 (hi-lock-set-pattern): When deciding whether to use font lock or
559 overlays, look at font-lock-mode instead of font-lock-fontified
560 (Bug#12168).
561 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
562 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
563
7d806b1e
DU
5642012-08-14 Daiki Ueno <ueno@unixuser.org>
565
566 * subr.el (internal--after-with-selected-window): Fix typo
567 (Bug#12193).
568
5beed586
FEG
5692012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
570
571 Use `completion-table-dynamic' for completion functions.
572 * progmodes/python.el
573 (python-shell-completion--do-completion-at-point)
e636fafe
DG
574 (python-shell-completion--get-completions):
575 Remove functions.
5beed586
FEG
576 (python-shell-completion-complete-at-point): New function.
577 (python-completion-complete-at-point): Use it.
578
92cb3b04
J
5792012-08-13 Jambunathan K <kjambunathan@gmail.com>
580
581 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
582 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
583
89660017
SM
5842012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
585
3c98c962
SM
586 * subr.el (function-get): Refine `autoload' arg so it can also
587 autoload functions for gv.el (bug#12191).
588 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
589 autoloads macros.
590
aa7c6dbe
SM
591 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
592 Prefer pcase-let over destructuring-bind.
593 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
594 Also, remove whitespace as we go, rather than after accumulating the
595 various places.
596
89660017
SM
597 * subr.el (internal--before-with-selected-window)
598 (internal--after-with-selected-window): Fix typo seleted->selected.
599 (with-selected-window): Adjust callers.
600 Reported by Dmitry Gutov <dgutov@yandex.ru>.
601
31cd32c9
BG
6022012-08-13 Bastien Guerry <bzg@gnu.org>
603
0fcd3d9f 604 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
605 enhancement. (Bug#12172)
606
1b15d8ad
AS
6072012-08-13 Andreas Schwab <schwab@linux-m68k.org>
608
31e54db0
AS
609 * tar-mode.el (tar-header-data-end): Only ignore size for files of
610 type 1-6.
611 (tar-header-block-summarize, tar-get-descriptor): Handle pax
612 extended headers.
613
1b15d8ad
AS
614 * files.el (hack-local-variables-filter): Remove useless eval.
615
35cb9c06
MR
6162012-08-13 Martin Rudalics <rudalics@gmx.at>
617
618 * subr.el (with-selected-window): Fix last change.
619
1439443b
SM
6202012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * subr.el (internal--before-with-seleted-window)
623 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
624 (with-selected-window): Use them, to replace dependency on
625 tty-top-frame.
1439443b 626
0d9e2599
NN
6272012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
628
629 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
630 binding for `newline'.
631 (ruby-move-to-block): When moving backward, stop at block opening,
632 not indentation.
633 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
634 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
635 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
636 `ruby-toggle-block'.
637
ba10c48c
SM
6382012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * ibuffer.el (ibuffer-do-toggle-read-only):
641 * dired.el (dired-toggle-read-only):
642 * buff-menu.el (Buffer-menu-toggle-read-only):
643 * bindings.el (mode-line-toggle-read-only):
644 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
645
9229c658
AS
6462012-08-12 Andreas Schwab <schwab@linux-m68k.org>
647
648 * descr-text.el (describe-char): Put the overlays over the
649 "displayed as" character.
650
0fd09128
JB
6512012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
652
653 * calc/calc-units.el (math-default-units-table): Give an
654 initial value.
655 (math-put-default-units): Add options to put composite units and
656 unit systems in the default units table.
657 (calc-convert-units): Send composite units to
658 `math-put-default-units' when appropriate.
659
9ff9402d 6602012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 661
fbb5e336
GM
662 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
663
7aacaf15
GM
664 * tutorial.el (help-with-tutorial):
665 * emacs-lisp/copyright.el (copyright-update-directory):
666 * emacs-lisp/autoload.el (autoload-find-generated-file)
667 (autoload-find-file): Disable local eval: (for insurance).
668
f40b9f10
GM
669 * files.el (hack-local-variables-filter): If an eval: form is not
670 known to be safe, and enable-local-variables is :safe, then ignore
671 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 672 This is CVE-2012-3479.
f40b9f10 673
daa9f1a6
SM
6742012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
677 (rx-form): Simplify.
678
9cd80478
DG
6792012-08-09 Dmitry Gutov <dgutov@yandex.ru>
680
0d9e2599
NN
681 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
682 ?, _, and : are symbol constituents, ! is not (but kinda should be).
683 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
684 (ruby-syntax-propertize-function): Adjust for changes in
685 `ruby-syntax-propertize-heredoc'.
686
6872012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
688
9cd80478
DG
689 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
690 binding (use `M-;' instead).
9cd80478 691 (ruby-singleton-class-p): New function.
0d9e2599 692 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 693
d301b413
SM
6942012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
697
1530c98e
CY
6982012-08-10 Chong Yidong <cyd@gnu.org>
699
700 * progmodes/python.el (python-shell-get-process-name): Don't mess
701 with same-window-buffer-names.
702
703 * eshell/eshell.el (eshell-add-to-window-buffer-names)
704 (eshell-remove-from-window-buffer-names): Make obsolete.
705 (eshell-buffer-name, eshell-unload-hook): Don't use them.
706 (eshell): Just use pop-to-buffer-same-window instead.
707
e1293765
CY
7082012-08-10 Chong Yidong <cyd@gnu.org>
709
710 * bindings.el: Bind M-= back to count-words-region.
711
712 * simple.el (count-words-region): Accept a prefix arg for acting
713 on the entire buffer.
714 (count-words--buffer-message): New helper function.
715
e1894109
SM
7162012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
719 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
720 (event-start, event-end): Use posn-at-point to return a more
721 informative posn.
722 (posnp): New function.
723 * mouse.el (popup-menu-normalize-position): Use it.
724
c69f56a2
MY
7252012-08-10 Masatake YAMATO <yamato@redhat.com>
726
727 * mouse.el (popup-menu-normalize-position): New function.
728 (popup-menu): Use `popup-menu-normalize-position' to normalize
729 the form for POSITION argument.
730
731 * term/x-win.el (x-menu-bar-open):
732 Use the value returend from (posn-at-point) as position
733 passed to `popup-menu'.
734
31673780
JB
7352012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
736
737 * calc/calccomp.el (math-compose-expr): Add extra argument
738 indicating that parentheses should be put around products in
739 denominators. Give multiplication precedence over division during
740 composition.
741
dab7711b
CY
7422012-08-09 Chong Yidong <cyd@gnu.org>
743
dee4ef93
CY
744 * man.el (Man-switches, Man-sed-command, Man-awk-command)
745 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
746 (Man-untabify-command, manual-program): Convert to defcustom
747 (Bug#10429).
748
73e2bbc5
CY
749 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
750
3e861c8a
CY
751 * descr-text.el (describe-char): Don't insert extra newlines
752 (Bug#10127).
753
a9f5a649
CY
754 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
755 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
756
dab7711b
CY
757 * align.el (align-region): Delete temporary markers (Bug#10047).
758 Plus some code cleanups.
759
e0cc4efa
FEG
7602012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
761
762 * progmodes/python.el (python-pdbtrack-tracked-buffer)
763 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
764 (python-shell-internal-last-output): Use make-local-variable
765 instead of make-variable-buffer-local.
766
489af14f
FEG
7672012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
768
769 * progmodes/python.el: Enhancements to forward-sexp.
770 (python-nav-forward-sexp): Rename from
771 python-nav-forward-sexp-function.
c69f56a2
MY
772 (python-nav--forward-sexp, python-nav--backward-sexp):
773 New functions.
489af14f 774
0fc50303
JB
7752012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
776
777 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
778 modes and simplification modes.
779
5d65606a
SM
7802012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * delsel.el (delete-selection-pre-hook): Don't propagate the
783 file-supersession signals (bug#12161).
784
4250fdf5
SM
7852012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
788 (cl-map-extents): Add compatibility aliases (bug#12135).
789
d9f9b465
MA
7902012-08-08 Michael Albinus <michael.albinus@gmx.de>
791
792 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
793 tests by `ignore-error'.
794 (tramp-find-shell): Open also a new shell, when cache is already
795 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
796
ce0fcefa
JL
7972012-08-08 Juri Linkov <juri@jurta.org>
798
799 * bookmark.el: Add `defaults' property to the bookmark record.
800 (bookmark-current-buffer): Doc fix.
801 (bookmark-make-record): Add `defaults' property with default values
802 to the bookmark record.
803 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
804 with `bookmark-insert-current-bookmark'.
805 (bookmark-set): Get `defaults' property from the bookmark record
806 and use it in `read-from-minibuffer'.
807 (bookmark-insert-current-bookmark): Remove function.
808
809 * info.el (Info-bookmark-make-record): Add `defaults' property
810 with values of canonical Info node name, the current Info file
811 name and the current Info node name. (Bug#12107)
812
53fa8652
JL
8132012-08-08 Juri Linkov <juri@jurta.org>
814
815 * files.el (basic-save-buffer): Use `buffer-name' as the default
816 of `read-file-name' when buffer is not visiting a file (bug#12128).
817
242c0a95
JL
8182012-08-08 Juri Linkov <juri@jurta.org>
819
820 * info.el (Info-isearch-search): Doc fix.
821 (Info-search): Change search-failed message from "initial node" to
822 "end of node" (bug#12078).
823 (Info-isearch-search): Change `isearch-string-state' to
824 `isearch--state-string'.
825
32ac3a6b
GM
8262012-08-08 Glenn Morris <rgm@gnu.org>
827
828 * language/persian.el: Remove file.
f8c1afd5 829 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
830 * loadup.el: Remove language/persian.
831
2c2d9c9c
OF
8322012-08-08 Óscar Fuentes <ofv@wanadoo.es>
833
834 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
835
2d79ec42
FEG
8362012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
837
838 * progmodes/python.el Fixed defsubst warning.
839 (python-syntax-context) Rename from python-info-ppss-context.
840 (python-syntax-context-type): Rename from
841 python-info-ppss-context-type.
842 (python-syntax-comment-or-string-p): Rename from
843 python-info-ppss-comment-or-string-p.
844
2bd255dd
JB
8452012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
846
847 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
848
c395097f
AS
8492012-08-07 Andreas Schwab <schwab@linux-m68k.org>
850
6125983e
AS
851 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
852 a defcustom that is quoted with backquote.
853
4250fdf5
SM
854 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
855 Fix handling of interactive spec when the body uses return.
651eaf36
AS
856 (math-do-arg-check, math-define-function-body): Use backquote forms.
857 * calc/calc-ext.el (math-defcache): Likewise.
858 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
859 * allout.el (allout-new-exposure): Likewise.
860 * calc/calcalg2.el (math-tracing-integral): Likewise.
861 * info.el (Info-last-menu-item): Likewise.
862 * emulation/vip.el (vip-loop): Likewise.
863 * textmodes/artist.el (artist-funcall): Likewise.
864 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
865 Construct menu-item directly.
866
4250fdf5
SM
867 * progmodes/autoconf.el (font-lock-syntactic-keywords):
868 Don't declare.
c395097f 869
5fb50dd3
CY
8702012-08-07 Chong Yidong <cyd@gnu.org>
871
872 * simple.el (deactivate-mark): Preserve text properties when
873 saving the primary selection (Bug#8384).
874
54eea618
KR
8752012-08-07 Kevin Ryde <user42@zip.com.au>
876
877 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
878 (woman-parse-numeric-value): On a bad .IP line, issue a warning
879 and continue processing (Bug#12110).
880
638eaeb9
SM
8812012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
884 syntax-propertize-function (bug#10095).
885
ea376861
SM
8862012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
887
f91b35be
SM
888 * help-fns.el (help-fns--key-bindings, help-fns--signature)
889 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
890 describe-function-1.
891 (describe-function-1): Use them. Move compiler macro after sig.
892 (help-fns--compiler-macro): Use function-get. Assume we're already in
893 standard-output. Adjust layout to new call order.
894
ea376861
SM
895 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
896 re-binding a symbol that has a symbol-macro (bug#12119).
897
d5be7bd0
MB
8982012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
899
900 * language/persian.el: New file. (Bug#11812)
901 * loadup.el: Add language/persian.el.
902
90749b53
CY
9032012-08-06 Chong Yidong <cyd@gnu.org>
904
905 * window.el (window--maybe-raise-frame): New function.
906 (window--display-buffer): Split off from here.
907 (display-buffer-reuse-window, display-buffer-pop-up-frame)
908 (display-buffer-pop-up-window, display-buffer-use-some-window):
909 Obey an inhibit-switch-frame action alist entry.
910 (display-buffer): Update doc.
911
912 * replace.el (occur-after-change-function): Avoid losing focus by
913 using the inhibit-switch-frame display parameter (Bug#12139).
914
ba7b0154
FEG
9152012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
916
917 Make internal shell process buffer names start with space.
918 * progmodes/python.el (python-shell-make-comint): Add optional
919 argument INTERNAL.
920 (run-python-internal): Use it.
921 (python-shell-internal-get-or-create-process): Check for new
922 internal buffer names.
923
5eaeacb5
GM
9242012-08-06 Glenn Morris <rgm@gnu.org>
925
e296d94b 926 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
927 Do less getting and setting of environment variables.
928
b7ccbdc2
CY
9292012-08-05 Chong Yidong <cyd@gnu.org>
930
777fe95e
CY
931 * proced.el (proced): Add substitution string to docstring to
932 trigger autoloading of the proced library on C-h f (Bug#1768).
933
4250fdf5
SM
934 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
935 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
936
937 * imenu.el (imenu-generic-expression): Move documentation here
938 from imenu--generic-function.
939 (imenu--generic-function): Refer to imenu-generic-expression.
940
9e3b7800 9412012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
942
943 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
944 indentation declaration.
945 (viper-loop): Add indentation declaration (Bug#7025).
946
e5d9c0d1
CY
9472012-08-05 Chong Yidong <cyd@gnu.org>
948
f0422feb
CY
949 * help-fns.el (describe-variable): Add hyperlink for
950 directory-local variables files. Improve buffer-local and
951 permanent-local reporting; suggested by MON KEY (Bug#6644).
952
953 * help-mode.el (help-dir-local-var-def): New button type.
954
e5d9c0d1
CY
955 * files.el (kill-buffer-hook): Provide a defvar.
956
a4f2deaa
GM
9572012-08-05 Glenn Morris <rgm@gnu.org>
958
959 * eshell/esh-ext.el (eshell/addpath):
960 Also update eshell-path-env. (Bug#12013)
961
a9dd5754
CY
9622012-08-05 Chong Yidong <cyd@gnu.org>
963
a4f2deaa 964 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 965
d014c740
CY
966 * fringe.el (fringe-styles): Add docstring.
967 (fringe--check-mode): New function.
968 (set-fringe-mode, set-fringe-style): Use it.
969 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
970
a9dd5754
CY
971 * files.el (set-auto-mode): Fix invalid setq call.
972
7c2dc8bd
SM
9732012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
974
975 * isearch.el: Misc simplification; use defstruct.
976 (isearch-mode-map): Dense maps now work like sparse ones.
977 (isearch--state): New defstruct.
978 (isearch-string-state, isearch-message-state, isearch-point-state)
979 (isearch-success-state, isearch-forward-state)
980 (isearch-other-end-state, isearch-word-state, isearch-error-state)
981 (isearch-wrapped-state, isearch-barrier-state)
982 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
983 replaced by defstruct's accessors.
984 (isearch--set-state): Rename from isearch-top-state and change
985 calling convention.
986 (isearch-push-state): Use new isearch--get-state.
987 (isearch-toggle-word): Disable regexp when enabling word.
988 (isearch-message-prefix): Remove unused arg _c-q-hack.
989 (isearch-message-suffix): Remove unused arg _ellipsis.
990
7fcc0070
AS
9912012-08-04 Andreas Schwab <schwab@linux-m68k.org>
992
993 * simple.el (list-processes--refresh): For a server use :host or
994 :local as the address.
97ad0769 995 (list-processes): Doc fix.
7fcc0070 996
00340faf
MN
9972012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
998
999 * lisp/mpc.el: Support password in host argument.
1000 (mpc--proc-connect): Parse and use new password element.
1001 Set mpc-proc variable instead of returning process.
1002 (mpc-proc): Adjust accordingly.
1003
6dad7178
EZ
10042012-08-03 Eli Zaretskii <eliz@gnu.org>
1005
18949c2f
EZ
1006 * whitespace.el (whitespace-display-mappings): Use Unicode
1007 codepoints, instead of emacs-mule codepoints. See
1008 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1009 for the details.
1010
6dad7178
EZ
1011 * files.el (file-truename): Don't skip symlink-chasing part on
1012 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1013 Windows into the loop that recursively chases symlinks.
1014 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1015 MS-DOS.
1016
385b0198
CY
10172012-08-03 Chong Yidong <cyd@gnu.org>
1018
6200f3c4
CY
1019 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1020
385b0198
CY
1021 * sort.el (sort-regexp-fields): Doc fix.
1022
b9e74744
TH
10232012-08-03 Tassilo Horn <tsdh@gnu.org>
1024
1025 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1026 labels regex position point at the expected place.
1027
41013cb4
MK
10282012-08-03 MON KEY <monkey@sandpframing.com>
1029
1030 * net/imap.el (imap-interactive-login, imap-authenticate)
1031 (imap-mailbox-lsub, imap-mailbox-list)
1032 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1033 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1034 (imap-parse-response): Doc fix.
1035
0ffee616
JT
10362012-08-03 João Távora <joaotavora@gmail.com>
1037
1038 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1039 if sexp scanning does not move point (Bug#5734).
1040
cfcc9cc8
TH
10412012-08-02 Tassilo Horn <tsdh@gnu.org>
1042
1043 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1044 Add listings, minted, and ctable packages.
1045 (reftex-label-alist-builtin): Move listings, minted, and ctable
1046 entries before LaTeX.
a01bbb84 1047 (reftex-label-alist): Docfix.
cfcc9cc8 1048
66ec2442
BG
10492012-08-02 Bastien Guerry <bzg@gnu.org>
1050
1051 * replace.el (occur): Fix docstring (bug#12122).
1052
837b365b
GM
10532012-08-02 Glenn Morris <rgm@gnu.org>
1054
1055 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1056
e098de97
PE
10572012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1058
1059 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1060 * international/mule-cmds.el: Create
1061 inactivate-current-input-method-function as an obsolete alias for
1062 deactivate-current-input-method-function. See Katsumi Yamaoka in
1063 <http://bugs.gnu.org/10150#46>.
1064
a0f95636
JB
10652012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1066
1067 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1068 of nested `if's.
1069
0d26d7c4
GM
10702012-08-01 Glenn Morris <rgm@gnu.org>
1071
1072 * progmodes/autoconf.el (autoconf-definition-regexp):
1073 Add AH_TEMPLATE, adjust submatch numbering.
1074 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1075 (autoconf-current-defun-function): Update for above change.
1076 (autoconf-current-defun-function): First skip to end of current word.
1077
b686ba06
RS
10782012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1079
1080 * calendar/cal-html.el (cal-html-insert-agenda-days):
1081 Fix typo. (Bug#12018)
1082
0d49da68
FEG
10832012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1084
1085 Shell processes: enhancements to startup and CEDET compatibility.
1086 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1087 (python-shell-make-comint): accept-process-output at startup.
1088 (run-python-internal): Set inferior-python-mode-hook to nil.
1089 (python-shell-internal-get-or-create-process): call sit-for.
1090 (python-preoutput-result): Add obsolete alias.
1091 (python-shell-internal-send-string): Use it.
1092 (python-shell-send-setup-code): Remove call to
1093 accept-process-output.
1094
f1a71c6e
AS
10952012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1096
1097 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1098 (Bug#12108)
1099
d2605269
JB
11002012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1101
1102 * calc-mode.el (calc-basic-simplification-mode): Rename from
1103 `calc-limited-simplification-mode'.
1104 (calc-alg-simplification-mode): New function.
d66060f8 1105 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1106
d2605269
JB
1107 * calc.el (calc-set-mode-line): Adjust mode line display for
1108 basic simplification mode.
1109
1110 * calc-help.el (calc-m-prefix-help): Update help message.
1111
1112 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1113 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1114
a3827a43
BG
11152012-07-31 Bastien Guerry <bzg@gnu.org>
1116
1117 * man.el (man): Fix comment. (bug#12101)
1118
502e3f89
MR
11192012-07-31 Martin Rudalics <rudalics@gmx.at>
1120
1121 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1122 Don't return a non-nil value when no suitable buffer was found.
1123
d7714961
FEG
11242012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1125
1126 * progmodes/python.el (run-python-internal): Disable font lock for
1127 internal shells.
1128
1f45e27e
SM
11292012-07-30 Stefan Merten <smerten@oekonux.de>
1130
1131 * rst.el: Silence `checkdoc-ispell'.
1132 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1133 (rst-official-version, rst-official-cvs-rev)
1134 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1135 (rst-mode-map): New key binding.
1136
0aee6912
PE
11372012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1138
1139 Update .PHONY listings in makefiles.
1140 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1141 autoloads, update-subdirs, updates, bzr-update, update-authors,
1142 compile-onefile, compile-calc, backup-compiled-files,
1143 compile-after-backup, compile-one-process, mh-autoloads,
1144 bootstrap-clean, distclean, maintainer-clean.
1145
9052f9f0
JB
11462012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1147
1823ac5a
JB
1148 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1149 (calc-set-mode-line): Don't display "AlgSimp ".
1150
1151 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1152 (calc-lim-simplify-mode): New function.
1153 (calc-set-simplify-mode): Default to 'alg.
1154 (calc-default-simplify-mode): Make algebraic simplifications
1155 the default.
1156
1157 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1158 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1159
8d7c7eed 1160 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1161 indicate new simplification modes.
1162
1823ac5a
JB
1163 * calc/README: Mention new default simplification mode.
1164
9052f9f0
JB
1165 * calc/calc.el (math-normalize-error): New variable.
1166 (math-normalize): Set `math-normalize-error' to t
1167 when there's an error.
1168
1169 * calc/calc-alg.el (math-simplify): Don't simplify when
1170 `math-normalize' returns an error.
1171
20ba0cb4
EZ
11722012-07-29 Eli Zaretskii <eliz@gnu.org>
1173
1174 * international/mule-cmds.el (set-locale-environment): Revert last
1175 change, since display-graphic-p returns nil when this function is
1176 called during startup. Instead...
1177
1178 * term/w32console.el (terminal-init-w32console): ...setup the
1179 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1180
a5dcc929
JL
11812012-07-29 Juri Linkov <juri@jurta.org>
1182
1183 * simple.el (goto-line): Don't display default line number in the
1184 prompt because it should be displayed by `read-number' (bug#9952).
1185 Add the current line number to the defaults of `goto-line' to
1186 allow its easier modification by users with `M-n' (bug#9201).
1187
1188 * subr.el (read-number): Support multiple default values like in
1189 other minibuffer reading functions. Replace `read' with
1190 `string-to-number' for consistency with `number-to-string'.
1191
72b255c7
PE
11922012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1193
1194 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1195 * emulation/viper-init.el (viper-deactivate-input-method-action):
1196 Rename from viper-inactivate-input-method-action.
1197 (viper-deactivate-input-method):
1198 Rename from viper-inactivate-input-method.
1199 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1200 * international/mule-cmds.el (deactivate-input-method):
1201 Rename from inactivate-input-method.
1202 Also run input-method-deactivate-hook.
1203 (deactivate-current-input-method-function):
1204 Rename from inactivate-current-input-method-function.
1205 (input-method-deactivate-hook): New hook.
1206 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1207 (inactivate-input-method): Mark obsolete.
1208
72b255c7
PE
1209 * international/quail.el (quail-activate):
1210 Also run quail-deactivate-hook.
1211 (quail-deactivate): Rename from quail-inactivate.
1212 * international/robin.el (robin-activate):
1213 Also run robin-deactivate-hook.
1214 (robin-deactivate): Rename from robin-inactivate.
1215
2549c068
CY
12162012-07-29 Chong Yidong <cyd@gnu.org>
1217
1218 * simple.el (indicate-copied-region): New function.
1219 (kill-ring-save): Split off from here.
1220
1221 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1222 (kill-rectangle): Set deactivate-mark to t on read-only error.
1223
1224 * register.el (copy-to-register, copy-rectangle-to-register):
1225 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1226 (append-to-register, prepend-to-register):
1227 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1228
1229 * simple.el (async-shell-command-buffer): New defcustom.
1230 (shell-command): Use it. (Bug#4719)
1231
01bd1b0d
EZ
12322012-07-28 Eli Zaretskii <eliz@gnu.org>
1233
1234 * international/mule-cmds.el (set-locale-environment): In a
1235 console session on MS-Windows, set up keyboard and terminal
1236 encoding from the OEM codepage, not the ANSI codepage.
1237 (Bug#12055)
1238
a55739d3
CY
12392012-07-28 Chong Yidong <cyd@gnu.org>
1240
1241 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1242 gdb-get-location.
1243
0e1a094f 12442012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1245
1246 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1247 the alist (bug#12029).
1248
20329d73
EZ
12492012-07-28 Eli Zaretskii <eliz@gnu.org>
1250
1251 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1252 (compile-always, compile-first)
1253 ($(lisp)/calendar/cal-loaddefs.el)
1254 ($(lisp)/calendar/diary-loaddefs.el)
1255 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1256 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1257 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1258 instead of on update-subdirs.
1259 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1260
345a2258
CY
12612012-07-28 Chong Yidong <cyd@gnu.org>
1262
1eee6341
CY
1263 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1264 directory if vc-deduce-backend returns nil (Bug#7350).
1265
345a2258
CY
1266 * simple.el (delete-trailing-lines): New option.
1267 (delete-trailing-whitespace): Obey it (Bug#11879).
1268
049a0936
DE
12692012-07-28 David Engster <deng@randomsample.de>
1270
1271 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1272 Explanation of new 'symbol-qnames feature in doc-strings.
1273 (xml-maybe-do-ns): Return expanded names as plain symbols if
1274 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1275 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1276
aa81af71
FEG
12772012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1278
1279 Consistent completion in inferior python with emacs -nw.
1280 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1281 binding in inferior-python-mode-map with "\t".
1282 (python-shell-completion-complete-at-point)
1283 (python-completion-complete-at-point): Remove interactive spec.
1284
e827b1eb
JB
12852012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1286
1287 * calc/calccomp.el (math-compose-expr): Undo previous change.
1288
a90dfb95
FEG
12892012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1290
4250fdf5 1291 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1292 run-python.
1293 (python-shell-make-comint): Fix pop-to-buffer call.
1294 (run-python): Autoload. New arg SHOW.
1295 (python-shell-get-or-create-process): Do not pop python process
1296 buffer.
1297
32770973 12982012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1299
1300 * notifications.el (notifications-on-action-signal)
1301 (notifications-on-closed-signal): Use also the bus address for the map.
1302 (notifications-notify, notifications-close-notification)
1303 (notifications-get-capabilities): Add optional argument BUS.
1304
86332df2
TH
13052012-07-27 Tassilo Horn <tsdh@gnu.org>
1306
4250fdf5
SM
1307 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1308 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1309 ctable macro.
1310 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1311 labels written in keyvals syntax.
1312
ca1302a4
JB
13132012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1314
1315 * calc/calccomp.el (math-compose-expr): Use parentheses when
1316 there is a product in the denominator of a fraction.
1317
f8b91036
EZ
13182012-07-26 Eli Zaretskii <eliz@gnu.org>
1319
1320 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1321 ($(lisp)/calendar/diary-loaddefs.el)
1322 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1323 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1324 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1325 rewritten while the autoload files are built at the same time,
1326 which needs to load subdirs.el.
1327
c8e5a42c
MR
13282012-07-26 Martin Rudalics <rudalics@gmx.at>
1329
1330 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1331 (mouse-drag-line): Don't exit tracking when a switch-frame or
1332 switch-window event occurs (Bug#12006).
1333
670d85ea
SM
13342012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1335
1336 * mouse.el (popup-menu): Fix last change.
1337
7abaf5cc
SM
13382012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 Autoload from Lisp with more care. Follow aliases when looking for
1341 function properties.
1342 * subr.el (autoloadp): New function.
1343 (symbol-file): Use it.
1344 (function-get): New function.
1345 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1346 autoload-do-load.
1347 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1348 (lisp-indent-function):
1349 * emacs-lisp/gv.el (gv-get):
1350 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1351 * emacs-lisp/byte-opt.el (byte-optimize-form):
1352 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1353 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1354 Use function-get.
1355 * emacs-lisp/cl.el: Don't propagate function properties any more.
1356
1357 * speedbar.el (speedbar-add-localized-speedbar-support):
1358 * emacs-lisp/disass.el (disassemble-internal):
1359 * desktop.el (desktop-load-file):
1360 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1361 (describe-function-1):
1362 * emacs-lisp/find-func.el (find-function-noselect):
1363 * emacs-lisp/elp.el (elp-instrument-function):
1364 * emacs-lisp/advice.el (ad-has-proper-definition):
1365 * apropos.el (apropos-safe-documentation, apropos-macrop):
1366 * emacs-lisp/debug.el (debug-on-entry):
1367 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1368 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1369 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1370
b1364986
AA
13712012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1372
1373 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1374 function, not an obsolete variable (Bug#12046).
1375
67ada220
AS
13762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1377
1378 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1379
f08088e3
CS
13802012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1381
1382 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1383 window only if it is still live (Bug#12034).
1384
8137e7b3
MR
13852012-07-25 Martin Rudalics <rudalics@gmx.at>
1386
1387 * subr.el (redirect-frame-focus): Add advertised calling
1388 convention (Bug#12030).
1389
09ae5da1
PE
13902012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1391
1392 Prefer typical American spelling for "acknowledgment".
1393 * vc/add-log.el (change-log-acknowledgment): Rename from
1394 change-log-acknowledgement, with an alias for the old name.
1395
3cc5a3a8
JB
13962012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1397
1398 * calc-alg.el (math-simplify-divide): Don't cross multiply
1399 in an equation when the lhs is a variable.
1400
b7af7f62
JD
14012012-07-24 Julien Danjou <julien@danjou.info>
1402
1403 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1404 Remove, unused.
1405
ec1b09b1
EZ
14062012-07-23 Eli Zaretskii <eliz@gnu.org>
1407
1408 * startup.el (command-line): Don't display an empty user name in
1409 the error message about non-existent home directory, when
1410 init-file-user was set to an empty string. See
1411 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1412 for the details and context.
1413
b525fd8a
VB
14142012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1415
1416 * ses.el (ses-cell-formula-aset): New macro.
1417 (ses-cell-references-aset): New macro.
1418 (ses-cell-p): New function.
1419 (ses-rename-cell): Do no longer rely on complex operations like
1420 ses-cell-set-formula or ses-set-cell to change the cell and handle
1421 the undo at the same time, but rather use lower level new macros
1422 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1423 the undo directly. Refresh the mode line.
1424
2c73e345
LL
14252012-07-21 Leo Liu <sdl.web@gmail.com>
1426
670d85ea
SM
1427 * progmodes/cc-cmds.el (c-defun-name):
1428 Use match-string-no-properties instead for consistency.
2c73e345 1429
542dfbde
LL
14302012-07-20 Leo Liu <sdl.web@gmail.com>
1431
3646bcd6
LL
1432 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1433 (Bug#7879)
1434
542dfbde
LL
1435 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1436
25721031
CY
14372012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1440 * progmodes/bug-reference.el, misearch.el: Provide themselves
1441 (bug#11915).
1442
1443 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1444 of narrowed buffer (bug#11966).
1445
316e68a7
VB
14462012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1447
1448 * ses.el (ses-rename-cell): Set new name also in reference list of
1449 cells of which the renamed cell depends.
1450
bbf0e7d9
MY
14512012-07-20 Masatake YAMATO <yamato@redhat.com>
1452
1453 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1454 to check whether menu-bar is shown or not. If not shown,
1455 show the menu-bar as a popup menu instead of using tmm.
1456 * mouse.el (popup-menu): Accept `point' as `position' argument.
1457
c28662a8
DG
14582012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1459
1460 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1461 up inside string symbol literal (bug#11923).
1462
87ab808f
EZ
14632012-07-20 Eli Zaretskii <eliz@gnu.org>
1464
1465 * startup.el (fancy-startup-text): Read the whole tutorial, not
1466 just its first 256 bytes. Prevents gibberish in display of the
1467 tutorial title.
1468
89dea803
DA
14692012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1470
1471 Drop idle buffer compaction due to an absence of the
1472 proved efficiency.
1473 * compact.el: Remove.
1474
8a4e6db8
SS
14752012-07-19 Sam Steingold <sds@gnu.org>
1476
1477 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1478 vc-bzr-pull & vc-bzr-merge-branch.
1479 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1480 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1481 for consistency with compilation-error-regexp-alist.
1482 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1483 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1484 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1485 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1486
5db81e33
SM
14872012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/chart.el: Use lexical-binding.
1490 (chart-emacs-storage): Don't hardcode the list of entries.
1491
5b835e1d
DA
14922012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1493
1494 Next round of tweaks caused by Fgarbage_collect changes.
1495 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1496
9cd47b72
DA
14972012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1498
1499 Compact buffers when idle.
1500 * compact.el: New file.
1501
1d6fc0df
SM
15022012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * subr.el (eventp): Presume that if it looks vaguely like an event,
1505 it's an event (bug#10190).
1506
1d29cc7d
FEG
15072012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1508
1509 Enhancements to ppss related code (thanks Stefan).
1510 * progmodes/python.el (python-indent-context)
1511 (python-indent-calculate-indentation, python-indent-dedent-line)
1512 (python-indent-electric-colon, python-nav-forward-block)
1513 (python-mode-abbrev-table)
1d6fc0df 1514 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1515 for ppss context.
1516 (python-info-continuation-line-p): Cleanup.
1517 (python-info-ppss-context): Do not catch 'quote.
1518 (python-info-ppss-context-type)
1519 (python-info-ppss-comment-or-string-p): Simplify.
1520
d583cbe6
FEG
15212012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1522
1523 * progmodes/python.el: Enhancements to eldoc support.
1524 (python-info-current-symbol): New function.
1525 (python-eldoc-at-point): Use python-info-current-symbol.
1526 (python-info-current-defun): Fix cornercase on first defun scan.
1527 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1528 and signal error when no inferior python process is available.
1529
eceb6feb
DG
15302012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1531
1532 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1533 assume it's always t.
1534 (vc-git-registered): Remove caching, the function is only called
1535 once.
1536 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1537
4c8ff0fe
CY
15382012-07-18 Chong Yidong <cyd@gnu.org>
1539
19fb7186
CY
1540 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1541
9587c688
CY
1542 * simple.el (count-words): Report on narrowing (Bug#9959).
1543
0fe776a1
CY
1544 * bindings.el: Bind M-= to count-words.
1545
4c8ff0fe
CY
1546 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1547
7f5331cc
MY
15482012-07-18 Masatake YAMATO <yamato@redhat.com>
1549
1550 * progmodes/sh-script.el (sh-imenu-generic-expression):
1551 Capture a function with `function' keyword and without parentheses
1552 like "function FOO" (bug#11856).
1553
2dc2a609
TH
15542012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1555
1556 * window.el (split-window-sensibly): Make WINDOW argument
1557 optional.
1558
439f7677
CY
15592012-07-18 Chong Yidong <cyd@gnu.org>
1560
9aeb25a6
CY
1561 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1562
439f7677
CY
1563 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1564 and make C-x 8 RET exit isearch (Bug#11439).
1565
1566 * international/iso-transl.el: Move isearch-mode-map key
1567 definitions to isearch.el.
1568
12999ea8
SM
15692012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1572 (eieio-defclass): Use gv-define-setter when possible.
1573
3ab6e069
DA
15742012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1575
1576 Reflect recent changes in Fgarbage_collect.
1577 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1578 reflect new format of data returned by Fgarbage_collect.
1579
0a60bc10
FEG
15802012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1581
1582 New utility functions + python-info-ppss-context fix (Bug#11910).
1583 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1584 (python-info-ppss-comment-or-string-p): New functions.
1585 (python-info-ppss-context): Small fix for string check.
1586
6dafa0d5
JL
15872012-07-17 Juri Linkov <juri@jurta.org>
1588
1589 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1590 (dired-do-async-shell-command): Don't add `*' at the end of the
1591 command (Bug#11815).
1592 (dired-do-shell-command): Doc fix.
1593 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1594 Join the individual commands using either "&" or ";" as the
1595 separator depending on the values of these trailing characters.
1596 At the end re-add the trailing "&". (Bug#10598)
1597
1598 * simple.el (async-shell-command): Sync the interactive spec with
1599 `shell-command'. Doc fix.
1600 (shell-command): Doc fix.
1601
b19dd9d1
JL
16022012-07-17 Juri Linkov <juri@jurta.org>
1603
1604 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1605
bcdc27d7 16062012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1607
bcdc27d7 1608 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1609 * progmodes/python.el (python-nav-beginning-of-statement):
1610 Rename from python-nav-statement-start.
bcdc27d7
FEG
1611 (python-nav-end-of-statement): Rename from
1612 python-nav-statement-end.
1613 (python-nav-beginning-of-block): Rename from
1614 python-nav-block-start.
1615 (python-nav-end-of-block): Rename from python-nav-block-end.
1616
191da00e
FEG
16172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1618
7f5331cc
MY
1619 * progmodes/python.el (python-shell-send-string-no-output):
1620 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1621 future interactions (Bug#11868).
1622
4dc7c8d5 16232012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1624
88ecaf8f
SM
1625 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1626
ef501ef0
SM
1627 * emacs-lisp/elint.el (elint-find-args-in-code):
1628 Use help-function-arglist, so as to handle lexical byte-code.
1629
aa7aaf8f
SM
1630 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1631 change (bug#11826).
1632
45fd731c
SM
16332012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1634
2143fa32
SM
1635 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1636 Avoid spuriously marking the buffer as modified because of c-is-sws.
1637
efc26dbe
SM
1638 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1639 as not-a-comment (bug#11946).
1640
f5695c9a
SM
1641 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1642 for uninterned vars.
1643
1644 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1645 Use read-event since we don't really want to read chars but bytes.
1646
45fd731c
SM
1647 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1648 $$..$$ but also $..$ using regexps (bug#11953).
1649 Use tex-verbatim for \url and \path.
1650 (tex-font-lock-keywords): Define as defconst like the others.
1651 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1652
ddfc8813
RK
16532012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1654
1655 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1656 alias for insert-char.
1657
758e556a
FEG
16582012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1659
1660 * progmodes/python.el: Simplified imenu implementation.
1661 (python-nav-jump-to-defun): Remove command.
1662 (python-mode-map): Use `imenu' instead.
1663 (python-nav-list-defun-positions-cache)
1664 (python-imenu-include-defun-type, python-imenu-make-tree)
1665 (python-imenu-subtree-root-label, python-imenu-index-alist):
1666 Remove vars.
1667 (python-nav-list-defun-positions, python-nav-read-defun)
1668 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1669 (python-imenu-make-tree, python-imenu-create-index):
1670 Remove functions.
758e556a
FEG
1671 (python-mode): Update to interact with imenu by setting
1672 `imenu-extract-index-name-function' only.
1673
032d23ab
FEG
16742012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1675
1676 * progmodes/python.el: Enhancements to navigation commands.
1677 (python-nav-backward-sentence)
1678 (python-nav-forward-sentence): Remove.
1679 (python-nav-backward-statement, python-nav-forward-statement)
1680 (python-nav-statement-start, python-nav-statement-end)
1681 (python-nav-backward-block, python-nav-forward-block)
1682 (python-nav-block-start, python-nav-block-end)
1683 (python-nav-forward-sexp-function)
1684 (python-info-current-line-comment-p)
1685 (python-info-current-line-empty-p): New functions.
1686 (python-indent-context): Use `python-nav-statement-start'.
1687
01795a1b
MA
16882012-07-16 Michael Albinus <michael.albinus@gmx.de>
1689
9328d9aa
MA
1690 * eshell/em-ls.el (eshell/ls): Use `apply'.
1691
1692 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1693 multi-hops, instead of Tramp internals.
1694
01795a1b
MA
1695 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1696
1697 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1698 when F1 and F2 are located on different hosts.
1699
63408057
CY
17002012-07-14 Chong Yidong <cyd@gnu.org>
1701
1702 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1703 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1704 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1705 (xterm-mouse--read-event-sequence-1000)
1706 (xterm-mouse--read-event-sequence-1006): New functions. For old
1707 mouse protocol, handle M-mouse-X events correctly.
1708 (xterm-mouse-event): New arg specifying mouse protocol.
1709 (turn-on-xterm-mouse-tracking-on-terminal)
1710 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1711 sequence to toggle extended coordinates on newer XTerms.
1712 This appears to be harmless on terminals which do not support this.
63408057 1713
cd276f6e
LL
17142012-07-14 Leo Liu <sdl.web@gmail.com>
1715
28ca98ac
LL
1716 Add fringe bitmap indicators for flymake. (Bug#11253)
1717 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1718 (flymake-make-overlay): New arg BITMAP.
1719 (flymake-error-bitmap, flymake-warning-bitmap)
1720 (flymake-fringe-indicator-position): New user variables.
1721
cd276f6e
LL
1722 * fringe.el: New bitmap exclamation-mark.
1723
04408072
JD
17242012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1725
1726 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1727 also (Bug#7879).
1728
b5cf7fc4
CY
17292012-07-14 Chong Yidong <cyd@gnu.org>
1730
1731 * electric.el (electric-pair-post-self-insert-function): Fix pair
1732 insertion in empty-region case (Bug#11520).
1733
be755c79
RT
17342012-07-14 Chong Yidong <cyd@gnu.org>
1735
45fd731c
SM
1736 * bindings.el: Consolidate ctl-x-r-map bindings.
1737 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1738
1739 * rect.el, register.el: Move bindings to bindings.el.
1740
17412012-07-14 Reuben Thomas <rrt@sc3d.org>
1742
1743 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1744
7f5b3198
AS
17452012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1746
1747 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1748
97662200
JB
17492012-07-13 Juanma Barranquero <lekktu@gmail.com>
1750
80185fed
JB
1751 * bindings.el (top): Use `mapc' instead of `mapcar'.
1752
97662200
JB
1753 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1754
2bb1ae55
MA
17552012-07-13 Michael Albinus <michael.albinus@gmx.de>
1756
1757 * progmodes/sql.el (sql-comint): Suppress the check for program on
1758 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1759 (Bug#11908)
1760
dea31bd3
CY
17612012-07-13 Chong Yidong <cyd@gnu.org>
1762
1763 * bindings.el: Assign a non-nil permanent-local property to
1764 per-buffer variables which lack a default value (Bug#11930).
1765
1766 * help-fns.el (describe-variable): In the "automatically becomes
1767 local" notice, take note of permanent-local variables.
1768
b68b3337
CY
17692012-07-13 Chong Yidong <cyd@gnu.org>
1770
1771 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1772 to allow printing the message when called from Lisp.
1773
1774 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1775 Remove toggle-read-only.
1776
1777 * bs.el (bs-toggle-readonly):
45fd731c
SM
1778 * buff-menu.el (Buffer-menu-toggle-read-only):
1779 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1780
1781 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1782 Remove with-no-warnings around toggle-read-only.
1783 (ffap-read-only, ffap-read-only-other-window)
1784 (ffap-read-only-other-frame): Callers changed.
1785
1786 * help-mode.el: Don't require view package.
1787 (help-mode-finish): Set buffer-read-only instead of calling
1788 toggle-read-only.
1789
1790 * bindings.el (mode-line-toggle-read-only):
1791 * dired.el (dired-toggle-read-only):
1792 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1793 with non-nil second arg.
1794
1795 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1796 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1797 directly.
1798
56bc1586
EZ
17992012-07-12 Eli Zaretskii <eliz@gnu.org>
1800
1801 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1802 not incf.
1803
a464a6c7
SM
18042012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 More CL cleanups and reduction of use of cl.el.
1807 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1808 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1809 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1810 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1811 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1812 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1813 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1814 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1815 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1816 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1817 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1818 * eshell/em-cmpl.el, eshell/em-banner.el:
1819 * calendar/parse-time.el: Use cl-lib.
1820 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1821 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1822 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1823 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1824 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1825 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1826 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1827 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1828 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1829 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1830 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1831 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1832 `lambda' rather than with `quote'.
1833 (eshell-do-opt): Adjust accordingly.
1834 (eshell-process-option): Simplify.
1835 * eshell/esh-var.el:
1836 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1837 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1838 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1839 to `pcase--dontcare'.
1840 * emacs-lisp/cl.el (labels): Mark obsolete.
1841 (cl--letf, letf): Move to cl-lib.
1842 (cl--letf*, letf*): Remove.
1843 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1844 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1845 (cl-progv): Rewrite.
1846 (cl--letf, cl-letf): Move from cl.el.
1847 (cl-letf*): New macro.
1848 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1849
7ad4afe1
MA
18502012-07-11 Michael Albinus <michael.albinus@gmx.de>
1851
1852 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1853
9af57756
CY
18542012-07-11 Chong Yidong <cyd@gnu.org>
1855
1856 * vc/log-edit.el (log-edit-vc-backend): New variable.
1857 (log-edit): Doc fix.
1858
1859 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1860 argument of log-edit to set up all local variables.
1861 (vc-start-logentry): New optional arg specifying VC backend.
1862
1863 * vc/vc.el (vc-checkin): Use it.
1864 (vc-deduce-fileset): Handle Log Edit buffers.
1865 (vc-diff): Make first argument optional too.
1866
1867 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1868
8477cc7a
MA
18692012-07-10 Michael Albinus <michael.albinus@gmx.de>
1870
1871 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1872 command, just in case. The function is not needed anymore.
1873 (eshell-external-command): Do not call `eshell-remote-command'.
1874
19faa8e8
SM
18752012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1876
f58e0fd5
SM
1877 Reduce use of (require 'cl).
1878 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1879 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1880 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1881 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1882 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1883 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1884 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1885 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1886 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1887 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1888 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1889 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1890 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1891 (byte-compile-unfold-bcf, byte-compile-check-variable):
1892 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1893 (byte-compile-nilconstp):
1894 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1895 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1896
2519d43a
SM
1897 * emacs-lisp/gv.el (cond): Make it a valid place.
1898 (if): Simplify slightly.
1899
19faa8e8
SM
1900 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1901 (pcase--self-quoting-p): New function.
1902 (pcase--u1): Use it.
1903
c4907a5e
GM
19042012-07-10 Glenn Morris <rgm@gnu.org>
1905
1906 * emacs-lisp/authors.el (authors-fixed-entries):
1907 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1908
c4444d16
PE
19092012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1910
1911 Rename configure.in to configure.ac (Bug#11603).
1912 * emacs-lisp/authors.el (authors-canonical-file-name):
1913 * progmodes/autoconf.el (autoconf-mode):
1914 Prefer configure.ac to configure.in.
1915
d75be97d
CY
19162012-07-08 Chong Yidong <cyd@gnu.org>
1917
01ac65bd
CY
1918 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1919 Implement the mouse-1-click-follows-link handling properly.
1920
1921 * info.el (Info-link-keymap): Use follow-link mechanism for
1922 header-line links (Bug#374).
1923
d75be97d
CY
1924 * simple.el (deactivate-mark): Do not set the primary selection
1925 if another program has acquired it (Bug#11772).
1926
87a92845 19272012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1928
1929 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1930 (woman-decode-region): Replace escaped-escapes without destroying
1931 bold or underline (Bug#11552).
87a92845 1932 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1933
621b9d6c
CY
19342012-07-07 Chong Yidong <cyd@gnu.org>
1935
1936 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1937 (interprogram-cut-function, interprogram-paste-function):
1938 Mention that we typically mean the clipboard.
621b9d6c 1939
133a11fc
GM
19402012-07-06 Glenn Morris <rgm@gnu.org>
1941
0d27a45e
GM
1942 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1943
133a11fc
GM
1944 * files.el (toggle-read-only): Restrict message to interactive use.
1945
07b151f1
MA
19462012-07-06 Michael Albinus <michael.albinus@gmx.de>
1947
1948 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1949
1950 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1951
211b896b
GM
19522012-07-06 Glenn Morris <rgm@gnu.org>
1953
50394322
GM
1954 * Makefile.in (compile-one-process): Rename from "recompile".
1955
211b896b
GM
1956 * Makefile.in (bzr-update): "compile" is the same as "recompile
1957 autoloads", but parallelizable, so use that instead.
1958
4737eec9
DG
19592012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1960
1961 * window.el (quit-window): Always restore window height when
8137e7b3 1962 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1963
226c3633 19642012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1965
1966 * simple.el (kill-whole-line): Doc tweak.
1967
226c3633 19682012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1969
1970 * files.el (file-relative-name): Compare file names
1971 case-insensitively if on MS-Windows or MS-DOS, or if
1972 read-file-name-completion-ignore-case is non-nil. Don't use
1973 case-fold-search for this purpose. (Bug#11827)
1974
4dc7c8d5
SM
19752012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1976
1977 * calendar/cal-dst.el (calendar-current-time-zone):
1978 Return calendar-current-time-zone-cache if non-nil.
1979
19802012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 19812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1982
19faa8e8
SM
1983 * calendar/cal-dst.el (calendar-current-time-zone):
1984 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1985
60198fc9
GM
19862012-07-06 Glenn Morris <rgm@gnu.org>
1987
1988 * Makefile.in (cvs-update): Remove old alias.
1989
957b3189
MA
19902012-07-05 Michael Albinus <michael.albinus@gmx.de>
1991
1992 Sync with Tramp 2.2.6-pre.
1993
1994 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1995 compatible declaration.
1996
19faa8e8
SM
1997 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1998 Protect `list-load-path-shadows' call.
957b3189
MA
1999
2000 * net/tramp-compat.el (top): Require packages, which aren't
2001 autoloaded anymore for XEmacs. Protect call of
2002 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2003 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2004 it hurts at least for SXEmacs.
2005 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2006 standard-value for `temporary-file-directory'.
2007
2008 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2009 Redirect stderr to /dev/null.
2010 (tramp-sh-handle-write-region): uid and gid can be floats.
2011 Reported by Russell Sim <russell.sim@gmail.com>.
2012 (tramp-sh-handle-vc-registered): Hide errors.
2013 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2014 and `start-file-process'.
2015 (tramp-maybe-open-connection): Check also whether `non-essential'
2016 is bound.
2017
566df3fc
CY
20182012-07-04 Chong Yidong <cyd@gnu.org>
2019
2020 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2021 (xml-parse-tag): Likewise, and avoid changing entity tables.
2022 (xml-syntax-table): Define from scratch, making sure not to give
2023 x2000 and other Unicode spaces whitespace syntax, since those are
2024 not spaces in XML.
2025 (xml-parse-fragment): Delete unused function.
2026 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2027 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2028 (xml-entity-ref, xml-pe-reference-re)
2029 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2030 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2031 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2032 (xml-entity-value-re): Use syntax references in regexps where
2033 possible; no need to define inside a let-binding.
2034 (xml-parse-dtd): Use xml-pe-reference-re.
2035 (xml-entity-or-char-ref-re): New defconst.
2036 (xml-parse-string, xml-substitute-special): Use it.
2037
30eabd7a
SM
20382012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2039
0781098a
SM
2040 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2041 (find-file--read-only): New function.
2042 (find-file-read-only, find-file-read-only-other-window)
2043 (find-file-read-only-other-frame): Use it.
2044 (insert-file-contents-literally): Don't `fset'.
2045 (get-free-disk-space): Use locate-dominating-file.
2046
b5771c0d
SM
2047 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2048 function is already compiled.
2049
30eabd7a
SM
2050 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2051
b4886f6e
MA
20522012-07-03 Michael Albinus <michael.albinus@gmx.de>
2053
2054 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2055 files on the same host.
2056
b9d82339
AS
20572012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2058
2059 * help-fns.el (describe-function-1): Only call
2060 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2061
a76e6535
CY
20622012-07-03 Chong Yidong <cyd@gnu.org>
2063
2064 * xml.el: Protect parser against XML bombs.
2065 (xml-entity-expansion-limit): New variable.
2066 (xml-parse-string, xml-substitute-special): Use it.
2067 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2068
b544fef2
GM
20692012-07-03 Glenn Morris <rgm@gnu.org>
2070
2071 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2072 Allow linking to specific messages in debbugs reports (eg 123#5).
2073
a7aef6f5
CY
20742012-07-02 Chong Yidong <cyd@gnu.org>
2075
2076 * xml.el: Fix entity and character reference expansion, allowing
2077 them to expand into markup as per XML spec.
2078 (xml-default-ns): New variable.
2079 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2080 (xml-parse-region): Make first two arguments optional.
2081 Discard text properties.
2082 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2083 All callers changed.
a7aef6f5
CY
2084 (xml-parse-tag): Call xml-parse-tag-1. For backward
2085 compatibility, this function should not modify buffer contents.
2086 (xml-parse-tag-1): Fix opening-tag regexp.
2087 (xml-parse-string): Rewrite, handling entity and character
2088 references properly.
2089 (xml--entity-replacement-text): Signal an error if a parameter
2090 entity is undefined.
2091
3df31c9f
SM
20922012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2b5208f1
SM
2094 * comint.el (comint-output-filter): Filter out repeated prompts.
2095
3df31c9f
SM
2096 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2097 and file-name-absolute-p.
2098 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2099 internal calls.
2100
e3ac1281
PE
21012012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2102
2103 Spelling fixes.
2104 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2105 Rename from byte-compile--refiy-function. All uses changed.
2106
fbf2e7ad
CY
21072012-07-01 Chong Yidong <cyd@gnu.org>
2108
2109 * xml.el (xml--parse-buffer): New function. Move most of
2110 xml-parse-region here.
2111 (xml-parse-region): Copy region into a temporary buffer, since
2112 parameter entity substitution requires changing buffer contents.
2113 Use xml--parse-buffer.
2114 (xml-parse-file): Use xml--parse-buffer.
2115 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2116 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2117
9bf0aa15
GM
21182012-06-30 Glenn Morris <rgm@gnu.org>
2119
bbce2853
GM
2120 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2121
9bf0aa15
GM
2122 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2123 Remove outdated and unnecessary dbus declarations.
2124
0d23c240
EZ
21252012-06-30 Eli Zaretskii <eliz@gnu.org>
2126
2127 * emacs-lisp/timer.el (timer-until): Subtract results of
2128 float-time, instead of taking float-time of the result of
2129 time-subtract, since float-time signals an error for negative time
2130 arguments.
2131
b3218de1
CY
21322012-06-30 Chong Yidong <cyd@gnu.org>
2133
2134 * xml.el (xml-*-re): Convert defvars into defconsts, and
2135 eval-and-compile them so eval-and-compile works on derivatives.
2136 (xml--entity-replacement-text): Use eval-and-comple.
2137
a40c87a0
MA
21382012-06-30 Michael Albinus <michael.albinus@gmx.de>
2139
2140 * vc/vc-git.el (vc-git-registered): Use cache property
2141 `git-registered'.
2142 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2143 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2144 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2145
ac87de97
DG
21462012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2149 removed (likely outside Emacs). (Bug#11757)
ac87de97 2150
ac10fe06
SM
21512012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2152
3df31c9f 2153 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2154
7f3fbd5d
CY
21552012-06-30 Chong Yidong <cyd@gnu.org>
2156
2157 * xml.el: Implement XML parameter entities.
2158 (xml-parameter-entity-alist): New variable.
2159 (xml-parse-region, xml-parse-fragment): Preserve previous values
2160 of xml-entity-alist and xml-parameter-entity-alist, so that
2161 repeated calls on different documents do not change them.
2162 (xml-parse-tag): Fix doctype regexp.
2163 (xml--entity-replacement-text): New function.
2164 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2165 properly requires url retrieval which is unimplemented.
2166 (xml-escape-string): Doc fix.
2167
3cfbebba
SM
21682012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2171
2af3565e
DA
21722012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2173
2174 * fringe.el (fringe-mode): Doc fix.
2175
929df0e7
MA
21762012-06-29 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2179 is non-nil.
2180 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2181 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2182
c8d3a25c 21832012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2184
c8d3a25c
GM
2185 * calendar/cal-dst.el (calendar-current-time-zone):
2186 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2187
c8d3a25c 21882012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2189
2190 * progmodes/which-func.el (which-func-format):
2191 Add mouse-face. (Bug#11698)
2192
c8d3a25c
GM
21932012-06-29 Leo Liu <sdl.web@gmail.com>
2194
2195 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2196
21972012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * minibuffer.el (minibuffer-confirm-exit-commands):
2200 Add completion-at-point (bug#11725).
2201
22022012-06-29 Glenn Morris <rgm@gnu.org>
2203
2204 * progmodes/f90.el (f90-font-lock-keywords-2):
2205 Add some preprocessor elements. (Bug#10499)
2206
22072012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2210 Use syntax-propertize (bug#11739).
2211
2badeec4
JB
22122012-06-28 Juanma Barranquero <lekktu@gmail.com>
2213
2214 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2215
ae4969c2
JD
22162012-06-28 Julien Danjou <julien@danjou.info>
2217
2218 * term.el (term-handle-colors-array): Use a set of new faces to
2219 color the terminal. Also uses :inverse-video property.
2220 (term-default-fg-color): Set to nil by default, deprecate in favor
2221 of `term-face'.
2222 (term-default-bg-color): Set to nil by default, deprecate in favor
2223 of `term-face'.
2224 (term-current-face): Use `term-face' by default.
2225 (term-bold-attribute): Variable deleted.
2226
1c9bd870
GM
22272012-06-28 Glenn Morris <rgm@gnu.org>
2228
2229 * simple.el (completion-list-mode-finish):
2230 Don't use toggle-read-only. (Since completion-list-mode has
2231 a special mode-class, it wasn't doing anything extra anyway.)
2232
c207708c
SM
22332012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 Make inlining of other-mode interpreted functions work (bug#11799).
2236 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2237 (byte-compile): Use it to fix compilation of lexical-binding closures.
2238 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2239 function, if needed.
2240
3fd56834
SM
22412012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2242
04901786
SM
2243 * help-mode.el (help-make-xrefs): Don't just withstand
2244 cyclic-variable-indirection but any error in documentation-property.
2245
1ec4b7b2
SM
2246 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2247 memory use.
2248 * bindings.el (bindings--define-key): New function.
2249 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2250 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2251 * bindings.el: Use it to purecopy define-key bindings.
2252
e309e2a5
SM
2253 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2254
d5c6faf9
SM
2255 * emacs-lisp/cl.el (flet): Mark obsolete.
2256 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2257 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2258 * progmodes/js.el (js-c-fill-paragraph):
2259 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2260 (ebrowse-switch-member-buffer-to-derived-class):
2261 * play/5x5.el (5x5-solver): Use cl-flet.
2262
6e9590e2
SM
2263 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2264 (cl--symbol-function): New macro.
2265 (cl--letf, cl--letf*): Use it.
2266
3fd56834
SM
2267 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2268 Strip "toggle-" if any.
2269
35ff222c
GM
22702012-06-27 Glenn Morris <rgm@gnu.org>
2271
1ba6038a
GM
2272 * info.el (Info-default-directory-list): Move here from paths.el.
2273 * paths.el: Remove file, which is now empty.
2274 * loadup.el: No longer load "paths".
2275
0ea0e51b
GM
2276 * custom.el (custom-initialize-delay): Doc fix.
2277
35ff222c
GM
2278 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2279 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2280 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2281 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2282 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2283 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2284 * eshell/eshell.el (eshell-defgroup): Remove alias.
2285
c89926a5
CY
22862012-06-27 Chong Yidong <cyd@gnu.org>
2287
2288 * help.el (help-enable-auto-load): New variable.
2289
2290 * help-fns.el (help-fns--autoloaded-p): New function.
2291 (describe-function-1): Refer to a function as "autoloaded" if it
2292 was autoloaded at any time in the past. Perform autoloading if
2293 help-enable-auto-load is non-nil.
2294
cc06e7e7
EZ
22952012-06-26 Eli Zaretskii <eliz@gnu.org>
2296
2297 * makefile.w32-in (compile, compile-always): Depend on
2298 update-subdirs, not on subdirs.el. Otherwise, several different
2299 sub-targets of 'bootstrap' running in parallel could
2300 simultaneously write to subdirs.el, producing a garbled file.
2301
d2c32364
SS
23022012-06-26 Sam Steingold <sds@gnu.org>
2303
2304 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2305 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2306 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2307 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2308 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2309 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2310 * textmodes/tex-mode.el: Use it.
2311 Did not touch cedet and org because they are maintained elsewhere.
2312
5cf983b2
MR
23132012-06-26 Martin Rudalics <rudalics@gmx.at>
2314
2315 * calendar/calendar.el (calendar-exit): Don't try to delete or
2316 iconify last frame. See:
2317 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2318
8c4f2952
JD
23192012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2320
2321 * server.el (server-process-filter): Remember dir in the
2322 process's `server-client-directory' properties.
2323
772b2e2c
CY
23242012-06-24 Chong Yidong <cyd@gnu.org>
2325
2326 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2327 non-tag text.
2328
711b11e1
JB
23292012-06-23 Juanma Barranquero <lekktu@gmail.com>
2330
2331 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2332
dc5d230c
SM
23332012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * help-fns.el (describe-variable): Don't croak when doc is not found.
2336 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2337 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2338 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2339 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2340 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2341 ((lambda ..) ..).
2342 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2343
136e1c1d
CY
23442012-06-23 Chong Yidong <cyd@gnu.org>
2345
e8c1cabf
CY
2346 * info.el (Info-mouse-follow-link): Accept symbol values of
2347 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2348 (Info-fontify-node): Use Info-link-keymap for all navigation
2349 buttons, with link-args property to perform the desired action.
2350 (Info-link-keymap): Doc fix.
2351 (Info-next-link-keymap, Info-prev-link-keymap)
2352 (Info-up-link-keymap): Delete now-unused keymaps.
2353
0e9e6c6a
CY
23542012-06-23 Chong Yidong <cyd@gnu.org>
2355
05e89fea
CY
2356 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2357
0e9e6c6a
CY
2358 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2359 system abbrevs.
2360
2361 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2362
e33c6771
SM
23632012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2364
b68581e2
SM
2365 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2366 (bug#11719).
2367
e33c6771
SM
2368 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2369 the requote function doesn't work properly (bug#11714).
2370
7117e105
GM
23712012-06-23 Glenn Morris <rgm@gnu.org>
2372
2373 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2374
36cec983
SM
23752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 Further GV/CL cleanups.
2378 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2379 gv-expander.
2380 (gv--defun-declaration): New function.
2381 (defun-declarations-alist): Use it.
2382 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2383 (gv-place): Autoload.
2384 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2385 original definition of dotimes and dolist.
2386 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2387 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2388 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2389 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2390 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2391 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2392 to the function's definition.
2393 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2394 * window.el:
2395 * files.el:
2396 * faces.el:
2397 * env.el: Don't use CL.
2398
d35af63c
PE
23992012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2400
2401 Support higher-resolution time stamps (Bug#9000).
2402
2403 * calendar/time-date.el (with-decoded-time-value): New arg
2404 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2405 (encode-time-value): New optional arg PICO. New type 3.
2406 (time-to-seconds) [!float-time]: Support the new picoseconds
2407 component if it's used.
2408 (seconds-to-time, time-subtract, time-add):
2409 Support ps-resolution time stamps as well.
2410
2411 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2412 (timerp): Timer vectors now have length 9, not 8.
2413 (timer--time): Support new-style (4-part) time stamps.
2414 (timer-next-integral-multiple-of-time): Time stamps now have
2415 picosecond resolution, so take a bit more care about rounding.
2416 (timer-relative-time, timer-inc-time): New optional arg psecs.
2417 (timer-set-time-with-usecs): Set psecs to 0.
2418 (timer--activate): Check psecs component, too.
2419
2420 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2421
ac77b21a
SM
24222012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2423
f143bfe3
SM
2424 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2425 Move the non-essential binding to the post/pre-command-hook where it is
2426 more obviously correct.
2427
ac77b21a
SM
2428 * subr.el (read-passwd): Don't use a history at all.
2429 * savehist.el (savehist-save): Remove password saved accidentally
2430 because of the above bug.
2431
76386c5a
BG
24322012-06-22 Bastien Guerry <bzg@gnu.org>
2433
2434 * files.el (toggle-read-only): Display a message telling whether
2435 the buffer is read-only or not (bug#11726).
2436
2ee3d7f0
SM
24372012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * emacs-lisp/gv.el: New file.
2440 * subr.el (push, pop): Extend to generalized variables.
2441 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2442 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2443 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2444 gv-define-simple-setter, and gv-define-expander.
2445 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2446 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2447 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2448 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2449 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2450 gv-letplace.
2451 (cl-defstruct): Don't define setf-method any more.
2452 * emacs-lisp/cl.el (flet): Don't autoload.
2453 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2454 (define-setf-expander, defsetf, define-modify-macro)
2455 (cl-struct-setf-expander): Move from cl-lib.el.
2456 * emacs-lisp/syntax.el:
2457 * emacs-lisp/ewoc.el:
2458 * emacs-lisp/smie.el:
2459 * emacs-lisp/cconv.el:
2460 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2461 (timer--time): Use gv-define-simple-setter.
2462 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2463 to avoid coding-system problems in subr.el. Adjust all users.
2464 (macroexp--maxsize, macroexp-small-p): New functions.
2465 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2466 * scroll-bar.el (scroll-bar-mode):
2467 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2468 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2469 * winner.el (winner-configuration, winner-make-point-alist)
2470 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2471 * files.el (locate-file-completion-table): Avoid list*.
2472
c5695d1d
CY
24732012-06-22 Chong Yidong <cyd@gnu.org>
2474
2475 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2476 (dired-create-files): Doc fix (Bug#11329).
2477 (dired-do-copy): Doc fix (Bug#11334).
2478 (dired-mark-read-string): Doc fix (Bug#11553).
2479
2ee3d7f0
SM
2480 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2481 Doc fix (Bug#11326).
c5695d1d
CY
2482 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2483 (dired-dwim-target): Doc fix.
2484
2485 * wdired.el (wdired-mode): Doc fix.
2486
89b5595a
GM
24872012-06-22 Glenn Morris <rgm@gnu.org>
2488
575db3f1
GM
2489 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2490 (pcmpl-rpm-cache-stamp-file): New constant.
2491 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2492 (pcmpl-rpm-packages): Optionally cache list of packages.
2493
a4c8dd51
GM
2494 * pcmpl-rpm.el (pcmpl-rpm): New group.
2495 (pcmpl-rpm-query-options): New option.
2496 (pcmpl-rpm-packages): No need to inline it.
2497 Use pcmpl-rpm-query-options.
2498
89b5595a
GM
2499 * calendar/calendar.el (calendar-in-read-only-buffer):
2500 Avoid some needless mode changes.
2501
e76f0800
CY
25022012-06-21 Chong Yidong <cyd@gnu.org>
2503
2504 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2505 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2506 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2507
297a8f1d
CY
25082012-06-20 Chong Yidong <cyd@gnu.org>
2509
2510 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2511
d34c18b1
DR
25122012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2513
2514 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2515 (bug#11201).
2516
32f7f28e
CY
25172012-06-20 Chong Yidong <cyd@gnu.org>
2518
2519 * term.el (term-window-width): Handle the case of a missing right
2520 fringe (Bug#8837).
2521 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2522 (term-mode): Use define-derived-mode. Minor cleanups.
2523 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2524 (term-move-columns, term-insert-char, term-emulate-terminal)
2525 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2526
493c6688
MA
25272012-06-20 Michael Albinus <michael.albinus@gmx.de>
2528
d34c18b1
DR
2529 * net/ange-ftp.el (ange-ftp-get-passwd):
2530 Bind `enable-recursive-minibuffers'.
493c6688
MA
2531 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2532
3f06ecf4
DR
25332012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2534
2535 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2536
68f12411
GM
25372012-06-19 Glenn Morris <rgm@gnu.org>
2538
2539 * progmodes/python.el (python-mode): Derive from prog-mode.
2540
b3820318
KG
25412012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2542
2543 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2544 (edt-user-menu-bar-update-buffers): New functions.
2545 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2546
c6bf3022
CY
25472012-06-19 Chong Yidong <cyd@gnu.org>
2548
2549 * subr.el (with-selected-window): Preserve the selected window's
2550 terminal's top-frame (Bug#4702).
2551
2552 * window.el (save-selected-window): Likewise.
2553
25f09295
SM
25542012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * progmodes/python.el (python-rx-constituents): Move backquote.
2557 (python-skeleton-define, python-define-auxiliary-skeleton):
2558 Use `declare'.
2559
6b11952a
MA
25602012-06-18 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * minibuffer.el (read-file-name-default): Revert the patch from
2563 2012-06-17.
2564
ee4b1330
SM
25652012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2568 (pcase--u1, pcase--q1): Don't use apply-partially.
2569
35647f79
GM
25702012-06-18 Glenn Morris <rgm@gnu.org>
2571
2572 * progmodes/python.el (python-proc, python-buffer)
2573 (python-send-receive, python-send-string): Fix obsolete versions.
2574
24b0cff0
MR
25752012-06-18 Martin Rudalics <rudalics@gmx.at>
2576
2577 * window.el (special-display-p): Completely remove stringp
2578 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2579
29855149
MA
25802012-06-17 Michael Albinus <michael.albinus@gmx.de>
2581
2582 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2583
2584 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2585
2586 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2587 * net/tramp-sh.el (tramp-maybe-open-connection):
2588 Throw if `non-essential' is non-nil.
2589
07463363
MR
25902012-06-17 Martin Rudalics <rudalics@gmx.at>
2591
2592 * window.el (special-display-p): Signal an error if BUFFER-NAME
2593 is not a string (Bug#11713).
2594
48d1354e
PE
25952012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2596
2597 * progmodes/python.el (python-info-beginning-of-backslash):
2598 Rename from python-info-beginning-of-backlash, as a spelling fix.
2599
eb4a8a9a
CY
26002012-06-17 Chong Yidong <cyd@gnu.org>
2601
2602 * term.el (term-emulate-terminal): If term-check-size is called,
2603 move point to the process mark without resetting point (Bug#4635).
2604
ddfbf826 26052012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2606
2607 * international/mule-cmds.el (mule-menu-keymap)
2608 (set-language-environment, set-locale-environment): Doc tweaks.
2609
9b0e3eba
AA
26102012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2611
2612 * cus-face.el (custom-face-attributes): Add wave-style underline
2613 attribute.
2614 * faces.el (set-face-attribute): Update docstring to describe
2615 wave-style underline attribute.
2616
771e3eae
CY
26172012-06-16 Chong Yidong <cyd@gnu.org>
2618
2619 * term/xterm.el (terminal-init-xterm): Discard input before
2620 querying background mode (Bug#10959).
2621
7ae2ea10
SM
26222012-06-16 Stefan Merten <smerten@oekonux.de>
2623
2624 * textmodes/rst.el: Added and corrected some comments.
2625 (rst-re-alist-def): Improve symbol syntax.
2626 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2627 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2628 (rst-official-version, rst-official-cvs-rev): Update version
2629 information.
7ae2ea10 2630
b6974efa
JB
26312012-06-15 Juanma Barranquero <lekktu@gmail.com>
2632
2633 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2634 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2635
8826d473
GM
26362012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2637
2638 * progmodes/python.el: New python.el merge.
2639 (python-guess-indent): Obsolete var.
2640 (python-indent-guess-indent-offset): New defcustom.
2641 (python-indent): Obsolete var.
2642 (python-indent-offset): New defcustom.
2643 (python-python-command, python-jython-command): Delete var.
2644 (python-shell-interpreter): New defcustom.
2645 (python-pdbtrack-do-tracking-p): Delete var.
2646 (python-pdbtrack-activate): New defcustom.
2647 (python-use-skeletons): Obsolete var.
2648 (python-skeleton-autoinsert): New defcustom.
2649 (inferior-python-filter-regexp, python-continuation-offset)
2650 (python-honour-comment-indentation, python-indent-string-contents)
2651 (python-jython-packages, python-mode-hook)
2652 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2653 (python-shell-prompt-alist)
2654 (python-source-modes): Delete defcustoms.
2655 (python-check-buffer-name, python-eldoc-setup-code)
2656 (python-eldoc-string-code, python-ffap-setup-code)
2657 (python-ffap-string-code, python-fill-comment-function)
2658 (python-fill-decorator-function, python-fill-paren-function)
2659 (python-fill-string-function, python-imenu-include-defun-type)
2660 (python-imenu-make-tree, python-imenu-subtree-root-label)
2661 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2662 (python-shell-compilation-regexp-alist)
2663 (python-shell-completion-module-string-code)
2664 (python-shell-completion-pdb-string-code)
2665 (python-shell-completion-setup-code)
2666 (python-shell-completion-string-code)
2667 (python-shell-enable-font-lock, python-shell-exec-path)
2668 (python-shell-extra-pythonpaths)
2669 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2670 (python-shell-process-environment)
2671 (python-shell-prompt-block-regexp)
2672 (python-shell-prompt-output-regexp)
2673 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2674 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2675 (python-shell-virtualenv-path): New defcustoms.
2676 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2677 (inferior-python-mode-syntax-table, python--prompt-regexp)
2678 (python-buffer, python-command python-python-command)
2679 (python-default-template, python-imports, python-indent-index)
2680 (python-indent-list, python-indent-list-length)
2681 (python-mode-running, python-pdbtrack-is-tracking-p)
2682 (python-preoutput-continuation, python-preoutput-leftover)
2683 (python-preoutput-result, python-preoutput-skip-next-prompt)
2684 (python-prev-dir/file, python-recursing)
2685 (python-saved-check-command, python-version-checked)
2686 (python-which-func-length-limit)
2687 (view-return-to-alist): Delete vars.
2688 (python-check-custom-command, python-dotty-syntax-table)
2689 (python-imenu-index-alist, python-indent-current-level)
2690 (python-indent-dedenters, python-indent-levels)
2691 (python-nav-beginning-of-defun-regexp)
2692 (python-nav-list-defun-positions-cache)
2693 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2694 (python-shell-internal-buffer)
2695 (python-skeleton-available): New vars.
2696 (def-python-skeleton): Delete macro.
2697 (python-skeleton-define): New macro.
2698 (python-define-auxiliary-skeleton, python-rx): New macros.
2699 (python-insert-class): Delete command.
2700 (python-skeleton-class): New command.
2701 (python-insert-def): Delete command.
2702 (python-skeleton-def): New command.
2703 (python-insert-for): Delete command.
2704 (python-skeleton-for): New command.
2705 (python-insert-if): Delete command.
2706 (python-skeleton-if): New command.
2707 (python-insert-try/except, python-insert-try/finally): Delete commands.
2708 (python-skeleton-try): New command.
2709 (python-insert-while): Delete command.
2710 (python-skeleton-while): New command.
2711 (python-backspace): Delete command.
2712 (python-indent-dedent-line-backspace): New command.
2713 (python-electric-colon): Delete command.
2714 (python-indent-electric-colon): New command.
2715 (python-guess-indent): Delete command.
2716 (python-indent-guess-indent-offset): New command.
2717 (python-shift-left): Delete command.
2718 (python-indent-shift-left): New command.
2719 (python-shift-right): Delete command.
2720 (python-indent-shift-right): New command.
2721 (python-find-function): Delete command.
2722 (python-nav-jump-to-defun): New command.
2723 (python-next-statement): Delete command.
2724 (python-nav-forward-sentence): New command.
2725 (python-previous-statement): Delete command.
2726 (python-nav-backward-sentence): New command.
2727 (python-fill-paragraph): Delete command.
2728 (python-fill-paragraph-function): New command.
2729 (python-send-buffer): Delete command.
2730 (python-shell-send-buffer): New command.
2731 (python-send-defun): Delete command.
2732 (python-shell-send-defun): New command.
2733 (python-send-region, python-send-region-and-go): Delete commands.
2734 (python-shell-send-region)
2735 (python-shell-switch-to-shell): New commands.
2736 (python-send-string): Delete command.
2737 (python-shell-send-string): New command.
2738 (python-switch-to-python): Delete command.
2739 (python-shell-switch-to-shell): New command.
2740 (python-describe-symbol): Delete command.
2741 (python-eldoc-at-point): New command.
2742 (python--set-prompt-regexp, python-args-to-list)
2743 (python-after-info-look, python-check-version)
2744 (python-check-comint-prompt, python-find-imports)
2745 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2746 (python-unload-function, python-expand-template)
2747 (python-maybe-jython, python-preoutput-filter)
2748 (python-pdbtrack-get-source-buffer)
2749 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2750 (python-pdbtrack-toggle-stack-tracking)
2751 (python-pdbtrack-track-stack-file, python-initial-text)
2752 (python-first-word, python-comment-line-p, python-send-command)
2753 (python-setup-brm, python-sentinel, python-set-proc)
2754 (python-skip-out, python-input-filter, python-outdent-p)
2755 (python-outline-level, python-backslash-continuation-line-p)
2756 (python-end-of-block, python-end-of-statement, python-mark-block)
2757 (python-beginning-of-block, python-beginning-of-statement)
2758 (python-blank-line-p, python-beginning-of-string)
2759 (python-open-block-statement-p): Delete functions.
2760 (python-indent-line, python-indent-line-1): Delete functions.
2761 (python-indent-line): New function.
2762 (python-indentation-levels): Delete function.
2763 (python-indent-calculate-levels): New function.
2764 (python-proc): Delete function.
2765 (python-shell-get-process): New function.
2766 (python-send-receive): Delete function.
2767 (python-shell-send-string-no-output): New function.
2768 (python-module-path): Delete function.
2769 (python-ffap-module-path): New function.
2770 (python-completion-at-point)
2771 (python-symbol-completions): Delete functions.
2772 (python-completion-complete-at-point): New function.
2773 (python-load-file): Delete function.
2774 (python-shell-send-file): New function.
2775 (python-calculate-indentation): Delete function.
2776 (python-indent-calculate-indentation): New function.
2777 (python-skip-comments/blanks): Delete function.
2778 (python-util-forward-comment): New function.
2779 (python-continuation-line-p): Delete function.
2780 (python-info-continuation-line-p): New function.
2781 (python-which-func, python-current-defun): Delete function.
2782 (python-info-current-defun): New function.
2783 (python-beginning-of-defun): Delete function.
2784 (python-nav-beginning-of-defun): New function.
2785 (python-close-block-statement-p)
2786 (python-block-end-p): Delete function.
2787 (python-info-closing-block): New function.
2788 (python-comint-output-filter-function)
2789 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2790 (python-fill-comment, python-fill-decorator, python-fill-paren)
2791 (python-fill-string, python-imenu-make-element-tree)
2792 (python-imenu-make-tree, python-imenu-tree-assoc)
2793 (python-indent-context, python-indent-dedent-line)
2794 (python-indent-line-function)
2795 (python-indent-post-self-insert-function)
2796 (python-indent-toggle-levels)
2797 (python-info-assignment-continuation-line-p)
2798 (python-info-beginning-of-backlash)
2799 (python-info-block-continuation-line-p)
2800 (python-info-closing-block-message)
2801 (python-info-line-ends-backslash-p)
2802 (python-info-looking-at-beginning-of-defun)
2803 (python-info-ppss-context, python-info-ppss-context-type)
2804 (python-nav-list-defun-positions, python-nav-read-defun)
2805 (python-nav-sentence-end, python-nav-sentence-start)
2806 (python-pdbtrack-comint-output-filter-function)
2807 (python-pdbtrack-set-tracked-buffer)
2808 (python-shell-calculate-exec-path)
2809 (python-shell-calculate-process-environment)
2810 (python-shell-completion--do-completion-at-point)
2811 (python-shell-completion--get-completions)
2812 (python-shell-completion-complete-at-point)
2813 (python-shell-completion-complete-or-indent)
2814 (python-shell-get-or-create-process)
2815 (python-shell-get-process-name)
2816 (python-shell-internal-get-or-create-process)
2817 (python-shell-internal-get-process-name)
2818 (python-shell-internal-send-string, python-shell-make-comint)
2819 (python-shell-parse-command, python-shell-send-setup-code)
2820 (python-skeleton-add-menu-items)
2821 (python-util-clone-local-variables, python-util-position)
2822 (run-python-internal, python-indentation-levels)
2823 (python-nav-beginning-of-defun)
2824 (python-completion-complete-at-point): New functions.
2825 (run-python): Change arguments. New API requirements.
2826
4302f5ba
SM
28272012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2828
f38ea36d
SM
2829 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2830 (bug#11649).
2831
2832 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2833 (macroexp--expand-all): Use it.
2834
4302f5ba
SM
2835 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2836 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2837 Use `cl-function' instead.
2838
33377562
JB
28392012-06-14 Juanma Barranquero <lekktu@gmail.com>
2840
2841 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2842 Suggested by Stefan Monnier while discussing bug#11657.
2843
54c5ba1a
SS
28442012-06-14 Sam Steingold <sds@gnu.org>
2845
2846 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2847
f9f1b1fe
AS
28482012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2849
2850 * play/doctor.el (doctor-doc): Remove parameter and use
2851 doctor-sent instead of sent.
2852 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2853
a81068ba
SM
28542012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2855
5a315f9c
SM
2856 * files.el: Require cl-lib.
2857 (file-name-non-special): Replace case -> cl-case.
2858
2859 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2860
a81068ba
SM
2861 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2862 mapping from #' to function*.
2863
8cca9703
CY
28642012-06-13 Chong Yidong <cyd@gnu.org>
2865
2866 * mouse.el (mouse-drag-track): Do not set the mark if the user
2867 releases the mouse without selecting anything (Bug#11588).
2868
a12ac9d7
SM
28692012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2870
ccf1dc18
SM
2871 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2872 as well (bug#11646).
2873
ef62b23d
SM
2874 * loadup.el: Count byte-code functions as well.
2875
c4c8444a
SM
2876 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2877 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2878
a12ac9d7
SM
2879 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2880 (bug#11649). Add cl-defun and cl-defmacro.
2881
87e6e64f
DA
28822012-06-13 Drew Adams <drew.adams@oracle.com>
2883
2884 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2885 Fix last change.
2886
682cefaf
MA
28872012-06-13 Michael Albinus <michael.albinus@gmx.de>
2888
2889 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2890 Otherwise, it blocks in batch mode.
2891
773e1f08
JB
28922012-06-13 Juanma Barranquero <lekktu@gmail.com>
2893
2894 * help-mode.el (bookmark-make-record-default): Declare.
2895
60057926
CY
28962012-06-13 Chong Yidong <cyd@gnu.org>
2897
2898 * emacs-lisp/package.el (list-packages): Compute a list of
2899 packages that are newly-available since the last list-packages
2900 invocation.
2901 (package-menu--new-package-list): New var.
2902 (package-menu--generate, package-menu--print-info)
2903 (package-menu--status-predicate, package-menu-mark-install):
2904 Handle new status label "new".
2905
ad4d226c
SM
29062012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2909 conversion to backquotes.
2910
f1a4e679
CY
29112012-06-12 Chong Yidong <cyd@gnu.org>
2912
2913 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2914 Rename from gud-inhibit-global-bindings.
2915
2916 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2917
2918 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2919 hook from nxml-glyph-set-hook.
2920
2921 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2922 declaration.
2923
2924 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2925
2926 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2927 Convert to defcustom.
2928
0c9e42b5
DA
29292012-06-12 Drew Adams <drew.adams@oracle.com>
2930
2931 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2932 New functions.
2933 (help-mode): Use them.
2934
09e06855
GM
29352012-06-11 Glenn Morris <rgm@gnu.org>
2936
2937 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2938 Use preprocessor face for directives.
2939 (fortran-directive-re): Doc fix.
2940
71adb94b
SM
29412012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2eb87922
SM
2943 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2944 conversion to backquotes (bug#11652).
2945
71adb94b
SM
2946 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2947 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2948 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2949 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2950 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2951 (cl-ninth, cl-tenth): Mark them as inlinable.
2952 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2953 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2954 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2955 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2956 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2957 (cl-list*, cl-adjoin): Don't put an autoload manually.
2958 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2959 (cl--compiler-macro-list*): Add autoload cookie.
2960 (cl--compiler-macro-cXXr): New function.
2eb87922 2961
71adb94b
SM
2962 * help-fns.el (help-fns--compiler-macro): New function extracted from
2963 describe-function-1; follow aliases and use `compiler-macro' property.
2964 (describe-function-1): Use it.
2965
a6674402
CY
29662012-06-11 Chong Yidong <cyd@gnu.org>
2967
2968 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2969 is uninstalled, if imagemagick is installed.
2970
bb3faf5b
SM
29712012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * emacs-lisp/cl-lib.el: Use lexical-binding.
2974 (cl-map-extents, cl-maclisp-member): Remove.
2975 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2976 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2977 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2978 * emacs-lisp/cl-extra.el: Use lexical-binding.
2979 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2980 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2981 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2982 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2983 * emacs-lisp/cl-seq.el: Use lexical-binding.
2984 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2985 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2986 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2987 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2988 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2989 CL's internals.
2990
2fe4b125
MA
29912012-06-11 Michael Albinus <michael.albinus@gmx.de>
2992
2993 Sync with Tramp 2.2.6-pre.
2994
2995 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2996 `print-length' and `print-level' to nil, in order to avoid
2997 truncation. Reported by Christopher Schmidt
2998 <christopher@ristopher.com>.
2999
3000 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3001
3002 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3003 New defmacro.
3004 (tramp-compat-copy-directory): Add optional argument
3005 COPY-CONTENTS. It is not handled yet.
3006
3007 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3008 (tramp-ftp-file-name-p): Simplify.
3009
3010 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3011 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3012 connection vector.
3013
3014 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3015 (tramp-methods): Do not use `tramp-password-end-of-line'.
3016 (tramp-completion-function-alist-putty): Handle UNIX case.
3017 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3018 (tramp-do-file-attributes-with-stat)
3019 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3020 gid as real numbers. They could run out of integer range on cygwin.
3021 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3022 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3023 (tramp-open-connection-setup-interactive-shell):
3024 Use `tramp-cleanup'. Move check for busyboxes ...
3025 (tramp-find-shell): ... here. Simplify implementation.
3026 Set "remote-shell" property also for alternative shells.
3027 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3028 If failing, a regular file would be written otherwise.
3029 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3030 (tramp-find-inline-encoding): Cache the coding commands in the
3031 process cache. Apply test command on the remote side, if defined.
3032 (tramp-find-inline-compress): Cache the compress commands in the
3033 process cache.
3034 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3035 when requested. Handle hops.
3036 (tramp-current-connection): New defvar.
87e6e64f
DA
3037 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3038 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3039 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3040 (tramp-get-inline-compress, tramp-get-inline-coding):
3041 Read connection properties from the process cache.
2fe4b125
MA
3042
3043 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3044 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3045 New defconsts.
2fe4b125
MA
3046 (tramp-smb-prompt): Extend for powershell prompt.
3047 (tramp-smb-file-name-handler-alist): Add handlers for
3048 `process-file', `shell-command' and `start-file-process'.
3049 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3050 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3051 (tramp-smb-file-name-p): Simplify.
3052 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3053 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3054 (tramp-smb-shell-quote-argument): New defuns.
3055 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3056 Implement using "tar". By this, time-stamps are preserved.
3057 (tramp-smb-handle-copy-file): Handle also the case of directories.
3058 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3059 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3060 Use `tramp-get-connection-buffer').
2fe4b125
MA
3061 (tramp-smb-handle-rename-file): Use "rename", when source and
3062 target are on the same share.
87e6e64f
DA
3063 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3064 Use `tramp-smb-server-version'.
2fe4b125
MA
3065 (tramp-smb-wait-for-output): Remove prompt.
3066
3067 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3068 (tramp-methods, tramp-rsh-end-of-line):
3069 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3070 (tramp-save-ad-hoc-proxies): New defcustom.
3071 (tramp-completion-function-alist): Adapt docstring.
3072 (tramp-default-password-end-of-line): Remove defcustom.
3073 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3074 (tramp-user-regexp, tramp-file-name-regexp-unified)
3075 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3076 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3077 (tramp-remote-file-name-spec-regexp): New defconst.
3078 (tramp-file-name-structure): Extend structure for hops.
3079 (tramp-get-method-parameter): Move up.
3080 (tramp-file-name-p, tramp-dissect-file-name)
3081 (with-parsed-tramp-file-name): Handle hops.
3082 (tramp-file-name-hop): New defun.
3083 (tramp-make-tramp-file-name): New optional arg HOP.
3084 (tramp-message-show-progress-reporter-message): New defvar.
3085 (tramp-with-progress-reporter): Use it. We cannot use
3086 `tramp-message-show-message' here, because this suppresses also
3087 error buffers.
3088 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3089 `tramp-message-show-message' is nil.
3090 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3091 (tramp-cleanup): New defun.
3092 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3093 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3094 an error unchanged.
3095 (tramp-completion-handle-file-name-all-completions): Handle hops.
3096 Fix an error when called from ido.
3097 (tramp-completion-dissect-file-name): Use better local variable
3098 name. Add hop to the vector.
3099 (tramp-handle-insert-file-contents): Use progress-reporter for the
3100 whole scenario.
3101 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3102 to `t'.
3103 (tramp-check-for-regexp): Simplify search.
3104 (tramp-enter-password): Remove it. Move implementation ...
3105 (tramp-action-password): ... here.
3106 (tramp-mode-string-to-int, tramp-local-host-p)
3107 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3108 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3109 Set tramp-autoload cookie.
2fe4b125
MA
3110
3111 * net/trampver.el: Update release number.
3112
31132012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3114 Michael Albinus <michael.albinus@gmx.de>
3115
3116 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3117 (tramp-parse-group, tramp-parse-file)
3118 (tramp-parse-shostkeys-sknownhosts): New defuns.
3119 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3120 (tramp-parse-shosts-group, tramp-parse-sconfig)
3121 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3122 (tramp-parse-sknownhosts, tramp-parse-hosts)
3123 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3124 Use them.
3125 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3126 (tramp-parse-putty-group): Don't narrow.
3127 (tramp-parse-putty): Make a loop.
3128 (tramp-file-name-handler): Catch the `suppress' signal.
3129
72834e10
CY
31302012-06-11 Chong Yidong <cyd@gnu.org>
3131
3132 * image.el (imagemagick-register-types): Put the ImageMagick entry
3133 at the end of image-type-file-name-regexps.
3134
a4712e11
JB
31352012-06-11 Johan Bockgård <bojohan@gnu.org>
3136
3137 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3138 (pcase, pcase-let*, pcase-dolist): Use them.
3139
82ad98e3
SM
31402012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * emacs-lisp/pcase.el (pcase--let*): New function.
3143 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3144 (pcase--expand): Use macroexp-let².
3145
f80efb86
SM
31462012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3149 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3150 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3151 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3152 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3153 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3154
31ca4639 31552012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3156
31ca4639
CY
3157 * mail/rmail.el (rmail-yank-current-message): Leave point at
3158 correct position. (Bug#11660)
94f0aa34 3159
31ca4639 31602012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3161
31ca4639 3162 * allout-widgets.el: Fix code header.
9e1b8ec4 3163
31ca4639 31642012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3165
f80efb86
SM
3166 * cus-edit.el (customize-changed-options-previous-release):
3167 Bump to 24.1.
31ca4639 3168
642b6d30
AS
31692012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3170
3171 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3172
4f5d2ba1
CY
31732012-06-09 Chong Yidong <cyd@gnu.org>
3174
3175 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3176
e75852fd
MR
31772012-06-09 Martin Rudalics <rudalics@gmx.at>
3178
3179 * window.el (special-display-popup-frame): Don't use
3180 window--display-buffer (Bug#11651).
3181
1e48e282
EZ
31822012-06-09 Eli Zaretskii <eliz@gnu.org>
3183
8a26b487
EZ
3184 Fix parallel builds: make sure loaddefs.el is not being written
3185 while Lisp files are compiled.
3186 (compile): Don't depend on 'mh-autoloads'.
3187 (compile-CMD, compile-SH): Depend on 'autoloads'.
3188 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3189
1e48e282
EZ
3190 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3191
6175e34b
CY
31922012-06-09 Chong Yidong <cyd@gnu.org>
3193
3194 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3195 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3196 Doc fixes (Bug#11225).
3197
d9857e53
SM
31982012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3201 a function if there's a clear indication that it has a compiler-macro.
3202 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3203 (macro-declarations-alist): Add arglist to declaration functions.
3204 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3205 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3206 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3207 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3208 Also add autoload to find the compiler macro.
3209 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3210 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3211 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3212 (cl--compiler-macro-get): New functions, replacing calls to
3213 cl-define-compiler-macro.
3214 (cl-typep) [compiler-macro]: Use macroexp-let².
3215
f81298f8 32162012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3217
3218 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3219 string properly, fixes Bug#11473.
3220
4b56d0fe
CY
32212012-06-08 Chong Yidong <cyd@gnu.org>
3222
3223 * faces.el (set-face-attribute): Doc fix.
3224 (modify-face): Don't use :bold and :italic.
3225 (error, warning, success): Tweak definitions.
3226
3227 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3228 (custom-modified, custom-set, custom-changed, custom-themed)
3229 (custom-saved, custom-button, custom-button-mouse)
3230 (custom-button-pressed, custom-state, custom-comment-tag)
3231 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3232 (custom-group-subtitle): Use new-style face specs.
3233 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3234 (custom-set-face, custom-changed-face, custom-saved-face)
3235 (custom-button-face, custom-button-pressed-face)
3236 (custom-documentation-face, custom-state-face)
3237 (custom-comment-face, custom-comment-tag-face)
3238 (custom-variable-tag-face, custom-variable-button-face)
3239 (custom-face-tag-face, custom-group-tag-face-1)
3240 (custom-group-tag-face): Remove obsolete face alias.
3241
3242 * epa.el (epa-validity-high, epa-validity-medium)
3243 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3244 (epa-field-name, epa-field-body):
3245 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3246 (font-lock-keyword-face, font-lock-builtin-face)
3247 (font-lock-function-name-face, font-lock-variable-name-face)
3248 (font-lock-type-face, font-lock-constant-face):
3249 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3250 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3251 * speedbar.el (speedbar-button-face, speedbar-file-face)
3252 (speedbar-directory-face, speedbar-tag-face)
3253 (speedbar-selected-face, speedbar-highlight-face)
3254 (speedbar-separator-face):
3255 * whitespace.el (whitespace-newline, whitespace-space)
3256 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3257 (whitespace-line, whitespace-space-before-tab)
3258 (whitespace-space-after-tab, whitespace-indentation)
3259 (whitespace-empty):
3260 * emulation/cua-base.el (cua-global-mark):
3261 * eshell/em-prompt.el (eshell-prompt):
3262 * net/newst-plainview.el (newsticker-new-item-face)
3263 (newsticker-old-item-face, newsticker-immortal-item-face)
3264 (newsticker-obsolete-item-face, newsticker-date-face)
3265 (newsticker-statistics-face, newsticker-default-face):
3266 * net/newst-reader.el (newsticker-feed-face)
3267 (newsticker-extra-face, newsticker-enclosure-face):
3268 * net/newst-treeview.el (newsticker-treeview-face)
3269 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3270 (newsticker-treeview-immortal-face)
3271 (newsticker-treeview-obsolete-face)
3272 (newsticker-treeview-selection-face):
3273 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3274 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3275 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3276 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3277 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3278 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3279 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3280 (mpuz-text):
3281 * progmodes/vera-mode.el (vera-font-lock-number)
3282 (vera-font-lock-function, vera-font-lock-interface):
3283 * textmodes/table.el (table-cell): Use new-style face specs, and
3284 don't use the old :bold and :italic attributes.
3285
3286 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3287 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3288 (ebrowse-member-class, ebrowse-progress): Likewise.
3289 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3290 (ebrowse-file-name-face, ebrowse-default-face)
3291 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3292 (ebrowse-progress-face): Remove obsolete faces.
3293
3294 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3295 Inherit from error and warning faces respectively.
3296
3297 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3298 Likewise.
f80efb86
SM
3299 (flyspell-incorrect-face, flyspell-duplicate-face):
3300 Remove obsolete aliases.
4b56d0fe 3301
03310646
MA
33022012-06-08 Michael Albinus <michael.albinus@gmx.de>
3303
3304 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3305 Avoid infloop.
3306
513749ee
SM
33072012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * startup.el (argv, argi): Make lexically scoped.
3310 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3311 * emacs-lisp/cl-macs.el: Use lexical-binding.
3312 Rename cl-bind-* to cl--bind-*.
3313 * files.el: Don't require `cl' since it doesn't use it.
3314 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3315
595ef4ad
JB
33162012-06-08 Juanma Barranquero <lekktu@gmail.com>
3317
3318 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3319 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3320 instead of calling external sort utility.
3321 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3322
e9f66fcb
EZ
33232012-06-08 Eli Zaretskii <eliz@gnu.org>
3324
3325 * descr-text.el (describe-char): Mention how to insert the
3326 character, if the current input method doesn't support it.
3327 See the discussion in this thread for the details:
3328 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3329
3d10db47
SS
33302012-06-08 Sam Steingold <sds@gnu.org>
3331
3332 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3333 XF86Back to previous-buffer.
3334 (minibuffer-local-map): Bind them to next-history-element and
3335 previous-history-element respectively.
3336 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3337 help-go-back respectively.
3338 * info.el (Info-mode-map): Bind them to Info-history-forward and
3339 Info-history-back respectively.
3340 These are the keys next to Up on the ThinkPad keyboard.
3341
de7e2b36
SM
33422012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3343
3344 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3345 * emacs-lisp/cl-macs.el: Provide itself.
3346 (cl--labels-convert-cache): New var.
3347 (cl--labels-convert): New function.
3348 (cl-flet, cl-labels): New implementation with new semantics, relying on
3349 lexical-binding.
3350 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3351 (cl-closure-vars, cl--function-convert-cache)
3352 (cl--function-convert): Move from cl-macs.el.
3353 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3354 rename by removing the "cl-" prefix.
3355 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3356
6fa6c4ae
SM
33572012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3360 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3361 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3362 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3363 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3364 (cl-hash-table-count): Add old compatibility aliases.
3365
3366 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3367 Use macroexpand-all-environment instead.
3368 (cl--old-macroexpand): New var.
3369 (cl--sm-macroexpand): New function.
3370 (cl-symbol-macrolet): Use it during macro expansion.
3371 (cl--function-convert-cache): New var.
3372 (cl--function-convert): New function, extracted from
3373 cl-macroexpand-all.
3374 (cl-lexical-let): Use it.
3375
3376 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3377 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3378 (cl-member): Remove old alias.
3379
3380 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3381 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3382 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3383 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3384 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3385 (cl-macroexpand-cmacs): Remove var.
3386 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3387 Use macroexpand-all instead.
3388
4dd1c416
SM
33892012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3392 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3393 (macroexp-copyable-p): New functions and macros.
3394 * emacs-lisp/edebug.el (edebug-unwrap):
3395 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3396 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3397 (pcase--let*): Remove.
3398 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3399 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3400 macroexp-const-p instead.
3401 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3402
3403 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3404 instead of "cl-" for internal definitions. Use macroexp-const-p.
3405 (cl-old-bc-file-form): Remove var.
3406 (cl-const-exprs-p): Remove fun.
3407 (cl-labels, cl-macrolet): Use backquote.
3408 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3409 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3410 (cl-define-setf-expander): Rename from cl-define-setf-method.
3411 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3412
3413 * international/mule-cmds.el: Don't require CL.
3414 (view-hello-file): Don't use `letf'.
3415
ed8bd4d7
SM
34162012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3417
7287f2f3
SM
3418 * tmm.el (tmm-prompt): Use string-prefix-p.
3419 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3420 (tmm-add-prompt): Use minibuffer-completion-help.
3421 (tmm-delete-map): Remove.
3422
ed8bd4d7
SM
3423 * subr.el (kbd): Make it its own function.
3424
7b4cdbf4
SM
34252012-06-07 Stefan Merten <smerten@oekonux.de>
3426
3427 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3428 Silence compiler warnings. Fix versions.
ed8bd4d7 3429 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3430 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3431 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3432 (rst-package-emacs-version-alist): Correct Emacs version to
3433 represent major merge with upstream.
ed8bd4d7 3434 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3435
2b48d721
GM
34362012-06-06 Glenn Morris <rgm@gnu.org>
3437
3438 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3439 Only print environment variables if set.
3440
fa779ab0
SM
34412012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3444 (macroexp--cons): Rename from maybe-cons.
3445 (macroexp--accumulate): Rename from macroexp-accumulate.
3446 (macroexp--all-forms): Rename from macroexpand-all-forms.
3447 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3448 (macroexp--expand-all): Rename from macroexpand-all-1.
3449
628299e0
SS
34502012-06-06 Sam Steingold <sds@gnu.org>
3451
3452 * calendar/calendar.el (calendar-in-read-only-buffer):
3453 Call `special-mode' to enable the standard read-only keybindings.
3454
b7bb5838
SM
34552012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3458 with "loading" messages (bug#11635).
3459
dfb308ba
MA
34602012-06-06 Michael Albinus <michael.albinus@gmx.de>
3461
3462 * files.el (enable-remote-dir-locals): New option.
3463 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3464
0372ee92
MA
3465 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3466 Ensure, that the temp directory is local.
3467
3468 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3469 `temporary-file-directory'.
3470
eed0bb91
MA
3471 * progmodes/python.el (python-send-region): Ensure, that the
3472 temporary file is created also in the remote case.
3473
7a58f64d
GM
34742012-06-06 Glenn Morris <rgm@gnu.org>
3475
f7dd4e98
GM
3476 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3477 (vc-rcs-update-changelog): Use it.
3478
090bd7cb 3479 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3480
7a58f64d
GM
3481 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3482 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3483 (vc-sccs-diff): Replace use of the external vcdiff script.
3484
daed4003
GM
34852012-06-05 Glenn Morris <rgm@gnu.org>
3486
3487 * ledit.el: Move to obsolete/.
3488
48c455c7
SS
34892012-06-05 Sam Steingold <sds@gnu.org>
3490
ed9265fc 3491 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3492 patch (Bug#11140).
3493
57a7d507
SM
34942012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3495
090bd7cb 3496 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3497
53aacf21
SM
3498 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3499 compiler-macro expansion.
3500
57a7d507
SM
3501 Add native compiler-macro support.
3502 * emacs-lisp/macroexp.el (macroexpand-all-1):
3503 Support compiler-macros directly. Properly follow aliases and apply
3504 the compiler macros more thoroughly.
3505 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3506 macroexpand now properly follows aliases.
3507 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3508 (cl-compiler-macroexpand): Use new prop.
3509 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3510
3511 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3512
51a5f9d8
MR
35132012-06-05 Martin Rudalics <rudalics@gmx.at>
3514
3515 * window.el (get-lru-window, get-mru-window, get-largest-window):
3516 New argument NOT-SELECTED to avoid picking the selected window.
3517 (window--display-buffer-1, window--display-buffer-2): Replace by
3518 new function window--display-buffer
3519 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3520 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3521 Use window--display-buffer.
51a5f9d8
MR
3522 (display-buffer-use-some-window): Remove temporary dedication
3523 hack by calling get-lru-window and get-largest-window with
3524 NOT-SELECTED argument non-nil. Call window--display-buffer.
3525
08f9f738
GM
35262012-06-05 Glenn Morris <rgm@gnu.org>
3527
3528 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3529 Replace external vcdiff script.
3530
e364a2b7
SM
35312012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3534
041df390
CY
35352012-06-04 Chong Yidong <cyd@gnu.org>
3536
e364a2b7
SM
3537 * image.el (imagemagick-types-inhibit): Revert last change.
3538 Add INFO and M.
47b36b94 3539 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3540
7c1898a7
SM
35412012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * emacs-lisp/cl-lib.el: Rename from cl.el.
3544 * emacs-lisp/cl.el: New compatibility file.
3545 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3546 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3547 to obey the "cl-" prefix.
3548 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3549
0c3461de
GM
35502012-06-03 Glenn Morris <rgm@gnu.org>
3551
1e266c88
GM
3552 * emacs-lisp/authors.el (authors-aliases): Addition.
3553
0c3461de
GM
3554 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3555 Fix :version.
3556
d8a52e15
SM
35572012-06-03 Stefan Merten <smerten@oekonux.de>
3558
3559 * textmodes/rst.el: Add comments.
3560 (rst-transition, rst-adornment): New faces.
3561 (rst-adornment-faces-alist): Make default safe to reevaluate.
3562 Fixes
3563 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3564 Improve customization tags.
3565 (rst-define-level-faces): Clarify meaning.
3566
5205d6f6
CY
35672012-06-03 Chong Yidong <cyd@gnu.org>
3568
3569 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3570 (compilation-mode-line-run, compilation-mode-line-exit):
3571 New faces.
5205d6f6
CY
3572 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3573
757ee657
JD
35742012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3575
7c1898a7
SM
3576 * progmodes/which-func.el (which-func-update-ediff-windows):
3577 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3578
5f2c76c6
CY
35792012-06-03 Chong Yidong <cyd@gnu.org>
3580
3581 * bindings.el: Remove explicit help text from format-mode-line.
3582 It is now supplied by mode-line-default-help-echo.
3583 (mode-line-front-space, mode-line-end-spaces)
3584 (mode-line-misc-info): New variables.
3585 (mode-line-modes, mode-line-position): Move the default value to
3586 the variable definition.
3587 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3588 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3589 (mode-line-modified-help-echo): New functions.
3590 (mode-line-mule-info, mode-line-modified): Use them.
3591 (mode-line-eol-desc, propertized-buffer-identification):
3592 Consistency fixes for help text.
cbe46e5f
CY
3593 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3594 set-buffer-file-coding-system (Bug#289).
3595 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3596
f2d6a3df
SM
35972012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * simple.el (execute-extended-command): Set real-this-command
3600 (bug#11506).
3601
37269466
CY
36022012-06-02 Chong Yidong <cyd@gnu.org>
3603
3604 Remove incorrect uses of "modeline" in comments, docstrings, and
3605 function/variable names (Bug#10329).
3606
3607 * cus-edit.el (mode-line):
3608 * dframe.el (dframe-mouse-hscroll):
3609 * emacs-lisp/re-builder.el:
3610 * emacs-lisp/easy-mmode.el (define-minor-mode):
3611 * frame.el (set-frame-name):
3612 * help.el (lookup-minor-mode-from-indicator):
3613 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3614 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3615 (c-toggle-hungry-state):
3616 * progmodes/antlr-mode.el (antlr-language-alist):
3617 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3618 * progmodes/vhdl-mode.el (vhdl-mode):
3619 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3620 * term/ns-win.el (ns-face-at-pos):
3621 * term/sup-mouse.el (sup-mouse-report):
3622 * textmodes/flyspell.el (flyspell-mode-line-string):
3623 * textmodes/ispell.el (ispell-highlight-face):
3624 * textmodes/reftex-global.el:
3625 * vc/vc-arch.el (vc-arch-mode-line-string):
3626 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3627 * vc/vc-git.el (vc-git-mode-line-string):
3628 * vc/vc-hooks.el (vc-display-status)
3629 (vc-default-mode-line-string):
3630 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3631
3632 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3633
3634 * dired.el (dired-sort-set-mode-line): Rename from
3635 dired-sort-set-modeline. All callers changed.
3636
3637 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3638 eshell-status-in-modeline.
3639
3640 * foldout.el (foldout-mode-line-string): Rename from
3641 foldout-modeline-string. All callers changed.
3642 (foldout-update-mode-line): Rename from foldout-update-modeline.
3643
3644 * subr.el (redraw-modeline): Make into obsolete alias.
3645
3646 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3647 timeclock-modeline-display. Make old name an alias.
3648 (timeclock-update-mode-line): Likewise. All callers changed.
3649 (timeclock-mode-line-display): No need to check before using
3650 add-hook.
3651 (timeclock-relative, timeclock-day-over-hook)
3652 (timeclock-use-elapsed, timeclock-mode-string)
3653 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3654
3655 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3656 crisp-mode-modeline-string.
3657
3658 * play/solitaire.el (solitaire-build-mode-line): Rename from
3659 solitaire-build-modeline. All callers changed.
3660
3661 * play/zone.el (zone-hiding-mode-line): Rename from
3662 zone-hiding-modeline. All callers changed.
3663 (zone): Remove unusued `modeline-hidden-level' property.
3664
3665 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3666 xscheme-modeline-initialize. All callers changed.
3667
3668 * strokes.el (strokes-lighter): Rename from
3669 strokes-modeline-string.
3670
3671 * textmodes/sgml-mode.el (html-face-tag-alist)
3672 (html-tag-face-alist): Use mode-line face instead of obsolete
3673 alias modeline.
3674
42152ee4
SM
36752012-06-02 Stefan Merten <smerten@oekonux.de>
3676
3677 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3678 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3679
95f520b5
CY
36802012-06-02 Chong Yidong <cyd@gnu.org>
3681
3682 * image.el (imagemagick-enabled-types): Rename from
3683 imagemagick-types-enable. Add many more types.
3684 (imagemagick-types-inhibit): Change default to nil.
3685 (imagemagick-filter-types): Caller changed.
3686
4a5f187a
SM
36872012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3688
03fef3e6
SM
3689 * emacs-lisp/cl-macs.el: Use backquotes.
3690 (cl-transform-function-property): Use eval-and-compile rather than
3691 abusing `require'.
3692 (defstruct): Use declare-function instead of with-no-warnings.
3693
4a5f187a
SM
3694 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3695 (byte-compile-output-docform): Re-add the print-circle bindings.
3696 (byte-compile-fix-header): Use #$ just because it's shorter.
3697 (byte-compile-output-file-form): Remove defun/defmacro.
3698
bd56924f
MR
36992012-06-01 Martin Rudalics <rudalics@gmx.at>
3700
3701 * simple.el (choose-completion): Remove now obsolete binding for
3702 owindow.
3703
046e38ce
MA
37042012-06-01 Michael Albinus <michael.albinus@gmx.de>
3705
3706 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3707 in order to avoid "Stack overflow in regexp matcher".
3708
32d72c2f
GM
37092012-05-31 Glenn Morris <rgm@gnu.org>
3710
3711 * image.el: For clarity, call imagemagick-register-types at
3712 top-level, rather than relying on a custom :initialize.
3713 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3714 (imagemagick-filter-types): New function. (Bug#7406)
3715 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3716 If disabling support, remove elements altogether rather
3717 than using an impossible regexp.
3718 (imagemagick-types-inhibit): Give it the default init function.
3719
dd41169b
SM
37202012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3721
4a5f187a
SM
3722 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3723 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3724
efc00ab1 37252012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3726
3727 * desktop.el (desktop-read): Clear previous and next buffers for
3728 all windows and bury *Messages* buffer (bug#11556).
3729
500fcedc
SM
37302012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 Add `declare' for `defun'. Align `defmacro's with it.
3733 * emacs-lisp/easy-mmode.el (define-minor-mode)
3734 (define-globalized-minor-mode): Don't autoload the var definitions.
3735 * emacs-lisp/byte-run.el: Use lexical-binding.
3736 (defun-declarations-alist, macro-declarations-alist): New vars.
3737 (defmacro, defun): Use them.
3738 (make-obsolete, define-obsolete-function-alias)
3739 (make-obsolete-variable, define-obsolete-variable-alias):
3740 Use `declare'.
3741 (macro-declaration-function): Mark obsolete.
3742 * emacs-lisp/autoload.el: Use lexical-binding.
3743 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3744
6e8a1786
AM
37452012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3746
3747 * textmodes/ispell.el (ispell-with-no-warnings):
3748 Define as a macro.
500fcedc
SM
3749 (ispell-kill-ispell, ispell-change-dictionary):
3750 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3751 `interactive-p'.
3752
61b108cc
SM
37532012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3756 (macro-declaration-function): Move var from C code.
3757 (macro-declaration-function): Define function with defalias.
3758 * emacs-lisp/macroexp.el (macroexpand-all-1):
3759 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3760 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3761 defun/defmacro any more.
3762 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3763 Provide fallback for unknown arglist.
3764 (byte-compile-arglist-warn): Change calling convention.
3765 (byte-compile-output-file-form): Move print-vars binding.
3766 (byte-compile-output-docform): Simplify accordingly.
3767 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3768 (byte-compile-defmacro-declaration): Remove.
3769 (byte-compile-file-form-defmumble): Generalize to defalias.
3770 (byte-compile-output-as-comment): Return byte-positions.
3771 Simplify callers accordingly.
3772 (byte-compile-lambda): Use `assert'.
3773 (byte-compile-defun, byte-compile-defmacro): Remove.
3774 (byte-compile-file-form-defalias):
3775 Use byte-compile-file-form-defmumble.
3776 (byte-compile-defalias-warn): Remove.
3777
6d3f7c2f
SM
37782012-05-29 Stefan Merten <smerten@oekonux.de>
3779
3780 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3781 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3782
3783 (rst-mode-abbrev-table): Merge definition.
3784 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3785 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3786
6dbaa1c7
UJ
37872012-05-29 Ulf Jasper <ulf.jasper@web.de>
3788
3789 * calendar/icalendar.el
3790 (icalendar-export-region): Export UID properly.
3791
d209e2fb 37922012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3793 * calendar/icalendar.el (icalendar-import-format):
3794 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3795 (icalendar-import-format-uid): New.
3796 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3797 Export UID.
3798
6876a58d
SM
37992012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3802 different alternative patterns.
3803 (pcase-codegen): Be more careful to preserve identity.
3804 (pcase--u1): Don't forget to mark vars as used.
3805
3806 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3807 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3808 (byte-compile-from-buffer): ...rather than here.
3809
3810 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3811 functions from byte-compile-function-environment.
3812
46b7967e
TN
38132012-05-29 Troels Nielsen <bn.troels@gmail.com>
3814
3815 * window.el (window-deletable-p): Avoid deleting the root window
3816 of a frame with an active minibuffer.
3817
69d565e2
MR
38182012-05-29 Martin Rudalics <rudalics@gmx.at>
3819
3820 * simple.el (choose-completion): Use quit-window (Bug#11567).
3821
a149fa51
CY
38222012-05-29 Chong Yidong <cyd@gnu.org>
3823
3824 * whitespace.el (whitespace-cleanup): Fix usage of
3825 whitespace-empty-at-bob-regexp (Bug#11492).
3826
2b311310
AH
38272012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3828
3829 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3830 revert (Bug#11488).
3831
b9cb2387
JL
38322012-05-29 Juri Linkov <juri@jurta.org>
3833
3834 * isearch.el (isearch-mode-map): Bind `M-s _' to
3835 `isearch-toggle-symbol'. Bind `M-s c' to
3836 `isearch-toggle-case-fold'.
3837 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3838 (isearch-forward): Add `M-s _' to the docstring.
3839 (isearch-forward-symbol, isearch-toggle-case-fold)
3840 (isearch-symbol-regexp): New functions. (Bug#11381)
3841
d5e61c1c
JL
38422012-05-29 Juri Linkov <juri@jurta.org>
3843
3844 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3845 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3846 a function, call it to get the regexp.
3847 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3848 property `isearch-message-prefix' instead of the string "word ".
3849 (isearch-search-fun-default): For the case of `isearch-word',
3850 return a lambda that calls re-search-forward/re-search-backward
3851 with a regexp returned by `word-search-regexp' or by the function
3852 in `isearch-word'.
3853
8cbd80f7
JL
38542012-05-29 Juri Linkov <juri@jurta.org>
3855
3856 * isearch.el (isearch-search-fun-default): New function.
3857 (isearch-search-fun): Move default part to the new function
3858 `isearch-search-fun-default'.
3859 (isearch-search-fun-function): Set the default value to
3860 `isearch-search-fun-default'. (Bug#11381)
3861
3862 * comint.el (comint-history-isearch-end):
3863 Use `isearch-search-fun-default'.
3864 (comint-history-isearch-search): Use `isearch-search-fun-default'
3865 and remove spacial case for `isearch-word'.
3866 (comint-history-isearch-wrap): Remove spacial case for
3867 `isearch-word'.
3868
3869 * hexl.el (hexl-isearch-search-function):
3870 Use `isearch-search-fun-default'.
3871
3872 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3873 Use `word-search-regexp' for `isearch-word'.
3874
3875 * misearch.el (multi-isearch-search-fun):
3876 Use `isearch-search-fun-default'.
3877
3878 * simple.el (minibuffer-history-isearch-search):
3879 Use `isearch-search-fun-default' and remove spacial case for
3880 `isearch-word'.
3881 (minibuffer-history-isearch-wrap): Remove spacial case for
3882 `isearch-word'.
3883
3884 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3885 Remove spacial case for `isearch-word'.
3886 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3887
85c8c5b6
AM
38882012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3889
3890 Decrease XEmacs incompatibilities.
3891 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3892 Use `string-match'.
3893 (flyspell-delete-region-overlays): Use alternative definition for
3894 XEmacs.
3895 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3896 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3897 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3898 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3899 `define-obsolete-face-alias' under XEmacs, but old method.
3900
3901 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3902 `with-no-warnings' definition or Emacs alias.
3903 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3904 (ispell-word): Do not use `region-p' if XEmacs.
3905
8cab9efc
AM
39062012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3907
3908 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3909 Check for `ispell-dictionary-base-alist' instead of full
3910 `ispell-dictionary-alist'.
3911 (ispell-init-process): Show spellchecker when starting new Ispell
3912 process.
3913
fda91268
RZ
39142012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3917 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3918
694ea8e3
JB
39192012-05-27 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * version.el (motif-version-string, gtk-version-string)
3922 (ns-version-string): Declare.
3923
e4d4f539
JL
39242012-05-27 Juri Linkov <juri@jurta.org>
3925
3926 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3927 after the `eval-defun-1' specialcaseing
3928 like in `edebug-eval-defun' (bug#10181).
3929
3930 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3931 like in `eval-defun-1'.
3932
33017faf 39332012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3934
fda91268
RZ
3935 * mail/sendmail.el (mail-yank-region):
3936 Recognize rmail-yank-current-message in addition to insert-buffer.
3937 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3938 a *mail* buffer created through rmail-start-mail with sendmail as
3939 mail-user-agent.
3940
33017faf
GM
39412012-05-27 Chong Yidong <cyd@gnu.org>
3942
3943 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3944 Default to 256 (Bug#11267).
3945
3946 * help.el (describe-mode): Doc fix.
3947
04188bb9
GM
39482012-05-26 Glenn Morris <rgm@gnu.org>
3949
38264cc9
GM
3950 * w32-fns.el (w32-init-info): Remove.
3951 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3952
eb7afdad
GM
3953 * info.el (info-initialize): For self-contained NS builds, put the
3954 included info/ directory at the front. (Bug#2791)
3955
04188bb9
GM
3956 * paths.el (Info-default-directory-list): Make it a defcustom,
3957 mainly so that we can use custom-initialize-delay.
3958
a179e3f7
SM
39592012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3960
43416392
SM
3961 * subr.el (buffer-has-markers-at): Mark obsolete.
3962
a179e3f7 3963 * subr.el (lambda): Use declare.
43416392 3964
a179e3f7
SM
3965 * emacs-lisp/lisp-mode.el (lambda):
3966 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3967
34a008d9
AH
39682012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3969
3970 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3971
0a3b289f
GM
39722012-05-26 Glenn Morris <rgm@gnu.org>
3973
3974 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3975
758c81e8
GM
39762012-05-25 Glenn Morris <rgm@gnu.org>
3977
f9f334f0
GM
3978 * paths.el: Remove no-byte-compile.
3979 * loadup.el: No need to load paths.el uncompiled.
3980
87eb79c2
GM
3981 * image.el (imagemagick-types-inhibit): Doc fix.
3982
758c81e8
GM
3983 * version.el: Remove no-byte-compile and associated formatting.
3984 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3985 is ancient code from when there was an "inc-vers.el".
3986
e7e85dc0
SM
39872012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * progmodes/gdb-mi.el: Minor style changes.
3990 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3991 Turn into minor modes.
3992 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3993 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3994 (gdb-shell): Remove unneeded let-binding.
3995 (gdb-get-many-fields): Eliminate O(n²) behavior.
3996
f31237a4
EZ
39972012-05-25 Eli Zaretskii <eliz@gnu.org>
3998
3999 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4000 platforms that don't link in fontset.c.
4001
bc1b21bb
JL
40022012-05-25 Juri Linkov <juri@jurta.org>
4003
4004 Use the same diff color scheme as in modern VCSes (bug#10181).
4005
4006 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4007 to avoid confusion with `diff-added' that now uses green colors.
4008 (diff-removed): Use shades of red.
4009 (diff-added): Use shades of green.
4010 (diff-changed): Leave just the yellow color.
4011 (diff-use-changed-face): New variable.
4012 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4013 how to highlight context diff changes.
4014 (diff-refine-change): Use shades of yellow.
4015 (diff-refine-removed): New face that uses shades of red.
4016 (diff-refine-added): New face that uses shades of green.
4017 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4018 `diff-refine-removed' in the call to `smerge-refine-subst'
4019 depending on the value of `diff-use-changed-face'.
4020
4021 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4022 (smerge-other): Use shades of green.
4023 (smerge-base): Use shades of yellow.
4024 (smerge-refined-change): Empty face.
4025 (smerge-refined-removed): New face that uses shades of red.
4026 (smerge-refined-added): New face that uses shades of green.
4027 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4028 args `props-r' and `props-a', and use them. Doc fix.
4029 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4030 on its value use different faces `smerge-refined-change',
4031 `smerge-refined-removed', `smerge-refined-added' in the call to
4032 `smerge-refine-subst'.
4033
4034 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4035 Add face condition `min-colors 88' with shades of red.
4036 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4037 `min-colors 88' with shades of green.
4038 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4039 `min-colors 88' with shades of yellow.
4040
6df9112c
GM
40412012-05-24 Glenn Morris <rgm@gnu.org>
4042
ead5edc0
GM
4043 * paths.el (prune-directory-list, remote-shell-program): Move to...
4044 * files.el (prune-directory-list, remote-shell-program): ...here.
4045 For the latter, delay initialization, prefer ssh, just search PATH.
4046
f18b81e6
GM
4047 * paths.el (term-file-prefix): Move to faces.el (the only user).
4048 * faces.el (term-file-prefix): Move here, make it a defcustom.
4049
ee2f89a6
GM
4050 * paths.el (news-directory, news-path, news-inews-program):
4051 Move to gnus/nnspool.el.
61a583ca 4052
f8815e4c
GM
4053 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4054
c8f3b42c
GM
4055 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4056 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4057 Make the latter a defcustom, with a delayed initialization.
4058
6df9112c
GM
4059 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4060 These were deleted from Gnus itself late 2010.
4061
5dadff36
JB
40622012-05-22 Juanma Barranquero <lekktu@gmail.com>
4063
9e1701c6
JB
4064 * progmodes/which-func.el (which-func-ff-hook):
4065 Check against user-error, not error.
4066
bd7239f5 4067 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4068 cl-specs.el, which no longer exists.
4069
3290526d
GM
40702012-05-22 Glenn Morris <rgm@gnu.org>
4071
4072 * info.el (info-emacs-bug): New command.
4073 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4074 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4075
ff0c3cfb
GM
40762012-05-21 Glenn Morris <rgm@gnu.org>
4077
4078 * makefile.w32-in (update-subdirs-SH):
4079 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4080
5814f126
SM
40812012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4082
a52c0aa0
SM
4083 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4084
5814f126
SM
4085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4086 Simplify Maven regexp, and make sure the file can't start with a space
4087 (bug#11517).
4088
b847032c
GM
40892012-05-21 Glenn Morris <rgm@gnu.org>
4090
4091 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4092 Scrap superfluous subshells.
4093
3858bfe7
SM
40942012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4097 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4098
d14b0029
JB
40992012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4100
4101 * calc/calc.el (calc-ensure-consistent-units): New variable.
4102
a52c0aa0
SM
4103 * calc/calc-units.el (math-consistent-units-p)
4104 (math-check-unit-consistency): New functions.
4105 (calc-quick-units, calc-convert-units):
4106 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4107 is non-nil.
d14b0029
JB
4108 (calc-extract-units): Fix typo.
4109
60c4db3a
SM
41102012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4111
77f3b62e
SM
4112 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4113
60c4db3a
SM
4114 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4115 (flyspell-default-deplacement-commands): Don't spell check after
4116 repeated window/frame switches (e.g. triggered by mouse-movement).
4117 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4118 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4119 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4120 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4121 Remove unused vars.
4122 (flyspell-get-casechars, flyspell-get-not-casechars):
4123 Simplify; Don't bother removing a ] just to add it back.
4124 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4125
d209e2fb 41262012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4127
4128 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4129 New functions.
bd7239f5 4130 (math-function-table): Add support for more C functions.
b1a10716 4131
3f1b25b5
AM
41322012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4133
090bd7cb
JB
4134 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4135 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4136 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4137
b581bb5c
SM
41382012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4141 their respective macro declarations.
4142 * skeleton.el (define-skeleton):
4143 * progmodes/compile.el (define-compilation-mode):
4144 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4145 (define-ibuffer-filter):
4146 * emacs-lisp/generic.el (define-generic-mode):
4147 * emacs-lisp/easy-mmode.el (define-minor-mode)
4148 (define-globalized-minor-mode):
4149 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4150 * emacs-lisp/byte-run.el (defsubst):
4151 * custom.el (deftheme): Add doc-string metadata.
4152
70b8ef8f
SM
41532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4156
b1198e17
SM
41572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4158
9abdc45d
SM
4159 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4160
b1198e17
SM
4161 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4162 * emacs-lisp/cl-macs.el: Idem.
4163 * emacs-lisp/cl-specs.el: Remove.
4164
4735906a
SM
41652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 Minor renaming of internal CL functions and variables.
4168 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4169 (cl--position): Rename from cl-position.
4170 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4171 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4172 (cl--random-state): Rename from *random-state*.
4173
ac348012
SM
41742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4177 parens around the arg list (bug#11499).
4178
a0a79cde
JL
41792012-05-17 Juri Linkov <juri@jurta.org>
4180
4181 * isearch.el (word-search-regexp, word-search-backward)
4182 (word-search-forward, word-search-backward-lax)
4183 (word-search-forward-lax): Move functions from search.c
4184 (bug#10145, bug#11381).
4185
65034a51
AM
41862012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4187
090bd7cb
JB
4188 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4189 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4190 Delay for otherchars as for normal word components.
65034a51 4191
1a72a195
SM
41922012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * minibuffer.el (completion--sifn-requote): Fix last change.
4195 (minibuffer-local-must-match-filename-map):
4196 Move define-obsolete-variable-alias before its var.
4197
fdb058c2
SM
41982012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4199
c41045e6
SM
4200 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4201
036dfb8b
SM
4202 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4203 behavior.
4204 (completion--string-equal-p): New function.
4205 (completion--twq-all): Use it to get better assertion failure data.
4206
2473256d
SM
4207 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4208 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4209 (shell--requote-argument): New functions.
4210 (shell-completion-vars): Use them.
4211 (shell--parse-pcomplete-arguments): Rename from
4212 shell-parse-pcomplete-arguments.
4213 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4214 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4215 Obey comint-file-name-quote-list.
4216
fdb058c2
SM
4217 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4218 (smie-indent-keyword): Use it.
4219
51fa99f1
SM
42202012-05-14 Stefan Merten <smerten@oekonux.de>
4221
4222 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4223
e18afed7 42242012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4225
4226 * net/rlogin.el (rlogin-mode-map): Fix last change.
4227
e18afed7 42282012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4229
4230 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4231 the following \r\n using a single `process-send-string', since the
4232 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4233 with two `process-send-string's (Bug#11444).
8633b1f4 4234
e18afed7 42352012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4236
fdb058c2
SM
4237 * shell.el (shell-parse-pcomplete-arguments):
4238 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4239
2d21d7f6
WJ
42402012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4241
e18afed7 4242 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4243 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4244 (image-transform-width, image-transform-fit-width): New functions.
4245 (image-transform-properties): Use them.
4246 (image-transform-check-size): New function.
4247 (image-toggle-display-image): Use it (for testing).
4248 (image-transform-set-rotation): Reduce angle mod 360.
4249 Delete obsolete comment.
4250
7102e6d0
WJ
42512012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4252
4253 * image-mode.el: Fix scaling (bug#11399).
4254 (image-transform-resize): Doc fix.
4255 (image-transform-properties): Default scale is 1 and height should
4256 be an integer.
4257
06bc5e6e
SM
42582012-05-13 Johan Bockgård <bojohan@gnu.org>
4259
4260 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4261 than hard-coding `car', to fix misbehavior when moving forward.
4262
0ae03b6a
CY
42632012-05-13 Chong Yidong <cyd@gnu.org>
4264
4265 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4266 (tabulated-list-entries, tabulated-list-padding)
4267 (tabulated-list-sort-key): Make permanent-local.
4268
4269 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4270 (electric-buffer-list): Put electric buffer menu
4271 command descriptions in this docstring, instead of the docstring
4272 of electric-buffer-menu-mode. Code cleanups.
4273 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4274 Electric-buffer-menu-mode.
4275 (electric-buffer-update-highlight): Minor code cleanup.
4276
205a7391
MA
42772012-05-13 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4280 (Bug#11447)
4281
e5bd0a28
SM
42822012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 Move define-obsolete-variable-alias before the var's definition.
4285 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4286 * tooltip.el (tooltip-hook):
4287 * textmodes/reftex-toc.el (reftex-toc-map):
4288 * textmodes/reftex-sel.el (reftex-select-label-map)
4289 (reftex-select-bib-map):
4290 * textmodes/reftex-index.el (reftex-index-map)
4291 (reftex-index-phrases-map):
4292 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4293 * progmodes/meta-mode.el (meta-mode-map):
4294 * novice.el (disabled-command-hook):
4295 * loadhist.el (unload-hook-features-list):
4296 * frame.el (blink-cursor):
4297 * files.el (find-file-not-found-hooks, write-file-hooks)
4298 (write-contents-hooks):
4299 * emulation/tpu-edt.el (GOLD-map):
4300 * emacs-lock.el (emacs-lock-from-exiting):
4301 * emacs-lisp/generic.el (generic-font-lock-defaults):
4302 * emacs-lisp/chart.el (chart-map):
4303 * dos-fns.el (register-name-alist):
4304 * dired-x.el (dired-omit-files-p):
4305 * desktop.el (desktop-enable):
4306 * cus-edit.el (custom-mode-hook):
4307 * buff-menu.el (buffer-menu-mode-hook):
4308 * bookmark.el (bookmark-read-annotation-text-func)
4309 (bookmark-exit-hooks):
4310 * allout.el (allout-mode-deactivate-hook)
4311 (allout-exposure-change-hook, allout-structure-added-hook)
4312 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4313 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4314 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4315 comes before the corresponding variable's definition.
4316
ac59c2f6
CY
43172012-05-12 Chong Yidong <cyd@gnu.org>
4318
4319 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4320 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4321 (Buffer-menu-mode-map): Bind it.
4322 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4323
dee6c9a3
SM
43242012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4325
2171cea5
SM
4326 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4327 (prolog-upper-case-string, prolog-lower-case-string)
4328 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4329 (prolog-use-smie, prolog-smie-grammar): New vars.
4330 (prolog-smie-forward-token, prolog-smie-backward-token)
4331 (prolog-smie-rules): New funs.
4332 (prolog-comment-indent): Remove.
4333 (prolog-mode-variables): Use default comment indentation instead.
4334 Setup SMIE.
4335 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4336 (prolog-mode): Don't call them any more.
4337 (prolog-electric-colon, prolog-electric-dash)
4338 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4339
aa0382bd
SM
4340 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4341
dbacb4bd
SM
4342 * minibuffer.el (completion--twq-all): Again, allow case differences.
4343
13bdd94c
SM
4344 * term.el: Move keymap initialization code to be more idiomatic.
4345 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4346 (term-terminal-menu): Move initialization into declaration.
4347 (term-escape-char): Let the user set it in her .emacs.
4348
ff46c759
SM
4349 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4350 Provide SMIE-based indentation (not enabled by default yet).
4351 (sh-mode-map): Don't bind electric keys.
4352 Use electric-pair-mode instead of skeleton-pair.
4353 (sh-assignment-regexp): Fit within 80 columns.
4354 (sh-indent-supported): Specify actual shell name instead of boolean.
4355 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4356 (sh-maybe-here-document): Use it. Make obsolete.
4357 (sh-electric-here-document-mode) New minor mode.
4358 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4359 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4360 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4361 (sh-smie-rc-grammar, sh-use-smie): New vars.
4362 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4363 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4364 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4365 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4366 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4367 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4368 (sh-set-shell): Use smie-setup if requested.
4369
dee6c9a3
SM
4370 * term.el (term-set-escape-char): Properly set term-escape-char.
4371 See http://stackoverflow.com/questions/10524656.
4372
9f9aa044
CY
43732012-05-10 Chong Yidong <cyd@gnu.org>
4374
4375 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4376 Use url-generic-parse-url, and handle host names and Windows
4377 filenames properly.
4378 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4379 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4380 URL schemes to work on.
4381 (ffap--toggle-read-only): New function.
4382 (ffap-read-only, ffap-read-only-other-window)
4383 (ffap-read-only-other-frame): Use it.
4384 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4385 necessary for ffap-url-unwrap-remote.
4386
836d29b3
DA
43872012-05-10 Dave Abrahams <dave@boostpro.com>
4388
4389 * cus-start.el (create-lockfiles): Add it.
4390
00fd78ed
CY
43912012-05-09 Chong Yidong <cyd@gnu.org>
4392
4393 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4394 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4395
666b903b 43962012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4397
4398 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4399
666b903b 44002012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4401
4402 * ansi-color.el (ansi-color-process-output): Check for validity of
4403 comint-last-output-start before using it. This avoids a bad
4404 interaction with gdb-mi's input/output buffer.
4405
666b903b 44062012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4407
4408 * files.el (dir-locals-read-from-file):
4409 Mention dir-locals in any error message.
4410
666b903b 44112012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4412
4413 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4414 package (Bug#11410).
4415
f677562b
CY
4416 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4417 variables into description.
4418
666b903b 44192012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4420
4421 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4422 shell-delimiter-argument-list (bug#11348).
4423 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4424
b499d8d0
JB
44252012-05-09 Juanma Barranquero <lekktu@gmail.com>
4426
8f6b6da8
JB
4427 * textmodes/rst.el: Silence byte-compiler warnings.
4428 (rst-re-alist, rst-reset-section-caches): Move around.
4429 (rst-re): Use `characterp', not `char-valid-p'.
4430 (font-lock-beg, font-lock-end): Declare.
4431
4824146a
JB
4432 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4433 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4434
b499d8d0
JB
4435 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4436
ad89bb83
GM
44372012-05-08 Glenn Morris <rgm@gnu.org>
4438
4439 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4440
8bba5a75
SM
44412012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4442
49ed9c8e
SM
4443 * vc/log-edit.el: Add GNU coding standards highlighting.
4444 (log-edit-font-lock-gnu-style)
4445 (log-edit-font-lock-gnu-keywords): New vars.
4446 (log-edit-font-lock-keywords): New fun.
4447 (log-edit-mode): Don't fold case in font-lock.
4448 (log-edit-font-lock-keywords): Do not assume case-folding.
4449
07d00b56
SM
4450 * imenu.el: Misc cleanup. Make docstrings out of comments.
4451 Use lexical-binding.
4452 (imenu--index-alist, imenu--last-menubar-index-alist)
4453 (imenu-menubar-modified-tick): Use defvar-local.
4454 (imenu--split-menu): Remove unused var.
4455 (imenu--cleanup-seen): Declare as global.
4456 (imenu--cleanup): Use dolist.
4457
8bba5a75
SM
4458 * subr.el (defvar-local): Add debug spec and doc-string position.
4459
5075bdb5
GM
44602012-05-08 Glenn Morris <rgm@gnu.org>
4461
090bd7cb 4462 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4463 * language/english.el, language/georgian.el, language/greek.el:
4464 * language/japanese.el, language/khmer.el, language/korean.el:
4465 * language/lao.el, language/misc-lang.el, language/romanian.el:
4466 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4467 * language/thai.el, language/utf-8-lang.el:
4468 Remove no-byte-compile setting.
4469
5075bdb5
GM
4470 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4471
06f679a7
AH
44722012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4473
4474 * progmodes/make-mode.el (makefile-browse):
4475 Remove unnecessary interactive. (Bug#11324)
4476
03794570
GM
44772012-05-07 Glenn Morris <rgm@gnu.org>
4478
af8630f4
GM
4479 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4480
03794570
GM
4481 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4482
f0809a9d
SM
44832012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4484
28be5ce7
SM
4485 * loadup.el: Preload newcomment.el.
4486 * newcomment.el: Move autoload-only code to toplevel.
4487
f0809a9d
SM
4488 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4489 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4490 Handle new :right-align column property.
4491 (tabulated-list-print-col): Idem, plus use `display' text-property to
4492 try and preserve alignment for variable pitch fonts.
4493
1241b724
CY
44942012-05-07 Chong Yidong <cyd@gnu.org>
4495
4496 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4497 (tabulated-list-use-header-line): New var.
4498 (tabulated-list-init-header): Use it.
4499 (tabulated-list-print-fake-header): New function.
4500 (tabulated-list-print): Use it.
4501 (tabulated-list-sort-button-map): Add non-header-line commands.
4502 (tabulated-list-init-header): Add column name property to basic
4503 labels as well.
4504 (tabulated-list-col-sort): Handle non-header-line button case.
4505 (tabulated-list--sort-by-column-name): Fix a corner case.
4506
f0809a9d
SM
4507 * buff-menu.el (list-buffers--refresh):
4508 Handle Buffer-menu-use-header-line.
1241b724 4509
e5f9458f
CY
45102012-05-06 Chong Yidong <cyd@gnu.org>
4511
4512 * buff-menu.el: Convert to Tabulated List mode.
4513 (Buffer-menu-buffer+size-width): Make obsolete.
4514 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4515 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4516 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4517 documentation into docstring of buffer-menu.
4518 (Buffer-menu-toggle-files-only): Add an informative message.
4519 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4520 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4521 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4522 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4523 (Buffer-menu-execute, Buffer-menu-select)
4524 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4525 (Buffer-menu-bury): Use Tabulated List machinery.
4526 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4527 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4528 Delete.
e5f9458f
CY
4529 (list-buffers--refresh): New function.
4530 (list-buffers-noselect): Use it.
4531 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4532 (Buffer-menu--pretty-file-name): New helper functions.
4533
4534 * loadup.el: Preload tabulated-list.
4535
4536 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4537 tabulated-list-sort-column.
4538 (tabulated-list-init-header): Add the initial aligning space even
4539 if tabulated-list-padding is zero.
4540
e129292c
CS
45412012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4542
4543 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4544 whose cdr is not a cons cell correctly (bug#11038).
4545
6632d361
CY
45462012-05-06 Chong Yidong <cyd@gnu.org>
4547
e129292c
CS
4548 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4549 Accept additional plist in column descriptors.
6632d361
CY
4550 (tabulated-list-init-header): Obey it.
4551 (tabulated-list-get-entry): New function.
4552 (tabulated-list-put-tag): Use it. Use string-width instead of
4553 length.
4554 (tabulated-list--column-number): New function.
4555 (tabulated-list-print): Use it.
e129292c
CS
4556 (tabulated-list-print-col): New function.
4557 Set `tabulated-list-column-name' property on each column's text.
6632d361 4558 (tabulated-list-print-entry): Use it.
e129292c
CS
4559 (tabulated-list-delete-entry, tabulated-list-set-col):
4560 New functions.
6632d361
CY
4561 (tabulated-list-sort-column): New command (Bug#11337).
4562
3cc99f68
CY
4563 * buff-menu.el (list-buffers): Move C-x C-b binding from
4564 buff-menu.el to bindings.el.
4565
4566 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4567 :advertised-binding feature.
4568
52b61776
TN
45692012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4570
4571 * progmodes/compile.el (compilation-internal-error-properties):
4572 Calculate start position correctly when end-col is set but
4573 end-line is not (Bug#11382).
4574
ebfe2597
WJ
45752012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4576
4577 * man.el (Man-unindent): Use text-property-default-nonsticky to
4578 prevent untabify from inheriting face properties (Bug#11408).
4579
6d3f7c2f
SM
45802012-05-05 Stefan Merten <smerten@oekonux.de>
4581
4582 * textmodes/rst.el: Major merge with upstream development up to
4583 Docutils SVN r7399 / rst.el V1.2.1.
4584
4585 Clarify maintainership and authors.
4586
4587 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4588 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4589 (rst-official-version, rst-official-cvs-rev, rst-version)
4590 (rst-package-emacs-version-alist): New functions and variables
4591 for version information.
4592
4593 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4594 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4595 (rst-mode-syntax-table, rst-mode): New and corrected functions
4596 and variables representing reStructuredText features.
4597
4598 (rst-re): New function for reStructuredText regexes. Use in
4599 many places.
4600
4601 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4602 (rst-mode-map): Rebind keys.
4603
4604 (rst-mode-lazy, rst-font-lock-keywords)
4605 (rst-font-lock-extend-region)
4606 (rst-font-lock-extend-region-internal)
4607 (rst-font-lock-extend-region-extend)
4608 (rst-font-lock-find-unindented-line-limit)
4609 (rst-font-lock-find-unindented-line-match)
4610 (rst-adornment-level, rst-font-lock-adornment-level)
4611 (rst-font-lock-adornment-match)
4612 (rst-font-lock-handle-adornment-pre-match-form)
4613 (rst-font-lock-handle-adornment-matcher): Major revision of
4614 font-locking. Integrate with other code. Use `jit-lock-mode'.
4615
4616 (rst-preferred-adornments, rst-adjust-hook)
4617 (rst-new-adornment-down, rst-preferred-bullets)
4618 (rst-preferred-bullets, rst-indent, rst-indent-width)
4619 (rst-indent-field, rst-indent-literal-normal)
4620 (rst-indent-literal-minimized, rst-indent-comment): Change,
4621 extend and improve customization.
4622
4623 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4624 (rst-normalize-cursor-position, rst-get-decoration)
4625 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4626 (rst-rstrip, rst-toc-insert-find-delete-contents)
4627 (rst-shift-fill-region, rst-compute-bullet-tabs)
4628 (rst-debug-print-tabs, rst-debug-mark-found)
4629 (rst-shift-region-guts, rst-shift-region-right)
4630 (rst-shift-region-left, rst-use-char-classes)
4631 (rst-font-lock-keywords-function)
4632 (rst-font-lock-indentation-point)
4633 (rst-font-lock-find-unindented-line-begin)
4634 (rst-font-lock-find-unindented-line-end)
4635 (rst-font-lock-find-unindented-line)
4636 (rst-font-lock-adornment-point, rst-font-lock-level)
4637 (rst-adornment-level-alist): Remove functions and variables.
4638
4639 (rst-compare-adornments, rst-get-adornment-match)
4640 (rst-suggest-new-adornment, rst-get-adornments-around)
4641 (rst-adornment-complete-p, rst-get-next-adornment)
4642 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4643 (rst-straighten-adornments): Standardize function names to
4644 use "adornment" instead of "decoration". Correct callers.
4645 Similar standardizing in many places.
4646
4647 (rst-update-section, rst-adjust, rst-promote-region)
4648 (rst-enumerate-region, rst-bullet-list-region)
4649 (rst-repeat-last-character): Correct use of `interactive'.
4650
4651 (rst-classify-adornment, rst-find-all-adornments)
4652 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4653 (rst-find-leftmost-column, rst-repeat-last-character):
4654 Refactor functions.
4655
4656 (rst-find-title-line, rst-reset-section-caches)
4657 (rst-get-adornments-around, rst-adjust-adornment-work)
4658 (rst-arabic-to-roman, rst-roman-to-arabic)
4659 (rst-insert-list-pos, rst-insert-list-new-item)
4660 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4661 New functions.
4662
4663 (rst-all-sections, rst-section-hierarchy)
4664 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4665 New variables.
4666
4667 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4668 configuration instead of only buffer. Change where necessary.
4669
4670 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4671 (rst-shift-region, rst-adaptive-fill): New functions for
4672 indentation and filling.
4673
4674 (rst-comment-line-break, rst-comment-indent)
4675 (rst-comment-insert-comment, rst-comment-region)
4676 (rst-uncomment-region): New functions for handling comments.
4677
4678 (rst-compile): Quote shell arguments.
4679
4680 (rst-compile-pdf-preview, rst-compile-slides-preview):
4681 Delete temporary files after use.
4682
a43f98b3
GM
46832012-05-05 Glenn Morris <rgm@gnu.org>
4684
48176e8b
GM
4685 * calendar/cal-html.el: Optionally include holidays in the output.
4686 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4687 (cal-html-holidays): New option.
4688 (cal-html-css-default): Add holiday entry.
4689 (holiday-in-range): Autoload it.
4690 (cal-html-htmlify-entry): Add optional class argument.
4691 (cal-html-htmlify-list): Add optional holidays argument.
4692 (cal-html-insert-agenda-days): Include holidays in the output.
4693 (cal-html-one-month): Maybe include holidays.
4694
a43f98b3
GM
4695 * calendar/holidays.el (holiday-in-range):
4696 Move here from cal-tex-list-holidays.
4697 * calendar/cal-tex.el (cal-tex-list-holidays):
4698 Make it an obsolete alias for holiday-in-range. Update all callers.
4699
fef9d149 47002012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4701
4702 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4703 Nextstep.
4704
248da2f4
RW
47052012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4706
4707 * files.el (file-auto-mode-skip): New var.
4708 (set-auto-mode-1): Use it.
4709
f95e9344
SM
47102012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4711
df96ab1e
SM
4712 * repeat.el: Use lexical-binding.
4713 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4714 (repeat-undo-count): Remove.
4715 (repeat):
4716 * progmodes/octave-mod.el (octave-abbrev-start):
4717 * progmodes/f90.el (f90-abbrev-start):
4718 * face-remap.el (text-scale-adjust):
4719 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4720
5342bb06
SM
4721 * emacs-lisp/pcase.el (pcase--let*): New function.
4722 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4723 a bit more.
4724 (pcase--split-pred): Be more clever about ruling out overlap between
4725 a predicate and some constant pattern.
4726 (pcase--q1): Use `null' instead of (eq foo nil).
4727
f95e9344
SM
4728 * subr.el (setq-local, defvar-local): New macros.
4729 (kbd): Redefine as an alias.
4730 (with-selected-window): Leave unrelated frames alone.
4731 (set-temporary-overlay-map): New function.
4732
71873e2b
SM
47332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * subr.el (user-error): New function.
4736 * window.el (switch-to-buffer):
4737 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4738 (smerge-match-conflict):
4739 * simple.el (previous-matching-history-element)
4740 (next-matching-history-element, goto-history-element, undo-more)
4741 (undo-start):
4742 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4743 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4744 (next-file, tags-loop-scan, list-tags, complete-tag):
4745 * progmodes/compile.el (compilation-loop):
4746 * mouse.el (mouse-minibuffer-check):
4747 * man.el (Man-bgproc-sentinel, Man-goto-page):
4748 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4749 (Info-history-forward, Info-follow-reference, Info-menu)
4750 (Info-extract-menu-item, Info-extract-menu-counting)
4751 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4752 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4753 (Info-next-reference, Info-prev-reference, Info-index)
4754 (Info-index-next, Info-follow-nearest-node)
4755 (Info-copy-current-node-name):
4756 * imenu.el (imenu--make-index-alist)
4757 (imenu-default-create-index-function, imenu-add-to-menubar):
4758 * files.el (basic-save-buffer, recover-file):
4759 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4760 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4761 (checkdoc-message-text, checkdoc-defun):
4762 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4763 * cus-edit.el (customize-changed-options, customize-rogue)
4764 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4765 (custom-variable-mark-to-reset-standard)
4766 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4767 (custom-file):
4768 * completion.el (check-completion-length):
4769 * comint.el (comint-search-arg)
4770 (comint-previous-matching-input-string-position)
4771 (comint-previous-matching-input)
4772 (comint-replace-by-expanded-history-before-point, comint-send-input)
4773 (comint-copy-old-input, comint-backward-matching-input)
4774 (comint-goto-process-mark, comint-set-process-mark):
4775 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4776 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4777
8a61ee22
SM
47782012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4779
66408d1e
SM
4780 * dabbrev.el (dabbrev--ignore-case-p): New function.
4781 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4782 Use it.
4783
8a61ee22
SM
4784 * files.el (automount-dir-prefix): Mark as obsolete.
4785
3c74813a
GM
47862012-05-04 Glenn Morris <rgm@gnu.org>
4787
4788 * patcomp.el, play/bruce.el: Move to obsolete/.
4789
0bfcf5c5
PE
47902012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4791
4792 Fix minor Y10k bugs.
4793 * arc-mode.el (archive-unixdate):
4794 * autoinsert.el (auto-insert-alist):
4795 * calc/calc-forms.el (math-this-year):
4796 * emacs-lisp/copyright.el (copyright-current-year)
4797 (copyright-update-year, copyright):
4798 * tar-mode.el (tar-clip-time-string):
4799 * time.el (display-time-update):
4800 Don't assume years have 4 digits.
4801
78f3273a
CY
48022012-05-04 Chong Yidong <cyd@gnu.org>
4803
4804 * dos-w32.el (file-name-buffer-file-type-alist)
4805 (direct-print-region-use-command-dot-com):
4806 * ffap.el (ffap-menu-regexp):
4807 * find-file.el (ff-special-constructs):
4808 * follow.el (follow-debug):
4809 * forms.el (forms--debug):
4810 * iswitchb.el (iswitchb-all-frames):
4811 * ido.el (ido-all-frames):
4812 * emacs-lisp/timer.el (timer-max-repeats):
4813 * mail/feedmail.el (feedmail-mail-send-hook)
4814 (feedmail-mail-send-hook-queued):
4815 * mail/footnote.el (footnote-signature-separator):
4816 * mail/mailabbrev.el (mail-alias-separator-string)
4817 (mail-abbrev-mode-regexp):
4818 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4819 * progmodes/idlwave.el (idlwave-libinfo-file)
4820 (idlwave-default-completion-case-is-down)
4821 (idlwave-library-routines): Convert defvars to defcustoms.
4822
4823 * mail/rmail.el (rmail-decode-mime-charset):
4824 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4825 (idlwave-shell-fix-inserted-breaks)
4826 (idlwave-shell-activate-alt-keybindings)
4827 (idlwave-shell-use-breakpoint-glyph):
4828 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4829
f7ae6719
SM
48302012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4831
4832 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4833
47086495
WS
48342012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4835
4836 * progmodes/verilog-mode.el (font-lock-keywords):
4837 Fix mis-highligting auto. Reported by Craig Barner.
4838 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4839 defines from global name space. Reported by Dan Dever.
4840 (verilog-auto-reset, verilog-auto-reset-widths)
4841 (verilog-auto-tieoff): Support using unbased numbers for
4842 AUTORESET and AUTOTIEOFF.
4843 (verilog-submit-bug-report): Update variable list.
4844 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4845 parenthesis from not matching. Reported by Michael Rytting.
4846 (verilog-auto-template-lint): Fix hash error when linting modules
4847 with no used templates.
4848 (verilog-warn, verilog-warn-error)
4849 (verilog-warn-fatal): When non-interactive report multiple
4850 warnings before exiting. Suggested by Brad Dobbie.
4851 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4852 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4853 to report unused template errors. Reported by Brad Dobbie.
4854 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4855 nets, bug438. Reported by Vns Blore.
4856 (verilog-auto-inout-module, verilog-auto-reg)
4857 (verilog-read-decls, verilog-read-sub-decls-sig)
4858 (verilog-signals-edit-wire-reg, verilog-signals-with):
4859 Fix passing of Verilog data types in ANSI input/output ports
4860 such as "output logic" into the AUTOs. Special case "wire" and
4861 "reg" for backwards compatibility presuming Verilog 2001.
4862 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4863 (verilog-preprocess): Fix replication of preprocess output.
4864 Reported by Brad Dobbie.
4865 (verilog-auto-inst-interfaced-ports):
4866 Create verilog-auto-inst-interfaced-ports, bug429.
4867 Reported by Julian Gorfajn.
4868 (verilog-after-save-font-hook)
4869 (verilog-before-save-font-hook): New variable.
4870 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4871 (verilog-save-font-mods): Wrap disabling fontification, reported
4872 by David Rogoff.
4873 (verilog-do-indent, verilog-pretty-declarations-auto)
4874 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4875 Reported by Pierre-David Pfister.
4876 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4877 of class declarations, bug292. Reported by Kevin Heilman.
4878 (verilog-read-decls): Fix 'parameter type' not appearing in
4879 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4880 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4881 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4882 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4883 Reported by David Kravitz.
4884
48852012-05-03 Michael McNamara <mac@mail.brushroad.com>
4886
4887 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4888 assignment with tests in ifs and for loops.
4889 (verilog-extended-complete-re, verilog-complete-reg): Change so
4890 that DPI inport functions don't look like fuction declarations.
4891 (verilog-pretty-expr): Don't line up assignment
4892 operations to the test and increment in if and for loops
4893 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4894 that DPI inport functions don't look like fuction declarations.
47086495 4895
2e51d4b5
KH
48962012-05-03 Kenichi Handa <handa@m17n.org>
4897
4898 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4899 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4900 (Bug#11282).
4901
2bd785a2
SM
49022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/bytecomp.el
4905 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4906 since cconv.el might have introduced :fun-body, internal-make-closure,
4907 and friends for bytecomp to handle (bug#11391).
4908 * custom.el (defcustom): Avoid ((λ ..) ..).
4909
99d27583
SM
49102012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4913
55a71479
JB
49142012-05-02 Juanma Barranquero <lekktu@gmail.com>
4915
4916 * notifications.el (dbus-debug):
4917 * term/linux.el (gpm-mouse-enable):
4918 * term/screen.el (xterm-register-default-colors): Declare.
4919
7b97c764
CY
49202012-05-02 Chong Yidong <cyd@gnu.org>
4921
2bc356d7
CY
4922 * cus-start.el (gc-cons-percentage, exec-suffixes)
4923 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4924 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4925 (make-cursor-line-fully-visible, void-text-area-pointer)
4926 (font-list-limit): Add customization data.
4927
7b97c764
CY
4928 * allout.el (allout-exposure-change-functions)
4929 (allout-structure-added-functions)
4930 (allout-structure-deleted-functions)
4931 (allout-structure-shifted-functions): Rename abnormal hooks from
4932 *-hook, and convert to defcustoms.
5d3385a0
JB
4933 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4934 Convert to defcustoms.
7b97c764
CY
4935 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4936
4937 * allout-widgets.el: Hook callers changed.
4938
90207a15 49392012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4940
4941 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4942 the yanked message in preference to the default value of
4943 buffer-file-coding-system.
4944
90207a15 49452012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4946
5d3385a0
JB
4947 * window.el (display-buffer--action-function-custom-type):
4948 Fix entry.
d9558cad 4949
90207a15 49502012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4951
4952 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4953
d80ac57b
GM
49542012-05-01 Glenn Morris <rgm@gnu.org>
4955
976f7668
GM
4956 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4957
beb83b5a
GM
4958 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4959
d80ac57b
GM
4960 * cus-edit.el (custom-variable-documentation): Simplify with format.
4961
b593d6a9 49622012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4963 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4964
4965 * simple.el (suggest-key-bindings, execute-extended-command):
4966 Move from keyboard.c.
4967
782fbf2a
CY
49682012-05-01 Chong Yidong <cyd@gnu.org>
4969
4970 * follow.el: Eliminate advice.
4971 (set-process-filter, process-filter, sit-for): Advice deleted.
4972 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4973 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4974 Vars deleted.
782fbf2a
CY
4975 (follow-auto): Use a :set function.
4976 (follow-mode): Rewritten. Don't advise process filters.
4977 (follow-switch-to-current-buffer-all, follow-scroll-up)
4978 (follow-scroll-down): Assume follow-mode is bound.
4979 (follow-comint-scroll-to-bottom)
4980 (follow-align-compilation-windows): New functions.
4981 (follow--window-sorter): New function.
4982 (follow-all-followers): Use it to explicitly sort windows by their
4983 positions; don't make assumptions about next-window order.
4984 (follow-windows-start-end, follow-delete-other-windows-and-split)
4985 (follow-calc-win-start): Doc fix.
4986 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4987 vertical-motion unnecessarily.
4988 (follow-adjust-window): New function.
4989 (follow-post-command-hook): Use it.
4990 (follow-call-set-process-filter, follow-call-process-filter)
4991 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4992 (follow-stop-intercept-process-output, follow-generic-filter):
4993 Functions deleted.
4994 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4995 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4996 New functions, replacing advice on scroll-bar-* commands.
87233a14 4997 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4998
4999 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5000 (comint-postoutput-scroll-to-bottom): Use it.
5001 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5002
290af740
GM
50032012-05-01 Glenn Morris <rgm@gnu.org>
5004
5005 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5006 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5007 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5008 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5009 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5010 Remove no-byte-compile setting.
5011
6eac8dc9
SM
50122012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5015 all-completions code to not return a number in the last cdr.
5016
9cc7819c
LL
50172012-04-30 Leo Liu <sdl.web@gmail.com>
5018
5019 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5020 read-only error.
5021
c93b886f
CY
50222012-04-29 Chong Yidong <cyd@gnu.org>
5023
5024 * follow.el (follow-calc-win-end): Rewrite to handle partial
5025 screen lines correctly (Bug#8390).
5026 (follow-avoid-tail-recenter): Minor cleanup.
5027
8b6c19f4
SM
50282012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 Avoid the obsolete `assoc' package.
5031 * speedbar.el (speedbar-refresh): Avoid adelete.
5032 (speedbar-file-lists): Simplify and avoid aput.
5033 * man.el (Man--sections, Man--refpages): New vars, replacing
5034 Man-sections-alist and Man-refpages-alist.
5035 (Man-build-section-alist, Man-build-references-alist):
5036 Use them; avoid aput.
5037 (Man--last-section, Man--last-refpage): New vars.
5038 (Man-follow-manual-reference): Use them.
5039 Use the `default' arg of completing-read.
5040 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5041
c5bb7569
CY
50422012-04-27 Chong Yidong <cyd@gnu.org>
5043
d1d2e2e8
CY
5044 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5045
15cd8efd
CY
5046 * startup.el (x-apply-session-resources): New function.
5047
5048 * term/ns-win.el (ns-initialize-window-system):
5049 * term/w32-win.el (w32-initialize-window-system):
5050 * term/x-win.el (x-initialize-window-system): Use it to properly
5051 set menu-bar-mode and other vars from X resources, even if the
5052 initial frame is not a window-system frame (Bug#2299).
5053
c5bb7569
CY
5054 * subr.el (read-key): Avoid running filter function when setting
5055 up temporary tool bar entries (Bug#9922).
5056
a8e7d6d7 50572012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5058
5059 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5060 (Bug#11344)
5061
a8e7d6d7 50622012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5063
5064 * select.el (xselect--encode-string): New function, split from
5065 xselect-convert-to-string.
5066 (xselect-convert-to-string): Use it.
5067 (xselect-convert-to-filename, xselect-convert-to-os)
5068 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5069 returned strings are properly encoded (Bug#11315).
5070
a8e7d6d7 50712012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5072
5073 * simple.el (delete-active-region): Move to killing custom group.
5074
a8e7d6d7 50752012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5076
5077 * progmodes/which-func.el (which-func-current): Quote %
5078 characters for mode-line processing.
5079
578c1d4b 50802012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5081
5082 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5083 reaching eob (Bug#11286).
5084
a8e7d6d7 50852012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5086
5087 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5088 (gdb): Make it buffer-local and init to zero.
5089 (gdb-control-commands-regexp): New variable.
5090 (gdb-send): Don't wrap in "-interpreter-exec console" if
5091 gdb-control-level is positive. Increment gdb-control-level
5092 whenever the command matches gdb-control-commands-regexp, and
5093 decrement it each time the command is "end". (Bug#11279)
5094
a8e7d6d7 50952012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5096
5097 * window.el (adjust-window-trailing-edge, enlarge-window)
5098 (shrink-window, window-resize):
5099 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5100 windows (Bug#11276).
5101
b3608390
CY
51022012-04-27 Chong Yidong <cyd@gnu.org>
5103
5104 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5105 fix "missing prefix" warning. All callers changed.
b3608390 5106
797e6e88
SM
51072012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * emacs-lisp/assoc.el: Move to obsolete/.
5110
e95a67dc
SM
51112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5112
657c21e4 5113 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5114
5115 * term/ns-win.el (ns-define-service):
5116 * progmodes/pascal.el (pascal-goto-defun):
5117 * progmodes/js.el (js--read-tab):
5118 * progmodes/etags.el (tags-lazy-completion-table):
5119 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5120 * emacs-lisp/ewoc.el (ewoc--wrap):
5121 * emacs-lisp/assoc.el (aput, adelete, amake):
5122 * doc-view.el (doc-view-convert-current-doc):
5123 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5124
cb3e7ae0
CY
51252012-04-26 Chong Yidong <cyd@gnu.org>
5126
dce04f7f
CY
5127 * image.el (image-type-from-buffer): Only return supported image
5128 type (Bug#9045).
5129
cb3e7ae0
CY
5130 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5131 value, for symmetry with diff-end-of-hunk.
5132 (diff-split-hunk, diff-find-source-location)
5133 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5134 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5135 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5136 compute the relevant hunk or file properly (Bug#6005).
5137 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5138
0d42eb3e
SM
51392012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * vc/vc-mtn.el:
5142 * vc/vc-hg.el:
5143 * vc/vc-git.el:
5144 * vc/vc-dir.el:
5145 * vc/vc-cvs.el:
5146 * vc/vc-bzr.el:
5147 * vc/vc-arch.el:
5148 * vc/vc.el: Replace lexical-let by lexical-binding.
5149 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5150 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5151 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5152
f08ae1c9
CY
51532012-04-26 Chong Yidong <cyd@gnu.org>
5154
8b71081d
CY
5155 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5156 (diff-mode-shared-map): Bind it to / and [remap undo].
5157
f08ae1c9
CY
5158 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5159 (ediff-window-setup-function): Use it as the default, to set up
5160 windows based on whether the current frame is graphical (Bug#2138).
5161 (ediff-choose-window-setup-function-automatically): Make obsolete.
5162
5163 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5164
ef24141c
SM
51652012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5166
cc356a5d
SM
5167 * ffap.el: Remove old code for obsolete package.
5168 (ffap-complete-as-file-p): Remove.
5169
b4ff4f1f
SM
5170 Use completion-table-with-quoting for comint and pcomplete.
5171 * comint.el (comint--unquote&requote-argument)
5172 (comint--unquote-argument, comint--requote-argument): New functions.
5173 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5174 (comint-quote-filename): Use regexp-opt-charset.
5175 (comint--common-suffix, comint--common-quoted-suffix)
5176 (comint--table-subvert): Remove.
5177 (comint-unquote-function, comint-requote-function): New vars.
5178 (comint--complete-file-name-data): Use them with
5179 completion-table-with-quoting.
5180 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5181 * pcomplete.el (pcomplete-arg-quote-list)
5182 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5183 (pcomplete-unquote-argument-function): Default to non-nil.
5184 (pcomplete-unquote-argument): Simplify.
5185 (pcomplete--common-quoted-suffix): Remove.
5186 (pcomplete-requote-argument-function): New var.
5187 (pcomplete--common-suffix): New function.
5188 (pcomplete-completions-at-point): Use completion-table-with-quoting
5189 and completion-table-subvert.
5190
79c4eeb4
SM
5191 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5192 (minibuffer--double-dollars): Preserve properties.
5193 (completion--sifn-requote): New function.
5194 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5195
ef24141c
SM
5196 * minibuffer.el: Add support for completion of quoted/escaped data.
5197 (completion-table-with-quoting, completion-table-subvert): New funs.
5198 (completion--twq-try, completion--twq-all): New functions.
5199 (completion--nth-completion): New function.
5200 (completion-try-completion, completion-all-completions): Use it.
5201
784e7d6e
LL
52022012-04-25 Leo Liu <sdl.web@gmail.com>
5203
dd2ac746
SM
5204 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5205 Use compilation-message if available to find real filename.
784e7d6e 5206
07875ee7
CY
52072012-04-25 Chong Yidong <cyd@gnu.org>
5208
5209 * vc/diff-mode.el (diff-setup-whitespace): New function.
5210 (diff-mode): Use it.
5211
5212 * vc/diff.el (diff-sentinel):
5213 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5214 Whitespace mode variables based on diff style (Bug#8612).
5215
5055880d
LL
52162012-04-25 Leo Liu <sdl.web@gmail.com>
5217
daf75653
LL
5218 * progmodes/python.el (python-send-region): Add suffix .py to the
5219 temp file.
5220
5055880d
LL
5221 * files.el (auto-mode-alist): Use javascript-mode instead.
5222
db9b177b
AH
52232012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5224
ef24141c 5225 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5226
090bd7cb 5227 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5228 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5229 references, see Bug#9.
ef24141c 5230 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5231 when receiving a fault reply.
ef24141c 5232 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5233
090bd7cb 5234 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5235 (soap-inspect-simple-type): New function.
db9b177b 5236
090bd7cb 5237 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5238 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5239 (soap-decode-basic-type, soap-encode-basic-type):
5240 support unsignedInt and double basic types.
db9b177b 5241 (soap-resolve-references-for-simple-type)
ef24141c
SM
5242 (soap-parse-simple-type, soap-encode-simple-type): New function.
5243 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5244
090bd7cb 5245 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5246 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5247 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5248 the local name of "soapenc:Array".
5249 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5250 decoding integer, byte and anyURI xsd types.
5251
1fc6097b
CY
52522012-04-25 Chong Yidong <cyd@gnu.org>
5253
5254 * cus-edit.el (custom-buffer-create-internal): Update header text.
5255
afc6df87
EZ
52562012-04-25 Eli Zaretskii <eliz@gnu.org>
5257
5258 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5259 settings on 'system-type', not on 'window-system'. On MS-Windows,
5260 set interactive-mode on in GDB.
5261
dfbd787f
SM
52622012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5265 (ruby-syntax-propertize-regexp): Remove.
5266 (ruby-syntax-propertize-function): Split regexp into chunks.
5267 Match following code directly.
5268
85222d44
DG
52692012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5270
51a8ea2a
DG
5271 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5272 (ruby-syntax-propertize-regexp): New function.
5273 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5274 by a special keyword.
5275
85222d44
DG
5276 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5277 (ruby-syntax-general-delimiters-goto-beg)
5278 (ruby-syntax-propertize-general-delimiters): New functions.
5279 (ruby-syntax-propertize-function): Use them to handle GDL.
5280 (ruby-font-lock-keywords): Move old handling of GDL...
5281 (ruby-font-lock-syntactic-keywords): .. to here.
5282 (ruby-calculate-indent): Adjust indentation for GDL.
5283
b613912b
MA
52842012-04-24 Michael Albinus <michael.albinus@gmx.de>
5285
b5380639
MA
5286 * notifications.el (top): Remove unneeded declarations.
5287 (notifications-specification-version): Change to "1.2".
e43042fe 5288 (notifications-interface, notifications-notify-method)
b613912b
MA
5289 (notifications-close-notification-method): Fix docstring.
5290 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5291 (notifications-notify): Add :action-items, :resident and
5292 :transient hints. Change "image_data" to "image-data" and
5293 "image_path" to "image-path".
b613912b
MA
5294 (notifications-get-capabilities): New defun.
5295
257440aa
LL
52962012-04-24 Leo Liu <sdl.web@gmail.com>
5297
5298 * progmodes/python.el: Move hideshow setup to the end.
5299
b1bac16e
MR
53002012-04-24 Martin Rudalics <rudalics@gmx.at>
5301
5302 * window.el (handle-select-window): Clear echo area since this is
5303 no more done by read_char (Bug#11304).
5304
d81bd059
SM
53052012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5308 and `/ M' to filter-derived-mode.
5309 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5310 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5311 (ibuffer-mark-by-mode): Use default rather than initial-input.
5312 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5313
c4cf6d91
IA
53142012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5315
5316 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5317 (ibuffer-filter-by-derived-mode): New filter.
5318 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5319
7511ded8
CY
53202012-04-23 Andreas Politz <politza@fh-trier.de>
5321
5322 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5323
775c916b
CY
53242012-04-23 Chong Yidong <cyd@gnu.org>
5325
5326 * cus-edit.el (customize-apropos, customize-apropos-options):
5327 Disable matching of non-option variables (Bug#11176).
5328 (customize-option, customize-option-other-window)
5329 (customize-changed-options): Doc fix.
5330 (customize-apropos-options, customize-apropos-faces)
5331 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5332
5333 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5334 Fix word list splitting (Bug#11132).
46c71e23
CY
5335 (apropos-symbol, apropos-keybinding, apropos-label)
5336 (apropos-property, apropos-function-button)
5337 (apropos-variable-button, apropos-misc-button): New faces.
5338 (apropos-symbol-face, apropos-keybinding-face)
5339 (apropos-label-face, apropos-property-face, apropos-match-face):
5340 Variables removed (Bug#8396).
5341 (apropos-library-button, apropos-format-plist, apropos-print)
5342 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5343
2df41f9c
MA
53442012-04-23 Michael Albinus <michael.albinus@gmx.de>
5345
5346 * net/xesam.el (xesam-mode-map): Use let-bound map in
5347 initialization. (Bug#11292)
5348
da00640a
AM
53492012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5350
5351 Preserve ispell session localwords when switching back to
5352 original buffer.
5353
090bd7cb
JB
5354 * textmodes/ispell.el (ispell-buffer-session-localwords):
5355 New buffer-local variable to hold buffer session localwords.
ed9265fc 5356 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5357 localwords.
5358 (ispell-command-loop, ispell-change-dictionary)
5359 (ispell-buffer-local-words): Preserve session localwords when
5360 needed.
5361
090bd7cb
JB
5362 * textmodes/flyspell.el (flyspell-process-localwords)
5363 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5364
f621ccf5
AM
53652012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5366
090bd7cb
JB
5367 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5368 using obsolete `translation-table-for-input'.
ef24141c
SM
5369 (ispell-word, ispell-process-line, ispell-complete-word):
5370 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5371
c2d1019e
CY
53722012-04-22 Chong Yidong <cyd@gnu.org>
5373
5374 * cus-edit.el (custom-variable-menu)
5375 (custom-variable-reset-saved, custom-face-menu)
5376 (custom-face-reset-saved): If there is no saved value, make the
5377 "reset-saved" operation bring back the default (Bug#9509).
5378 (custom-face-state): Properly detect themed faces.
5379
eeddc531
CY
5380 * faces.el (face-spec-set): Stop supporting deprecated form of
5381 third arg.
5382
dcbf5805
MA
53832012-04-22 Michael Albinus <michael.albinus@gmx.de>
5384
5385 Move functions from C to Lisp. Make non-blocking method calls
5386 the default. Implement further D-Bus standard interfaces.
5387
ef24141c
SM
5388 * net/dbus.el (dbus-message-internal): Declare function.
5389 Remove unneeded function declarations.
dcbf5805
MA
5390 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5391 (dbus-message-type-method-return, dbus-message-type-error)
5392 (dbus-message-type-signal): Declare variables. Remove local
5393 definitions.
5394 (dbus-interface-dbus, dbus-interface-peer)
5395 (dbus-interface-introspectable, dbus-interface-properties)
5396 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5397 Adapt docstring.
5398 (dbus-interface-objectmanager): New defconst.
5399 (dbus-call-method, dbus-call-method-asynchronously)
5400 (dbus-send-signal, dbus-method-return-internal)
5401 (dbus-method-error-internal, dbus-register-service)
5402 (dbus-register-signal, dbus-register-method): New defuns, moved
5403 from dbusbind.c
5404 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5405 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5406 New defuns.
dcbf5805
MA
5407 (dbus-call-method-non-blocking): Make it an obsolete function.
5408 (dbus-unregister-object, dbus-unregister-service)
5409 (dbus-handle-event, dbus-register-property)
5410 (dbus-property-handler): Obey the new structure of
5411 `bus-registered-objects'.
5412 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5413 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5414 Use `dbus-call-method'.
5415
cf20dee0
CY
54162012-04-22 Chong Yidong <cyd@gnu.org>
5417
5418 * cus-edit.el (custom-commands, custom-reset-menu)
5419 (Custom-reset-standard): Tweak labels.
5420 (custom-reset-button-menu): Change default to t.
5421 (custom-buffer-create-internal): For the custom-reset-button-menu
5422 case, put the revert button first.
5423 (custom-group-subtitle): New face.
5424 (custom-group-value-create): Align docstring to a specific column.
5425
5426 * wid-edit.el (widget-documentation-link-add): Don't handle
5427 indentation in this function.
5428 (widget-documentation-string-indent-to): New function.
5429 (widget-documentation-string-value-create): Use it.
5430
5431 * autorevert.el (auto-revert):
5432 * epg-config.el (epg):
5433 * ibuffer.el (ibuffer):
5434 * mpc.el (mpc):
5435 * ses.el (ses):
5436 * eshell/eshell.el (eshell):
5437 * net/ange-ftp.el (ange-ftp):
5438 * progmodes/ebnf2ps.el (postscript):
5439 * progmodes/flymake.el (flymake):
5440 * progmodes/prolog.el (prolog):
5441 * progmodes/verilog-mode.el (verilog-mode):
5442 * progmodes/which-func.el (which-func):
5443 * term/xterm.el (xterm):
5444 * textmodes/picture.el (picture):
5445 * textmodes/tildify.el (tildify):
5446 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5447 customization buffers.
5448
583e23bd
AM
54492012-04-22 Alan Mackenzie <acm@muc.de>
5450
5451 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5452 Adding a ) can hide the resulting (..) from searches. Fix it.
5453 Bound the backward search to the position of the existing (.
5454
7dd51bf1
JB
54552012-04-21 Juanma Barranquero <lekktu@gmail.com>
5456
5457 * progmodes/verilog-mode.el (verilog-mode): Check whether
5458 which-func-modes is t before adding verilog-mode.
5459 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5460
d64a438f
LL
54612012-04-21 Leo Liu <sdl.web@gmail.com>
5462
7dd51bf1 5463 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5464
081e8d65
MV
54652012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5466
5467 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5468 filling of the last column of a table (Bug#5635).
5469 (woman-find-next-control-line): New arg, specifying an additional
5470 regexp component for the control line.
5471 (woman2-roff-buffer): Use it.
5472 (woman-break-table): New function.
5473 (woman2-TS): Use it.
5474
54752012-04-21 Chong Yidong <cyd@gnu.org>
5476
5477 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5478 (woman-horizontal-escapes, woman-negative-vertical-space)
5479 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5480 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5481
ed571ccb
SM
54822012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * minibuffer.el (completion-file-name-table): Complete user names.
5485
39773899
LL
54862012-04-20 Leo Liu <sdl.web@gmail.com>
5487
5488 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5489 and pcase-let*.
5490
de6ff46d
CY
54912012-04-20 Chong Yidong <cyd@gnu.org>
5492
5493 * server.el (server-execute): Respect initial-buffer-choice if it
5494 is a string and there are no files to open (Bug#2825).
5495 (server-create-window-system-frame, server-create-tty-frame):
5496 Don't switch buffers here.
2d0e8e61
CY
5497 (server-process-filter): Only try to open a window system frame if
5498 compiled with graphical support (Bug#8314).
de6ff46d 5499
54071013
DN
55002012-04-20 Dan Nicolaescu <dann@gnu.org>
5501
5502 * battery.el (battery-echo-area-format): Display remaining time
5503 for sysfs backend too (Bug#11269).
5504 (battery-linux-sysfs): Fix conditional for the charge.
5505
f30d612a
CY
55062012-04-20 Chong Yidong <cyd@gnu.org>
5507
c07a4c0b 5508 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5509 (gdb-inferior-io--init-proc): New function.
5510 (gdb-init-1): Use it.
5511 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5512 responsible for allocating a new pty and hooking it to gdb when
5513 the old pty gets an EIO due to process exit.
5514 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5515 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5516 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5517
2116e93c
EZ
55182012-04-20 Eli Zaretskii <eliz@gnu.org>
5519
5520 * window.el (window-min-size, window-sizable, window-min-delta)
5521 (window-max-delta, window--resizable, window-resizable)
5522 (window-total-size, window-full-height-p, window-full-width-p)
5523 (window-in-direction, window--resize-mini-window, window-resize)
5524 (window--resize-child-windows-normal)
5525 (window--resize-child-windows, window--resize-siblings)
5526 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5527 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5528
c07a4c0b 55292012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5530
ef24141c
SM
5531 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5532 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5533 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5534 pty process (Bug#11273).
5535 (gdb-update): New arg to suppress talking to the gdb process.
5536 (gdb-done-or-error): Use it.
5537 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5538 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5539 sentinel not being called.
5540
5541 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5542
d02766ab
CY
5543 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5544
c07a4c0b 55452012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5546
5547 * net/network-stream.el (open-network-stream): Doc fix.
5548
c07a4c0b 55492012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5550
5551 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5552
c07a4c0b 55532012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5554
5555 Ensure searching for keywords is case sensitive.
5556
5557 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5558 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5559 (c-defun-name, c-mark-function, c-cpp-define-name)
5560 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5561 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5562
ef24141c
SM
5563 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5564 Bind case-fold-search to nil.
f0f6bc35 5565
c07a4c0b 55662012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5567
5568 * mail/sendmail.el (mail-bury): Call return action with the right
5569 Rmail buffer (Bug#11242).
5570
9a864fa2
CY
5571 * server.el (server-process-filter): Handle corner case where both
5572 tty and nowait options are present (Bug#11102).
5573
539aa513
EZ
55742012-04-20 Eli Zaretskii <eliz@gnu.org>
5575
5576 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5577 (top level): Put into the executable the ident-style '$Id:' tag on
5578 windows-nt as well.
539aa513 5579
cfc7d5da
SM
55802012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * electric.el (electric-indent-post-self-insert-function): Check that
5583 electric-indent-mode is enabled in current buffer.
5584
5b01685c
JB
55852012-04-19 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * imenu.el (imenu-progress-message): Restore; it is "used" in
5588 erc/erc-imenu.el and net/snmp-mode.el.
5589
4d6769e1
JB
55902012-04-19 Juanma Barranquero <lekktu@gmail.com>
5591
5592 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5593 (mouse-avoidance-nudge-mouse): Remove unused binding.
5594
5595 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5596
5597 * descr-text.el (describe-char):
5598 * progmodes/python.el (python-describe-symbol):
5599 Don't call `toggle-read-only', set `buffer-read-only'.
5600
5601 * imenu.el (imenu-default-goto-function): Mark unused args.
5602 (imenu-progress-message): Remove obsolete macro; all callers changed.
5603
5604 * subr.el (keymap-canonicalize): Remove unused binding.
5605 (read-passwd): Mark unused arg.
5606
5607 * tutorial.el (tutorial--display-changes): Remove unused binding.
5608 (tutorial--save-tutorial-to): Remove unused variable.
5609
5610 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5611 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5612 (package-generate-autoloads, package-menu--generate)
5613 (package-menu--find-upgrades): Remove unused bindings.
5614
5615 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5616 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5617 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5618 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5619 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5620 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5621 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5622 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5623 (cua-delete-char-rectangle): Mark unused args.
5624 (cua-align-rectangle): Remove unused binding.
5625
5626 * mail/rmail.el (compilation--message->loc)
5627 (epa--find-coding-system-for-mime-charset): Declare.
5628
5629 * net/dbus.el (dbus-register-service): Declare.
5630 (dbus-name-owner-changed-handler): Remove unused binding.
5631
5632 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5633 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5634 (nxml-scan-backward-within): Mark unused arg.
5635 (nxml-dynamic-markup-word): Remove unused binding.
5636
5637 * mouse.el (mouse-menu-major-mode-map):
5638 * emacs-lisp/authors.el (authors-scan-change-log)
5639 (authors-add-to-author-list):
5640 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5641 * emacs-lisp/smie.el (smie-auto-fill):
5642 * mail/sendmail.el (mail-bury):
5643 * mail/unrmail.el (unrmail):
5644 * net/tls.el (open-tls-stream):
5645 * textmodes/picture.el (picture-mouse-set-point):
5646 Remove unused bindings.
5647
8c8fc5df
MA
56482012-04-19 Michael Albinus <michael.albinus@gmx.de>
5649
5650 * net/tramp.el (tramp-action-password): Let-bind
5651 `enable-recursive-minibuffers' to t.
5652
a77b0ac9
SS
56532012-04-18 Sam Steingold <sds@gnu.org>
5654
5655 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5656 instead of 'string to accommodate values like [f11].
5657 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5658 * progmodes/gdb-mi.el: Likewise.
5659
12a106a9
LL
56602012-04-18 Leo Liu <sdl.web@gmail.com>
5661
5662 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5663 current buffer.
5664 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5665 LOCAL is nil.
5666
bc6494ef
CY
56672012-04-18 Chong Yidong <cyd@gnu.org>
5668
5669 * simple.el (line-move): Use forward-line if in batch mode
5670 (Bug#11053).
5671
c09c46b2
CS
56722012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5673
5674 * files.el (after-find-file): Do not try to add a final newline if
5675 the buffer is read-only (Bug#11156).
5676
5f6530ea
RS
56772012-04-17 Richard Stallman <rms@gnu.org>
5678
5679 * mail/rmail.el (rmail-start-mail):
5680 Pass (rmail-mail-return...) for the return-action.
5681 Pass (rmail-yank-current-message...) for the yank-action.
5682 (rmail-yank-current-message): New function.
5683 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5684 (rmail-reply): Likewise.
5685 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5686
5687 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5688 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5689 buffer, not newbuf.
5690
197b6f3c
JB
56912012-04-17 Juanma Barranquero <lekktu@gmail.com>
5692
5693 * server.el (server-ensure-safe-dir): Simplify.
5694
2311d8e5 56952012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5696
2311d8e5
GM
5697 * emacs-lisp/smie.el: Provide smarter auto-filling.
5698 (smie-auto-fill): New function.
5699 (smie-setup): Use it.
98fb480e 5700
2311d8e5
GM
5701 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5702
57032012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5704
5705 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5706 (comment-indent): Use it.
5707
2311d8e5 57082012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5709
5710 * ses.el: The overall change is to add cell renaming, that is
5711 setting fancy names for cell symbols other than name matching
5712 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5713 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5714 (ses-create-cell-variable): New defun.
2311d8e5 5715 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5716 (ses-relocate-formula): Relocate formulas only for cells the
5717 symbols of which are not renamed, i.e. symbols whose names do not
5718 match regexp "\\`[A-Z]+[0-9]+\\'".
5719 (ses-relocate-all): Relocate values only for cells the symbols of
5720 which are not renamed.
5721 (ses-load): Create cells variables as the (ses-cell ...) are read,
5722 in order to check row col consistency with cell symbol name only
5723 for cells that are not renamed.
5724 (ses-replace-name-in-formula): New defun.
5725 (ses-rename-cell): New defun.
4bdf2ad2 5726
fc72b15c
PO
57272012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5728
5729 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5730 New option (bug#11118).
5731 (perl-calculate-indent): Respect it.
5732
12e10e61
GM
57332012-04-17 Glenn Morris <rgm@gnu.org>
5734
5735 * dired-aux.el (dired-mark-read-string): Doc fix.
5736
30009afd
DA
57372012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5738
5739 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5740 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5741
41f03f4d
GM
57422012-04-17 Glenn Morris <rgm@gnu.org>
5743
5744 * mouse.el (mouse-drag-track):
5745 * speedbar.el (speedbar-frame-mode):
5746 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5747
f45f90f3
LL
57482012-04-16 Leo Liu <sdl.web@gmail.com>
5749
5750 * progmodes/python.el: Trivial cleanup.
5751
94ee8db5
GM
57522012-04-16 Glenn Morris <rgm@gnu.org>
5753
121b8917
GM
5754 * vc/vc.el (vc-string-prefix-p):
5755 * vc/pcvs-util.el (cvs-string-prefix-p):
5756 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5757 * mpc.el (mpc-string-prefix-p):
5758 Make all of these into obsolete aliases for string-prefix-p.
5759 Update callers.
5760 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5761
1197ecfa
GM
5762 * textmodes/two-column.el: Move custom options to the start.
5763 (frame-width): Remove compat definition.
5764 (2C-associate-buffer, 2C-dissociate):
5765 Use with-current-buffer rather than save-excursion.
5766 (2C-dissociate): Force a mode-line update.
5767 (2C-autoscroll): Use ignore-errors.
5768
099e7202
GM
5769 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5770 Autoload trivia.
5771
bf350d6a
GM
5772 * emacs-lisp/cl-extra.el (*random-state*):
5773 Remove unnecessary declaration.
5774
0e829eab
GM
5775 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5776
e3ad7552
GM
5777 * play/cookie1.el (cookie-snarf):
5778 Give an explicit error if input file cannot be read.
5779
68892d27
GM
5780 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5781
20f0c46d
GM
5782 * progmodes/perl-mode.el (c-macro-expand):
5783 Remove unnecessary autoload (it is in loaddefs.el).
5784
5a0978ce
GM
5785 * textmodes/picture.el (picture-desired-column)
5786 (picture-update-desired-column): Convert comments to doc-strings.
5787 (picture-substitute): Remove function.
5788 (picture-mode-map): Initialize in the defvar.
5789
6b955486
GM
5790 * woman.el: Remove eval-after-load for tar-mode.
5791 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5792 (woman-tar-extract-file): Autoload it.
5793
94ee8db5
GM
5794 * frame.el (automatic-hscrolling): Make this alias obsolete.
5795
177eca34
AM
57962012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5797
090bd7cb 5798 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5799 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5800 (ispell-dictionary-base-alist): Revert to original XEmacs
5801 friendly version for default. [:alpha:] will be added in
090bd7cb 5802 `ispell-set-spellchecker-params' if needed.
177eca34 5803
c505aaeb
CY
58042012-04-16 Chong Yidong <cyd@gnu.org>
5805
b19dd9d1 5806 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5807 (imagemagick-register-types): Use it.
5808 (imagemagick-types-inhibit): Add :set function. Allow new value
5809 of t to inhibit all types.
5810
5811 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5812 so we can preload it.
5813
5814 * loadup.el (fboundp): Preload regexp-opt, needed by
5815 imagemagick-register-types.
5816
60efac0f
CY
58172012-04-15 Chong Yidong <cyd@gnu.org>
5818
5819 * frame.el (scrolling): Remove nearly unused customization group.
5820
5821 * scroll-all.el (scroll-all-mode): Move to windows group.
5822
5dd1713e
CY
58232012-04-15 Chong Yidong <cyd@gnu.org>
5824
5825 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5826
e6fd457e
CY
58272012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5830 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5831
e153c136
GM
58322012-04-15 Glenn Morris <rgm@gnu.org>
5833
5834 * simple.el (process-file-side-effects): Doc fix.
5835
e6fd457e 58362012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5837
5838 * international/mule-cmds.el (set-language-environment): Doc fix.
5839
3603c3b1
JB
58402012-04-14 Juanma Barranquero <lekktu@gmail.com>
5841
5842 * server.el (server-auth-key, server-generate-key): Doc fixes.
5843 (server-get-auth-key): Doc fix. Use `string-match-p'.
5844 (server-start): Reflow docstring.
5845
e6de100c
LI
58462012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5847
5848 * server.el (server-generate-key): `called-interactively-p'
5849 requires a parameter.
5850
29734c21
MN
58512012-04-14 Michal Nazarewicz <mina86@mina86.com>
5852
5853 * server.el (server-auth-key): New variable.
75f1671a 5854 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5855 (server-start): Use the new variable and functions to allow
5856 setting a permanent server key (bug#9423).
5857
d65c9521
LL
58582012-04-14 Leo Liu <sdl.web@gmail.com>
5859
5860 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5861
5ae255c7
PE
58622012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5863
5864 Spelling fixes.
5865 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5866 Emacs uses American spelling.
5867
d5e6342e
JB
58682012-04-14 Juanma Barranquero <lekktu@gmail.com>
5869
5870 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5871 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5872 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5873 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5874
ab036cd7
SM
58752012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * progmodes/which-func.el (which-func-modes): Change default.
5878
35dc09a1 58792012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5880
5881 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5882 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5883
35dc09a1 58842012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5885
5886 * custom.el (custom-theme-set-variables): Doc fix.
5887
35dc09a1 58882012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5889
5890 * international/mule.el (set-auto-coding-for-load): Doc fix.
5891
35dc09a1 58922012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5893
35dc09a1
GM
5894 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5895 imenu work again for Objective C Mode. Correct the *-index values,
5896 these having been disturbed by a previous change in 2011-08.
57f845ee 5897
0de3da9f
AM
5898 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5899 Correct two search limits.
5900
35dc09a1 59012012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5902
5903 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5904
35dc09a1 59052012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5906
5907 * international/characters.el: Fix sorting.
5908
35dc09a1 59092012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5910
5911 * international/characters.el: Add more missing Latin case pairs.
5912
35dc09a1 59132012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5914
5915 * files.el (dir-locals-set-class-variables): Doc fix.
5916
35dc09a1 59172012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5918
3f1b5bf8
EZ
5919 * international/characters.el: Add set-case-syntax-pair call for
5920 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5921 counterpart. (Bug#11209)
5922
9f847f41
EZ
5923 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5924
35dc09a1 59252012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5926
5927 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5928
35dc09a1 59292012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5930
35dc09a1
GM
5931 * textmodes/ispell.el (ispell-dictionary-base-alist):
5932 Add data for Hebrew.
e2627d21 5933
35dc09a1 59342012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5935
35dc09a1
GM
5936 * net/rcirc.el (rcirc-cmd-quit):
5937 Revert 2012-03-18 change (Bug#11192).
5c14e333 5938
35dc09a1 59392012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5940
5941 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5942
35dc09a1 59432012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5944
4517fe3a
SM
5945 * minibuffer.el (completion-in-region-mode-map):
5946 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5947
b472a594
VD
59482012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5949
5950 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5951
09b95ce3
MY
59522012-04-13 Masatake YAMATO <yamato@redhat.com>
5953
5954 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5955 to allow `C-M-f' and `C-M-b' to move to the nearest path
5956 separator (bug#9511).
5957
4b63a9ca
LI
59582012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5959
5960 * avoid.el: Require cl when compiling. And also move the
5961 `provide' to the end.
5962
7b55b8bf
TV
59632012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5964
5965 * avoid.el (mouse-avoidance-banish-position): New variable.
5966 (mouse-avoidance-banish-destination): Use it (bug#10165).
5967
adedaa1f
LL
59682012-04-13 Leo Liu <sdl.web@gmail.com>
5969
5970 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5971
70e74021
KB
59722012-04-13 Ken Brown <kbrown@cornell.edu>
5973
5974 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5975 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5976 (browse-url-filename-alist): For the same reason, don't modify
5977 file:// URLs on Cygwin.
5978
e75e89ba
SM
59792012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5982 the region on shift if the binding is already shifted (bug#11221).
5983
82f289a4
GM
59842012-04-12 Glenn Morris <rgm@gnu.org>
5985
5986 * mail/mailpost.el: Move to obsolete/.
5987
d333dc4c
DA
59882012-04-12 Drew Adams <drew.adams@oracle.com>
5989
5990 * imenu.el (imenu--generic-function): Ignore invisible definitions
5991 (bug#10123).
5992
0d15b5ba
VD
59932012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5994
5995 * hexl.el (hexl-bits): New variable.
5996 (hexl-options): Mention the variable in the doc string.
75f1671a 5997 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5998 (hexl-mode): Mention the new variable.
75f1671a
JB
5999 (hexl-mode, hexl-current-address, hexl-current-address):
6000 Use the displen.
0d15b5ba
VD
6001 (hexl-ascii-start-column): New function.
6002 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6003 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6004
64a440db
AM
60052012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6006
6007 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6008 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6009 the encoding, as expected by hunspell.
6010
6decb6c2
SM
60112012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * battery.el (battery--linux-sysfs-regexp): New const.
6014 (battery-status-function): Use it. Remove yeeloong special case.
6015 (battery-yeeloong-sysfs): Remove.
6016 (battery-echo-area-format): Remove yeeloong special case.
6017
088be6fb
SM
60182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6622e416
SM
6020 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6021 Reported by Noah Friedman.
6022
088be6fb
SM
6023 * subr.el (read-passwd): Use read-string.
6024
b49f886e
LMI
60252012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6026
6027 * vcursor.el (vcursor-move): Increase the priority of the overlay
6028 (bug#9663).
6029
a63067fc
DD
60302012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6031
6032 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6033 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6034
ac3cf14a
WS
60352012-04-11 William Stevenson <yhvh2000@gmail.com>
6036
6037 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6038 define-minor-mode (bug#10760).
6039
c4fc691b 60402012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6041
4d6769e1 6042 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6043 that directories matching `grep-find-ignored-files' won't be
6044 pruned (bug#10351).
6045
af23e2e5
CY
60462012-04-11 Chong Yidong <cyd@gnu.org>
6047
6048 * startup.el (command-line): Remove support for long-obsolete
6049 variable font-lock-face-attributes.
6050
ab7ce8c1
GM
60512012-04-11 Glenn Morris <rgm@gnu.org>
6052
6053 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6054
de8c03dc
SM
60552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * window.el (window--state-get-1): Obey window-point-insertion-type.
6058
050cc68b
LB
60592012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6060
6061 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6062 to previous function when point is on the first character of a
75f1671a 6063 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6064
a38c310c
GM
60652012-04-11 Glenn Morris <rgm@gnu.org>
6066
effed0c2
GM
6067 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6068 not just file-errors.
6069
a38c310c
GM
6070 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6071 (vc-bzr-sha1): Use internal sha1.
6072
0221e323
SM
60732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6076
43956923
SG
60772012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6078
6079 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6080 that start in the middle of the line (bug#10496).
6081
6a8c9eaf
DN
60822012-04-10 Dan Nicolaescu <dann@gnu.org>
6083
6084 * battery.el (battery-linux-proc-acpi): Only one battery is
6085 discharged at a time, but that seems to confuse battery.el when
6086 computing `rate-type' for the battery not being discharged
6087 (bug#10332).
6088
1930bf5d
SM
60892012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6090
2a718f6f
SM
6091 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6092
599430d0
SM
6093 * international/quail.el: Use dolist and simplify.
6094 (quail-define-package, quail-update-keyboard-layout)
6095 (quail-define-rules): Use dolist.
6096 (quail-insert-kbd-layout, quail-get-translation): CSE.
6097
a2754b6c
SM
6098 * tmm.el: Use dolist, remove left over hook.
6099 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6100 Use dolist.
6101 (calendar-load-hook): Don't mess with it.
6102
1930bf5d
SM
6103 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6104 Use derived-mode-p. Run the diff asynchronously.
6105
9f67961c
LMI
61062012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6107
6108 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6109
2a8ce227
JB
61102012-04-10 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6113 (list-dynamic-libraries--loaded): New function.
6114 (list-dynamic-libraries--refresh): Use it.
6115
8f33b5f8
NW
61162012-04-10 Nathan Weizenbaum <nweiz@google.com>
6117
1930bf5d
SM
6118 * progmodes/python.el (python-fill-paragraph):
6119 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6120 disabled (bug#7018).
6121
b12f0439
L
61222012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6123
1930bf5d 6124 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6125 DOS/MS Windows for the Baltic languages. There are still plenty
6126 of texts written in this encoding/codepage (bug#6519).
b12f0439 6127
57c3bd01
GM
61282012-04-10 Glenn Morris <rgm@gnu.org>
6129
6130 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6131 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6132
6c3eab30
FA
61332012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6134
1930bf5d 6135 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6136 next-line "n" and previous-line "p" in order to make recentf more
6137 consistent with ibuffer, dired or org-mode (bug#9387).
6138
24d78a88
LMI
61392012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140
bc72b5d9
LMI
6141 * image.el (put-image): Return the overlay created instead of the
6142 optional input string (bug#7834). Note that this may break code
6143 that is (for some reason or other) depending on `put-image'
6144 returning the string.
6145
bd2dba5a
LMI
6146 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6147
74beb59f
LMI
6148 * simple.el (zap-to-char): Allow zapping using input methods
6149 (bug#1580).
6150
24d78a88
LMI
6151 * textmodes/fill.el (fill-region): Leave point and mark where they
6152 were before filling (bug#5399).
6153
263f20cd
GM
61542012-04-09 Glenn Morris <rgm@gnu.org>
6155
6156 * version.el (emacs-bzr-get-version):
6157 Handle lightweight checkouts of local branches.
6158
58d1f797
AS
61592012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6160
263f20cd 6161 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6162
b4d3bc10
CY
61632012-04-09 Chong Yidong <cyd@gnu.org>
6164
6165 * custom.el (custom-variable-p): Return nil for non-symbol
6166 arguments instead of signaling an error.
6167 (user-variable-p): Obsolete alias for custom-variable-p.
6168
6169 * apropos.el (apropos-variable):
6170 * files-x.el (read-file-local-variable):
6171 * simple.el (set-variable):
6172 * woman.el (woman-mini-help):
6173 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6174
fd06db5d
GM
61752012-04-09 Glenn Morris <rgm@gnu.org>
6176
e5fcdb5e
GM
6177 * startup.el (normal-top-level): Don't look for leim-list.el
6178 in places where it will not be found. (Bug#910)
6179
fd06db5d
GM
6180 * international/mule-cmds.el (set-default-coding-systems):
6181 * files.el (normal-mode):
6182 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6183 This function was removed with ucs-tables.el in 2008.
6184
b39bb7e1
EZ
61852012-04-08 Eli Zaretskii <eliz@gnu.org>
6186
6187 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6188 ispell-encoding8-command to "-i", without a trailing space.
6189 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6190 separate command-line arguments, to specify the encoding, since
6191 that's how hunspell expects it.
6192
5c5b8e23
GM
61932012-04-08 Glenn Morris <rgm@gnu.org>
6194
6195 * loadup.el: Load bindings before cus-start.
6196 This reduces somewhat the number of "rogue" settings in emacs -Q.
6197
a1ed8b05
GM
61982012-04-07 Glenn Morris <rgm@gnu.org>
6199
6200 * version.el (emacs-bzr-get-version): New function.
dfae128a 6201 (emacs-bzr-version): New variable.
a1ed8b05
GM
6202 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6203 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6204
b142f158
EZ
62052012-04-07 Eli Zaretskii <eliz@gnu.org>
6206
dfae128a
GM
6207 * international/uni-bidi.el, international/uni-category.el:
6208 * international/uni-combining.el, international/uni-decimal.el:
6209 * international/uni-decomposition.el, international/uni-digit.el:
6210 * international/uni-lowercase.el, international/uni-mirrored.el:
6211 * international/uni-name.el, international/uni-numeric.el:
6212 * international/uni-titlecase.el, international/uni-uppercase.el:
6213 Update for Unicode 6.1.
b142f158 6214
9078ead6
EZ
62152012-04-07 Eli Zaretskii <eliz@gnu.org>
6216
6217 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6218
f23d2c7d
LMI
62192012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6220
6221 * window.el (shrink-window): Mention the `window-min-height'
6222 variable in the doc string.
6223
0a0a3573
BG
62242012-04-05 Bastien Guerry <bzg@altern.org>
6225
6226 * color.el (color-lighten-name): Fix typo.
6227
e5248ac9
SM
62282012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * server.el (server--on-display-p): New function.
6231 (server--on-display-p): Use it.
6232
b4243e22
GV
62332012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6234
6235 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6236 (bug#11145).
6237
305d9f44
SM
62382012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * comint.el (comint--common-quoted-suffix): Check string boundary
6241 before comparing (bug#11158).
6242 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6243
3d439cd1
CY
62442012-04-04 Chong Yidong <cyd@gnu.org>
6245
321cc491
CY
6246 * minibuffer.el (completion-extra-properties): Doc fix.
6247
3d439cd1
CY
6248 * subr.el (delayed-warnings-hook): Doc fix.
6249
2d562c0f
DU
62502012-04-04 Daiki Ueno <ueno@unixuser.org>
6251
6252 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6253 selection (Bug#11159).
6254 (epa-insert-keys): Inform that the default public key will be
6255 exported if no key is selected.
6256
4443f204
RS
62572012-04-04 Richard Stallman <rms@gnu.org>
6258
6259 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6260
529c06b6
CY
62612012-04-03 Chong Yidong <cyd@gnu.org>
6262
6263 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6264 mail-insert-file, not its obsolete alias mail-attach-file.
6265
66b907dc
MA
62662012-04-03 Michael Albinus <michael.albinus@gmx.de>
6267
6268 * notifications.el (notifications-notify): Fix docstring.
6269
c0ea195d
GM
62702012-04-02 Glenn Morris <rgm@gnu.org>
6271
6272 * emacs-lisp/authors.el (authors-aliases): Another addition.
6273
5ca64e00
MA
62742012-04-02 Michael Albinus <michael.albinus@gmx.de>
6275
6276 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6277 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6278 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6279
42ee526b
CY
62802012-04-01 Chong Yidong <cyd@gnu.org>
6281
6282 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6283 Handle root directory properly.
6284 (copy-directory): Caller changed.
6285
6286 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6287 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6288
0b021094
GM
62892012-03-31 Glenn Morris <rgm@gnu.org>
6290
40f86458
GM
6291 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6292
7019c177
GM
6293 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6294
a1daddd6
GM
6295 * calendar/calendar.el (calendar-window-list)
6296 (calendar-hide-window): Restore. (Bug#11140)
6297 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6298
0b021094
GM
6299 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6300
40311efc
TV
63012012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6302
6303 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6304 Check if file is a symlink (Bug#10489).
6305
6306 * files.el (copy-directory): Likewise.
6307
5319014e
CY
63082012-03-30 Chong Yidong <cyd@gnu.org>
6309
6310 * image.el (imagemagick-types-inhibit)
6311 (imagemagick-register-types): Doc fix.
6312
935d1290
AM
63132012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6314
090bd7cb 6315 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6316 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6317 and treats ~word as ordinary words in pipe mode.
935d1290 6318
61c6e8fd
GM
63192012-03-30 Glenn Morris <rgm@gnu.org>
6320
6321 * tutorial.el (help-with-tutorial): Ensure local variables don't
6322 happen to make the buffer read-only. (Bug#11127)
6323
81fdff00
SM
63242012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6327 (perl-calculate-indent): Return `noindent' in strings.
6328
6e7a6ec0
SS
63292012-03-28 Sam Steingold <sds@gnu.org>
6330
6331 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6332 instead of the broken adhockery which does not prevent calendar
6333 buffers from being displayed at random after exit.
6334 (calendar-window-list, calendar-hide-window): Remove the broken
6335 adhockery.
6336
fee88ca0
GM
63372012-03-28 Glenn Morris <rgm@gnu.org>
6338
6339 * replace.el (query-replace-map): Doc fix.
6340
38de3354
AS
63412012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6342
6343 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6344 contents. (Bug#11109)
6345
b973155e
SM
63462012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6349 (bug#11077).
6350 (avl-tree--check, avl-tree--check-node): New funs.
6351
dcb6e7b3
MR
63522012-03-27 Martin Rudalics <rudalics@gmx.at>
6353
6354 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6355 (switch-to-prev-buffer, switch-to-next-buffer):
6356 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6357 showing a buffer already is done on the same frame.
6358
b4fa35fa
GM
63592012-03-27 Glenn Morris <rgm@gnu.org>
6360
6361 * startup.el (mail-host-address): Doc fix.
6362
f9210e18
SM
63632012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6366 than 197 variables.
6367
c0bf7753
AF
63682012-03-26 Ami Fischman <ami@fischman.org>
6369
6370 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6371
33da7b16
GM
63722012-03-26 Glenn Morris <rgm@gnu.org>
6373
02243d9d
GM
6374 * files.el (save-buffers-kill-emacs): Doc fix.
6375
33da7b16
GM
6376 * startup.el (normal-top-level, command-line, command-line-1):
6377 Give them doc strings.
6378
e5a69fd0
EZ
63792012-03-25 Eli Zaretskii <eliz@gnu.org>
6380
6381 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6382 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6383
9a69676a
CY
63842012-03-25 Chong Yidong <cyd@gnu.org>
6385
4125cb8b
CY
6386 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6387 theme if it was previously enabled before (Bug#11031).
6388
dd470960
CY
6389 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6390 spec with custom-face-get-current-spec if its :shown-value is not
6391 determined yet (Bug#9337).
4125cb8b 6392 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6393
9a69676a
CY
6394 * button.el (button-at): Minor addition to docstring.
6395
6e7e90fa
SL
63962012-03-24 Simon Leinen <simon.leinen@gmail.com>
6397
6398 * vc/vc.el (vc-merge): Fix a prompt.
6399
f06e2758
CY
64002012-03-24 Chong Yidong <cyd@gnu.org>
6401
6402 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6403 point (Bug#9623).
6404
6e7e90fa
SL
6405 * button.el (button-at): Minor addition to docstring.
6406
b9d0879b
SM
64072012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 * newcomment.el (comment-choose-indent): No space after BOL.
6410
e71cebb3
SS
64112012-03-22 Sam Steingold <sds@gnu.org>
6412
6413 * window.el (switch-to-prev-buffer): Revert last patch because the
6414 bug turned out to be an advertised feature (Elisp manual 28.14).
6415
335aff35
GM
64162012-03-22 Glenn Morris <rgm@gnu.org>
6417
6418 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6419 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6420
c676576a
LMI
64212012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6422
6423 * net/network-stream.el (network-stream-open-starttls): Make error
6424 message under Windows be less misleading.
6425
126f3d39
LW
64262012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6427
6428 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6429 understands (bug#9942).
6430
64fee311
CY
64312012-03-22 Chong Yidong <cyd@gnu.org>
6432
6433 * simple.el (end-of-visible-line): Handle return value of
6434 next-single-property-change properly (Bug#9371).
6435
a640d29a
KH
64362012-03-22 Kenichi Handa <handa@m17n.org>
6437
6438 * international/quail.el (quail-insert-kbd-layout): Fix previous
6439 change. To avoid unwanted bidi reordering, use
6440 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6441
39675016
DG
64422012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6443
6444 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6445 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6446 (ruby-beginning-of-indent): Be more careful with the difference
6447 between word-boundary and symbol boundary.
6448 (ruby-mode-syntax-table): Make : a symbol constituent.
6449
0a6934fc 64502012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6451
3d008e4f
SM
6452 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6453
0a6934fc
SM
64542012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6455
af67c9d7
SM
6456 * progmodes/etags.el (tags-completion-at-point-function):
6457 Improve last fix.
6458
1acad97c
SM
6459 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6460
e298b5da
SS
64612012-03-21 Sam Steingold <sds@gnu.org>
6462
6463 * progmodes/etags.el (tags-completion-at-point-function):
6464 Avoid the error when point is inside the pattern.
6465
91d82a70
JY
64662012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6467
6468 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6469 line (Bug#10855).
6470
69188b79
CY
64712012-03-21 Drew Adams <drew.adams@oracle.com>
6472
6473 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6474
99fc91fe
AK
64752012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6476
6477 * ido.el (ido-set-current-directory, ido-read-internal)
6478 (ido-choose-completion-string, ido-completion-help): Handle nil
6479 value of ido-completion-buffer (Bug#11008).
6480
087bbb4c
SS
64812012-03-21 Sam Steingold <sds@gnu.org>
6482
6483 * window.el (switch-to-prev-buffer): Do not switch to a visible
6484 window previous buffer, just like with the frame previous buffers.
6485
fb5b8aca
CY
64862012-03-21 Chong Yidong <cyd@gnu.org>
6487
6488 * faces.el (make-face, make-empty-face, copy-face):
6489 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6490 Doc fixes.
6491
dc9924b8
SM
64922012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6495 (widget-complete): Remove broken use of it.
6496
f0bcceb9
CY
64972012-03-20 Chong Yidong <cyd@gnu.org>
6498
dc9924b8
SM
6499 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6500 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6501 characters.
6502
ee52ebf3
TH
65032012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6504
6505 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6506 to draw rectangles, not squares. (Regression introduced by revno
6507 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6508
4c5779ab
CY
65092012-03-18 Chong Yidong <cyd@gnu.org>
6510
6511 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6512 it is not yet defined (for temacs).
6513
15360934
LL
65142012-03-18 Leo Liu <sdl.web@gmail.com>
6515
dc9924b8 6516 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6517
d9a8eb66
EZ
65182012-03-17 Eli Zaretskii <eliz@gnu.org>
6519
6520 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6521 (ispell-choices-win-default-height, ispell-silently-savep)
6522 (ispell-dictionary-alist, ispell-encoding8-command)
6523 (ispell-check-version, ispell-aspell-find-dictionary)
6524 (ispell-valid-dictionary-list, ispell-words-keyword)
6525 (ispell-get-word, ispell-internal-change-dictionary)
6526 (ispell-region, ispell-skip-region-list)
6527 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6528 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6529 (ispell-message-text-end, ispell-message)
6530 (ispell-buffer-local-parsing): Doc fix.
6531
f02ff80d
J
65322012-03-13 Jambunathan K <kjambunathan@gmail.com>
6533
6534 * htmlfontify.el: Add support for code block fontification for ODT
6535 export (Bug #9914).
6536 (hfy-optimisations): Define new option
6537 `body-text-only'
6538 (hfy-fontify-buffer): Honor above setting.
6539 (hfy-begin-span, hfy-end-span): New routines factored out form
6540 `hfy-fontify-buffer'.
6541 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6542 that permit insertion of custom tags.
6543 (hfy-fontify-buffer): Use above handlers.
6544 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6545 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6546 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6547 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6548 bind a special variable `hfy-user-sheet-assoc'.
6549 (htmlfontify-string): New defun.
6550 (hfy-compile-face-map): Make sure that the last char in the
6551 buffer is correctly fontified.
6552 (hfy-face-resolve-face): Whitespace only change.
6553
9ac7a13f
EZ
65542012-03-17 Eli Zaretskii <eliz@gnu.org>
6555
6556 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6557 message more clear.
6558
e2b5bdd7
LL
65592012-03-16 Leo Liu <sdl.web@gmail.com>
6560
6561 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6562
2e492df3
AM
65632012-03-16 Alan Mackenzie <acm@muc.de>
6564
6565 Further optimise the handling of large macros.
6566
6567 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6568 limit to a call of `c-literal-limits'.
6569 (c-determine-+ve-limit): New function.
dc9924b8
SM
6570 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6571 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6572 In CASE 5B, restrict a search limit to 500.
6573 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6574
6575 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6576 Restrict macro bounds to +-500 from after-change's BEG END.
6577
50e94f0c
LL
65782012-03-16 Leo Liu <sdl.web@gmail.com>
6579
6580 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6581
6f09f6ed
AH
65822012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6583
6584 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6585 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6586
c7e73d51
GM
65872012-03-16 Glenn Morris <rgm@gnu.org>
6588
da986230
GM
6589 * view.el (view-buffer, view-buffer-other-window)
6590 (view-buffer-other-frame): Doc fixes re special mode-class.
6591
0835f01e
GM
6592 * subr.el (eval-after-load): If named feature is provided not from
6593 a file, run after-load forms. (Bug#10946)
6594
c7e73d51
GM
6595 * calendar/calendar.el (calendar-insert-at-column):
6596 Handle non-unit-width characters a bit better. (Bug#10978)
6597
3f2eafd1
CY
65982012-03-15 Chong Yidong <cyd@gnu.org>
6599
6600 * emacs-lisp/ring.el (ring-extend): New function.
6601 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6602
6603 * comint.el (comint-read-input-ring)
6604 (comint-add-to-input-history): Grow comint-input-ring lazily.
6605
103af3fe
SM
66062012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6607
663b1677
SM
6608 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6609 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6610
103af3fe
SM
6611 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6612 (imenu-add-to-menubar): Don't add a redundant index.
6613 (imenu-update-menubar): Handle a dynamically composed keymap.
6614
899cb7cb
KY
66152012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6616
6617 * mail/sendmail.el (mail-encode-header):
6618 Bind rfc2047-encode-encoded-words to nil.
6619
3809f91d
GM
66202012-03-13 Glenn Morris <rgm@gnu.org>
6621
6622 * calendar/calendar.el (calendar-string-spread):
6623 Handle non-unit-width characters a bit better. (Bug#10978)
6624
9e345a01
LL
66252012-03-13 Leo Liu <sdl.web@gmail.com>
6626
6627 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6628 directory and file as argument (Bug#10822).
6629
4a07df36
KS
66302012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6631
6632 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6633 For dynamically generated code, follow $PC.
6634 (gdb-disassembly-handler-custom): Handle no function name case.
6635
4aaa9356
TL
66362012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6637
6638 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6639 * emulation/ws-mode.el (ws-query-replace):
6640 * sort.el (sort-regexp-fields):
6641 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6642
225979da
SM
66432012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * dabbrev.el: Fix cycle completion order (bug#10963).
6646 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6647 (dabbrev-completion): Don't use an obarray; provide
6648 a cycle-sort-function.
6649
e2f1fdab
LL
66502012-03-12 Leo Liu <sdl.web@gmail.com>
6651
dc9924b8 6652 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6653 (kill-do-not-save-duplicates): Doc fix.
6654
b19490ed
SM
66552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6656
6657 * dabbrev.el: Fix cycle completion (bug#10963).
6658 Use lexical binding and wrap to 80 columns.
6659 (dabbrev-completion): Delay computing the list of completions.
6660
4b05d722
KH
66612012-03-12 Kenichi Handa <handa@m17n.org>
6662
6663 * international/quail.el (quail-insert-kbd-layout): Surround each
6664 row by LRO and PDF instead of inserting many LRMs. Pad the left
6665 and right of each non-spacing marks. Insert invisible space
6666 between lower and upper characters to prevent composition.
6667
dbbc2e69
SM
66682012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * minibuffer.el (minibuffer-complete): Don't get confused when the
6671 function is run twice via different commands (bug#10958).
6672 (complete-with-action): Fix docstring.
6673
292112ed
CY
66742012-03-12 Chong Yidong <cyd@gnu.org>
6675
5d1ac394
CY
6676 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6677 (nxml-completion-at-point-function): New function.
6678 (nxml-mode): Use it.
6679 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6680
292112ed
CY
6681 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6682 Load generated autoloads file before byte compiling (Bug#10970).
6683 (package--make-autoloads-and-compile): New helper fun.
6684
4098f8f7
CS
66852012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6686
6687 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6688
8f754691
MA
66892012-03-11 Michael Albinus <michael.albinus@gmx.de>
6690
6691 * autorevert.el (auto-revert-handler): Ensure, that
6692 file-readable-p is applied only for local files or in
6693 auto-revert-tail-mode.
6694
e29ab36b
AS
66952012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6696
dbbc2e69
SM
6697 * server.el (server-eval-at): Handle non-tcp connections.
6698 Decode result string.
ad0bf5b6 6699
e29ab36b
AS
6700 * server.el (server-msg-size): New constant.
6701 (server-reply-print): New function.
6702 (server-eval-and-print): Use it.
6703 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6704 Handle -print-nonl.
6705
de5939ba
CS
67062012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6707
6708 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6709 (Bug#10987).
6710
0c93eabf
CY
67112012-03-11 Chong Yidong <cyd@gnu.org>
6712
397a688f
CY
6713 * simple.el (goto-line): Doc fix (Bug#9938).
6714
2cc775f9
CY
6715 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6716
0c93eabf
CY
6717 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6718 when finished (Bug#10963).
6719
c491fa41
MR
67202012-03-11 Martin Rudalics <rudalics@gmx.at>
6721
6722 * window.el (split-window-below): Fix bug in case where
6723 split-window-keep-point is nil (Bug#10971).
6724
300e8fa5
JL
67252012-03-11 Juri Linkov <juri@jurta.org>
6726
6727 * replace.el (replace-highlight): Set isearch-word to nil
6728 unconditionally. (Bug#10887)
6729
dbf6c5a1
EZ
67302012-03-10 Eli Zaretskii <eliz@gnu.org>
6731
6732 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6733 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6734 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6735 (mairix-widget-create-query): Add usage information about mairix
6736 search forms: negating words, searching for substrings, etc.
6737
b9e501de
JP
67382012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6739
6740 * international/fontset.el (font-encoding-alist): Add an entry for
6741 ksx1001 (Bug#5667).
6742
92795c91
RS
67432012-03-10 Richard Stallman <rms@gnu.org>
6744
1694e6c1
RS
6745 * mail/sendmail.el (mail-encode-header):
6746 Set rfc2047-encode-encoded-words.
6747
607e8555
RS
6748 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6749
de3bc99a
RS
6750 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6751 view buffer means not swapped.
6752 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6753 (rmail-write-region-annotate): Error if real text has disappeared.
6754
92795c91
RS
6755 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6756
699bd04e
CY
67572012-03-10 Chong Yidong <cyd@gnu.org>
6758
6759 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6760 * emulation/cua-base.el (cua--init-keymaps):
6761 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6762
570a1714
MR
67632012-03-10 Martin Rudalics <rudalics@gmx.at>
6764
dbbc2e69
SM
6765 * speedbar.el (speedbar-unhighlight-one-tag-line):
6766 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6767
82dcf4e4
CY
67682012-03-10 Chong Yidong <cyd@gnu.org>
6769
7a2c7ca7
CY
6770 * minibuffer.el (completion-in-region, completion-help-at-point):
6771 Give the completion field overlay a high priority (Bug#6830).
6772
82dcf4e4
CY
6773 * dired.el (dired-goto-file): Recognize absolute file name
6774 listings (Bug#7126).
6775 (dired-goto-file-1): New helper function.
6776 (dired-toggle-read-only): Inhibit warnings.
6777
052e28ac
MA
67782012-03-09 Michael Albinus <michael.albinus@gmx.de>
6779
75f1671a 6780 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6781 there are no properties.
6782
95d5e396
LL
67832012-03-09 Leo Liu <sdl.web@gmail.com>
6784
6785 * savehist.el (savehist-printable): Stricter check for string
6786 value (Bug#10937).
6787
3f018d6d
EZ
67882012-03-09 Eli Zaretskii <eliz@gnu.org>
6789
dbbc2e69
SM
6790 * mail/smtpmail.el (smtpmail-send-it):
6791 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6792 valid mbox format.
6793
f7fd3d79
GM
67942012-03-09 Glenn Morris <rgm@gnu.org>
6795
6796 * files.el (dir-locals-find-file):
6797 Don't check result is regular, readable.
6798 (dir-locals-read-from-file): Demote errors.
6799
6ff6e72f
EZ
68002012-03-08 Eli Zaretskii <eliz@gnu.org>
6801
dbbc2e69
SM
6802 * international/quail.el (quail-insert-kbd-layout):
6803 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6804 layout cell, to prevent their reordering by bidi display engine.
6805 For details, see the discussion in
6806 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6807
9cec7834
AM
68082012-03-08 Alan Mackenzie <acm@muc.de>
6809
6810 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6811 the starting position; make it extend the marked region when
6812 invoked repeatedly - all under appropriate circumstances.
6813 Fixes bugs #5525, #10906.
6814
9a40b8d4
GM
68152012-03-08 Glenn Morris <rgm@gnu.org>
6816
6817 * files.el (locate-dominating-file, dir-locals-find-file):
6818 Undo 2012-03-06 change.
6819
7a08ed35
EZ
68202012-03-07 Eli Zaretskii <eliz@gnu.org>
6821
dbbc2e69
SM
6822 * international/quail.el (quail-help):
6823 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6824 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6825 for the reason.
6826
5aca4f71 68272012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6828
6829 Avoid superfluous registering of signals. (Bug#10807)
6830
6831 * notifications.el (notifications-on-action-object)
6832 (notifications-on-close-object): New defvars.
6833 (notifications-on-action-signal, notifications-on-closed-signal):
6834 Unregister the signal if not needed any longer.
6835 (notifications-notify): Register `notifications-action-signal' or
6836 `notifications-closed-signal', if :on-action or :on-close has been
6837 passed as argument.
6838
78e8b10a
CY
68392012-03-07 Chong Yidong <cyd@gnu.org>
6840
6841 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6842 non-X platforms.
6843
69481eb8
GM
68442012-03-06 Glenn Morris <rgm@gnu.org>
6845
6846 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6847 (x-disown-selection-internal, x-get-selection-internal):
6848 Doc fix (add arglist signatures). (Bug#10783)
6849
133b8e11
KS
68502012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6851
6852 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6853 Handle breakpoints with no "type".
6854
99a83064
GM
68552012-03-06 Glenn Morris <rgm@gnu.org>
6856
6857 * files.el (locate-dominating-file): Add optional predicate argument.
6858 (dir-locals-find-file): Make use of above change.
6859
17798e78
TTN
68602012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6861
6862 * info.el (Info-insert-dir): Also try "dir.gz".
6863
eb182446
GM
68642012-03-06 Glenn Morris <rgm@gnu.org>
6865
8f2114ee
GM
6866 * files.el (dir-locals-find-file):
6867 Ignore non-readable or non-regular files. (Bug#10928)
6868
eb182446
GM
6869 * files.el (locate-dominating-file): Doc fix.
6870
24679323
AS
68712012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6872
6873 * calendar/calendar.el (calendar-set-mode-line):
6874 `getenv' returns a string. (Bug#10951)
6875
01d972a9
LL
68762012-03-05 Leo Liu <sdl.web@gmail.com>
6877
109aa8a9
LL
6878 * simple.el (backward-delete-char-untabify): Constrain point to
6879 field (Bug#10939).
6880
01d972a9
LL
6881 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6882
10607bea
CY
68832012-03-05 Chong Yidong <cyd@gnu.org>
6884
6885 * simple.el (count-words): If called from Lisp, return the word
6886 count, for symmetry with `count-lines'. Arglist changed.
6887 (count-words--message): Args changed. Consolidate counting code
6888 from count-words and count-words-region.
6889 (count-words-region): Caller changed.
6890 (count-lines-region): Make it an obsolete alias.
6891
5dd11cfe
TH
68922012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6893
6894 * saveplace.el (save-place-to-alist)
6895 (save-place-ignore-files-regexp): Allow value nil to disable this
6896 feature.
6897
c349f4e6
CY
68982012-03-04 Chong Yidong <cyd@gnu.org>
6899
6900 * faces.el (face-spec-reset-face): For the default face, reset the
6901 attributes to default values (Bug#10748).
6902
e627be4c
LMI
69032012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
6905 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6906 previous patch: Check `message-send-mail-function', and not the
6907 default function (bug#10897).
6908
ebeabff4
MA
69092012-03-04 Michael Albinus <michael.albinus@gmx.de>
6910
a41a6cf4
MA
6911 * notifications.el (notifications-on-action-signal)
6912 (notifications-on-closed-signal): Check for unique service name of
6913 incoming event. Fix error in removing entry.
ebeabff4 6914 (top): Register for signals with wildcard service name.
a41a6cf4 6915 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6916
c1ca42b4
CY
69172012-03-04 Chong Yidong <cyd@gnu.org>
6918
dc9924b8 6919 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6920
ea16568d
GM
69212012-03-04 Glenn Morris <rgm@gnu.org>
6922
6923 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6924 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6925 (expand-abbrev, define-abbrev-table): Doc fixes.
6926
fbae4637
LMI
69272012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6928
6929 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6930 `message-default-send-mail-function' and not `send-mail-function'
6931 when doing the prompting for `sendmail-query-once' before sending
6932 in Message buffers (bug#10897).
6933
a1e7225c
LMI
6934 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6935 This is inconsistent with all the other stream functions, which leave
6936 the setting up to the higher levels (if so wanted) (bug#10931).
6937
56d093a9
AM
69382012-03-02 Alan Mackenzie <acm@muc.de>
6939
6940 Depessimize the handling of very large macros.
6941
6942 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6943 (c-macro-cache-syntactic): New variables to implement a one
6944 element macro cache.
6945 (c-invalidate-macro-cache): New function.
6946 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6947 Adapt to use the new cache.
6948 (c-state-safe-place): Use better the cache of safe positions.
6949 (c-state-semi-nonlit-pos-cache)
6950 (c-state-semi-nonlit-pos-cache-limit):
6951 New variables for...
6952 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6953 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6954 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6955 Use c-state-semi-safe-place.
56d093a9 6956
dbbc2e69
SM
6957 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6958 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6959
817e5c3d
MA
69602012-03-02 Michael Albinus <michael.albinus@gmx.de>
6961
dbbc2e69
SM
6962 * jka-compr.el (jka-compr-call-process):
6963 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6964 not remote.
6965
a032a702
MA
69662012-03-01 Michael Albinus <michael.albinus@gmx.de>
6967
6968 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6969 access of FILE2, if FILE1 does not exist.
6970
99a54f21
MA
6971 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6972 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6973
6974 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6975 Add "PAGER=" to `process-environment'.
6976
f6561e1f
MM
69772012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6978
6979 * progmodes/sql.el: Bug fix
6980 (sql-get-login-ext): Save login values in globals.
6981 (sql-get-login): Use new version of `sql-get-login-ext'.
6982 (sql-interactive-mode): Set global `sql-connection' to nil.
6983 (sql-connect): Set global values for connection.
6984 (sql-product-interactive): Save global values as buffer local.
6985
2d44d9cc
LL
69862012-02-29 Leo Liu <sdl.web@gmail.com>
6987
6988 * abbrev.el (define-abbrevs): Reset sys to nil.
6989
96b49301 69902012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6991
bf7f9bc5
JB
6992 * files.el (file-equal-p): Rename from `files-equal-p'.
6993 Return nil when one or both files don't exist.
96b49301 6994 (file-subdir-of-p): Now only top directory must exists,
6995 return nil if it doesn't.
bf7f9bc5
JB
6996 (copy-directory): No need to test with `file-subdir-of-p' after
6997 creating dir.
6998 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6999 to `file-equal-p'.
96b49301 7000
44e97401
GM
70012012-02-28 Glenn Morris <rgm@gnu.org>
7002
7003 * shell.el (shell-mode):
7004 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7005 * play/landmark.el (landmark-font-lock-face-O):
7006 * play/handwrite.el (handwrite):
7007 * play/gomoku.el (gomoku-O):
7008 * net/browse-url.el (browse-url-browser-display):
7009 * international/mule.el (define-charset):
7010 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7011 * filesets.el (filesets-find-file-delay):
7012 * eshell/em-xtra.el (eshell-xtra):
7013 * eshell/em-unix.el (eshell-grep):
7014 * emulation/viper.el (viper-mode):
7015 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7016 * emacs-lisp/easymenu.el (easy-menu-define):
7017 * calendar/timeclock.el (timeclock-use-display-time):
7018 * bs.el (bs-mode):
7019 * bookmark.el (bookmark-save-flag):
7020 Doc fix (standardize possessive apostrophe usage).
7021
c98c6276
CY
70222012-02-27 Chong Yidong <cyd@gnu.org>
7023
bf7f9bc5
JB
7024 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7025 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7026
c98c6276
CY
7027 * font-lock.el (font-lock-specified-p): Rename from
7028 font-lock-spec-present. Callers changed.
7029
9c62cd04 70302012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7031
bf7f9bc5
JB
7032 * emacs-lisp/package.el (package-compute-transaction):
7033 Handle holding a package version to t in package-load-list.
8ac9e529 7034
530739c9
MA
70352012-02-26 Michael Albinus <michael.albinus@gmx.de>
7036
7037 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7038 (tramp-get-inode, tramp-get-device): Use cached values.
7039
487915d7
AM
70402012-02-26 Alan Mackenzie <acm@muc.de>
7041
7042 Check there is a font-lock specification before doing initial
7043 fontification.
7044
7045 * font-core.el (font-lock-mode): Move the conditional from
7046 :after-hook to font-lock-initial-fontify.
7047 (font-lock-default-function): Move the check for a specification
7048 to font-lock-spec-present.
7049
dc9924b8 7050 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7051 (font-lock-spec-present): New function.
7052
4fd96557
JB
70532012-02-26 Jim Blandy <jimb@red-bean.com>
7054
7055 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7056 (gdb-send): Apply it to the operand of the '-interpreter-exec
7057 console' command, so that we can pass arguments with (say) quotes
7058 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7059
9a4888c0
CY
70602012-02-26 Chong Yidong <cyd@gnu.org>
7061
07498861
CY
7062 * help-fns.el (describe-function-1): Clarify description of
7063 remapping (Bug#10844).
7064
9a4888c0
CY
7065 * files.el (files-equal-p): Doc fix.
7066 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7067 and quit the loop once a mismatch is found.
7068
ea8fb88d
JB
70692012-02-25 Juanma Barranquero <lekktu@gmail.com>
7070
7071 * bs.el (bs--show-with-configuration): Don't throw an error
7072 if the window cannot be split; otherwise, subsequent calls to
7073 bs-show fail, restoring a stale window config. (Bug#10882)
7074
525795c1
JD
70752012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7076
7077 * term/ns-win.el (global-map): Bind ns-drag-file to
7078 ns-find-file (Bug#5855, Bug#10050).
7079
f008086f
AS
70802012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7081
7082 * calendar/parse-time.el (parse-time-string): Allow extractor to
7083 return nil.
7084
a3fcfa99
MA
70852012-02-25 Michael Albinus <michael.albinus@gmx.de>
7086
91027d08
JB
7087 * net/tramp.el (tramp-file-name-for-operation):
7088 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7089
7090 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7091 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7092 Add COPY-CONTENTS argument.
a3fcfa99 7093
67b0de11
CY
70942012-02-25 Chong Yidong <cyd@gnu.org>
7095
7096 Add custom groups for VC backends, for consistency with vc-bzr.
7097
7098 * vc/vc-arch.el (vc-arch):
7099 * vc/vc-cvs.el (vc-cvs):
7100 * vc/vc-git.el (vc-git):
7101 * vc/vc-hg.el (vc-hg):
7102 * vc/vc-mtn.el (vc-mtn):
7103 * vc/vc-rcs.el (vc-rcs):
7104 * vc/vc-sccs.el (vc-sccs):
7105 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7106 All relevant defcustoms reassigned.
7107
3c9dfce6
CY
71082012-02-25 Chong Yidong <cyd@gnu.org>
7109
1339bf43
CY
7110 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7111
3c9dfce6
CY
7112 * term/x-win.el (x-initialize-window-system): Reduce default for
7113 x-selection-timeout to 5 seconds (Bug#8869).
7114
25b2e303 71152012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7116
ec70a47d
GM
7117 * files.el (files-equal-p, file-subdir-of-p): New functions.
7118 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7119 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7120 * dired-aux.el (dired-copy-file-recursive): Same.
7121 (dired-create-files): Modify destination when source is equal to
7122 dest when copying files.
53a46cd0 7123 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7124
914260cd
MA
71252012-02-24 Michael Albinus <michael.albinus@gmx.de>
7126
7127 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7128 (Bug#10874)
7129
2cb228f7
AM
71302012-02-23 Alan Mackenzie <acm@muc.de>
7131
7132 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7133 parameter "after-hook:" to allow the expansion to run code after
7134 the execution of the mode hooks.
7135
7136 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7137 from font-lock-mode-internal.
2cb228f7 7138
91027d08 7139 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7140 :after-hook.
7141
8f0fde21
SM
71422012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7143
3e88618b
SM
7144 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7145 (completion--cache-all-sorted-completions): New function.
7146 (completion-all-sorted-completions): Use it.
7147 (completion--do-completion, minibuffer-force-complete):
7148 Use it to re-instate the flush hook.
7149
8f0fde21
SM
7150 * icomplete.el (icomplete-completions): Replace last fix with a better
7151 one (bug#10850).
7152
8e911f6f
DG
71532012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7154
7155 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7156 when it might call us back infinitely (bug#10797).
7157
49fe4321
GM
71582012-02-23 Glenn Morris <rgm@gnu.org>
7159
7160 * minibuffer.el (completion-category-overrides): Doc fix.
7161
b291b572
SM
71622012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7165 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7166
31a9ef2e
GM
71672012-02-23 Glenn Morris <rgm@gnu.org>
7168
5e6e6794 7169 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7170 (authors-obsolete-files-regexps, authors-ignored-files)
7171 (authors-ambiguous-files, authors-renamed-files-alist):
7172 Add more entries.
7173
0bd1e074
JL
71742012-02-23 Juri Linkov <juri@jurta.org>
7175
7176 * isearch.el (isearch-occur): Sync interactive spec with occur's
7177 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7178
b617673c
JL
7179 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7180
19e9789e
JL
71812012-02-22 Juri Linkov <juri@jurta.org>
7182
7183 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7184 (ucs-insert): Doc fix. Check for hex digits in the string.
7185 Don't display `nil' in the error message. (Bug#10857)
7186
f41ce09d
AM
71872012-02-22 Alan Mackenzie <acm@muc.de>
7188
7a71b18d 7189 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7190
ac2eceee
GM
71912012-02-22 Glenn Morris <rgm@gnu.org>
7192
7193 * ffap.el (ffap-c-path):
7194 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7195
abd1f678
CY
71962012-02-22 Chong Yidong <cyd@gnu.org>
7197
7198 * custom.el (load-theme): Doc fix.
7199
f25aef2e
GM
72002012-02-22 Glenn Morris <rgm@gnu.org>
7201
7202 * dired-x.el (dired-guess-shell-alist-default):
7203 Remove escape sequences from nroff output. (Bug#172)
7204
5f8dc2ca
GM
72052012-02-21 Glenn Morris <rgm@gnu.org>
7206
6ff86ec4
GM
7207 * vc/emerge.el (emerge-defvar-local):
7208 Set `permanent-local' property rather than unused `preserved'.
7209
be3223a3 7210 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7211 (picture-mode-map): Use it. (Bug#10860)
7212 (picture-mode): Doc fix.
7213
3fe58f4f
JB
72142012-02-21 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * newcomment.el (uncomment-region-default): Remove unused binding.
7217
f9a998c3
GM
72182012-02-21 Glenn Morris <rgm@gnu.org>
7219
7220 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7221 (picture-self-insert, picture-tab-chars): Doc fix.
7222 (picture-mode-map): Fix C-a, C-e.
7223
c6029348
GM
72242012-02-20 Glenn Morris <rgm@gnu.org>
7225
7226 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7227
ab1ce9d7
LL
72282012-02-20 Leo Liu <sdl.web@gmail.com>
7229
7230 * icomplete.el (icomplete-completions): Check FROM arg before
7231 passing to substring (Bug#10850).
7232
0fd40f89
CY
72332012-02-19 Chong Yidong <cyd@gnu.org>
7234
7235 * comint.el: Require ansi-color.
7236 (comint-output-filter-functions): Add ansi-color-process-output.
7237
7238 * ansi-color.el: Don't set comint-output-filter-functions; it is
7239 now in the initial value defined in comint.el.
7240 (ansi-color-apply-face-function): New variable.
7241 (ansi-color-apply-on-region): Use it.
7242 (ansi-color-apply-overlay-face): New function.
7243
7244 * shell.el (shell): No need to require ansi-color.
7245 (shell-mode): Use ansi-color-apply-face-function to highlight
7246 color escapes using font-lock-face property (Bug#10835).
7247
20af2394
CY
72482012-02-19 Chong Yidong <cyd@gnu.org>
7249
7250 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7251 mode-line formats (Bug#10839).
7252
e23a3fbe
GM
72532012-02-18 Glenn Morris <rgm@gnu.org>
7254
b474519e
GM
7255 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7256
7257 * mail/undigest.el (unforward-rmail-message): Doc fix.
7258
e23a3fbe
GM
7259 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7260
57939ff4
EZ
72612012-02-18 Eli Zaretskii <eliz@gnu.org>
7262
7263 * international/characters.el (script-list): Sync with the latest
7264 Unicode Character Database.
7265
0c23686e
AS
72662012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7267
7268 * international/titdic-cnv.el: Remove duplicate coding tag.
7269 * language/cham.el: Likewise.
7270 * language/tai-viet.el: Likewise.
7271
6818b449
GM
72722012-02-18 Glenn Morris <rgm@gnu.org>
7273
7274 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7275 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7276 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7277 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7278 * calendar/holidays.el (holiday-bahai-holidays)
7279 (calendar-holidays, list-holidays):
7280 Use utf-8 Bahá'í in doc-strings, menus, etc.
7281
0311a3fc
TH
72822012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7283
7284 * saveplace.el (save-place-ignore-files-regexp): New variable
7285 allowing for excluding files from saving their location of point.
7286 The default value matches the temporary commit message editing
7287 files from Git, SVN, Bazaar, and Mercurial.
7288 (save-place-to-alist): Use it.
7289
d209e2fb 72902012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7291 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7292
7293 * newcomment.el (uncomment-region-default): Don't leave extra space
7294 when an arg is provided (bug#8150).
7295
ee0ce425
TZ
72962012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7297
eb864a71 7298 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7299
95ddf442
GM
73002012-02-17 Glenn Morris <rgm@gnu.org>
7301
7302 * net/socks.el: Require network-stream. (Bug#10599)
7303
48dd1e39 73042012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7305
7306 * international/charprop.el:
7307 * international/uni-name.el:
7308 * international/uni-old-name.el:
7309 * international/uni-comment.el: Regenerate.
7310
d68cd087
GM
73112012-02-16 Glenn Morris <rgm@gnu.org>
7312
7313 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7314 Interactively in calendar buffer, give an error if not on a date.
7315
13932042
GM
73162012-02-15 Glenn Morris <rgm@gnu.org>
7317
7318 * shell.el (shell-delimiter-argument-list):
7319 Revert 2011-02-17 change. (Bug#8027)
7320
c3a70e2b
CY
73212012-02-15 Chong Yidong <cyd@gnu.org>
7322
60236b0d
CY
7323 * minibuffer.el (completion-at-point-functions): Doc fix.
7324
c3a70e2b
CY
7325 * custom.el (defcustom): Doc fix; note use of defvar.
7326
9f26dc24
GM
73272012-02-15 Glenn Morris <rgm@gnu.org>
7328
7329 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7330 Doc fixes.
7331
6546b134
GM
73322012-02-14 Glenn Morris <rgm@gnu.org>
7333
7334 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7335
d29b2b4c
LI
73362012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7337
7338 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7339 way the ports list is computed.
835bdcba
LI
7340 (smtpmail-query-smtp-server): Prompt the user for a port number if
7341 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7342
08dcdbc9
TZ
73432012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7344
7345 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7346
2605051a
GM
73472012-02-13 Glenn Morris <rgm@gnu.org>
7348
7349 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7350
7ee99f32
TZ
73512012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7352
7353 * net/gnutls.el (gnutls-trustfiles): New variable.
7354 (gnutls-negotiate): Use it.
7355
5f0af64f
LI
73562012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7357
7358 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7359 does its stuff if Gnus is running.
7360
c14fcc95
AM
73612012-02-13 Alan Mackenzie <acm@muc.de>
7362
7363 Fix a loop in c-set-fl-decl-start.
7364
7a71b18d 7365 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7366 c-backward-syntactic-ws actually moves backwards.
7367
142b4d90
LL
73682012-02-13 Leo Liu <sdl.web@gmail.com>
7369
7370 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7371 beginning so that all \C-o chars are removed.
7372
fa9958a6
TZ
73732012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7374
dc9924b8 7375 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7376
0bc5886a
AM
73772012-02-12 Alan Mackenzie <acm@muc.de>
7378
7379 Fix infinite loop with long macros.
4d6769e1 7380 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7381
d4bd55e7
CY
73822012-02-12 Chong Yidong <cyd@gnu.org>
7383
7384 * window.el (display-buffer): Doc fix (Bug#10785).
7385
66f3fe22
GM
73862012-02-12 Glenn Morris <rgm@gnu.org>
7387
bd7da63e
GM
7388 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7389 (x-disown-selection-internal, x-get-selection-internal):
7390 Sync docs with the xselect.c versions.
7391
66f3fe22
GM
7392 * allout-widgets.el: Add missing license notice.
7393
3e0d2fa7
GM
73942012-02-11 Glenn Morris <rgm@gnu.org>
7395
cfecdf09
GM
7396 * select.el (x-get-selection-internal, x-own-selection-internal)
7397 (x-disown-selection-internal):
7398 * x-dnd.el (x-get-selection-internal): Update declarations.
7399
6d216d7f
GM
7400 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7401
2bed3f04
GM
7402 * window.el (window-sides-slots):
7403 * tool-bar.el (tool-bar-position):
7404 * term/xterm.el (xterm-extra-capabilities):
7405 * ses.el (ses-self-reference-early-detection):
7406 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7407 (verilog-auto-wire-type)
7408 (verilog-auto-delete-trailing-whitespace)
7409 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7410 (verilog-auto-tieoff-declaration):
7411 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7412 (sql-oracle-statement-starters, sql-oracle-scan-on):
7413 * progmodes/prolog.el (prolog-align-comments-flag)
7414 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7415 (prolog-left-indent-regexp, prolog-paren-indent-p)
7416 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7417 (prolog-types, prolog-mode-specificators)
7418 (prolog-determinism-specificators, prolog-directives)
7419 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7420 (prolog-electric-dot-flag)
7421 (prolog-electric-dot-full-predicate-template)
7422 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7423 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7424 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7425 (prolog-program-switches, prolog-prompt-regexp)
7426 (prolog-debug-on-string, prolog-debug-off-string)
7427 (prolog-trace-on-string, prolog-trace-off-string)
7428 (prolog-zip-on-string, prolog-zip-off-string)
7429 (prolog-use-standard-consult-compile-method-flag)
7430 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7431 (prolog-imenu-max-lines, prolog-info-predicate-index)
7432 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7433 (prolog-char-quote-workaround):
7434 * progmodes/cc-vars.el (c-defun-tactic):
7435 * net/tramp.el (tramp-encoding-command-interactive)
7436 (tramp-local-end-of-line):
7437 * net/soap-client.el (soap-client):
7438 * net/netrc.el (netrc-file):
7439 * net/gnutls.el (gnutls):
7440 * minibuffer.el (completion-category-overrides)
7441 (completion-cycle-threshold)
7442 (completion-pcm-complete-word-inserts-delimiters):
7443 * man.el (Man-name-local-regexp):
7444 * mail/feedmail.el (feedmail-display-full-frame):
7445 * international/characters.el (glyphless-char-display-control):
7446 * eshell/em-ls.el (eshell-ls-date-format):
7447 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7448 (lisp-lambda-list-keyword-parameter-indentation)
7449 (lisp-lambda-list-keyword-parameter-alignment):
7450 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7451 * dired-x.el (dired-omit-verbose):
7452 * cus-theme.el (custom-theme-allow-multiple-selections):
7453 * calc/calc.el (calc-highlight-selections-with-faces)
7454 (calc-lu-field-reference, calc-lu-power-reference)
7455 (calc-note-threshold):
7456 * battery.el (battery-mode-line-limit):
7457 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7458 (archive-7z-update):
7459 * allout.el (allout-prefixed-keybindings)
7460 (allout-unprefixed-keybindings)
7461 (allout-inhibit-auto-fill-on-headline)
7462 (allout-flattened-numbering-abbreviation):
7463 * allout-widgets.el (allout-widgets-auto-activation)
7464 (allout-widgets-icons-dark-subdir)
7465 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7466 (allout-widgets-theme-dark-background)
7467 (allout-widgets-theme-light-background)
7468 (allout-widgets-item-image-properties-emacs)
7469 (allout-widgets-item-image-properties-xemacs)
7470 (allout-widgets-run-unit-tests-on-load)
7471 (allout-widgets-time-decoration-activity)
7472 (allout-widgets-hook-error-post-time)
7473 (allout-widgets-track-decoration):
7474 Add missing :version tags to new defcustoms and defgroups.
7475
5fec1b8e
GM
7476 * progmodes/sql.el (sql-ansi-statement-starters)
7477 (sql-oracle-statement-starters): Add custom type.
7478
3e0d2fa7
GM
7479 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7480 (prolog-system-version): Give it a type.
7481
90b671e2
EZ
74822012-02-11 Eli Zaretskii <eliz@gnu.org>
7483
7484 * term/pc-win.el (x-select-text, x-selection-owner-p)
7485 (x-own-selection-internal, x-disown-selection-internal)
7486 (x-get-selection-internal): Sync doc strings and argument lists
7487 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7488
5eac0c02
LL
74892012-02-11 Leo Liu <sdl.web@gmail.com>
7490
7491 * progmodes/python.el (python-end-of-statement): Fix infinite
7492 loop. (Bug#10788)
7493
f82cb659
GM
74942012-02-10 Glenn Morris <rgm@gnu.org>
7495
7496 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7497 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7498
cc26d239
LI
74992012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7500
7501 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7502 about SMTP before checking the From header.
7503
91027d08 7504 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7505 into own function for reuse by emacsbug.el.
7506
1be3ca5a
LL
75072012-02-10 Leo Liu <sdl.web@gmail.com>
7508
7509 * subr.el (condition-case-unless-debug): Rename from
7510 condition-case-no-debug. All callers changed.
7511 (with-demoted-errors): Fix caller.
7512
7513 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7514 * nxml/rng-valid.el (rng-do-some-validation):
7515 * emacs-lisp/package.el (package-refresh-contents)
7516 (package-menu-execute):
7517 * desktop.el (desktop-create-buffer):
91027d08 7518 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7519
b011fbfe
GM
75202012-02-10 Glenn Morris <rgm@gnu.org>
7521
b2096d72
GM
7522 * textmodes/bibtex.el:
7523 Add missing :version tags for new/changed defcustoms.
7524
b011fbfe
GM
7525 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7526
4c7e65bf
LI
75272012-02-09 Lars Ingebrigtsen <larsi@rusty>
7528
7529 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7530 (smtpmail-via-smtp): Use it, or fall back on the From address.
7531 (smtpmail-send-it): Ditto.
7532
f3934f6f
SM
75332012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7536 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7537 (byte-compile-tmp-var): New const.
7538 (byte-compile-defvar): Use it to minimize .elc size.
7539 Just use `defvar' rather than simulate it (bug#10761).
7540
a075a2c5
GM
75412012-02-09 Glenn Morris <rgm@gnu.org>
7542
cf3aa21b
GM
7543 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7544
354998cd
GM
7545 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7546 Add :version tags.
7547
dc9924b8
SM
7548 * progmodes/compile.el (compilation-error-screen-columns)
7549 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7550
dab3703d
GM
7551 * vc/log-view.el (log-view-toggle-entry-display):
7552 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7553
3f88cd72
GM
7554 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7555 (report-emacs-bug-can-use-xdg-email):
7556 (report-emacs-bug-insert-to-mailer): Doc fixes.
7557 (report-emacs-bug): Message fix.
7558
d95b247d
GM
7559 * net/browse-url.el (browse-url-can-use-xdg-open)
7560 (browse-url-xdg-open): Doc fixes.
7561
a075a2c5
GM
7562 * electric.el (electric-indent-mode, electric-pair-mode)
7563 (electric-layout-rules, electric-layout-mode): Doc fixes.
7564 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7565
ffb6157e
MR
75662012-02-08 Martin Rudalics <rudalics@gmx.at>
7567
7568 * server.el (server-unselect-display): Don't inadvertently kill
7569 the current buffer. (Bug#10729)
7570
e1ac4066
GM
75712012-02-08 Glenn Morris <rgm@gnu.org>
7572
34e8a2da
GM
7573 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7574 (sql-list-table): Doc fixes.
7575
b4ac6e8c
GM
7576 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7577 Comment out (does nothing).
7578
e1ac4066
GM
7579 * completion.el (dynamic-completion-mode):
7580 * dirtrack.el (dirtrack-debug-mode):
7581 * electric.el (electric-layout-mode):
7582 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7583 * face-remap.el (text-scale-mode, buffer-face-mode):
7584 * iimage.el (iimage-mode):
7585 * image-mode.el (image-transform-mode):
7586 * minibuffer.el (completion-in-region-mode):
7587 * scroll-lock.el (scroll-lock-mode):
7588 * simple.el (next-error-follow-minor-mode):
7589 * tar-mode.el (tar-subfile-mode):
7590 * tooltip.el (tooltip-mode):
7591 * vcursor.el (vcursor-use-vcursor-map):
7592 * wid-browse.el (widget-minor-mode):
7593 * emulation/tpu-edt.el (tpu-edt-mode):
7594 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7595 * international/iso-ascii.el (iso-ascii-mode):
7596 * language/thai-util.el (thai-word-mode):
7597 * mail/supercite.el (sc-minor-mode):
7598 * net/goto-addr.el (goto-address-mode):
7599 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7600 * progmodes/cwarn.el (cwarn-mode):
7601 * progmodes/flymake.el (flymake-mode):
7602 * progmodes/glasses.el (glasses-mode):
7603 * progmodes/hideshow.el (hs-minor-mode):
7604 * progmodes/pascal.el (pascal-outline-mode):
7605 * textmodes/enriched.el (enriched-mode):
7606 * vc/smerge-mode.el (smerge-mode):
7607 Doc fixes (minor mode argument).
7608
5e0d957f
EZ
76092012-02-07 Eli Zaretskii <eliz@gnu.org>
7610
7611 * ls-lisp.el (ls-lisp-sanitize): New function.
7612 (ls-lisp-insert-directory): Use it to fix or remove any elements
7613 in file-alist with missing attributes. (Bug#4673)
7614
98d7371e
AM
76152012-02-07 Alan Mackenzie <acm@muc.de>
7616
7617 Fix spurious recognition of c-in-knr-argdecl.
7618
7619 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7620 putative K&R region.
7621
667ced3a
AM
76222012-02-07 Alan Mackenzie <acm@muc.de>
7623
eb864a71
LM
7624 * progmodes/cc-engine.el (c-forward-objc-directive):
7625 Prevent looping in "#pragma mark @implementation".
667ced3a 7626
5b77774d
MA
76272012-02-07 Michael Albinus <michael.albinus@gmx.de>
7628
7629 * notifications.el (notifications-on-closed-signal): Make `reason'
7630 optional. (Bug#10744)
7631
af008560
GM
76322012-02-07 Glenn Morris <rgm@gnu.org>
7633
60d47423
GM
7634 * emacs-lisp/easy-mmode.el (define-minor-mode):
7635 Doc fixes for the macro and the mode it defines.
7636
dd605cc4
GM
7637 * image.el (imagemagick-types-inhibit): Doc fix.
7638
af008560
GM
7639 * cus-start.el (imagemagick-render-type): Add it.
7640
5cc59a37
LI
76412012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7642
4d6769e1
JB
7643 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7644 Set the default at load time, too, so that `font-lock-fontify-buffer'
7645 can be called without setting up the entire mode first. This fixes
7646 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7647
9a6dd747
CY
76482012-02-06 Chong Yidong <cyd@gnu.org>
7649
2d16b285
CY
7650 * simple.el (list-processes--refresh): Delete exited processes
7651 (Bug#8094).
7652
171e9b6e
CY
7653 * comint.el (comint-next-prompt): next-single-char-property-change
7654 and prev-single-char-property-change never return nil (Bug#8657).
7655
9a6dd747
CY
7656 * custom.el (defcustom): Doc fix (Bug#9711).
7657
aa4589a7
CY
76582012-02-05 Chong Yidong <cyd@gnu.org>
7659
5c2a252f
CY
7660 * cus-edit.el (custom-variable-reset-backup): Quote the value
7661 before storing it in the customized-value property (Bug#6712).
4aab9006 7662 (custom-display): Add a customization type tag.
983b9602 7663 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7664
aa4589a7
CY
7665 * wid-edit.el (widget-field-value-get): New optional arg to
7666 suppress trailing whitespace truncation.
7667 (character): Use it (Bug#2689).
7668
1ff980ae
AS
76692012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7670
7671 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7672 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7673
03988c98
CY
76742012-02-05 Chong Yidong <cyd@gnu.org>
7675
eeb6cc88
CY
7676 * cus-edit.el (custom-variable-value-create): For mismatched
7677 types, show the current value (Bug#7600).
7678
03988c98
CY
7679 * custom.el (defcustom): Doc fix.
7680
f8cdeef0
GM
76812012-02-05 Glenn Morris <rgm@gnu.org>
7682
7683 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7684
0696d255
JB
76852012-02-05 Juanma Barranquero <lekktu@gmail.com>
7686
7687 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7688 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7689 (pp-last-sexp): Use `looking-at-p'.
7690
34c99998
GM
76912012-02-04 Glenn Morris <rgm@gnu.org>
7692
8f05da42
GM
7693 * files.el (revert-buffer):
7694 Doc fix (mention revert-buffer-in-progress-p).
7695
f160676e
GM
7696 * emacs-lisp/ert-x.el (ert-simulate-command):
7697 Check deferred-action-list (which is obsolete) is bound.
7698
c7291ad9
GM
7699 * subr.el (with-wrapper-hook): Doc fixes.
7700
34c99998
GM
7701 * simple.el (filter-buffer-substring-functions)
7702 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7703
6283a7d3
LL
77042012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7705
7706 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7707 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7708
e96e3013
LL
77092012-02-04 Leo Liu <sdl.web@gmail.com>
7710
7711 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7712
8ded50f2
GM
77132012-02-04 Glenn Morris <rgm@gnu.org>
7714
82ff1d13
GM
7715 * image.el (image-extension-data): Add obsolete alias.
7716
987a0a16
GM
7717 * isearch.el (isearch-update): Doc fix.
7718
ea32ef46
GM
7719 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7720
8ded50f2
GM
7721 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7722
eea14f31
GM
77232012-02-03 Glenn Morris <rgm@gnu.org>
7724
7725 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7726 (image-animate-timeout): Doc fix.
7727
7728 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7729
12f381b7
GM
77302012-02-02 Glenn Morris <rgm@gnu.org>
7731
953cebf5
GM
7732 * server.el (server-auth-dir): Doc fix.
7733 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7734
12f381b7
GM
7735 * subr.el (run-mode-hooks): Doc fix.
7736
953a8c3b
JL
77372012-02-02 Juri Linkov <juri@jurta.org>
7738
7739 * image-mode.el (image-toggle-display-image): Remove tautological
7740 `major-mode' from the `derived-mode-p' test.
7741
c5d3843c
KH
77422012-02-02 Kenichi Handa <handa@m17n.org>
7743
9f6e692e 7744 * composite.el (compose-region): Cancel previous change.
c5d3843c 7745
159462d4 77462012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7747
7748 * composite.el (compose-region, compose-string): Signal error for
7749 a null string component (Bug#6988).
7750
9f562668
CY
77512012-02-01 Chong Yidong <cyd@gnu.org>
7752
e2cef717
CY
7753 * view.el (view-buffer-other-window, view-buffer-other-frame):
7754 Handle special modes like view-buffer (Bug#10650).
7755 (view-buffer): Simplify.
7756
9f562668
CY
7757 * frame.el (set-frame-font): Tweak meaning of third argument.
7758
9f6e692e
JB
7759 * dynamic-setting.el (font-setting-change-default-font):
7760 Use set-frame-font (Bug#9982).
9f562668 7761
781acb9f
GM
77622012-02-01 Glenn Morris <rgm@gnu.org>
7763
6035be52
GM
7764 * progmodes/compile.el (compilation-internal-error-properties):
7765 Respect compilation-first-column in the "*compilation*" buffer.
7766
781acb9f
GM
7767 * emacs-lisp/easy-mmode.el (define-minor-mode):
7768 Relax :variable's test for a named function.
7769
abbceb00
AM
77702012-01-31 Alan Mackenzie <acm@muc.de>
7771
7772 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7773 off by one error.
7774
fce3fdeb
CY
77752012-01-31 Chong Yidong <cyd@gnu.org>
7776
7777 * frame.el (set-frame-font): New arg ALL-FRAMES.
7778
7779 * menu-bar.el (menu-set-font): Use set-frame-font.
7780
7781 * faces.el (face-spec-reset-face): Don't apply unspecified
7782 attribute values to the default face.
7783
47893581
JB
77842012-01-31 Juanma Barranquero <lekktu@gmail.com>
7785
7786 * progmodes/cwarn.el (cwarn): Remove dead link.
7787 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7788 Remove * from defcustom docstrings.
7789 (turn-on-cwarn-mode): Make obsolete.
7790 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7791 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7792
e58e988a
GM
77932012-01-31 Glenn Morris <rgm@gnu.org>
7794
60dc2671 7795 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7796 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7797 Allow named functions to be used as the cdr of :variable.
e58e988a 7798
7a3f511d
GM
77992012-01-30 Glenn Morris <rgm@gnu.org>
7800
7801 * emacs-lisp/authors.el (authors-fixed-entries):
7802 Remove reference to deleted file rnewspost.el.
7803
cb882333
JB
78042012-01-29 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * window.el (window-with-parameter): Remove unused variable `windows'.
7807 (window--side-check): Remove unused variable `code'.
7808 (window--resize-siblings): Remove unused variable `first'.
7809 (adjust-window-trailing-edge): Remove unused variable `failed'.
7810 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7811 Use `let', not `let*'.
7812 (balance-windows-2): Remove unused variable `found'.
7813 (window--state-put-2): Remove unused variable `splits'.
7814 (window-state-put): Remove unused variable `selected'.
7815 (same-window-p): Use `string-match-p'.
7816 (display-buffer-assq-regexp): Remove unused variable `value'.
7817 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7818 Mark argument ALIST as ignored.
7819 (pop-to-buffer): Remove unused variable `old-window'.
7820
907201af
EZ
78212012-01-29 Eli Zaretskii <eliz@gnu.org>
7822
7823 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7824 and .lzma compressed files.
7825
ea162670
CY
78262012-01-29 Chong Yidong <cyd@gnu.org>
7827
5b95ee8a
CY
7828 * frame.el (window-system-default-frame-alist): Doc fix.
7829
ea162670
CY
7830 * dynamic-setting.el (font-setting-change-default-font): Don't
7831 change the default face if SET-FONT argument is non-nil (Bug#9982).
7832
d6e6f4b1
SB
78332012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7834
7835 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7836
0f29fa41 78372012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7838
7839 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7840 breakpoints in files outside current directory (Bug#6098).
7841
db174434
CY
78422012-01-29 Chong Yidong <cyd@gnu.org>
7843
6b25e4e2
SE
7844 * progmodes/python.el: Require ansi-color at top-level.
7845
6df6ae42
JB
7846 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7847 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7848 (lisp-mode-abbrev-table): Add doc.
7849 (lisp-mode-variables): Don't set local-abbrev-table.
7850 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7851
e70ee681
RW
78522012-01-28 Roland Winkler <winkler@gnu.org>
7853
7854 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7855
ace88aa2
RW
78562012-01-28 Roland Winkler <winkler@gnu.org>
7857
7858 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7859 (bibtex-set-dialect): Use it. Either set global values of
7860 dialect-dependent variables or bind these variables buffer-locally
7861 (Bug#10254).
7862 (bibtex-mode): Call bibtex-set-dialect via
7863 hack-local-variables-hook.
eb864a71
LM
7864 (bibtex-dialect): Update docstring.
7865 Add safe-local-variable predicate.
ace88aa2
RW
7866 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7867 bibtex-set-dialect.
7868 (bibtex-mode-map): Define menu for each dialect.
7869 (bibtex-entry): Fix docstring.
7870
93376c5b
CY
78712012-01-28 Chong Yidong <cyd@gnu.org>
7872
7873 * eshell/esh-arg.el (eshell-quote-argument): New function.
7874
7875 * eshell/esh-ext.el (eshell-invoke-batch-file):
7876 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7877 first arg to eshell-parse-command (Bug#10523).
7878
4372494f
DA
78792012-01-28 Drew Adams <drew.adams@oracle.com>
7880
7881 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7882 `default-directory' is non-nil.
7883
4d4ec1f8
EZ
78842012-01-28 Eli Zaretskii <eliz@gnu.org>
7885
7886 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7887 line that displays system-configuration-options. (Bug#9924)
7888
7c188927
DA
78892012-01-28 Drew Adams <drew.adams@oracle.com>
7890
7891 * descr-text.el (describe-char): Show information about POS, in
7892 addition to information about the character at POS. Improve and
7893 update the doc string. Change "code point" to "code point in
7894 charset", to avoid confusion with the character's Unicode code
7895 point shown above that. (Bug#10129)
7896
e0da685a
EZ
78972012-01-28 Eli Zaretskii <eliz@gnu.org>
7898
7899 * descr-text.el (describe-char): Show the raw character, not only
7900 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7901 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7902 for the reasons.
7903
70550acf
PH
79042012-01-28 Phil Hagelberg <phil@hagelb.org>
7905
eb864a71
LM
7906 * emacs-lisp/package.el (package-install):
7907 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7908
0ce8e868
CY
79092012-01-28 Chong Yidong <cyd@gnu.org>
7910
cb882333
JB
7911 * emacs-lisp/package.el (package-maybe-load-descriptor):
7912 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7913 (package-maybe-load-descriptor): Use it.
7914 (package-download-transaction): Fully load required packages
7915 inside the loop, so that `require' calls work (Bug#10593).
7916 (package-install): No need to call package-initialize now.
7917
2e7f3bea
CY
79182012-01-28 Chong Yidong <cyd@gnu.org>
7919
6e9bad14
CY
7920 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7921
f823b8ca
CY
7922 * tooltip.el (tooltip-mode): Doc fix.
7923 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7924
2680c309
CY
7925 * frame.el (set-cursor-color): Doc fix (Bug#352).
7926
d7a9e63b
CY
7927 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7928 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7929
2e7f3bea
CY
7930 * cus-edit.el (custom-buffer-create-internal): Fix search button
7931 action (Bug#10542).
2ae01800 7932 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7933
fc4f7a23
EW
79342012-01-27 Eduard Wiebe <usenet@pusto.de>
7935
7936 * dired.el (dired-mark-files-regexp):
7937 Include any subdirectory components. (Bug#10445)
7938
7dd37071
ML
79392012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7940
7941 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7942 Handle [host]:port syntax. (Bug#10533)
7943
a268160b
AH
79442012-01-27 Alex Harsanyi <harsanyi@mac.com>
7945
7946 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7947
e43273ef
GM
79482012-01-26 Glenn Morris <rgm@gnu.org>
7949
7950 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7951 * term.el (term-raw-escape-map): Use Control-X-prefix.
7952 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7953
1edf595d
MR
79542012-01-25 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (window-state-get, window--state-get-1): Don't deal
7957 with fixed-sizeness of windows. Simplify code.
7958
fa8eafef
JC
79592012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7960
6df6ae42
JB
7961 * window.el (window--state-get-1, window--state-put-2):
7962 Don't save and restore the mark.
fa8eafef 7963
0b21c100
CY
79642012-01-25 Chong Yidong <cyd@gnu.org>
7965
7966 * custom.el (custom-variable-p): Doc fix.
7967
5ae1a6c8
GM
79682012-01-25 Glenn Morris <rgm@gnu.org>
7969
40047858
GM
7970 * dired.el (dired-goto-file): Handle some of the more common
7971 characters that `ls -b' escapes. (Bug#10596)
7972
5ddce96c
GM
7973 * progmodes/compile.el (compilation-next-error-function):
7974 Respect compilation-first-column in the "*compilation*" buffer.
7975 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7976
5ae1a6c8
GM
7977 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7978
b559f1a9
GM
79792012-01-24 Glenn Morris <rgm@gnu.org>
7980
7981 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7982
6725d21a
JD
79832012-01-24 Julien Danjou <julien@danjou.info>
7984
7985 * color.el (color-rgb-to-hsl): Fix value computing.
7986 (color-hue-to-rgb): New function.
7987 (color-hsl-to-rgb): New function.
7988 (color-clamp, color-saturate-hsl, color-saturate-name)
7989 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7990 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7991
70df4bbe
GM
79922012-01-24 Glenn Morris <rgm@gnu.org>
7993
7994 * vc/vc-rcs.el (vc-rcs-create-tag):
7995 * vc/vc-sccs.el (vc-sccs-create-tag):
7996 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7997
802a2ae2
ML
79982012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7999
8000 * eshell/esh-util.el (eshell-read-hosts-file):
8001 Skip comment lines. (Bug#10549)
8002
d7128bb1
ML
8003 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8004
d1a5c3b4
JB
80052012-01-23 Juanma Barranquero <lekktu@gmail.com>
8006
2724d9c7
JB
8007 * subr.el (display-delayed-warnings): Doc fix.
8008 (collapse-delayed-warnings): New function to collapse identical
8009 adjacent warnings.
8010 (delayed-warnings-hook): Add it.
d1a5c3b4 8011
a5509865
MA
80122012-01-22 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8015
a5509865
MA
8016 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8017 (tramp-default-user-alist): Don't add "pscp".
8018 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8019 property "login-as", if set. (Bug#10530)
8020
cc6d5805
MA
80212012-01-21 Michael Albinus <michael.albinus@gmx.de>
8022
8023 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8024 "plink1" and "psftp". (Bug#10530)
8025
80262012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8027
8028 * international/mule-cmds.el (prefer-coding-system): Show a
8029 warning message if the default value of file-name-coding-system
8030 was not changed.
8031
f0960428
JC
80322012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8033
cb882333
JB
8034 * windmove.el (windmove-reference-loc):
8035 Fix windmove-reference-loc miscalculation.
f0960428 8036
dd6f2a63
JB
80372012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8038
8039 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8040 default unit.
8041
7b447e9b
GM
80422012-01-21 Glenn Morris <rgm@gnu.org>
8043
117a9ea1
GM
8044 * international/mule.el (auto-coding-alist): Add .tbz.
8045
7b447e9b
GM
8046 * files.el (local-enable-local-variables): Doc fix.
8047 (inhibit-local-variables-regexps): Rename from
8048 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8049 Doc fix. Add some extensions from auto-coding-alist.
8050 (inhibit-local-variables-suffixes):
8051 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8052 (inhibit-local-variables-p):
8053 New function, extracted from set-auto-mode-1.
8054 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8055 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8056 (hack-local-variables): Doc fix. Make the mode-only case
8057 respect enable-local-variables and friends.
8058 Respect inhibit-local-variables-regexps for file-locals, but
8059 not for directory-locals.
8060 (set-visited-file-name):
8061 Take account of inhibit-local-variables-regexps.
8062 Whether it applies may change as the file name is changed.
8063 * jka-cmpr-hook.el (jka-compr-install):
8064 * jka-compr.el (jka-compr-uninstall):
8065 Update for inhibit-first-line-modes-suffixes name change.
8066
dd6e3cdd
MR
80672012-01-20 Martin Rudalics <rudalics@gmx.at>
8068
8069 * help-macro.el (make-help-screen): Temporarily restore original
8070 binding for minor-mode-map-alist (Bug#10454).
8071
0d0deb38
JD
80722012-01-19 Julien Danjou <julien@danjou.info>
8073
8074 * color.el (color-name-to-rgb): Use the white color to find the max
8075 color component value and return correctly computed values.
8076 (color-name-to-rgb): Add missing float conversion for max value.
8077
34a02f46
MR
80782012-01-19 Martin Rudalics <rudalics@gmx.at>
8079
8080 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8081 special state value for window-persistent-parameters.
8082 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8083 (window--state-put-2): Reset all window parameters to nil before
8084 assigning values of persistent parameters.
8085
606c44c4
AM
80862012-01-18 Alan Mackenzie <acm@muc.de>
8087
8088 Eliminate sluggishness and hangs in fontification of "semicolon
8089 deserts".
8090
cb882333
JB
8091 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8092 Change value 10000 -> 3000.
606c44c4
AM
8093 (c-state-safe-place): Reformulate so it doesn't stack up an
8094 infinite number of wrong entries in c-state-nonlit-pos-cache.
8095 (c-determine-limit-get-base, c-determine-limit): New functions to
8096 determine backward search limits disregarding literals.
8097 (c-find-decl-spots): Amend commenting.
8098 (c-cheap-inside-bracelist-p): New function which detects "={".
8099
8100 * progmodes/cc-fonts.el
8101 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8102 backward search.
8103 (c-font-lock-declarations): Fix an occurrence of point being
8104 undefined. Check additionally for point being in a bracelist or
8105 near a macro invocation without a semicolon so as to avoid a
8106 fruitless time consuming search for a declarator. Give a more
8107 precise search limit for declarators using the new
8108 c-determine-limit.
8109
f3860cea
GM
81102012-01-18 Glenn Morris <rgm@gnu.org>
8111
8112 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8113 (set-auto-mode): Doc fixes.
8114
1db03b16
GM
81152012-01-17 Glenn Morris <rgm@gnu.org>
8116
0e6038be
GM
8117 * isearch.el (search-nonincremental-instead): Fix doc typo.
8118
1db03b16
GM
8119 * dired.el (dired-insert-directory): Handle newlines in directory name.
8120 (dired-build-subdir-alist): Unescape newlines in directory name.
8121
4cb0aa75
MA
81222012-01-17 Michael Albinus <michael.albinus@gmx.de>
8123
8124 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8125 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8126 (tramp-action-terminal): Use it. (Bug#10530)
8127
1d00653d
SM
81282012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8131
6a6ee00d
MR
81322012-01-16 Martin Rudalics <rudalics@gmx.at>
8133
8134 * window.el (window-state-ignored-parameters): Remove variable.
8135 (window--state-get-1): Rename argument MARKERS to IGNORE.
8136 Handle persistent window parameters. Make copy of clone-of
8137 parameter only if requested. (Bug#10348)
8138 (window--state-put-2): Install a window parameter only if it has
8139 a non-nil value or an existing parameter shall be overwritten.
8140
97912def
MA
81412012-01-15 Michael Albinus <michael.albinus@gmx.de>
8142
8143 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8144
688070a5
EZ
81452012-01-14 Eli Zaretskii <eliz@gnu.org>
8146
8147 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8148 don't pass the (nil) value of `upnode' to string-match.
8149
301afadc
CY
81502012-01-14 Chong Yidong <cyd@gnu.org>
8151
8152 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8153 Fix values recognized by the cursorBlink resource.
301afadc 8154
9e5788aa
PE
81552012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8156
8157 * epg.el (epg--make-temp-file): Avoid permission race condition
8158 when running on old Emacs versions (bug#10403).
8159
3cdb7f5a
GM
81602012-01-14 Glenn Morris <rgm@gnu.org>
8161
8162 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8163
8c82b1b4
AM
81642012-01-13 Alan Mackenzie <acm@muc.de>
8165
8166 Fix filling for when filladapt mode is enabled.
8167
8168 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8169 c-mask-paragraph, pass in `fill-paragraph' rather than
8170 `fill-region-as-paragraph'. (This is a reversion of a previous
8171 change.)
eb864a71
LM
8172 * progmodes/cc-mode.el (c-basic-common-init):
8173 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8174
e517eda4
GM
81752012-01-13 Glenn Morris <rgm@gnu.org>
8176
1498536e
GM
8177 * dired.el (dired-switches-escape-p): New function.
8178 (dired-insert-directory): Use dired-switches-escape-p.
8179 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8180
e517eda4
GM
8181 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8182
328f984d
GM
81832012-01-12 Glenn Morris <rgm@gnu.org>
8184
8185 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8186 changes in adaptive-fill-regexp. (Bug#10276)
8187
2cc769a8
AM
81882012-01-11 Alan Mackenzie <acm@muc.de>
8189
8190 Fix Emacs bug #10463 - put `widen's around the critical spots.
8191
1d00653d 8192 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8193 widen around each invocation of c-state-pp-to-literal. Remove an
8194 unused let variable.
8195
e52c37fa
GM
81962012-01-11 Glenn Morris <rgm@gnu.org>
8197
8198 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8199 Doc fix.
e52c37fa 8200
96f8741e
CY
82012012-01-10 Chong Yidong <cyd@gnu.org>
8202
1d00653d
SM
8203 * net/network-stream.el (network-stream-open-starttls):
8204 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8205 response to the capability command.
8206
b09a806e
GM
82072012-01-10 Glenn Morris <rgm@gnu.org>
8208
8209 * mail/unrmail.el (unrmail): Tweak previous change.
8210
7655cb66
CY
82112012-01-09 Chong Yidong <cyd@gnu.org>
8212
8213 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8214
9d5a8f0b
AM
82152012-01-08 Alan Mackenzie <acm@muc.de>
8216
8217 Optimise font locking in long enum definitions.
8218
8219 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8220 arm to a cond form to handle enums.
8221 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8222 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8223
9a0115ab 82242012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8225
8226 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8227 (Bug#10401)
6bb72cbd 8228
f186bb95
LMI
82292012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8230
29232a68
LMI
8231 * faces.el (set-face-attribute): Clarify the meaning of the nil
8232 frame (bug#10294).
8233
4e5d086d
LMI
8234 * subr.el (with-selected-frame): Mention that the selected frame
8235 is restored (bug#9980).
8236
8e66aebe
LMI
8237 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8238 (bug#9759).
8239
cd394be1 8240 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8241 (password-read): Don't autoload unused function.
8242
adf4e762
JB
82432012-01-07 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * progmodes/which-func.el (which-func-mode): Turn into a
8246 non-interactive function and mark as obsolete (bug#10428).
8247
89bd9ccd
CY
82482012-01-06 Chong Yidong <cyd@gnu.org>
8249
8250 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8251 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8252 functions, along with 1 and -1.
8253
4afee9d5
EZ
82542012-01-06 Eli Zaretskii <eliz@gnu.org>
8255
8256 * time.el (display-time-load-average)
8257 (display-time-default-load-average): Doc fixes. See the thread
8258 starting at
8259 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8260 for the details.
8261
536aea70
GM
82622012-01-06 Glenn Morris <rgm@gnu.org>
8263
665ae865
GM
8264 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8265 has no messages. (Bug#10377)
8266
c869783d
GM
8267 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8268 than Info-edit. (Bug#10385)
8269
2bb4227e
GM
8270 * time.el (display-time-load-average, display-time-next-load-average):
8271 Doc fixes.
8272
7d5944b9
GM
8273 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8274 local setting of buffer-read-only to the input buffer. (Bug#10419)
8275
536aea70
GM
8276 * calendar/calendar.el (calendar-mode):
8277 Locally set scroll-margin to 0. (Bug#10379)
8278
7dccca16
UM
82792012-01-06 Ulrich Mueller <ulm@gentoo.org>
8280
8281 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8282
afbb7930
GM
82832012-01-05 Glenn Morris <rgm@gnu.org>
8284
8285 * eshell/em-unix.el (diff-no-select): Autoload it.
8286 (eshell/diff): Use diff-no-select. (Bug#10420)
8287
04482335
CY
82882012-01-05 Chong Yidong <cyd@gnu.org>
8289
7baca3bc
CY
8290 * shell.el (shell-dynamic-complete-functions): Revert last change.
8291 (shell-command-completion-function): New function.
8292 (shell-completion-vars): Use it to implement
8293 shell-completion-execonly (Bug#10417).
8294
04482335
CY
8295 * custom.el (enable-theme): Don't set custom-safe-themes.
8296
1d00653d
SM
8297 * cus-theme.el (custom-theme-merge-theme):
8298 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8299
bb5aa5d6
MM
83002012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8301
8302 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8303 first prompt in `sql-interacive-mode'.
8304 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8305 keywords.
6df6ae42 8306 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8307 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8308 context of original buffer. Invoke `sql-login-hook'.
8309
a7183d7c
EZ
83102012-01-04 Eli Zaretskii <eliz@gnu.org>
8311
8312 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8313 letters in cite-prefix.
8314
a1eacd1e
LMI
83152012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8316
8317 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8318
787cdb34
CY
83192012-01-03 Chong Yidong <cyd@gnu.org>
8320
1d00653d
SM
8321 * shell.el (shell-dynamic-complete-functions):
8322 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8323 comint-filename-completion first (Bug#10417).
8324
30710442
RS
83252012-01-02 Richard Stallman <rms@gnu.org>
8326
8327 * battery.el (battery-status-function):
8328 Detect when to use battery-yeeloong-sysfs.
8329 (battery-echo-area-format): Add string for Yeeloong.
8330 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8331 (battery-yeeloong-sysfs): New function.
8332
f75bfc33
CY
83332012-01-02 Chong Yidong <cyd@gnu.org>
8334
8335 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8336 (dirtrack): Merge code for handling relative filenames in prompt
8337 from shell-dir-cookie-watcher.
8338 (dirtrack-debug-message): New arg to avoid excess format calls.
8339
8340 * shell.el (shell-dir-cookie-re): Variable deleted.
8341 (shell-dir-cookie-watcher): Function deleted.
8342 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8343 with dirtrack-mode.
8344
651e947e
EZ
83452012-01-01 Eli Zaretskii <eliz@gnu.org>
8346
1d00653d
SM
8347 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8348 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8349 libgnutls-26.dll.
8350
94d4c7dc
AS
83512011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8352
8353 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8354
8d43f3cd
EZ
83552011-12-31 Eli Zaretskii <eliz@gnu.org>
8356
8357 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8358 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8359
98c8795a
MA
83602011-12-29 Michael Albinus <michael.albinus@gmx.de>
8361
8362 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8363 also for alternative shells.
8364 (tramp-open-connection-setup-interactive-shell): Check, whether
8365 the shell is a busybox.
8366 (tramp-send-command): Don't suppress multiple prompts for
8367 busyboxes, it hurts.
8368
51281b32
CY
83692011-12-28 Chong Yidong <cyd@gnu.org>
8370
8371 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8372 (gdb-get-source-file): Move mode line update to
8373 gdb-get-source-file (Bug#10087).
8374
2170cb53
CY
83752011-12-25 Chong Yidong <cyd@gnu.org>
8376
8377 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8378 gud-gdb-marker-filter without taking it as an argument.
8379 (gud-gdb-run-command-fetch-lines): Caller changed.
8380 (gud-gdb-completion-function): New variable.
8381 (gud-gdb-completion-at-point): Use it.
8382 (gud-gdb-completions-1): Split from gud-gdb-completions.
8383
8384 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8385 function as separate arguments.
8386 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8387 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8388 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8389 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8390 (gdb-stopped, def-gdb-auto-update-trigger)
8391 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8392 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8393 Callers changed.
2170cb53
CY
8394 (gud-gdbmi-completions): New function.
8395 (gdb): Use it for generating the completion table.
8396
be8b11bb
AM
83972011-12-24 Alan Mackenzie <acm@muc.de>
8398
8399 Introduce a mechanism to widen the region used in context font
1d00653d 8400 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8401
1d00653d
SM
8402 * progmodes/cc-langs.el (c-before-font-lock-functions):
8403 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8404 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8405 functions to be run just before context (etc.) font locking.
8406
8407 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8408 New, functionality extracted from
be8b11bb 8409 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8410 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8411 (c-after-change): Set c-in-after-change-fontification.
8412 (c-set-fl-decl-start): Rejig its interface, so it can be called
8413 from both after-change and context fontifying.
b81d40f0
JB
8414 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8415 New functions.
8416 (c-standard-font-lock-fontify-region-function): New variable.
8417 (c-font-lock-fontify-region): New function.
be8b11bb 8418
341cf6ac
JL
84192011-12-24 Juri Linkov <juri@jurta.org>
8420
8421 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8422 (Bug#10348)
8423
bffcee0a
MA
84242011-12-23 Michael Albinus <michael.albinus@gmx.de>
8425
8426 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8427 existence of source file. (Bug#10325)
8428
cb5e207c
AM
84292011-12-23 Alan Mackenzie <acm@muc.de>
8430
8431 Fix unstable fontification inside templates.
8432
b81d40f0
JB
8433 * progmodes/cc-langs.el (c-before-font-lock-functions):
8434 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8435 additionally has c-set-fl-decl-start. The other languages (apart
8436 from AWK) have that as a single entry.
8437
b81d40f0
JB
8438 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8439 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8440 c-set-fl-decl-start.
8441
b81d40f0
JB
8442 * progmodes/cc-mode.el (c-common-init, c-after-change):
8443 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8444 (c-set-fl-decl-start): New function, extracted from
8445 c-font-lock-enclosing-decls and enhanced.
8446
60ff536c
JB
84472011-12-23 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8450
1c4757d6
JL
84512011-12-22 Juri Linkov <juri@jurta.org>
8452
8453 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8454
d031f2c7
CY
84552011-12-22 Chong Yidong <cyd@gnu.org>
8456
8457 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8458
bace743a
DA
84592011-12-21 Drew Adams <drew.adams@oracle.com>
8460
8461 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8462
728a1f2b
JC
84632011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8464
8465 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8466
0d373f73
TZ
84672011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8468
fec0aaa4
TZ
8469 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8470 highlighting and support. Fix up comments for capitalization.
8471 (cfengine-mode-debug): New var.
8472 (cfengine3-mode): Change the modeline indicator to "CFE3".
8473 (cfengine3-font-lock-keywords): Improve defun highlighting.
8474 (cfengine2-actions): Rename from `cfengine-actions'.
8475 (cfengine2-font-lock-keywords): Rename from
8476 `cfengine-font-lock-keywords'.
8477 (cfengine2-imenu-expression): Rename from
8478 `cfengine-imenu-expression'.
8479 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8480 (cfengine2-beginning-of-defun): Rename from
8481 `cfengine-beginning-of-defun'.
8482 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8483 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8484 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8485 modeline indicator to "CFE2".
8486 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8487 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8488
bc86f573
CY
84892011-12-21 Chong Yidong <cyd@gnu.org>
8490
8491 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8492 filename argument.
8493
d45ba96b
MR
84942011-12-20 Martin Rudalics <rudalics@gmx.at>
8495
8496 * window.el (window-normalize-buffer-to-display): Remove.
8497 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8498
a6198c90
CY
84992011-12-19 Chong Yidong <cyd@gnu.org>
8500
8501 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8502 Don't signal an error in a predicate function; return non-nil.
8503 (vc-dir-mark-file): Move the error here.
8504 (vc-dir-mark-unmark): If acting on the region, keep going if one
8505 of the entries cannot be marked/unmarked.
8506 (vc-dir-mark-all-files): If current entry is a directory, mark
8507 only child files, as documented.
8508
34c5fb55
VB
85092011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8510
8511 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8512 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8513 addition.
8514
c803b2b7
JD
85152011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8516
8517 * term/ns-win.el (ns-get-selection-internal)
8518 (ns-store-selection-internal): Declare.
1154d12e
JB
8519 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8520 Declare as obsolete.
8521 (ns-get-pasteboard, ns-paste-secondary):
8522 Use ns-get-selection-internal.
8523 (ns-set-pasteboard, ns-copy-including-secondary):
8524 Use ns-store-selection-internal.
c803b2b7 8525
9cff91f8 85262011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8527
8528 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8529 (vc-deduce-fileset): Doc fix.
99a289d9 8530
f16c898a
AS
85312011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8532
8533 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8534
763237c4
SS
85352011-12-13 Sam Steingold <sds@gnu.org>
8536
8537 * man.el (Man-getpage-in-background): When running under a
8538 window-system, ignore $MANWIDTH and $COLUMNS.
8539
5fc1c122
KH
85402011-12-15 Kenichi Handa <handa@m17n.org>
8541
8542 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8543 (setup-ethiopic-environment-internal): Comment out key-binding for
8544 ethio-toggle-punctuation.
8545
13d49cbb
AM
85462011-12-13 Alan Mackenzie <acm@muc.de>
8547
898169a2
AM
8548 Add the switch statement to AWK Mode.
8549
7a71b18d 8550 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8551 "default" to the keywords regexp.
8552
7a71b18d 8553 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8554 expression as the rest.
1d00653d
SM
8555 (c-nonlabel-token-key): Allow string literals for AWK.
8556 Refactor for the other modes.
898169a2 8557
13d49cbb 8558 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8559 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8560 routines. Limit backward searching in c-font-lock-enclosing.decl.
8561
8562 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8563 pp-state and literal type in addition to the limits.
1d00653d 8564 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8565 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8566 (c-slow-in-literal, c-fast-in-literal): Remove.
8567 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8568
8569 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8570 being in a literal. Add a limit for backward searching.
8571
8572 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8573 c-slow-in-literal.
8574
15e0efc7
SM
85752011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8578
454592a6
MR
85792011-12-13 Martin Rudalics <rudalics@gmx.at>
8580
8581 * window.el (delete-other-windows): Use correct frame in call to
8582 window-with-parameter.
8583
87393f26
DP
85842011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8585
8586 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8587 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8588 (makefile-gmake-statements, makefile-makepp-statements):
8589 Use it and add new makepp keywords.
8590 (makefile-makepp-font-lock-keywords): Add new patterns.
8591 (makefile-match-function-end): Match new [...] and [[...]].
8592
11636b22
JB
85932011-12-11 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * ses.el (ses-call-printer-return, ses-cell-property-get)
8596 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8597 (ses-create-cell-variable, ses-reset-header-string)
8598 (ses-cell-set-formula, ses-repair-cell-reference-all)
8599 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8600 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8601 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8602 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8603 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8604 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8605 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8606 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8607 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8608 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8609 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8610 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8611
cf018193
VB
86122011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8613
8614 * ses.el: The overall change is to add cell renaming, that is
8615 setting fancy names for cell symbols other than name matching
8616 "\\`[A-Z]+[0-9]+\\'" regexp .
8617 (ses-create-cell-variable): New defun.
8618 (ses-relocate-formula): Relocate formulas only for cells the
8619 symbols of which are not renamed, i.e. symbols whose names do not
8620 match regexp "\\`[A-Z]+[0-9]+\\'".
8621 (ses-relocate-all): Relocate values only for cells the symbols of
8622 which are not renamed.
8623 (ses-load): Create cells variables as the (ses-cell ...) are read,
8624 in order to check row col consistency with cell symbol name only
8625 for cells that are not renamed.
8626 (ses-replace-name-in-formula): New defun.
8627 (ses-rename-cell): New defun.
8628
ee957461
CY
86292011-12-11 Chong Yidong <cyd@gnu.org>
8630
8631 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8632 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8633
9a9e9ef0
MR
86342011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8635
8636 * window.el (other-window): Fix docstring.
8637
92a8eba5
EZ
86382011-12-10 Eli Zaretskii <eliz@gnu.org>
8639
8640 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8641 `from' or `to' address before taking its substring.
8642 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8643 encoded name is chopped in the middle of the encoded string, and
8644 thus displayed encoded.
8645
e152e577
JB
86462011-12-10 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8649
e5d84bfe
EZ
86502011-12-10 Eli Zaretskii <eliz@gnu.org>
8651
8652 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8653 to use texinfo-update-node and commands that call it if the
8654 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8655 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8656 (texinfo-all-menus-update, texinfo-master-menu)
8657 (texinfo-update-node, texinfo-every-node-update)
8658 (texinfo-multiple-files-update): Doc fix. Warn against updating
8659 all the @node lines.
8660 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8661 argument is numeric. Explain better in the doc string what the
8662 function really does.
8663 (texinfo-insert-master-menu-list): Improve the error message
8664 displayed if there's no menu in the Top node.
8665 (Bug#2975) See also this thread:
e5d84bfe
EZ
8666 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8667
1d84e9bb
MG
86682011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8669
8670 * speedbar.el (speedbar-supported-extension-expressions):
8671 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8672
382c953b
JB
86732011-12-09 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * printing.el (pr-mode-alist):
8676 * simple.el (filter-buffer-substring-functions)
8677 (completion-list-insert-choice-function):
8678 * window.el (window-with-parameter, window-atom-root)
8679 (window-sides-slots, window-size-fixed, window-min-delta)
8680 (window-max-delta, window--resize-mini-window)
8681 (window--resize-child-windows-normal, window-tree)
8682 (delete-other-windows, quit-window, split-window)
8683 (display-buffer-record-window, special-display-buffer-names)
8684 (special-display-regexps, special-display-popup-frame)
8685 (same-window-p, split-window-sensibly)
8686 (display-buffer-overriding-action, display-buffer-alist)
8687 (display-buffer-base-action, display-buffer, switch-to-buffer)
8688 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8689 (fit-window-to-buffer, recenter-positions)
8690 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8691 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8692 and remove unneeded backslashes in docstrings.
8693
39c9faef
SM
86942011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8695
98449af8
SM
8696 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8697
39c9faef
SM
8698 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8699 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8700 end in ".mk".
8701 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8702 when reading the makefile (bug#10116).
8703
86ed9fdc
SM
87042011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8707 (bug#10116).
8708
5580f89d
GM
87092011-12-06 Glenn Morris <rgm@gnu.org>
8710
8711 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8712
28d3917c
CY
87132011-12-06 Chong Yidong <cyd@gnu.org>
8714
8715 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8716
a98edce9
JB
87172011-12-06 Juanma Barranquero <lekktu@gmail.com>
8718
8719 * textmodes/table.el (table-shorten-cell): Fix typo.
8720
e65adfac
CG
87212011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8722
8723 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8724
71cc0b74
EZ
87252011-12-05 Eli Zaretskii <eliz@gnu.org>
8726
8727 * descr-text.el (describe-char): Fix display of strong
8728 right-to-left characters and directional embeddings and overrides.
8729
8730 * simple.el (what-cursor-position): Fix display of codepoints of
8731 strong right-to-left characters.
8732
315bc30d
CY
87332011-12-05 Chong Yidong <cyd@gnu.org>
8734
8735 * faces.el (read-color): Doc fix.
8736
58a70b94
GM
87372011-12-05 Glenn Morris <rgm@gnu.org>
8738
8739 * align.el (align--set-marker): Add doc-string.
8740 Don't try to move something that is not a marker. (Bug#10216)
8741
5158face
GM
87422011-12-04 Glenn Morris <rgm@gnu.org>
8743
8744 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8745 overly zealous deletion of trailing whitespace.
8746
520fca41
JB
87472011-12-04 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * server.el (server-delete-client): On Windows, do not try to delete
8750 the only terminal.
8751 (server-process-filter): On Windows, treat requests for a tty frame as
8752 if they were for a GUI frame if the running server is in GUI mode.
8753
5e605a2e
GM
87542011-12-03 Glenn Morris <rgm@gnu.org>
8755
8756 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8757
5c3fe83f
SM
87582011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8759
6f5e57e7
SM
8760 * electric.el: Streamline electric-indent's hook.
8761 (electric-indent-chars): Revert to simple list.
8762 (electric-indent-functions): New var.
8763 (electric-indent-post-self-insert-function): Use it.
8764
5c3fe83f
SM
8765 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8766 there's no inferior buffer (bug#10196).
8767 (prolog-consult-compile): Don't use toggle-read-only.
8768
6bdac736
MA
87692011-12-02 Michael Albinus <michael.albinus@gmx.de>
8770
8771 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8772 interrupt. (Bug#10187)
8773
6131ba7f
SM
87742011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8775
99c79fee
SM
8776 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8777 (bug#9160).
8778
6131ba7f
SM
8779 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8780 (bug#10191).
8781
cb0a02ea
JL
87822011-12-02 Juri Linkov <juri@jurta.org>
8783
8784 * info.el (Info-search): Display "end of manual" when Isearch
8785 reaches the end of single-file Info manual. (Bug#9918)
8786
66e0570c
EZ
87872011-12-02 Eli Zaretskii <eliz@gnu.org>
8788
8789 * isearch.el (isearch-message-prefix): Run the input method part
8790 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8791
02b16839
JL
87922011-12-02 Juri Linkov <juri@jurta.org>
8793
8794 * isearch.el (isearch-occur): Use `word-search-regexp' for
8795 `isearch-word'.
8796 (isearch-search-and-update): Add condition for `isearch-word' and
8797 call `word-search-regexp'. (Bug#10145)
8798
0b950688
GM
87992011-12-01 Glenn Morris <rgm@gnu.org>
8800
8801 * eshell/em-hist.el (eshell-hist-initialize):
8802 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8803 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8804
9505c3c7
SM
88052011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8808
1bbe96b2 88092011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8810
a1beca85
SM
8811 * progmodes/verilog-mode.el (verilog-pretty-expr):
8812 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8813 verilog, such as += *= and the like.
8814 (verilog-assignment-operator-re): Regular expression to find the
8815 assigment operator in a verilog assignment.
8816 (verilog-assignment-operation-re): Regular expression to find an
8817 assignment statement for pretty-expr.
8818 (verilog-in-attribute-p): Query returns true if point is in an
8819 attribute context; used to skip these for expression line up from
8820 pretty-expr.
8821 (verilog-in-parameter-p): Query returns true if point is in an
8822 parameter definition context; used to skip these for expression
8823 line up from pretty-expr.
8824 (verilog-in-parenthesis-p): Query returns true if point is in a
8825 parenthetical expression, specifically ( ) but not [ ] or { };
8826 used by pretty-expr.
8827 (verilog-just-one-space): If there is no space, don't add one.
8828 (verilog-get-lineup-indent-2): Specifically skip just attribute
8829 contexts for expression lineup, rather than skipping all
8830 parenthetical expressions.
8831 (verilog-calculate-indent): Fix comment, and fix indent.
8832 (verilog-do-indent): Indent declarations in lists (suggested by
8833 Joachim Lechner).
8834 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8835 skeleton items.
8836 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8837 by Alain Mellan).
8838
1bbe96b2 88392011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8840
8841 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8842 parameters with embedded comments. Reported by Ray Stevens.
8843 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8844 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8845 Reported by Tim Holt.
8846 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8847 instantiated by upper module causing wrong expansion until AUTOed a
8848 second time. Reported by K C Buckenmaier.
8849 (verilog-diff-auto): Fix showing .* as a difference when
8850 `verilog-auto-star-save' off. Reported by Dan Dever.
8851 (verilog-auto-reset, verilog-read-always-signals)
8852 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8853 temporary signals in reset list if
8854 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8855 style to each signal's assignment type, bug381.
8856 Reported by Thomas Esposito.
6288f0ca
WS
8857 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8858 (verilog-uvm-statement-re): Support UVM indentation and
8859 highlighting, with old OVM keywords only.
a1beca85 8860 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8861 Support AUTOTIEOFF creating non-wire data types.
8862 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8863 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8864 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8865 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8866 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8867 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8868 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8869 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8870 non-numeric vector width. Reported by Alex Reed.
8871 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8872 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8873 (verilog-auto-delete-trailing-whitespace):
8874 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8875 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8876 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8877 Fix verilog-scan-cache corruption when running user AUTO expansion
8878 hooks that call indentation routines.
8879 (verilog-simplify-range-expression): Fix typo ignoring lower case
8880 identifiers.
8881 (verilog-delete-auto): Fix delete-autos to also remove user created
8882 automatics, as long as they start with AUTO.
8883 (verilog-batch-diff-auto, verilog-diff-auto)
8884 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8885 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8886 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8887 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8888 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8889 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8890 is disabled and its cache will get corrupt, causing AUTOS not to
8891 expand. Instead use only -quick functions.
8892 (verilog-scan-region): Fix scanning over escaped quotes.
8893 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8894 (verilog-re-search-backward-quick)
8895 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8896 related functions now ignore strings, to fix misparsing of strings
8897 with magic comments embedded in them.
a1beca85
SM
8898 (verilog-read-auto-template):
8899 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8900 Reported by Brad Dobbie.
8901 (verilog-read-auto-template):
8902 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8903 Reported by Brad Dobbie.
6288f0ca
WS
8904 (verilog-auto-inst, verilog-auto-inst-param)
8905 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8906 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8907 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8908 debugging templates without merge conflicts, bug357.
8909 Reported by Brad Dobbie.
8910 (verilog-read-auto-template):
8911 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8912 Reported by Brad Dobbie.
8913 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8914 abbrevs so user won't be asked to save.
8915 (verilog-read-auto-lisp-present): Fix to start at beginning of
8916 buffer in case called outside of verilog-auto.
8917 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8918 to "X-2". Reported by Matthew Myers.
8919 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8920 all inputs from module templates. Reported by Leith Johnson.
8921 (verilog-module-inside-filename-p): Fix locating programs as with
8922 modules.
8923 (verilog-auto-inst-port): Fix vl-width expressions when using
8924 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8925 (verilog-decls-get-regs, verilog-decls-get-signals,
8926 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8927 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8928 verilog-read-decls): Combine reg and wire structures into one var
8929 structure to represent SystemVerilog concepts.
8930 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8931 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8932 (verilog-auto-wire-type, verilog-insert-definition):
8933 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8934 SystemVerilog "logic" keyword instead of "wire"/"reg".
8935 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8936 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8937 ifdef or generate if so there's not a driver conflict).
8938 Reported by Matthew Myers.
8939 (verilog-auto-declare-nettype, verilog-insert-definition):
8940 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8941 `default_nettype none. Reported by Julian Gorfajn.
8942 (verilog-read-always-signals-recurse, verilog-read-decls)
8943 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8944 malformed end statement, bug325. Reported by Joshua Wise and
8945 Andrew Drake.
8946 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8947 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8948 when expanding .* in interfaces, bug320.
8949 Reported by Pierre-David Pfister.
6288f0ca 8950 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8951 name and open parenthesis, bug317.
8952 Reported by Pierre-David Pfister.
6288f0ca
WS
8953 (verilog-simplify-range-expression): Fix simplification of
8954 multiplications inside AUTOWIRE connections, bug303.
8955 (verilog-auto-inst-port): Support parameter expansion in
8956 multidimensional arrays.
8957 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8958 after "assert property". Reported by Julian Gorfajn.
8959 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8960 with multiplication, bug303.
8961 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8962 Reported by Jan Frode Lonnum.
8963
1bbe96b2
GM
89642011-11-30 Juanma Barranquero <lekktu@gmail.com>
8965
8966 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8967 (hfy-shell-file-name, hfy-shell):
8968 * international/fontset.el (x-decompose-font-name): Fix typos.
8969
89702011-11-29 Ken Brown <kbrown@cornell.edu>
8971
8972 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8973 (gdb-version): Remove defvar.
8974 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8975 (gdb-gud-context-command, gdb-non-stop-handler)
8976 (gdb-current-context-command, gdb-stopped): Use it.
8977 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8978 (gdb-non-stop-handler): Don't enable pretty-printing here.
8979 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8980 non-stop mode. Use the following.
8981 (gdb-check-target-async): New defun.
8982 (gud-watch, gdb-stopped): Fix whitespace.
8983 (gdb-get-source-file): Don't try to display the source file if
8984 `gdb-main-file' is nil.
8985
89862011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * align.el: Try to generate fewer markers (bug#10047).
8989 (align--set-marker): New macro.
8990 (align-region): Use it.
8991
c935221f
SM
89922011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8995
e70b5064
CY
89962011-11-29 Chong Yidong <cyd@gnu.org>
8997
8998 * indent.el (indent-for-tab-command, indent-according-to-mode):
8999 Doc fix.
9000 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9001
f3af92b7
MA
90022011-11-29 Michael Albinus <michael.albinus@gmx.de>
9003
9004 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9005 aware of remote file names. (Bug#10124)
9006
ed472be9
CY
90072011-11-29 Chong Yidong <cyd@gnu.org>
9008
9009 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9010
24510c22
SM
90112011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * files.el (find-file): Don't use force-same-window (bug#10144).
9014 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9015 use pop-to-buffer if the selected window can't be used.
9016 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9017
c60c3703
EZ
90182011-11-28 Eli Zaretskii <eliz@gnu.org>
9019
9020 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9021 special-mode-map.
9022
e95def75
CY
90232011-11-28 Chong Yidong <cyd@gnu.org>
9024
9025 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9026
c3f1c606
NR
90272011-11-27 Nick Roberts <nickrob@snap.net.nz>
9028
9029 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9030 gdb-get-source-file-list on gdb-create-source-file-list.
9031
00db469c
EZ
90322011-11-26 Eli Zaretskii <eliz@gnu.org>
9033
9034 * whitespace.el (whitespace-newline): Use a different foreground
9035 color for 16-color light-background displays.
9036
4ad3bc2a
CY
90372011-11-24 Chong Yidong <cyd@gnu.org>
9038
9039 * window.el (display-buffer--special-action): Doc fix.
9040
e9fce1ac
JB
90412011-11-25 Juanma Barranquero <lekktu@gmail.com>
9042
9043 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9044 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9045 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9046 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9047 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9048 (avl-tree-stack-first):
9049 * emacs-lisp/cconv.el (cconv--analyse-use):
9050 * net/gnutls.el (gnutls-negotiate): Fix typos.
9051
cb825e5d
GM
90522011-11-24 Glenn Morris <rgm@gnu.org>
9053
3adbe224
GM
9054 * lpr.el (lpr-windows-system, lpr-lp-system):
9055 * mail/binhex.el (binhex-begin-line):
9056 * progmodes/grep.el (grep-history, grep-find-history):
9057 * textmodes/flyspell.el:
9058 * vc/pcvs-defs.el (cvs-global-menu):
9059 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9060 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9061 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9062
321decc8
GM
9063 * net/tls.el: Fix case of "GnuTLS".
9064
420b63ad
GM
9065 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9066
cb825e5d
GM
9067 * version.el (emacs-build-system): Give it a doc-string.
9068
a0649f08
JL
90692011-11-24 Juri Linkov <juri@jurta.org>
9070
9071 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9072
c0bc0fd4
GM
90732011-11-24 Glenn Morris <rgm@gnu.org>
9074
9075 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9076 if called on a non-mime message just toggle the headers. (Bug#8006)
9077
20db1522
JB
90782011-11-24 Juanma Barranquero <lekktu@gmail.com>
9079
9080 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9081 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9082 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9083 (allout-rebullet-heading, allout-open-sibtopic)
9084 (allout-toggle-current-subtree-encryption)
9085 (allout-toggle-subtree-encryption, allout-encrypt-string)
9086 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9087 (allout-distinctive-bullets-string, allout-auto-activation):
9088 * window.el (window-normalize-buffer-to-display):
9089 * progmodes/verilog-mode.el (verilog-batch-indent):
9090 * textmodes/bibtex.el (bibtex-field-braces-opt)
9091 (bibtex-field-strings-opt):
9092 * vc/cvs-status.el (cvs-tree-merge):
9093 Fix typos.
9094
7262a87c
MA
90952011-11-23 Michael Albinus <michael.albinus@gmx.de>
9096
9097 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9098 `non-essential' to t, in order to avoid remote connections.
9099
283430a1
EZ
91002011-11-23 Eli Zaretskii <eliz@gnu.org>
9101
a1beca85
SM
9102 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9103 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9104 case-insensitively.
9105
d2992a38
ML
91062011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9107
9108 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9109
50419064
GM
91102011-11-23 Glenn Morris <rgm@gnu.org>
9111
da94eca1
GM
9112 * paths.el (rmail-file-name): Reformat the doc-string so that it
9113 is picked up.
9114
9aac4de2
GM
9115 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9116 (rmail-auto-file): Ignore case in the "special" field names,
9117 as mail-fetch-field does for all others.
9118
8038d2d2
GM
9119 * mail/rmail.el (rmail-forward):
9120 * mail/rmailkwd.el (rmail-set-label):
9121 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9122 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9123
f3fe222a
GM
9124 * mail/rmail.el (rmail-current-message): Doc fix.
9125
50419064
GM
9126 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9127
28109f49
SM
91282011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9131
394c65f1
GM
91322011-11-22 Glenn Morris <rgm@gnu.org>
9133
9134 * mail/rmailmm.el (test-rmail-mime-handler)
9135 (test-rmail-mime-bulk-handler)
9136 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9137
f2a0aa3a
JL
91382011-11-21 Juri Linkov <juri@jurta.org>
9139
1154d12e
JB
9140 * calc/calc.el (calc-read-key-sequence):
9141 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9142
9c34a344
LMI
91432011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
9145 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9146 Tell the caller that the next line needs recomputation, even
9147 though it doesn't start a sexp (bug#10094).
9148
f04a3be9
SM
91492011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9152
7978747f
SM
91532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9154
f04a3be9
SM
9155 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9156 Use force-same-window.
7978747f 9157
fe7a3057
JB
91582011-11-20 Juanma Barranquero <lekktu@gmail.com>
9159
9160 * descr-text.el (describe-char-unicode-data):
9161 * json.el (json-string-escape):
9162 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9163 (Footnote-unicode, Footnote-style-p):
9164 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9165
24901d61
CY
91662011-11-20 Chong Yidong <cyd@gnu.org>
9167
9168 * window.el (replace-buffer-in-windows): Restore interactive spec.
9169
bac7ff22
SM
91702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9171
24f3d7b9
SM
9172 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9173
bac7ff22
SM
9174 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9175 (byte-compile-global-not-obsolete-vars): New var.
9176 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9177 Use it.
9178 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9179
cd1181db
JB
91802011-11-20 Juanma Barranquero <lekktu@gmail.com>
9181
9182 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9183 * progmodes/pascal.el (electric-pascal-equal):
9184 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9185 * xml.el (xml-substitute-special): Fix typos.
9186
7fb18e9e
GM
91872011-11-20 Glenn Morris <rgm@gnu.org>
9188
9189 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9190 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9191 Doc fixes.
9192 (rmail-decode-mime-charset): Mark as obsolete.
9193
9194 * mail/rmailsum.el (rmail-message-regexp-p-1):
9195 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9196 Before using mime functions, check they are set. (Bug#10077)
9197
d5a6b3ba
JL
91982011-11-19 Juri Linkov <juri@jurta.org>
9199
9200 * info.el (Info-finder-find-node): Use `package--builtins' instead
9201 of `package-alist'. Use node names formed by the pattern "Keyword "
9202 and the keyword name.
9203
e981b61f
AS
92042011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9205
1d00653d 9206 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9207
3ffbc301
JL
92082011-11-19 Juri Linkov <juri@jurta.org>
9209
9210 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9211 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9212 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9213 `old-history', `old-history-forward'. Add let-binding
9214 `window-selected'. Remove calls to `kill-buffer',
9215 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9216 before calling `Info-find-node', so `Info-find-node-2' will reread
9217 the Info file. Restore window positions only when `window-selected'
9218 is non-nil.
9219
30c62133
JL
92202011-11-19 Juri Linkov <juri@jurta.org>
9221
9222 * isearch.el (isearch-lazy-highlight-new-loop):
9223 Remove condition `(not isearch-error)'. (Bug#9918)
9224
9225 * misearch.el (multi-isearch-search-fun): Add condition
9226 `(not bound)' to ignore lazy-highlighting search.
9227 Add the search-failed message "end of multi" when the end of
9228 multi-sequence is reached. Uncapitalize the search-failed
9229 message "Repeat for next buffer".
9230
9231 * info.el (Info-search): Add the search-failed message
9232 "end of the manual" when the end of the manual is reached
9233 in Isearch mode.
9234
645ca9cf
JL
92352011-11-19 Juri Linkov <juri@jurta.org>
9236
9237 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9238 Use non-destructive `remove' instead of `delete' because
9239 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9240 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9241
df754f66
JL
92422011-11-19 Juri Linkov <juri@jurta.org>
9243
9244 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9245 to nil instead of binding `search-ring' and `regexp-search-ring'.
9246 (Bug#9185)
9247
0e23d96a
EZ
92482011-11-19 Eli Zaretskii <eliz@gnu.org>
9249
9250 * simple.el (line-move): Force movement by logical lines for any
9251 hscrolled window, not only when auto-hscroll-mode is on.
9252 (line-move-visual): Update doc string to that effect. (Bug#10076)
9253
8a6ccb66
AS
92542011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9255
9256 * language/european.el (macintosh): Define as alias for mac-roman.
9257
49ae5b39
EZ
92582011-11-19 Eli Zaretskii <eliz@gnu.org>
9259
9260 * mail/rmailmm.el (rmail-mime-display-header)
9261 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9262 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9263 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9264 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9265 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9266 of a raw aref.
9267 (rmail-mime-entity-segment): To get past the tagline, move forward
9268 2 more lines, to account for the 2 empty lines that precede and
9269 follow the line with the buttons.
9270 (rmail-mime-update-tagline): Move one more line, to get past the
9271 empty line that follows the buttons in the tagline. (Bug#9520)
9272
c56cad4a
MR
92732011-11-19 Martin Rudalics <rudalics@gmx.at>
9274
9275 * window.el (window-max-delta-1, window-min-delta-1)
9276 (window-min-size-1, window-state-get-1, window-state-put-1)
9277 (window-state-put-2): Use "window--" prefix.
9278
cbe71af3
SM
92792011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9280
2ad52c60
SM
9281 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9282 (smie-warning-count): New var.
9283 (smie-set-prec2tab): Use it.
9284 (smie-bnf->prec2): Improve warnings. Add docstring.
9285 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9286 (smie-bnf--set-class): New function.
9287 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9288 corner case.
9289
6944dbc1
SM
9290 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9291 (compilation-error-properties, compilation-move-to-column):
9292 Handle compilation-first-column while in the target buffer.
9293
c400c4d7
SM
9294 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9295 Don't hardcode point-min==1.
9296
6dbe3e96
SM
9297 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9298 (eshell-rewrite-for-command): Remove workaround.
9299 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9300 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9301 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9302
cbe71af3
SM
9303 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9304
a8e1496d
GM
93052011-11-17 Glenn Morris <rgm@gnu.org>
9306
9307 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9308 Ignore buffer-local generated-autoload-file if it is the same
9309 as the global value. (Bug#10049)
9310
df85d315
JB
93112011-11-17 Juanma Barranquero <lekktu@gmail.com>
9312
9313 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9314 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9315 (reftex-toc-previous-heading, reftex-toc-max-level)
9316 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9317 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9318 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9319 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9320 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9321 (reftex-toc-rename-label, reftex-toc-visit-location)
9322 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9323 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9324 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9325 leaving "*toc*" only for references to the buffer.
9326
a0c2d0ae
MR
93272011-11-17 Martin Rudalics <rudalics@gmx.at>
9328
9329 * window.el (window-resize, delete-window, split-window):
9330 Replace window-splits by window-combination-resize.
1d00653d 9331 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9332
35c0bac8
GM
93332011-11-17 Glenn Morris <rgm@gnu.org>
9334
9335 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9336 Make bash entry derive from sh entry, not shell entry.
9337
d0c8fc8a
MA
93382011-11-16 Michael Albinus <michael.albinus@gmx.de>
9339
7262a87c
MA
9340 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9341 local file name.
9342
7877f373
JB
93432011-11-16 Juanma Barranquero <lekktu@gmail.com>
9344
9345 * menu-bar.el (menu-bar-file-menu):
9346 * printing.el (pr-ps-utility):
9347 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9348 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9349 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9350 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9351 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9352 (icalendar--convert-cyclic-to-ical)
9353 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9354 (icalendar--convert-ical-to-diary)
9355 (icalendar--convert-recurring-to-diary)
9356 (icalendar--convert-non-recurring-all-day-to-diary)
9357 (icalendar-import-format-sample):
9358 * progmodes/idlw-shell.el (idlwave-shell-mode):
9359 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9360 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9361 (vhdl-ps-print-init): Fix typos.
9362
10649b82
KM
93632011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9364
9d0cfcd6
GM
9365 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9366 FSF and collapse date sequence, obscure author/maintainer email address
9367 better, remove extra version line, track relocation of author's webpage.
10649b82 9368
9d0cfcd6
GM
9369 * progmodes/python.el (python-pdbtrack-input-prompt)
9370 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9371 regular python pdb prompts. Adjustments shamelessly taken exactly as
9372 suggested in EmacsWiki page (tiny change):
9373 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9374
58179cce
JB
93752011-11-16 Juanma Barranquero <lekktu@gmail.com>
9376
9377 * expand.el (expand-pos, expand-index, expand-point):
9378 Remove redundant info from docstring.
9379 (expand-add-abbrevs): Doc fix.
9380 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9381 (expand-sample-perl-mode-expand-list): Fix typos.
9382
9383 * net/dbus.el (dbus-event-member-name):
9384 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9385 * term/pc-win.el (msdos-create-frame-with-faces):
9386 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9387
b6f67890
MR
93882011-11-16 Martin Rudalics <rudalics@gmx.at>
9389
9390 * window.el (split-window, window-state-get-1)
9391 (window-state-put-1, window-state-put-2): Rename occurrences of
9392 window-nest to window-combination-limit.
1d00653d 9393 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9394
ce7ddba0
CY
93952011-11-16 Chong Yidong <cyd@gnu.org>
9396
9397 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9398 regexp (Bug#10033).
9399
3ae704f4
SM
94002011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9403 `completing-read' will remove *Completions* and will preserve
9404 current-buffer for us.
9405 (tmm-add-prompt): Users of *Completions* will always (re)set its
9406 major mode.
9407 (tmm-old-comp-map): Remove.
9408
6ad1cdde
GM
94092011-11-16 Glenn Morris <rgm@gnu.org>
9410
9411 * mail/rmailedit.el: Require rmailmm when compiling.
9412 (rmail-old-mime-state): New declaration.
9413 (rmail-edit-current-message): If editing a mime message,
9414 edit the "raw" message from the mbox buffer.
9415 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9416
d20faa20
GM
94172011-11-15 Glenn Morris <rgm@gnu.org>
9418
9419 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9420 which wasn't being used. Add optional arg to force given state.
9421 (rmail-mime): Add optional arg to force given state.
9422
c7015153
JB
94232011-11-15 Juanma Barranquero <lekktu@gmail.com>
9424
9425 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9426 * frame.el (display-mm-dimensions-alist):
9427 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9428 (outline-move-subtree-down):
9429 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9430 (newsticker--treeview-do-get-node):
9431 * net/quickurl.el (quickurl-list-buffer-name):
9432 * progmodes/dcl-mode.el (dcl-mode):
9433 * progmodes/gdb-mi.el (gdb-mapcar*):
9434 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9435
45261b50
GM
94362011-11-15 Glenn Morris <rgm@gnu.org>
9437
9438 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9439 in a boolean sense, so just make it a boolean, and fix the doc.
9440 (rmail-show-mime-function, rmail-mime-feature)
9441 (rmail-require-mime-maybe): Doc fixes.
9442 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9443
9444 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9445
0d26e0b6
JB
94462011-11-15 Juanma Barranquero <lekktu@gmail.com>
9447
9448 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9449 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9450 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9451 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9452
447f30f6
GM
94532011-11-15 Glenn Morris <rgm@gnu.org>
9454
672b871d
GM
9455 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9456 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9457 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9458 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9459 (rmail-mime, rmail-show-mime): Doc fixes.
9460
f6aa5bb1
GM
9461 * term/ns-win.el (mode-line-frame-identification):
9462 Leave it alone. (Bug#10051)
9463
947cd66b
GM
9464 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9465
447f30f6
GM
9466 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9467 Handle empty buffers. (Bug#9978)
9468
0b381c7e
JB
94692011-11-14 Juanma Barranquero <lekktu@gmail.com>
9470
9471 * international/mule.el (define-charset):
9472 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9473 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9474 * progmodes/verilog-mode.el (verilog-backward-token):
9475 * textmodes/ispell.el (lookup-words):
9476 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9477
71e027ac
GM
94782011-11-14 Glenn Morris <rgm@gnu.org>
9479
56632ce4
GM
9480 * progmodes/executable.el
9481 (executable-make-buffer-file-executable-if-script-p):
9482 Handle file-modes returning nil.
9483
40500957
GM
9484 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9485 message - not necessary, and causes problems. (Bug#9831)
9486
071c2340
GM
9487 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9488
d3cfca60
GM
9489 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9490
71e027ac
GM
9491 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9492 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9493 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9494
89d61221
MR
94952011-11-12 Martin Rudalics <rudalics@gmx.at>
9496
9497 * window.el (window-resize, delete-window): Use window-splits
9498 variable instead of function.
9499 (window-state-get-1, window-state-put-2, window-state-put):
9500 Don't deal with windows' splits status.
9501
98282f6f
GM
95022011-11-12 Glenn Morris <rgm@gnu.org>
9503
9504 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9505 (apropos-documentation): Doc fixes.
9506
40a8bdf6
JB
95072011-11-11 Juanma Barranquero <lekktu@gmail.com>
9508
9509 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9510 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9511
65bd19ff
SM
95122011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * electric.el (electric-indent-post-self-insert-function): Make it
9515 possible for a char to only indent in some circumstances.
9516 (electric-indent-mode): Simplify.
9517
54f9154c
MR
95182011-11-11 Martin Rudalics <rudalics@gmx.at>
9519
9520 * window.el (windows-with-parameter): Remove unused function.
9521 (windows-at-side): Rename to window-at-side-list.
9522 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9523 (window-side-check, window-size-ignore, window-size-fixed-1)
9524 (window-in-direction-2): Prefix with "window--".
9525 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9526
68cbc58b
GM
95272011-11-11 Glenn Morris <rgm@gnu.org>
9528
9529 * subr.el (eval-after-load): If FILE is already loaded,
9530 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9531
b2621720
GM
95322011-11-10 Glenn Morris <rgm@gnu.org>
9533
9a4de110
GM
9534 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9535 Call svn via vc-svn-command rather than vc-do-command.
9536 (vc-svn-command): Add --non-interactive. (Bug#9993)
9537 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9538
b2621720
GM
9539 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9540 Add toggle-read-only. (Bug#7292)
9541 * files.el (toggle-read-only): Mention that it should only
9542 be used interactively. (Bug#10006)
9543
1dce7193
SM
95442011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9545
d9ac1a1e
SM
9546 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9547 Adjust regexp for OCaml warnings.
9548
0c325082
SM
9549 * electric.el (electric-pair-post-self-insert-function): Let user
9550 turn it off buffer-locally (bug#9932).
9551
90132c14
SM
9552 * progmodes/python.el (python-beginning-of-statement):
9553 Rewrite (bug#2703).
9554
1dce7193
SM
9555 * progmodes/compile.el: Better handle TABs (bug#9749).
9556 (compilation-internal-error-properties)
9557 (compilation-next-error-function): Obey the target buffer's
9558 compilation-error-screen-columns.
9559
c4e7c63a
JB
95602011-11-09 Juanma Barranquero <lekktu@gmail.com>
9561
9562 * progmodes/meta-mode.el: Remove obsolete comments.
9563 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9564 Fix typos in docstrings.
9565
2cffd681
MR
95662011-11-09 Martin Rudalics <rudalics@gmx.at>
9567
9568 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9569 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9570 (window--resizable): New function. Make all callers of
9571 window-resizable call window--resizable instead.
9572 (window-resizable): Rewrite in terms of window--resizable.
9573
0edcba87
GM
95742011-11-08 Glenn Morris <rgm@gnu.org>
9575
9576 * progmodes/delphi.el (delphi-mode-syntax-table):
9577 Let define-derived-mode define a proper syntax table. (Bug#9994)
9578
4b0d61e3
SM
95792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * window.el: Stay away from defsubst.
9582 (window-list-no-nils): Remove.
9583 (window-state-get-1, window-state-get): Use backquote instead.
9584
cd394be1 95852011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9586
4b0d61e3 9587 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9588 Fix incorrect use of default argument in `completing-read'.
9589
e1c2c6f2
MR
95902011-11-08 Martin Rudalics <rudalics@gmx.at>
9591
9592 * window.el (display-buffer-function, special-display-function):
9593 Mention display-buffer-record-window but do not mention
9594 help-setup parameter in doc-strings.
b3f4a882 9595 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9596
105216ed
CY
95972011-11-08 Chong Yidong <cyd@gnu.org>
9598
9599 * window.el (window-total-height, window-total-width): Doc fix.
9600 (window-body-size): Move from C.
9601 (window-body-height, window-body-width): Move to C.
9602
0a9f9ab5
SM
96032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * window.el: Make special-display like display-buffer-alist (bug#9532).
9606 (display-buffer--special-action): New function, morphed
9607 from display-buffer--special.
9608 (display-buffer): Use it to handle special-display-buffers at higher
9609 priority (just after display-buffer-alist).
9610 (display-buffer-fallback-action, display-buffer--other-frame-action)
9611 (pop-to-buffer-same-window): Remove display-buffer--special.
9612
a769dd15
GM
96132011-11-07 Glenn Morris <rgm@gnu.org>
9614
9615 * calendar/cal-menu.el (cal-menu-set-date-title):
9616 Do nothing if not in a calendar. (Bug#9976)
9617
05a61ee3
SM
96182011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * files.el (find-file): Always use selected-window.
9621
be7f5545
MR
96222011-11-07 Martin Rudalics <rudalics@gmx.at>
9623
9624 * window.el (window-combinations): Make WINDOW argument
9625 mandatory. Rewrite doc-string.
9626 (walk-window-subtree, window-atom-check, window-min-delta)
9627 (window-max-delta, window--resize-this-window)
9628 (window--resize-root-window-vertically, window-tree)
9629 (balance-windows, window-state-put): Rewrite doc-strings as to
9630 not mention the term "subwindow".
9631 (window--resize-subwindows-skip-p): Rename to
9632 window--resize-child-windows-skip-p.
9633 (window--resize-subwindows-normal): Rename to
9634 window--resize-child-windows-normal.
9635 (window--resize-subwindows): Rename to
9636 window--resize-child-windows.
9637 (window-or-subwindow-p): Rename to window--in-subtree-p.
9638
3c6702ef
ML
96392011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9640
9641 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9642 Ensure that mbox format messages end in two newlines (Bug#9974).
9643
49745b39
CY
96442011-11-06 Chong Yidong <cyd@gnu.org>
9645
9646 * window.el (window-combination-p): Function deleted; its
9647 side-effect is not used in any existing code.
9648 (window-combinations, window-combined-p): Call window-*-child
9649 directly.
9650
24300f5f
CY
96512011-11-05 Chong Yidong <cyd@gnu.org>
9652
9653 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9654 (window-size-ignore, window-state-get): Callers changed.
9655 (window-normalize-window): Rename from window-normalize-any-window.
9656 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9657 (window-normalize-live-window): Delete.
447f16b8
CY
9658 (window-combination-p, window-combined-p, window-combinations)
9659 (walk-window-subtree, window-atom-root, window-min-size)
9660 (window-sizable, window-sizable-p, window-size-fixed-p)
9661 (window-min-delta, window-max-delta, window-resizable)
9662 (window-resizable-p, window-full-height-p, window-full-width-p)
9663 (window-current-scroll-bars, window-point-1, set-window-point-1)
9664 (window-at-side-p, window-in-direction, window-resize)
9665 (adjust-window-trailing-edge, maximize-window, minimize-window)
9666 (window-deletable-p, delete-window, delete-other-windows)
9667 (record-window-buffer, unrecord-window-buffer)
9668 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9669 (quit-window, split-window, window-state-put)
9670 (set-window-text-height, fit-window-to-buffer)
9671 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9672
89bd5ee1
EZ
96732011-11-04 Eli Zaretskii <eliz@gnu.org>
9674
53479029
EZ
9675 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9676 rfc2047-decode-string.
9677 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9678 warnings.
9679
89bd5ee1
EZ
9680 * window.el (window-body-height, window-body-width): Mention in
9681 the doc string that the return values are in frame's canonical
9682 units. (Bug#9949)
9683
bd17fdee
AM
96842011-11-03 Alan Mackenzie <acm@muc.de>
9685
9686 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9687 change in cc-engine.el.
9688
acc825c5
SM
96892011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9692
1885e5b8
MR
96932011-11-02 Martin Rudalics <rudalics@gmx.at>
9694
9695 * window.el (quit-window): Call unrecord-window-buffer after
9696 showing another buffer in the window. (Bug#9937)
acc825c5 9697 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9698
ebe06da9
JB
96992011-11-02 Juanma Barranquero <lekktu@gmail.com>
9700
9701 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9702 Accept status with more than 9 shelves. (Bug#9935)
9703 Reported by Colin D Bennett <colin@gibibit.com>.
9704
4ee88440
MR
97052011-11-01 Martin Rudalics <rudalics@gmx.at>
9706
9707 * help.el (with-help-window): Don't reference
9708 temp-buffer-show-specifiers in doc-string.
9709
08e1d82c
AS
97102011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9711
9712 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9713 menu-item.
9714
84bd6e9e
VJL
97152011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9716
9717 * whitespace.el: New version 13.2.2.
9718 (whitespace-newline-mode): Disable properly. Reported by Sarah
9719 <EmacsWiki>.
9720
dba0634a
UJ
97212011-10-30 Ulf Jasper <ulf.jasper@web.de>
9722
9723 * net/newst-treeview.el: Remove "Time-stamp".
9724 (newsticker--group-manage-orphan-feeds): Do not call
9725 newsticker--treeview-tree-update.
db22a3c2
JB
9726 (newsticker-treeview-update, newsticker-treeview):
9727 Call newsticker--treeview-tree-update if necessary.
dba0634a 9728
3d8daefe
MR
97292011-10-30 Martin Rudalics <rudalics@gmx.at>
9730
9731 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9732 (window-iso-combinations): Remove "iso-" infix.
9733 Suggested by Chong Yidong.
3d8daefe
MR
9734 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9735 (window-max-delta-1, window-resize, window--resize-siblings)
9736 (window--resize-this-window, adjust-window-trailing-edge)
9737 (split-window, balance-windows-1)
9738 (shrink-window-if-larger-than-buffer):
9739 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9740 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9741
1bc4c3ae
SM
97422011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9743
9744 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9745 in place (bug#9907).
9746 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9747 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9748 (eshell-structure-basic-command, eshell-rewrite-while-command)
9749 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9750 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9751 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9752 (eshell-do-pipelines-synchronously, eshell-eval-command):
9753 Use backquotes and prefer setq to set.
9754 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9755 (eshell-macrop): Use functionp.
c1e2f5fa 9756 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9757
30b65d9c
CY
97582011-10-30 Chong Yidong <cyd@gnu.org>
9759
9760 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9761 instead of set-mark (Bug#9810).
9762
2d197ffb
CY
97632011-10-30 Chong Yidong <cyd@gnu.org>
9764
9765 * window.el (split-window-below, split-window-right): Rename from
9766 split-window-above-each-other and split-window-side-by-side
9767 respectively. All callers changed.
9768 (split-window-sensibly, split-window-sensibly): Use them.
9769 (split-window-keep-point): Doc fix.
9770
9771 * isearch.el: Add isearch-scroll property to split-window-below
9772 and split-window-right.
9773
9774 * follow.el (follow-mode):
9775 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9776 * progmodes/ada-xref.el (ada-gdb-application):
9777 * emulation/vip.el (vip-buffer-in-two-windows):
9778 * image-dired.el (image-dired-dired-with-window-configuration):
9779 * dired-x.el (dired-do-find-marked-files):
9780 * dired.el (dired-pop-to-buffer):
9781 * bs.el (bs--show-with-configuration):
9782 * vc/emerge.el (emerge-setup-windows):
9783 * textmodes/two-column.el (2C-two-columns):
9784 * textmodes/reftex-toc.el (reftex-toc):
9785 * progmodes/gdb-mi.el (gdb-setup-windows):
9786 * progmodes/fortran.el (fortran-window-create):
9787 * net/newst-treeview.el (newsticker--treeview-window-init):
9788 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9789 * emulation/tpu-edt.el (tpu-gold-map):
9790 * emulation/crisp.el (crisp-mode-map):
9791 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9792
38bb2ca8
CY
97932011-10-29 Chong Yidong <cyd@gnu.org>
9794
aa4de341
CY
9795 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9796
e1eb5385
CY
9797 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9798
5d2ece3c
CY
9799 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9800 forged Ispell output (Bug#7904).
9801
38bb2ca8
CY
9802 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9803
d0af9f77
SM
98042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * doc-view.el: Avoid ugly errors about not finding nil.
9807 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9808 (doc-view-dvipdf-program, doc-view-unoconv-program)
9809 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9810 Avoid nil or absolute file name as default value.
9811 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9812
52bedd34
AM
98132011-10-28 Alan Mackenzie <acm@muc.de>
9814
db22a3c2 9815 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9816
7e43cfa5
AM
98172011-10-28 Alan Mackenzie <acm@muc.de>
9818
9819 Amend the handling of c-beginning/end-of-defun in nested declaration
9820 scopes.
9821
52bedd34
AM
9822 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9823 cc-langs.el. Change it to a defcustom.
7e43cfa5 9824
52bedd34
AM
9825 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9826 cc-vars.el.
7e43cfa5 9827
d0af9f77
SM
9828 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9829 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9830
52bedd34 9831 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9832 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9833 (c-widen-to-enclosing-decl-scope): New function.
9834 (c-while-widening-to-decl-block): New macro.
9835 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9836 outward for defun boundaries, and correspondingly change symbol
9837 `respect-enclosure' to `go-outward'.
9838 (c-declaration-limits): Change algorithm to report only the "innermost"
9839 defun's boundaries.
9840
1a2ce9ee
DD
98412011-10-28 Deniz Dogan <deniz@dogan.se>
9842
9843 * net/rcirc.el (rcirc-mode): Use hard newlines.
9844
bc97a826
AM
98452011-10-28 Alan Mackenzie <acm@muc.de>
9846
9847 Amend to indent and fontify macros "which include their own semicolon"
9848 correctly, using the "virtual semicolon" mechanism.
9849
52bedd34 9850 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9851
d0af9f77 9852 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9853 Recode to scan one line at a time rather than having \n and \r
58179cce 9854 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9855 (c-forward-label): Amend for virtual semicolons.
58179cce 9856 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9857
52bedd34
AM
9858 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9859 of the new C macros.
bc97a826 9860
52bedd34 9861 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9862 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9863 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9864 (c-opt-cpp-macro-define): Make into a full language variable.
9865 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9866 AWK Mode (including \n, \r) removed, no longer needed.
9867
d0af9f77
SM
9868 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9869 Invoke c-make-macro-with-semi-re.
bc97a826 9870
52bedd34
AM
9871 * progmodes/cc-vars.el (c-macro-with-semi-re):
9872 (c-macro-names-with-semicolon): New variables.
58179cce 9873 (c-make-macro-with-semi-re): New function.
bc97a826 9874
7a6c0941
SM
98752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * vc/log-edit.el: Fill empty field rather than adding new one.
9878 (log-edit-add-field): New function.
9879 (log-edit-insert-changelog): Use it.
9880
b0c4cdcf
ML
98812011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9882
9883 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9884
ee1f1da9
SM
98852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9888 (gdb--check-interpreter): New function.
9889 (gdb): Use it.
9890
51bc5f8b
GM
98912011-10-27 Glenn Morris <rgm@gnu.org>
9892
416a2c45
GM
9893 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9894 (least-positive-float, least-negative-float)
9895 (least-positive-normalized-float, least-negative-normalized-float)
9896 (float-epsilon, float-negative-epsilon):
9897 Remove unnecessary declarations.
9898
9899 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9900 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9901 (least-positive-float, least-negative-float)
9902 (least-positive-normalized-float, least-negative-normalized-float)
9903 (float-epsilon, float-negative-epsilon): Add doc-strings,
9904 based on those in cl.texi.
9905
51bc5f8b
GM
9906 * files.el (set-visited-file-name): If the major-mode changed,
9907 reload the local variables. (Bug#9796)
9908
15de15c6
CY
99092011-10-27 Chong Yidong <cyd@gnu.org>
9910
9911 * subr.el (change-major-mode-after-body-hook): New hook.
9912 (run-mode-hooks): Run it.
9913
ee1f1da9
SM
9914 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9915 Use change-major-mode-before-body-hook.
15de15c6
CY
9916
9917 * simple.el (fundamental-mode):
9918 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9919 change introducing fundamental-mode-hook.
9920
5430d399
JB
99212011-10-26 Juanma Barranquero <lekktu@gmail.com>
9922
acc825c5 9923 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9924
ad74a69e
MA
99252011-10-26 Michael Albinus <michael.albinus@gmx.de>
9926
9927 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9928 tramp.el explicitly. (Bug#7583)
ad74a69e 9929
71d4c2a5
SM
99302011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * progmodes/octave-mod.el:
9933 * progmodes/octave-inf.el: Update maintainer.
9934
b1f6fa26
CY
99352011-10-26 Chong Yidong <cyd@gnu.org>
9936
9937 * subr.el (with-wrapper-hook): Rewrite doc.
9938
3f04efd6
MA
99392011-10-25 Michael Albinus <michael.albinus@gmx.de>
9940
9941 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9942 filenames "/method:foo:". (Bug#9793)
3f04efd6 9943
410488d3
SM
99442011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9947 (bug#9865).
9948
c1ebb47e
GM
99492011-10-24 Glenn Morris <rgm@gnu.org>
9950
9951 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9952
7f5c46c7
MA
99532011-10-24 Michael Albinus <michael.albinus@gmx.de>
9954
9955 * notifications.el: Add the requirement of a running D-Bus session
9956 bus to the Commentary.
9957
db2440b6
JL
99582011-10-24 Juri Linkov <juri@jurta.org>
9959
9960 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9961 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9962 (Bug#9364)
9963
feecf435
JL
99642011-10-24 Juri Linkov <juri@jurta.org>
9965
9966 * info.el (Info-following-node-name-re): Add newline to the list
9967 of allowed characters for leading space. (Bug#9824)
9968
a3839de2
SM
99692011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9970
acc825c5
SM
9971 * progmodes/octave-inf.el (inferior-octave-mode-map):
9972 Fix C-c C-h binding.
a3839de2
SM
9973 * progmodes/octave-mod.el (octave-help): Remove.
9974
09388e76
MA
99752011-10-23 Michael Albinus <michael.albinus@gmx.de>
9976
9977 Sync with Tramp 2.2.3.
9978
9979 * net/tramp-cache.el (top): Pacify byte-compiler using
9980 `init-file-user' and `site-run-file'.
9981
9982 * net/trampver.el: Update release number.
9983
86c60681
CY
99842011-10-23 Chong Yidong <cyd@gnu.org>
9985
9986 * files.el (toggle-read-only): Remove obsolete comment about
9987 version control.
9988
9989 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9990 for toggle-read-only. Note that this hasn't called vc-next-action
9991 since 2008-05-02, though it wasn't documented at the time.
9992
a3839de2
SM
9993 * vc/ediff-init.el (ediff-toggle-read-only-function):
9994 Use toggle-read-only.
86c60681 9995
cd5495ff
AM
99962011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9997
9998 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9999 of c-parse-state.
10000
00b77525 10001 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10002 correct faulty logical expression.
cd5495ff
AM
10003 (c-parse-state-state, c-record-parse-state-state):
10004 (c-replay-parse-state-state): New defvar/defuns.
10005 (c-debug-parse-state): Use new functions.
10006
42ee24ed
MR
100072011-10-22 Martin Rudalics <rudalics@gmx.at>
10008
10009 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10010 last fix. Use window-in-direction correctly.
42ee24ed 10011
a7dee7e7
CY
100122011-10-21 Chong Yidong <cyd@gnu.org>
10013
10014 * progmodes/idlwave.el (idlwave-mode):
10015 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10016 require-final-newline; that's done in prog-mode.
10017 Suggested by Stefan Monnier.
a7dee7e7 10018
e07b9a6d
MR
100192011-10-21 Martin Rudalics <rudalics@gmx.at>
10020
10021 * mouse.el (mouse-drag-window-above)
10022 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10023 (mouse-drag-mode-line-1, mouse-drag-header-line)
10024 (mouse-drag-vertical-line-rightward-window): Remove.
10025 (mouse-drag-line): New function.
10026 (mouse-drag-mode-line, mouse-drag-header-line)
10027 (mouse-drag-vertical-line): Call mouse-drag-line.
10028 * window.el (window-at-side-p, windows-at-side): New functions.
10029
7e1361d9
UM
100302011-10-21 Ulrich Mueller <ulm@gentoo.org>
10031
10032 * tar-mode.el (tar-grind-file-mode):
10033 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10034
30fcaf3a
CY
100352011-10-21 Chong Yidong <cyd@gnu.org>
10036
10037 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10038 * progmodes/vera-mode.el (vera-mode):
10039 Use mode-require-final-newline.
30fcaf3a 10040
516eddb0
GM
100412011-10-20 Glenn Morris <rgm@gnu.org>
10042
db22a3c2 10043 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10044
10d5f513
CS
100452011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10046
10047 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10048
ac6c8639
CY
100492011-10-20 Chong Yidong <cyd@gnu.org>
10050
10051 * emulation/cua-base.el (cua-mode):
10052 * mail/footnote.el (footnote-mode):
10053 * mail/mailabbrev.el (mail-abbrevs-mode):
10054 * net/xesam.el (xesam-minor-mode):
10055 * progmodes/bug-reference.el (bug-reference-mode):
10056 * progmodes/cap-words.el (capitalized-words-mode):
10057 * progmodes/compile.el (compilation-minor-mode)
10058 (compilation-shell-minor-mode):
10059 * progmodes/gud.el (gud-tooltip-mode):
10060 * progmodes/hideif.el (hide-ifdef-mode):
10061 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10062 * progmodes/subword.el (subword-mode):
10063 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10064 * progmodes/which-func.el (which-function-mode):
10065 * term/tvi970.el (tvi970-set-keypad-mode):
10066 * term/vt100.el (vt100-wide-mode):
10067 * textmodes/flyspell.el (flyspell-mode):
10068 * textmodes/ispell.el (ispell-minor-mode):
10069 * textmodes/nroff-mode.el (nroff-electric-mode):
10070 * textmodes/paragraphs.el (use-hard-newlines):
10071 * textmodes/refill.el (refill-mode):
10072 * textmodes/reftex.el (reftex-mode):
10073 * textmodes/rst.el (rst-minor-mode):
10074 * textmodes/sgml-mode.el (html-autoview-mode)
10075 (sgml-electric-tag-pair-mode):
10076 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10077 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10078 * emulation/crisp.el (crisp-mode):
10079 * emacs-lisp/eldoc.el (eldoc-mode):
10080 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10081 minor mode behavior.
10082
aa42ab43
JL
100832011-10-19 Juri Linkov <juri@jurta.org>
10084
10085 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10086 the list of hard-coded chars with escape-glyph face.
10087
89400f1d
SM
100882011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10091
305c07f6
MA
100922011-10-19 Michael Albinus <michael.albinus@gmx.de>
10093
10094 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10095 running process.
10096
13754b54
GM
100972011-10-19 Glenn Morris <rgm@gnu.org>
10098
10099 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10100 Ignore ignored files. (Bug#9726)
10101
06e21633
CY
101022011-10-19 Chong Yidong <cyd@gnu.org>
10103
10104 Doc fix for minor modes, stating that an omitted argument enables
10105 the mode unconditionally when called from Lisp.
10106
10107 * abbrev.el (abbrev-mode):
10108 * allout.el (allout-mode):
10109 * autoinsert.el (auto-insert-mode):
10110 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10111 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10112 (global-auto-revert-mode):
10113 * battery.el (display-battery-mode):
10114 * composite.el (global-auto-composition-mode)
10115 (auto-composition-mode):
10116 * delsel.el (delete-selection-mode):
10117 * desktop.el (desktop-save-mode):
10118 * dired-x.el (dired-omit-mode):
10119 * dirtrack.el (dirtrack-mode):
10120 * doc-view.el (doc-view-minor-mode):
10121 * double.el (double-mode):
10122 * electric.el (electric-indent-mode, electric-pair-mode):
10123 * emacs-lock.el (emacs-lock-mode):
10124 * epa-hook.el (auto-encryption-mode):
10125 * follow.el (follow-mode):
10126 * font-core.el (font-lock-mode):
10127 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10128 * help.el (temp-buffer-resize-mode):
10129 * hilit-chg.el (highlight-changes-mode)
10130 (highlight-changes-visible-mode):
10131 * hi-lock.el (hi-lock-mode):
10132 * hl-line.el (hl-line-mode, global-hl-line-mode):
10133 * icomplete.el (icomplete-mode):
10134 * ido.el (ido-everywhere):
10135 * image-file.el (auto-image-file-mode):
10136 * image-mode.el (image-minor-mode):
10137 * iswitchb.el (iswitchb-mode):
10138 * jka-cmpr-hook.el (auto-compression-mode):
10139 * linum.el (linum-mode):
10140 * longlines.el (longlines-mode):
10141 * master.el (master-mode):
10142 * mb-depth.el (minibuffer-depth-indicate-mode):
10143 * menu-bar.el (menu-bar-mode):
10144 * minibuf-eldef.el (minibuffer-electric-default-mode):
10145 * mouse-sel.el (mouse-sel-mode):
10146 * msb.el (msb-mode):
10147 * mwheel.el (mouse-wheel-mode):
10148 * outline.el (outline-minor-mode):
10149 * paren.el (show-paren-mode):
10150 * recentf.el (recentf-mode):
10151 * reveal.el (reveal-mode, global-reveal-mode):
10152 * rfn-eshadow.el (file-name-shadow-mode):
10153 * ruler-mode.el (ruler-mode):
10154 * savehist.el (savehist-mode):
10155 * scroll-all.el (scroll-all-mode):
10156 * scroll-bar.el (scroll-bar-mode):
10157 * server.el (server-mode):
10158 * shell.el (shell-dirtrack-mode):
10159 * simple.el (auto-fill-mode, transient-mark-mode)
10160 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10161 (line-number-mode, column-number-mode, size-indication-mode)
10162 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10163 * strokes.el (strokes-mode):
10164 * time.el (display-time-mode):
10165 * t-mouse.el (gpm-mouse-mode):
10166 * tool-bar.el (tool-bar-mode):
10167 * tooltip.el (tooltip-mode):
10168 * type-break.el (type-break-mode-line-message-mode)
10169 (type-break-query-mode):
10170 * view.el (view-mode):
10171 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10172 (global-whitespace-mode, global-whitespace-newline-mode):
10173 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10174
a3839de2
SM
10175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10176 Fix autogenerated docstring.
06e21633 10177
5214e501
JL
101782011-10-19 Juri Linkov <juri@jurta.org>
10179
10180 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10181 by checking environment variables "DESKTOP_SESSION" and
10182 "XDG_CURRENT_DESKTOP". (Bug#9779)
10183
195f8db9
JL
101842011-10-19 Juri Linkov <juri@jurta.org>
10185
10186 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10187 (browse-url-chromium-program, browse-url-chromium-arguments):
10188 New defcustoms.
10189 (browse-url-default-browser): Check for `browse-url-chromium' and
10190 call `browse-url-chromium-program'.
10191 (browse-url-chromium): New command. (Bug#9779)
10192
343a34ff
JB
101932011-10-18 Juanma Barranquero <lekktu@gmail.com>
10194
10195 * facemenu.el (list-colors-duplicates): On Windows, detect more
10196 duplicates by assuming that only colors matching "^System" are
10197 special "system colors". (Bug#9722)
10198
6978a151
SM
101992011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10202 to distinguish the author from the committer.
10203
6a80b297
MA
102042011-10-18 Michael Albinus <michael.albinus@gmx.de>
10205
10206 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10207
b31a5677
JK
102082011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10209
10210 * international/mule.el (sgml-html-meta-auto-coding-function):
10211 Add support for detecting encoding in HTML5 specified only as
10212 <meta charset="UTF-8">. Implementation just makes http-equiv and
10213 content-type parts from HTML4 encoding string optional. (Bug#9716)
10214
80c6d77f
GM
102152011-10-18 Glenn Morris <rgm@gnu.org>
10216
10217 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10218
08b0fee8
CY
102192011-10-18 Chong Yidong <cyd@gnu.org>
10220
10221 * faces.el (cursor): Doc fix.
10222
67e729a5
CY
102232011-10-17 Chong Yidong <cyd@gnu.org>
10224
10225 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10226
343a34ff 102272011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10228
10229 * dirtrack.el (dirtrack): Support shell buffers with path
10230 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10231
0bc06380
TZ
102322011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10233
10234 * json.el: Bump version to 1.3 and note change in History.
10235 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10236
8b79f3e0
SM
102372011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10238
5a7c536b
SM
10239 * comint.el (comint-insert-input, comint-send-input)
10240 (comint-get-old-input-default, comint-backward-matching-input)
10241 (comint-next-prompt): Use nil instead of `input' for field property of
10242 past user input (bug#114).
10243
96a8a0df
SM
10244 * minibuffer.el (completion--replace): Inherit surrounding properties
10245 (bug#114).
10246 (minibuffer-complete-and-exit): Use it.
10247
8b79f3e0
SM
10248 * comint.el (comint--table-subvert): Quote the all-completions output
10249 (bug#9160).
10250
b8f7ff0d
MR
102512011-10-17 Martin Rudalics <rudalics@gmx.at>
10252
8b79f3e0 10253 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10254
b8f7ff0d 10255 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10256 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10257 entries and separate them from frame entries.
10258
c235b555
GM
102592011-10-15 Glenn Morris <rgm@gnu.org>
10260
10261 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10262 Doc fixes.
10263
6bbfa6e1
CY
102642011-10-15 Chong Yidong <cyd@stupidchicken.com>
10265
8b79f3e0
SM
10266 * net/network-stream.el (network-stream-open-starttls):
10267 Improve detection of failure due to lack of TLS support.
ec5c990d 10268
6bbfa6e1
CY
10269 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10270 putting the input text in front and in bold.
10271
98488977
SM
102722011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10273
3d1337be
SM
10274 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10275
ee0b45e4
SM
10276 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10277 empty buffer.
10278
98488977
SM
10279 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10280 unread-command-events rather than pushing yet-another event.
10281
186f4720
EZ
102822011-10-14 Eli Zaretskii <eliz@gnu.org>
10283
10284 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10285 the explanation of the possible choices. Make the options passed
10286 to completing-read shorter.
10287
8b7a997c
AM
102882011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10289
10290 * textmodes/flyspell.el (flyspell-large-region): Make sure
10291 extended character mode is used if defined (Bug#1339).
10292
12587bbb
EZ
102932011-10-13 Eli Zaretskii <eliz@gnu.org>
10294
10295 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10296 character info for LRE, LRO, RLE, and RLO characters by appending
10297 an invisible PDF.
12587bbb 10298
bad41229
SM
102992011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10302 even in case of error; add debug spec; simplify data flow.
10303 (with-timeout-handler): Remove.
10304
28dbc92f
MA
103052011-10-12 Michael Albinus <michael.albinus@gmx.de>
10306
10307 Fix Bug#6019, Bug#9315.
10308
10309 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10310 complete `buffer-file-name', the local file name part could look
10311 remotely (for example on VMS).
10312
10313 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10314 `tramp-run-real-handler'.
10315 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10316 already quoted by '"'.
10317
10318 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10319 Let `file-name-handler-alist' be nil, the local file name part
10320 could look remotely (for example on VMS).
10321
e1b0b23a
SM
103222011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10325 from here...
10326 (flyspell-post-command-hook): ...to here.
10327
a120bde9
SM
103282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10331 if not needed.
10332 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10333 using completion. Protect against "slow" callers.
10334 Remove the "message hack".
10335
7ce7717b
JL
103362011-10-11 Juri Linkov <juri@jurta.org>
10337
10338 * isearch.el (isearch-lazy-highlight-word): New variable.
10339 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10340 Use it. (Bug#9727)
10341
c02ee9d6
GM
103422011-10-11 Glenn Morris <rgm@gnu.org>
10343
10344 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10345 like f90-previous-statement does.
10346
93e616fd 103472011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10348
1f190e73 10349 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10350 only in interactive use, to avoid error.
10351
af7b6078
SM
103522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * minibuffer.el (completion-file-name-table): Fix last change,
10355 i.e. ignore normal errors but not the other ones.
10356
0563dae9
MR
103572011-10-10 Martin Rudalics <rudalics@gmx.at>
10358
10359 * window.el (special-display-buffer-names)
10360 (special-display-regexps): Remove some remnants of earlier
10361 changes from doc-strings.
366ca7f3
MR
10362 (quit-windows-on): New function.
10363
10364 * vc/vc.el (vc-revert, vc-rollback):
10365 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10366 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10367 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10368
49677495
MR
103692011-10-09 Martin Rudalics <rudalics@gmx.at>
10370
10371 * window.el (frame-auto-hide-function): Add version tag.
10372 (Bug#9699)
10373
56f2d1e1
MA
103742011-10-09 Michael Albinus <michael.albinus@gmx.de>
10375
10376 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10377 condition.
10378
112a6592
LL
103792011-10-09 Leo Liu <sdl.web@gmail.com>
10380
10381 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10382 (Bug#9701)
10383
0812589b
GM
103842011-10-08 Glenn Morris <rgm@gnu.org>
10385
10386 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10387 before the first code statement zero indent. (Bug#9690)
10388
b2b0776e
CY
103892011-10-08 Chong Yidong <cyd@stupidchicken.com>
10390
10391 * simple.el (count-words-region): Always count in the region.
10392 Report the number of lines and characters too.
10393 (count-words): New command, which counts in the buffer if the
10394 region is inactive, as count-words-region used to.
10395 (count-words--message): New function. Handle plurals.
10396 (count-lines-region): Make it an alias for count-words-region.
10397
10398 * bindings.el (esc-map): Replace count-lines-region with
10399 count-words-region.
10400
c557cd6b
MR
104012011-10-08 Martin Rudalics <rudalics@gmx.at>
10402
10403 * window.el (window--delete): Delete dedicated frame
10404 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10405 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10406
61a57ef4 104072011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10408
3a7d293b 10409 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10410
c3833279
CY
104112011-10-07 Chong Yidong <cyd@stupidchicken.com>
10412
10413 * bindings.el ([M-left],[M-right]): Bind to left-word and
10414 right-word respectively.
10415
21ce8245
GM
104162011-10-07 Glenn Morris <rgm@gnu.org>
10417
10418 * cus-start.el (debug-on-quit): Fix custom type.
10419
6d823bb2
LMI
104202011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10421
0181e193
LMI
10422 * subr.el (define-key-after): Clarify that the function is not
10423 useful for non-menu keymaps.
10424
6d823bb2
LMI
10425 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10426
8e3459ce 104272011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10428
21ce8245 10429 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10430 in current minibuffer (Fix bug with recursive minibuffers).
10431
a1c2d21e
CY
104322011-10-06 Chong Yidong <cyd@stupidchicken.com>
10433
10434 * progmodes/gdb-mi.el (gdb): Doc fix.
10435
5a4cf282
MR
104362011-10-05 Martin Rudalics <rudalics@gmx.at>
10437
10438 * window.el (frame-auto-hide-function): New option replacing
10439 frame-auto-delete. Suggested by Stefan Monnier.
10440 (window--delete): Call frame-auto-hide-function instead of
10441 investigating frame-auto-delete.
c96111ea
MR
10442 (window-point-1, set-window-point-1): New functions.
10443 (window-in-direction, record-window-buffer, window-state-get-1)
10444 (display-buffer-record-window): Use window-point-1 instead of
10445 window-point.
10446 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10447
9854542e
SM
104482011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10451
8943cfb0
GM
104522011-10-05 Glenn Morris <rgm@gnu.org>
10453
10454 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10455 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10456
647ab967
LL
104572011-10-05 Leo Liu <sdl.web@gmail.com>
10458
10459 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10460 works with buffer object.
10461
3ddfbced
SM
104622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10463
10464 * mpc.el (mpc-tool-bar-map): Add labels.
10465
bdfa5dd2
GM
104662011-10-04 Glenn Morris <rgm@gnu.org>
10467
10468 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10469
0e2070b5
MR
104702011-10-04 Martin Rudalics <rudalics@gmx.at>
10471
10472 * window.el (window--delete): New function.
10473 (frame-auto-delete): Resuscitate option.
10474 (bury-buffer, replace-buffer-in-windows)
10475 (quit-window): Rewrite using window--delete.
10476 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10477 Pass display-buffer-mark-dedicated to window--display-buffer-2
10478 (Bug#9639).
10479
3dc61a09
SM
104802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10481
915a9b64
SM
10482 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10483 returns a list (bug#9554). Add remote file name completion.
10484 * comint.el (comint--table-subvert): Curry and get quote&unquote
10485 functions as arguments.
10486 (comint--complete-file-name-data): Adjust call accordingly.
10487 * pcomplete.el (pcomplete--table-subvert): Remove.
10488 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10489
3dc61a09
SM
10490 * minibuffer.el (completion-table-case-fold): Use currying.
10491 (completion--styles-type, completion--cycling-threshold-type):
10492 New constants.
10493 (completion-styles, completion-category-overrides)
10494 (completion-cycle-threshold): Use them.
10495 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10496 completion-table-case-fold.
10497
8ea0a993
SB
104982011-10-03 Stephen Berman <stephen.berman@gmx.net>
10499
10500 * minibuffer.el (completion-category-overrides): Fix type of styles
10501 and add more user friendly tags (bug#9660).
10502
8c24b7f6
SM
105032011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10506 (mule-input-method-string): New widget.
10507 (default-input-method, language-info-custom-alist): Use it.
10508
428fe61a
SM
105092011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10510
32c1fffd
SM
10511 * pcomplete.el: Require comint.
10512 (pcomplete--common-suffix): Remove.
10513 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10514 (pcomplete--table-subvert): Sync with comint--table-subvert.
10515 (pcomplete--entries): Use comint-completion-file-name-table.
10516 * comint.el (comint-unquote-filename): Simplify.
10517 (comint-completion-file-name-table): New function (bug#9616).
10518 (comint--complete-file-name-data): Use it.
10519
428fe61a
SM
10520 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10521 (pcmpl-gnu-tar-buffer): Remove.
10522 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10523 around. Make sure pcomplete-suffix-list is only changed temporarily.
10524 Don't look inside the tar's file if it's too large.
428fe61a 10525
04c52e2f
CY
105262011-10-01 Chong Yidong <cyd@stupidchicken.com>
10527
ce3cefcc
CY
10528 * cus-edit.el (custom-mode-map):
10529 * epa.el (epa-key-list-mode-map):
10530 * man.el (Man-mode-map):
10531 * startup.el (splash-screen-keymap):
10532 * simple.el (special-mode-map): Use scroll-up-command and
10533 scroll-down-command.
10534
10535 * progmodes/idlw-help.el (idlwave-help-mode-map):
10536 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10537 * net/newst-plainview.el (newsticker-mode-map):
10538 * emulation/ws-mode.el (wordstar-mode-map):
10539 * emulation/vi.el (vi-com-map):
10540 * calc/calc-graph.el (calc-graph-show-dumb):
10541 * term/sun.el (terminal-init-sun):
10542 * term/ns-win.el (global-map):
10543 * progmodes/grep.el (grep-mode-map):
10544 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10545 * mail/rmail.el (rmail-mode-map):
10546 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10547
04c52e2f
CY
10548 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10549 custom-safe-themes as special.
10550
79adf8c8
JD
105512011-10-01 Julien Danjou <julien@danjou.info>
10552
10553 * notifications.el (notifications-notify): Fix docstring.
10554
63bd50d3
PS
105552011-10-01 Per Starbäck <per@starback.se>
10556
10557 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10558
199e4c7e
MR
105592011-09-30 Martin Rudalics <rudalics@gmx.at>
10560
10561 * startup.el (command-line-1): Fix last fix by inserting
10562 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10563 (Bug#9605) and (Bug#9636)
199e4c7e 10564
fe5f08dd
EZ
105652011-09-29 Eli Zaretskii <eliz@gnu.org>
10566
10567 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10568 window is hscrolled, move by logical lines. (Bug#9607)
10569 (line-move-visual): Update the doc string to the above effect.
10570
b5516bbd
MR
105712011-09-29 Martin Rudalics <rudalics@gmx.at>
10572
ccee00c0
MR
10573 * window.el (display-buffer-record-window): When WINDOW is the
10574 selected window use `point' instead of `window-point'. (Bug#9626)
10575
b5516bbd
MR
10576 * startup.el (command-line-1): Use insert-before-markers when
10577 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10578
b5516bbd
MR
10579 * help.el (help-window): Remove variable.
10580
52aa0014
GM
105812011-09-29 Glenn Morris <rgm@gnu.org>
10582
10583 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10584
df9a7357
JB
105852011-09-29 Juanma Barranquero <lekktu@gmail.com>
10586
10587 * descr-text.el (describe-char-categories): Accept category
10588 descriptions more than one line long.
10589
a8406c20
SM
105902011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10591
88d9610c
SM
10592 * simple.el (delete-trailing-whitespace): Fix last change.
10593
a5daf810
SM
10594 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10595 Don't confuse "y => 3" as the beginning of a `y' operation.
10596
a8406c20
SM
10597 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10598 object has more than 4 slots (bug#9613).
10599
a239d4e9
JB
106002011-09-28 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * subr.el (with-output-to-temp-buffer):
10603 * net/quickurl.el (quickurl, quickurl-browse-url):
10604 Fix typos in docstrings.
10605
693fbdb6
EZ
106062011-09-27 Eli Zaretskii <eliz@gnu.org>
10607
10608 * minibuffer.el (completion-styles)
10609 (completion-category-overrides): Cross reference each other in doc
10610 strings.
10611
8b457e28
GM
106122011-09-27 Glenn Morris <rgm@gnu.org>
10613
10614 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10615 to split-string. (Bug#9606)
10616
85a16208
LMI
106172011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10618
10619 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10620 (bug#9615).
10621
502f9ebd
CY
106222011-09-27 Chong Yidong <cyd@stupidchicken.com>
10623
10624 * emacs-lisp/package.el (list-packages): Fix echo area message.
10625
7690bdea
LL
106262011-09-27 Leo Liu <sdl.web@gmail.com>
10627
10628 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10629
e2ee6f30
MA
106302011-09-25 Michael Albinus <michael.albinus@gmx.de>
10631
10632 * net/dbus.el (dbus-unregister-object): Don't release services for
10633 registered signals. (Bug#9581)
10634
f3f98342
TZ
106352011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10636
10637 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10638 function that picks between cfengine 2 and 3 support
10639 automatically. Update docs accordingly.
10640
dd7aa8dd
KH
106412011-09-22 Kenichi Handa <handa@m17n.org>
10642
10643 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10644 ZERO.
10645 (indian-itrans-v5-table-for-tamil): New variable.
10646 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10647
3f2b07f8
KM
106482011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10649
10650 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10651 that's true if the current command involved collapsing of text.
10652 It's reset to false at the beginning of the next command.
10653 (allout-post-command-business): Move the cursor to the beginning
10654 of entry if the cursor is hidden and collapsing activity just
10655 happened.
10656
371d6a61
CY
106572011-09-24 Chong Yidong <cyd@stupidchicken.com>
10658
10659 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10660 tracking (Bug#9541).
10661
2ac2721a
UJ
106622011-09-24 Ulf Jasper <ulf.jasper@web.de>
10663
10664 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10665 (newsticker-show-news): Automatically load html rendering package
10666 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10667 because w3m-fill-column is let-bound" and the error "Symbol's value
10668 as variable is void: w3m-fill-column".
2ac2721a 10669
fac7ae53
MA
106702011-09-24 Michael Albinus <michael.albinus@gmx.de>
10671
10672 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10673 Release services only if they are defined. (Bug#9581)
10674
e08b633b
RS
106752011-09-23 Richard Stallman <rms@gnu.org>
10676
e488d29c
RS
10677 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10678 distinguish start of paragraph from start of its text.
10679
19c38752
RS
10680 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10681
e08b633b
RS
10682 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10683 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10684 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10685
0a39f27e
AS
106862011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10687
10688 * international/mule-diag.el (mule-diag): Insert a newline after
10689 each fontset description.
10690
db4e950d
SM
106912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 * simple.el (delete-trailing-whitespace):
10694 Document last change; simplify.
10695
eca3f3ea
PW
106962011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10697
d68e189a
PW
10698 * simple.el (delete-trailing-whitespace): Also delete
10699 extra newlines at the end of the buffer.
10700
eca3f3ea
PW
10701 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10702 (picture-newline): Use forward-line so as to ignore fields.
10703
01c157cc
SM
107042011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * subr.el (with-wrapper-hook): Fix edebug spec.
10707
022de23e
LMI
107082011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10709
10710 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10711 (bug#4538).
10712
91683089
MA
107132011-09-23 Michael Albinus <michael.albinus@gmx.de>
10714
eca3f3ea
PW
10715 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10716 Fix nasty bug using wrong cached values.
91683089 10717
5bdd6fa4
AM
107182011-09-23 Alan Mackenzie <acm@muc.de>
10719
10720 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10721
97adfb97
CY
107222011-09-23 Chong Yidong <cyd@stupidchicken.com>
10723
10724 * window.el (pop-to-buffer): Ensure right window is selected if we
10725 chose another frame.
10726
d4ef2b50
EZ
107272011-09-22 Eli Zaretskii <eliz@gnu.org>
10728
10729 * simple.el (what-cursor-position): Use get-char-property-change
10730 and next-single-char-property-change, to be able to show display
10731 properties that come from overlays as well as text properties.
10732
72258fe5
CY
107332011-09-22 Chong Yidong <cyd@stupidchicken.com>
10734
10735 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10736
10737 * cmuscheme.el (run-scheme, switch-to-scheme):
10738 * cus-edit.el (customize-group, custom-buffer-create)
10739 (customize-browse):
10740 * info.el (info):
10741 * shell.el (shell):
10742 * mail/sendmail.el (mail):
10743 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10744
8f098516
RS
107452011-09-22 Richard Stallman <rms@gnu.org>
10746
10747 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10748 move back only to line beg, don't move back over blank lines.
10749
e74f1bb6
MA
107502011-09-22 Michael Albinus <michael.albinus@gmx.de>
10751
10752 * files.el (copy-directory): Set directory attributes only in case
10753 they could be retrieved from the source directory. (Bug#9565)
10754
bfeef8b6
DK
107552011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10756
10757 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10758 (hs-find-block-beginning, hs-hide-level-recursive):
10759 Ignore strings as well as comments. (Bug#9502)
10760
7e423bb8
AS
107612011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10762
10763 * progmodes/sql.el (sql-comint-postgres):
10764 Convert port number to a string. (Bug#9566)
10765
b4d72fcf
MR
107662011-09-22 Martin Rudalics <rudalics@gmx.at>
10767
10768 * window.el (quit-window): Undedicate window when switching to
10769 previous buffer. Reported by Thierry Volpiatto
10770 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10771 (special-display-popup-frame): When popping up a new frame reset
10772 its previous buffers to nil. Simplify code.
b4d72fcf 10773
a7b88dc6
MA
107742011-09-21 Michael Albinus <michael.albinus@gmx.de>
10775
10776 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10777 and process filter, as done also in `shell-command'.
10778
cf4eacfd
MR
107792011-09-21 Martin Rudalics <rudalics@gmx.at>
10780
eca3f3ea 10781 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10782 Call set-window-start with NOFORCE argument t.
10783 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10784 (quit-window): Reword doc-string. Handle new format of
10785 quit-restore parameter. Don't delete window if it has a
10786 previous buffer we can show instead of the present one.
10787 (display-buffer-record-window): Rewrite using a new format for
10788 the quit-restore window parameter
10789 (special-display-popup-frame, display-buffer-same-window)
10790 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10791 (display-buffer-pop-up-window, display-buffer-use-some-window):
10792 Adapt symbol passed to display-buffer-record-window.
10793 * help.el (help-window-setup): Handle new format of quit-restore
10794 parameter.
10795
8d28cb95
SM
107962011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10797
94ab793f
SM
10798 * faces.el (face-list): Fix docstring (bug#9564).
10799
8d28cb95
SM
10800 * window.el (display-buffer--action-function-custom-type):
10801 Don't include internal functions in the Custom interface.
10802
3820edeb
JL
108032011-09-20 Juri Linkov <juri@jurta.org>
10804
10805 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10806 (Info-forward-node, Info-backward-node, Info-next-preorder)
10807 (Info-last-preorder): Use it. (Bug#9528)
10808
5147931d
JL
108092011-09-20 Juri Linkov <juri@jurta.org>
10810
10811 * info.el (Info-last-preorder): Visit last menu item only when
10812 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10813
cf499a1a
JD
108142011-09-20 Julien Danjou <julien@danjou.info>
10815
10816 * password-cache.el (password-cache-remove): Remove entries even if the
10817 value is nil, so that password with a nil value (negative caching) is
10818 possible to invalidate.
10819
f84e2fe2
LM
108202011-09-20 Lawrence Mitchell <wence@gmx.li>
10821
10822 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10823 all whitespace around breakpoint. (Bug#9553)
10824 (f90-find-breakpoint): Only break at whitespace inside a comment.
10825
78054a46
SM
108262011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * minibuffer.el (completion-file-name-table): Keep track of errors.
10829 (completion-table-with-predicate): Handle the case where pred1 is nil.
10830 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10831
345083b2
SM
108322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10833
e24e27be
SM
10834 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10835 (debugger-return-value): Signal an error if the debugging context does
10836 not await any return value.
10837
345083b2
SM
10838 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10839 * image-mode.el (image-toggle-display-text)
10840 (image-toggle-display-image): Stay away from evil `intangible'.
10841
08d355e3
LL
108422011-09-19 Leo Liu <sdl.web@gmail.com>
10843
10844 * replace.el (occur-revert-arguments): Make it permanent-local.
10845 (occur-mode): Don't call font-lock-defontify.
10846
f01da43f
CY
108472011-09-19 Chong Yidong <cyd@stupidchicken.com>
10848
10849 * net/ldap.el (ldap-search-internal): Don't push empty search
10850 result (Bug#9508).
10851
b6072fa6
SM
108522011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10855
443d6696
MA
108562011-09-19 Michael Albinus <michael.albinus@gmx.de>
10857
10858 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10859 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10860
7cc6e154
JL
108612011-09-18 Juri Linkov <juri@jurta.org>
10862
10863 * buff-menu.el (Buffer-menu-mode-map):
10864 * dired.el (dired-mode-map):
10865 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10866 (lisp-interaction-mode-map):
10867 * emacs-lisp/package.el (package-menu-mode-map):
10868 * epa.el (epa-key-list-mode-map):
10869 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10870 (menu-bar-options-menu):
10871 * outline.el (outline-mode-menu-bar-map):
10872 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10873 * vc/vc-dir.el (vc-dir-menu-map):
10874 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10875 Capitalize non-function content words in menu item strings.
10876
10877 * dired.el (dired-mode-map): Add menu item for
10878 `image-dired-dired-toggle-marked-thumbs'.
10879
80302a81
JL
108802011-09-18 Juri Linkov <juri@jurta.org>
10881
10882 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10883 to `isearch-case-fold-search' and restore its original value
10884 after the `isearch-mode' call.
10885
46c5cf66
JL
108862011-09-18 Juri Linkov <juri@jurta.org>
10887
10888 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10889 because `zgrep' returns 1 for successful matches (bug#9226).
10890
d18b513b
JL
108912011-09-18 Juri Linkov <juri@jurta.org>
10892
10893 * info.el (Info-extract-menu-node-name): Check the second match
10894 for empty string (second test-case of bug#9528).
10895 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10896 intermediate nodes to the history (first test-case of bug#9528).
10897
72753f87
JL
108982011-09-18 Juri Linkov <juri@jurta.org>
10899
10900 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10901 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10902
c9384295
JL
109032011-09-18 Juri Linkov <juri@jurta.org>
10904
1154d12e
JB
10905 * info.el (Info-file-supports-index-cookies):
10906 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10907 outputs one more line for long file names (bug#4142).
c9384295 10908
d473dce8
CY
109092011-09-18 Chong Yidong <cyd@stupidchicken.com>
10910
10911 * newcomment.el (comment-normalize-vars): If prompting for
10912 comment-start, set comment-start-skip too (Bug#8424).
10913
2176854d
JB
109142011-09-18 Johan Bockgård <bojohan@gnu.org>
10915
10916 * icomplete.el: Fix previous fix of Bug#5849.
10917 (icomplete-mode): Don't set completion-show-inline-help.
10918 (icomplete-minibuffer-setup): Set completion-show-inline-help
10919 locally during icompletion.
10920
3aace4e4
CY
109212011-09-18 Chong Yidong <cyd@stupidchicken.com>
10922
c940224f
CY
10923 * woman.el (woman2-process-escapes): Don't delete unrecognized
10924 escapes (Bug#7843).
10925
3aace4e4
CY
10926 * files.el (inhibit-first-line-modes-regexps): Add image files.
10927 (hack-local-variables-prop-line): Return nil for malformed
10928 prop-lines (Bug#9044).
10929
710dec63
MA
109302011-09-18 Michael Albinus <michael.albinus@gmx.de>
10931
10932 * net/tramp.el (top): Don't require 'shell.
10933 (tramp-methods): Fix docstring.
10934 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10935 Return complete remote file name. Handle "smb" case.
10936 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10937 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10938
10939 * net/tramp-compat.el (top): Require 'shell.
10940
10941 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10942 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10943 `tramp-current-host'.
10944 (tramp-get-remote-tmpdir): Remove.
10945
10946 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10947 `tramp-tmpdir' entries.
10948 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10949 (tramp-smb-handle-file-attributes): Ignore errors.
10950 (tramp-smb-wait-for-output): Check also for process end.
10951
5d5ac8ec
LMI
109522011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10953
10954 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10955 when sending QUIT (bug#9312).
10956
8c0f49f0
CY
109572011-09-17 Chong Yidong <cyd@stupidchicken.com>
10958
10959 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10960 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10961 occur-mode-display-occurrence.
10962 (occur-edit-mode): Add usage message.
10963 (occur-cease-edit): New command.
10964 (occur-after-change-function): Use text properties to find the
10965 position of the prefix text.
10966 (occur-engine): Set stickiness of prefix text properties.
10967
8f1383f7
GM
109682011-09-17 Glenn Morris <rgm@gnu.org>
10969
10970 * progmodes/etags.el (complete-tag):
10971 Fix call to completion-in-region. (Bug#9526)
10972
744ba0e3
JL
109732011-09-17 Juri Linkov <juri@jurta.org>
10974
10975 * textmodes/ispell.el (ispell-word): Add to the error message
10976 the word, ispell program name and current dictionary (bug#9121).
10977 (ispell-tex-arg-end): Capitalize "error" in the error message.
10978
d9bbf400
AS
109792011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10980
10981 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10982 check. (Bug#4251)
10983
8da11505
JL
109842011-09-17 Juri Linkov <juri@jurta.org>
10985
10986 * window.el (window-safe-min-height, window-safe-min-width):
10987 Fix typos (followup to bug#9522).
10988
a91adc7e
SJ
109892011-09-17 Sven Joachim <svenjoac@gmx.de>
10990
10991 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10992
064f328a
EZ
109932011-09-16 Eli Zaretskii <eliz@gnu.org>
10994
10995 * simple.el (line-move): If goal-column is set, move by logical
10996 lines, not by display lines. (Bug#971)
10997 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10998 to reflect the above change.
10999
e69df516
SM
110002011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * image.el (imagemagick-register-types): Use regexp-opt.
11003
cbb0f9ab
CY
110042011-09-15 Chong Yidong <cyd@stupidchicken.com>
11005
11006 * window.el (display-buffer-base-action): Rename from
11007 display-buffer-default-action. Make default value empty.
11008 (display-buffer-overriding-action): Convert to defvar.
11009 (display-buffer-fallback-action): New var.
11010
25322144
CY
110112011-09-15 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11014 declaration.
11015 (package--add-to-archive-contents): If there is a duplicate entry
11016 with an older version, remove it.
11017 (package-menu-mark-delete, package-menu-mark-install)
11018 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11019 (package-menu-mark-obsolete-for-deletion):
11020 Use package-menu-get-status instead of a regexp search.
25322144
CY
11021 (package-menu-get-status): Use tabulated-list-entry.
11022 (package-menu-mark-upgrades): New command.
d770725a 11023 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11024 (package-menu-execute): Do installation before deletion.
11025 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11026 instead of checking major-mode.
11027 (package-menu--find-upgrades): New function.
11028
7520339c
LMI
110292011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11030
11031 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11032 passwords in the log buffer.
65a046c4
LMI
11033 (smtpmail-process-filter): Update the process marker so that the
11034 "broken by peer" status message is inserted in the right place.
7520339c 11035
d3c30954
SM
110362011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11037
3fe48822
SM
11038 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11039 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11040 bibtex-completion-at-point-function.
11041 (bibtex-completion-at-point-function): Use them.
11042
1b8b3954
SM
11043 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11044
d3c30954
SM
11045 * mpc.el (mpc-constraints-tag-lookup): New function.
11046 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11047 also to browser "album|playlist".
11048
72779976
JL
110492011-09-14 Juri Linkov <juri@jurta.org>
11050
11051 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11052 (isearch-edit-string): Use length of `isearch-string' when
11053 `isearch-fail-pos' returns nil.
11054 (isearch-message): Remove duplicate code and call
11055 `isearch-fail-pos' with arg `t'.
11056
a0bf2bcd
CY
110572011-09-14 Chong Yidong <cyd@stupidchicken.com>
11058
17bb0a2d
CY
11059 * replace.el (occur-mode-goto-occurrence): Don't force using other
11060 window (Bug#9499).
11061
a0bf2bcd
CY
11062 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11063
f678e0b6
MR
110642011-09-14 Martin Rudalics <rudalics@gmx.at>
11065
11066 * window.el (display-buffer-window): Remove.
11067 (display-buffer-record-window): Use help-setup window parameter
11068 instead of variable display-buffer-window.
11069 (display-buffer-function, special-display-buffer-names)
11070 (special-display-function): Mention help-setup parameter instead
11071 of display-buffer-window in doc-string.
d3c30954
SM
11072 * help.el (help-window-setup): New argument help-window.
11073 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11074 Reword some messages.
11075 (with-help-window): Pass window used for displaying the buffer
11076 to help-window-setup. Don't set display-buffer-window.
11077
8e39b2e8
GM
110782011-09-13 Glenn Morris <rgm@gnu.org>
11079
11080 * emacs-lisp/debug.el (debugger-make-xrefs):
11081 Preserve point. (Bug#9462)
11082
85e9c04b
CY
110832011-09-13 Chong Yidong <cyd@stupidchicken.com>
11084
11085 * window.el (window-deletable-p): Use next-frame.
11086
1b36ed6a
MR
110872011-09-13 Martin Rudalics <rudalics@gmx.at>
11088
11089 * window.el (window-auto-delete): Remove.
11090 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11091 dedication and previous buffers.
1b36ed6a
MR
11092 (switch-to-prev-buffer): Don't delete window.
11093 (delete-windows-on): Delete a window's frame if and only if the
11094 window is dedicated.
11095 (replace-buffer-in-windows): Delete buffer's window or frame if
11096 and only if window is dedicated.
11097 (quit-window): Handle quit-restore as before last change.
4d61f28d 11098 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11099
ef8ef9fb
CY
111002011-09-13 Chong Yidong <cyd@stupidchicken.com>
11101
11102 * window.el (window-deletable-p): Never delete the last frame on a
11103 given terminal.
11104
b2cba41e
GM
111052011-09-13 Glenn Morris <rgm@gnu.org>
11106
11107 * help.el (describe-key-briefly): Copy previous standard-output change.
11108
51553db6 111092011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11110
11111 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11112
b7556719
GM
111132011-09-13 Glenn Morris <rgm@gnu.org>
11114
11115 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11116 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11117
64b51947
CY
111182011-09-12 Chong Yidong <cyd@stupidchicken.com>
11119
11120 * dired-aux.el (dired-mark-read-string): Don't return default
11121 value on empty input (Bug#9361).
11122 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11123 Omit initial minibuffer contents.
11124 (dired-do-chmod): Signal an error on empty input.
11125 (dired-mark-read-string): Don't return default on empty input.
11126
11127 * files.el (file-modes-symbolic-to-number): Doc fix.
11128
393a301e
SM
111292011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * international/mule-cmds.el (ucs-completions): Remove.
11132 (read-char-by-name): Use complete-with-action instead; add metadata.
11133
fa5660f9
CY
111342011-09-11 Chong Yidong <cyd@stupidchicken.com>
11135
11136 * window.el (display-buffer--action-function-custom-type)
11137 (display-buffer--action-custom-type): New vars.
11138 (display-buffer-alist, display-buffer-default-action)
11139 (display-buffer-overriding-action): Add defcustom types.
11140
4a592f66
CY
11141 * frame.el (delete-other-frames): Doc fix (Bug#276).
11142
73d56dbd
LMI
111432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11144
11145 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11146
37ac18a3
CY
111472011-09-11 Chong Yidong <cyd@stupidchicken.com>
11148
11149 Change modes that used same-window-* vars to use switch-to-buffer.
11150
11151 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11152 Use switch-to-buffer.
11153
11154 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11155 (customize-browse, custom-buffer-create-other-window):
11156 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11157
11158 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11159 (Info-prev, Info-up, Info-speedbar-goto-node)
11160 (info-display-manual): Use switch-to-buffer.
11161 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11162
11163 * mail/sendmail.el (mail): Use switch-to-buffer.
11164 (mail-recover): Use switch-to-buffer-other-window.
11165
11166 * cmuscheme.el (run-scheme, switch-to-scheme):
11167 * ielm.el (ielm):
11168 * shell.el (shell):
11169 * net/rlogin.el (rlogin):
11170 * net/telnet.el (telnet, rsh):
11171 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11172
10195bd6
AS
111732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11174
11175 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11176
b322f63a
LMI
111772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
39d7fed6
LMI
11179 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11180 so don't mention it (bug#9301).
ba5a81f1 11181 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11182
ee0e9f11
LMI
11183 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11184 match `x', `w32' and `ns', like the manual says (bug#9029).
11185
0b1c89c1 11186 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11187 (process-kill-buffer-query-function): Mention the buffer name in
11188 the query.
0b1c89c1 11189
77549ea8
LMI
11190 * image-mode.el (image-next-line): The line parameter is mandatory
11191 (bug#9258).
11192
803ef892
LMI
11193 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11194 which can be useful (bug#9301).
11195
12980837
LMI
11196 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11197
91054f8f
LMI
11198 * subr.el (match-string): Mention that the current buffer should
11199 be the same as the search was done in (bug#9282).
11200
b322f63a
LMI
11201 * facemenu.el: Disable the remove-* commands if the mark isn't
11202 active (bug#9162).
11203
3199b96f
CY
112042011-09-10 Chong Yidong <cyd@stupidchicken.com>
11205
11206 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11207 of display-buffer.
11208 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11209
11210 * replace.el (occur-mode-goto-occurrence)
11211 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11212 and display-buffer.
11213
11214 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11215 display-buffer.
11216
11217 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11218 special-display and same-window variables.
11219 (mail-other-window): Use switch-to-buffer-other-window.
11220 (mail-other-frame): USe switch-to-buffer-other-frame.
11221
393a301e
SM
11222 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11223 Use display-buffer-other-frame.
3199b96f
CY
11224 (gdb-display-gdb-buffer): Use pop-to-buffer.
11225
11226 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11227
11228 * progmodes/python.el: Don't set same-window-buffer-names.
11229
11230 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11231
11232 * window.el (display-buffer-alist): Add *Python*.
11233
8319e0bf
CY
112342011-09-10 Chong Yidong <cyd@stupidchicken.com>
11235
11236 * window.el (display-buffer-alist): Add entry for buffers
11237 previously handled same-window-*.
11238 (display-buffer-alist, display-buffer-default-action)
11239 (display-buffer-overriding-action): Mark as risky.
11240 (display-buffer-alist): Document action function changes.
11241 (display-buffer--same-window-action)
11242 (display-buffer--other-frame-action): New variables.
11243 (switch-to-buffer, display-buffer-other-frame): Use them.
11244 (display-buffer): Rename reuse-frame entry to reusable-frames.
11245 (display-buffer-reuse-selected-window): Function deleted.
11246 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11247 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11248 (display-buffer-special): New function.
11249 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11250 display-buffer-reuse-or-pop-window. Split off special-display
11251 part into display-buffer-special.
11252 (display-buffer-use-some-window): Don't perform any special
11253 pop-up-frames handling.
11254 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11255 (display-buffer--maybe-same-window): Rename from
0d3ff375 11256 display-buffer-maybe-same-window.
8319e0bf 11257
919a69aa
CY
11258 * info.el: Don't set same-window-regexps.
11259 (info-setup): New function.
11260 (info-other-window, info): Call it.
11261
11262 * cus-edit.el: Don't set same-window-regexps.
11263 (customize-group): New argument.
11264 (customize-group-other-window): Use it.
11265 (customize-face, customize-face-other-window): Likewise.
11266 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11267
8319e0bf
CY
11268 * net/rlogin.el:
11269 * net/telnet.el:
11270 * progmodes/gud.el: Don't set same-window-regexps.
11271
11272 * cmuscheme.el:
11273 * ielm.el:
11274 * shell.el:
11275 * mail/sendmail.el:
11276 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11277
25173000
JL
112782011-09-10 Juri Linkov <juri@jurta.org>
11279
11280 * isearch.el (isearch-edit-string): Remove obsolete mention of
11281 `C-w' (`isearch-yank-word-or-char') from docstring.
11282 (isearch-query-replace): Fix typo in docstring (bug#9466).
11283
056e44ef
JL
112842011-09-10 Juri Linkov <juri@jurta.org>
11285
11286 * paren.el (show-paren-function): Don't show escaped parens.
11287 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11288
c3760c17
EZ
112892011-09-10 Eli Zaretskii <eliz@gnu.org>
11290
11291 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11292 (mm-default-file-encoding): Remove autoload forms, they are
11293 replaced with autoload cookies in mml.el and mm-encode.el.
11294 (mail-add-attachment): New command.
11295 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11296 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11297 the doc string.
11298 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11299
fece895e
RT
113002011-09-10 Reuben Thomas <rrt@sc3d.org>
11301
e69df516
SM
11302 * simple.el (count-words-region): Use buffer if there's no region
11303 (bug#9429).
fece895e 11304
5e68ce4a
JL
113052011-09-09 Juri Linkov <juri@jurta.org>
11306
11307 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11308 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11309 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11310
0a6b9622
AM
113112011-09-09 Alan Mackenzie <acm@muc.de>
11312
11313 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11314 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11315
14a29deb
EZ
113162011-09-09 Eli Zaretskii <eliz@gnu.org>
11317
11318 Fix for Savannah bug#9392.
11319 * simple.el (mail-encode-mml): New defvar.
11320
11321 * mail/rmail.el (mail-encode-mml): Add a defvar.
11322 (rmail-enable-mime-composing): Default to t.
11323 (rmail-forward): Use MIME method of forwarding only if both
11324 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11325 Set mail-encode-mml non-nil if the MIME method was used.
11326
11327 * mail/sendmail.el (mml-to-mime): Add autoload form.
11328 (mail-encode-mml): Add a defvar.
11329 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11330 to nil.
11331 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11332 message through mml-to-mime, and reset mail-encode-mml to nil.
11333
28c45130
GM
113342011-09-09 Glenn Morris <rgm@gnu.org>
11335
11336 * woman.el (woman-if-body): When processing an .el block,
11337 do not delete the next .el block as well. (Bug#9447)
69f4b618 11338 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11339
9b1c252e
MR
113402011-09-08 Martin Rudalics <rudalics@gmx.at>
11341
11342 * window.el (window-deletable-p): Make sure window is live before
11343 invoking window-prev-buffers.
11344
567457e3
LL
113452011-09-08 Leo Liu <sdl.web@gmail.com>
11346
11347 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11348
97f05794
JL
113492011-09-08 Juri Linkov <juri@jurta.org>
11350
11351 * progmodes/compile.el (compilation-environment): Make it
11352 a defcustom (bug#8340).
11353
8b0874b5
MR
113542011-09-08 Martin Rudalics <rudalics@gmx.at>
11355
11356 * window.el (frame-auto-delete): Rename to window-auto-delete.
11357 Make it control auto-deletion of windows and/or frames.
11358 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11359 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11360 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11361 Rewrite handling of case when window/frame can be deleted.
11362 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11363 argument t. (Bug#9456)
8b0874b5 11364
4feb6e73
CY
113652011-09-07 Chong Yidong <cyd@stupidchicken.com>
11366
11367 * help-mode.el (help-mode): Restore autoload.
11368
91ab9c13
JL
113692011-09-07 Juri Linkov <juri@jurta.org>
11370
11371 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11372 `compilation-environment'. Set buffer-local
11373 `compilation-environment' to `thisenv' later after (funcall mode).
11374 (Bug#8340)
11375
11376 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11377 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11378 instead of replacing its value. (Bug#8340)
11379
0527e251
JL
113802011-09-07 Juri Linkov <juri@jurta.org>
11381
11382 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11383 based on text properties put by `grep-filter' instead of matching
11384 escape sequences.
11385 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11386 to the value of `grep-error-screen-columns' (bug#9438).
11387
249f792c
JL
113882011-09-07 Juri Linkov <juri@jurta.org>
11389
11390 * simple.el (next-error-highlight, next-error-highlight-no-select):
11391 Doc fix (bug#9432).
11392
ff7271b9
OT
113932011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11394
11395 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11396 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11397
183fc730
LL
113982011-09-07 Leo Liu <sdl.web@gmail.com>
11399
11400 * net/rcirc.el (rcirc-mode): Conditionally initialize
11401 rcirc-input-ring.
11402
77694924
SM
114032011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * emacs-lisp/find-func.el (find-function-C-source): Only set
11406 find-function-C-source-directory after checking that we found a source
11407 file there (bug#9440).
11408
d809b8eb
AM
114092011-09-06 Alan Mackenzie <acm@muc.de>
11410
11411 * isearch.el (isearch-other-meta-char): Wherever a key list is
11412 unread, "unread" the prefix arg, too. This fixes bug #8901.
11413
453de99f
OG
114142011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11415
11416 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11417
90439906
JL
114182011-09-05 Juri Linkov <juri@jurta.org>
11419
11420 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11421
f62bd846
JL
114222011-09-05 Juri Linkov <juri@jurta.org>
11423
11424 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11425 keeping point where processing of grep matches begins, and
11426 continue to delete remaining escape sequences from the same point.
11427 (grep-filter): Make leading zero optional in "0?1;31m" because
11428 git-grep emits "\033[1;31m" escape sequences unlike expected
11429 "\033[01;31m" as GNU Grep does (bug#9408).
11430 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11431
045820ec
JL
114322011-09-05 Juri Linkov <juri@jurta.org>
11433
11434 * subr.el (y-or-n-p): Capitalize "yes".
11435
f5e29b9b
MA
114362011-09-04 Michael Albinus <michael.albinus@gmx.de>
11437
11438 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11439 `tramp-cache-unload-hook' where appropriate.
11440 (tramp-methods): Rename `tramp-remote-sh' to
11441 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11442 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11443
11444 * net/tramp-sh.el (top): Don't require 'shell.
11445 (tramp-methods): Add `tramp-remote-shell' and
11446 `tramp-remote-shell-args' entries.
11447 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11448 (tramp-sh-handle-shell-command): Remove.
11449 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11450 Use `tramp-remote-shell'.
11451
2784c434
CY
114522011-09-03 Chong Yidong <cyd@stupidchicken.com>
11453
393a301e 11454 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11455 (sendmail-query-once): Save directly to send-mail-function.
11456 Update message-send-mail-function too.
11457
11458 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11459
464cdf56
CS
114602011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11461
11462 * progmodes/python.el (python-mode-map): Use correct function to
11463 start python interpreter from menu-bar (as reported by Geert
11464 Kloosterman).
11465 (inferior-python-mode-map): Fix typo.
393a301e 11466 (python-shell-map): Remove.
464cdf56 11467
d37e5c87
DD
114682011-09-03 Deniz Dogan <deniz@dogan.se>
11469
11470 * net/rcirc.el (rcirc-print): Simplify code for
11471 rcirc-scroll-show-maximum-output. There is no need to walk
11472 through all windows to find the right one.
11473
f3ada0ee
CS
114742011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11475
11476 * help.el (help-return-method): Doc fix.
11477
1f3c99ca
MR
114782011-09-03 Martin Rudalics <rudalics@gmx.at>
11479
11480 * window.el (window-deletable-p): Don't return a non-nil value
11481 when there's a buffer that was shown in the window before.
11482 (Bug#9419)
393a301e
SM
11483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11484 Set window's previous buffers to nil.
1f3c99ca 11485
a3cf097f
EZ
114862011-09-03 Eli Zaretskii <eliz@gnu.org>
11487
11488 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11489 newline before and after the tag line, so it doesn't interfere
11490 with determining the paragraph direction of bidirectional text.
11491
3d03de90
LL
114922011-09-03 Leo Liu <sdl.web@gmail.com>
11493
11494 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11495
c3313451
CY
114962011-09-02 Chong Yidong <cyd@stupidchicken.com>
11497
393a301e 11498 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11499 (pop-to-buffer): Change interactive spec. Pass second argument
11500 directly to display-buffer.
11501 (display-buffer): Fix interactive spec. Use functionp to
11502 distinguish between a function and a list of functions.
11503
11504 * abbrev.el (edit-abbrevs):
11505 * arc-mode.el (archive-extract):
11506 * autoinsert.el (auto-insert):
11507 * bookmark.el (bookmark-bmenu-list):
11508 * files.el (find-file):
11509 * view.el (view-buffer):
11510 * progmodes/compile.el (compilation-goto-locus):
11511 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11512
89894cd8
CY
115132011-09-02 Chong Yidong <cyd@stupidchicken.com>
11514
11515 * window.el (display-buffer-alist): Doc fix.
11516 (display-buffer): Add docstring. Don't treat
11517 display-buffer-default specially.
11518 (display-buffer-reuse-selected-window)
11519 (display-buffer-same-window, display-buffer-maybe-same-window)
11520 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11521 (display-buffer-pop-up-window)
11522 (display-buffer-reuse-or-pop-window)
11523 (display-buffer-use-some-window): New functions.
11524 (display-buffer-default-action): Use them.
393a301e 11525 (display-buffer-default): Delete.
89894cd8
CY
11526 (pop-to-buffer-1): Fix choice of actions.
11527
ae0bc9fb
SM
115282011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * minibuffer.el (completion--insert-strings): Don't get confused by
11531 completion entries that end with an LF char.
11532
e9d90883
EZ
115332011-09-01 Eli Zaretskii <eliz@gnu.org>
11534
11535 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11536
437014c8
CY
115372011-09-01 Chong Yidong <cyd@stupidchicken.com>
11538
11539 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11540 (display-buffer-same-window, display-buffer-other-window):
11541 New functions.
437014c8
CY
11542 (pop-to-buffer-1): New function. Use the above.
11543 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11544 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11545
11546 * view.el (view-buffer-other-window, view-buffer-other-frame):
11547 Just use pop-to-buffer.
11548
a5e063d5
TV
115492011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11550
11551 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11552
793d32bb
WH
115532011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11554
11555 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11556
d65e4c15
RS
115572011-08-31 Richard Stallman <rms@gnu.org>
11558
11559 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11560 of the separation of rmail-view-buffer from rmail-buffer.
11561 If you say no to "replace original", the decrypt is in the
11562 view buffer. If you say yes, the decrypt goes into the
11563 rmail buffer also.
11564
f818cd2a
MR
115652011-08-31 Martin Rudalics <rudalics@gmx.at>
11566
11567 * window.el (display-buffer-window): Rewrite doc-string.
11568 (display-buffer-record-window): New function.
11569 (display-buffer-macro-specifiers)
11570 (display-buffer-even-window-sizes, display-buffer-set-height)
11571 (display-buffer-set-width, display-buffer-in-window)
11572 (display-buffer-reuse-window, display-buffer-split-specifiers)
11573 (display-buffer-side-specifiers, display-buffer-split-window-1)
11574 (display-buffer-split-window, display-buffer-split-atom-window)
11575 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11576 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11577 (display-buffer-other-window-means-other-frame)
11578 (display-buffer-normalize-special)
11579 (display-buffer-normalize-default)
11580 (display-buffer-normalize-argument)
11581 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11582 (display-buffer-normalize-specifiers, display-buffer-frame)
11583 (display-buffer-same-window, display-buffer-same-frame)
11584 (display-buffer-other-window)
11585 (display-buffer-same-frame-other-window)
11586 (display-buffer-other-frame, pop-to-buffer-same-window)
11587 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11588 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11589 (switch-to-buffer-same-frame)
11590 (switch-to-buffer-other-window-same-frame)
11591 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11592 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11593 (display-buffer-alist-set): Remove.
11594 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11595 (special-display-regexps, special-display-function):
11596 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11597 parameter.
11598 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11599 (special-display-frame-alist, special-display-popup-frame)
11600 (same-window-buffer-names, same-window-regexps, same-window-p)
11601 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11602 (split-window-preferred-function, split-height-threshold)
11603 (split-width-threshold, window-splittable-p)
11604 (split-window-sensibly, window--try-to-split-window)
11605 (window--frame-usable-p, even-window-heights)
11606 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11607 (window--display-buffer-2, display-buffer-other-frame):
11608 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11609 (display-buffer-default, display-buffer-assq-regexp): New functions.
11610 (display-buffer-alist): Rewrite doc-string.
11611 (display-buffer-default-action)
11612 (display-buffer-overriding-action): New variables.
11613 (display-buffer, switch-to-buffer): Rewrite.
11614 (pop-to-buffer): Restore Emacs 23 behavior but use
11615 window-normalize-buffer-to-display.
11616 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11617 Restore Emacs 23 behavior but use
11618 window-normalize-buffer-to-switch-to.
11619 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11620 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11621 Rewrite using Emacs 23 options.
f818cd2a 11622
5bc3b51d
MA
116232011-08-31 Michael Albinus <michael.albinus@gmx.de>
11624
11625 * net/tramp.el (tramp-root-regexp): Remove.
11626 (tramp-completion-file-name-regexp-unified)
11627 (tramp-completion-file-name-regexp-separate)
11628 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11629 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11630 (tramp-drop-volume-letter): Simplify definition.
11631 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11632
b1a4f8e1
SM
116332011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11636 (bug#9356).
11637
5664fa7b
RT
116382011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11639
b1a4f8e1 11640 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11641
9a45d6c3
JL
116422011-08-29 Juri Linkov <juri@jurta.org>
11643
11644 * isearch.el (isearch-done): Don't display message "Mark saved"
11645 when arg `edit' is non-nil to prevent its flicker in the echo area.
11646
fb87e0fb
CY
116472011-08-28 Chong Yidong <cyd@stupidchicken.com>
11648
11649 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11650 obsolete packages for deletion.
11651
09ac1c2a
CS
116522011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11653
11654 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11655 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11656 view-mode from help-mode.
11657 (help-xref-override-view-map): Remove.
11658 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11659 view-mode is not used anymore.
11660
7a1ff57f
CY
116612011-08-28 Chong Yidong <cyd@stupidchicken.com>
11662
11663 * server.el (server-port): Doc fix.
11664
b9696605
CY
11665 * cus-theme.el (custom-theme-choose-mode): Inherit from
11666 special-mode (Bug#9124).
11667 (custom-theme-choose-mode-map): Add special-mode to parent.
11668
ef8cdf8c
AM
116692011-08-28 Alan Mackenzie <acm@muc.de>
11670
11671 * progmodes/cc-fonts.el
11672 (c-make-font-lock-BO-decl-search-function): New function.
11673 (c-basic-matchers-after - "Fontify the clauses after various
11674 keywords"): Extract the three keyword lists for the 3 erroneous
11675 constructs from the list of four, and use the new function above
11676 in place of an old one.
11677
27de4e20
DD
116782011-08-28 Deniz Dogan <deniz@dogan.se>
11679
11680 * net/rcirc.el (rcirc-insert-prev-input)
11681 (rcirc-insert-next-input): Remove unused argument.
11682
356a3681
SM
116832011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11686
3fc9b218
AM
116872011-08-27 Alan Mackenzie <acm@muc.de>
11688
11689 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11690 handle function pointer parameters properly.
11691
538a061c
MR
116922011-08-27 Martin Rudalics <rudalics@gmx.at>
11693
11694 * window.el (display-buffer-reuse-window): Fix case where
11695 selected window was reused with non-nil OTHER-WINDOW argument.
11696 (Bug#9381)
11697
35b1c40c
DD
116982011-08-27 Deniz Dogan <deniz@dogan.se>
11699
11700 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11701 oftc's NickServ messages.
11702
2f6a3e79
GM
117032011-08-27 Glenn Morris <rgm@gnu.org>
11704
11705 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11706
7254299e
CY
117072011-08-26 Chong Yidong <cyd@stupidchicken.com>
11708
11709 * emacs-lisp/package.el (package-install): Call package-initialize
11710 if called interactively.
11711
f8ccf167
LL
117122011-08-26 Leo Liu <sdl.web@gmail.com>
11713
11714 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11715
3e8cd5ce
JL
117162011-08-25 Juri Linkov <juri@jurta.org>
11717
11718 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11719 `search-whitespace-regexp' (bug#9364).
11720
93eb7113
JL
117212011-08-25 Juri Linkov <juri@jurta.org>
11722
11723 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11724 `regexp-search-ring' to their global values to protect from
11725 updating by `read-from-minibuffer' (bug#9185).
11726
f65d1611
JL
117272011-08-25 Juri Linkov <juri@jurta.org>
11728
11729 * textmodes/ispell.el (ispell-command-loop): Add newline
11730 at the end of the "Use option `i'..." line.
11731
f1cf7a31
JL
117322011-08-25 Juri Linkov <juri@jurta.org>
11733
11734 * battery.el (display-battery-mode): If `battery-status-function'
11735 or `battery-mode-line-format' is nil, display the message and set
11736 `display-battery-mode' to nil (bug#9363).
11737
0c95fcf7
EZ
117382011-08-25 Eli Zaretskii <eliz@gnu.org>
11739
11740 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11741 bidi-string-mark-left-to-right; they are unnecessary now.
11742
a2ebe600
DD
117432011-08-25 Deniz Dogan <deniz@dogan.se>
11744
11745 * net/quickurl.el: Documentation typo fixes.
11746
e4ed06f1
CY
117472011-08-25 Chong Yidong <cyd@stupidchicken.com>
11748
11749 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11750
e5f1c99e
GM
117512011-08-25 Glenn Morris <rgm@gnu.org>
11752
b2948976
GM
11753 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11754
e5f1c99e
GM
11755 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11756 (smtpmail-via-smtp): Handle nil response from smtp.
11757
f22f4808
JL
117582011-08-24 Juri Linkov <juri@jurta.org>
11759
11760 * proced.el (proced-marked): Inherit from `error' instead of
11761 `font-lock-warning-face'.
11762
11763 * ibuffer.el (ibuffer-marked-face): Change default face from
11764 `font-lock-warning-face' to `warning'.
11765 (ibuffer-deletion-face): Change default face from
11766 `font-lock-type-face' to `error'.
11767
11768 * battery.el (battery-update): Use the face `error' instead of
11769 `font-lock-warning-face' (bug#6117).
11770
6a93965e
JL
117712011-08-24 Juri Linkov <juri@jurta.org>
11772
11773 * faces.el (success): Change face color from "Green3" to
11774 "ForestGreen" on light background (bug#9353).
11775
1ed43b09
CY
117762011-08-24 Chong Yidong <cyd@stupidchicken.com>
11777
5664fa7b
RT
11778 * window.el (quit-window): Rename from quit-restore-window.
11779 Use same arglist as old quit-window.
1ed43b09
CY
11780 (frame-auto-delete): Doc fix.
11781
11782 * view.el (view-mode-exit): Use quit-window.
11783
11dcdbb2
JL
117842011-08-24 Juri Linkov <juri@jurta.org>
11785
11786 * isearch.el (isearch-ring-adjust1): Start visiting previous
11787 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11788 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11789 for empty search string (when the last search string is reused
11790 automatically) to adjust the isearch ring to the last element and
11791 prepare the correct index for further M-p commands (bug#9185).
11792
de62b4df
KH
117932011-08-24 Kenichi Handa <handa@m17n.org>
11794
11795 * international/ucs-normalize.el: If decomposition property of
11796 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11797 nil.
11798 (nfd, nfkd): Likewise.
11799
963b492b
SM
118002011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11803 from process filters aren't reliably transmitted to the surrounding
11804 accept-process-output.
11805 (mpc-proc-check): New function.
11806 (mpc-proc-sync): Use it (bug#8293)
11807
93b6b5e1
SM
118082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11811 Add compatibility functions (bug#9313).
11812
bca633fb
EZ
118132011-08-23 Eli Zaretskii <eliz@gnu.org>
11814
b177498a
EZ
11815 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11816
6df6ae42 11817 * international/uni-bidi.el: Regenerate.
bca633fb 11818
0902a04e
KH
118192011-08-23 Kenichi Handa <handa@m17n.org>
11820
11821 * international/charprop.el:
11822 * international/uni-bidi.el:
11823 * international/uni-category.el:
11824 * international/uni-combining.el:
11825 * international/uni-comment.el:
11826 * international/uni-decimal.el:
11827 * international/uni-decomposition.el:
11828 * international/uni-digit.el:
11829 * international/uni-lowercase.el:
11830 * international/uni-mirrored.el:
11831 * international/uni-name.el:
11832 * international/uni-numeric.el:
11833 * international/uni-old-name.el:
11834 * international/uni-titlecase.el:
11835 * international/uni-uppercase.el: Regenerate.
11836
3bbf23bc
MR
118372011-08-23 Martin Rudalics <rudalics@gmx.at>
11838
11839 * help.el (help-window-setup): Fix message displayed when other
11840 window is reused. (Bug#9341)
11841
b3fd59bd
SM
118422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11843
1802e444
SM
11844 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11845 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11846
b3fd59bd
SM
11847 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11848 Mark obsolete.
11849 * shell.el (shell-parse-pcomplete-arguments): New function.
11850 (shell-completion-vars): Use it instead (bug#9160).
11851
4eb61348
SM
118522011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11853
867cab74
SM
11854 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11855 strings and comments (bug#9333).
11856
4eb61348
SM
11857 * emacs-lisp/debug.el (debug-arglist): New function.
11858 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11859 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11860
262a1439
JL
118612011-08-22 Juri Linkov <juri@jurta.org>
11862
56ee679c
JL
11863 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11864 Revert regexp that highlights output switches to its old
11865 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11866
262a1439
JL
11867 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11868 to check for empty output (bug#9226).
11869
f13f86fb
CY
118702011-08-22 Chong Yidong <cyd@stupidchicken.com>
11871
11872 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11873 symbol-constituent as the default, as that stops font-lock from
11874 working properly (Bug#8843).
11875
c65c9622
LMI
118762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11877
11878 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11879 `coding-system-for-*' around the process open call to avoid
11880 auth-source side effects.
e7f2c178 11881 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11882 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11883 probe hangs.
c65c9622 11884
23a8a5ab
CY
118852011-08-21 Chong Yidong <cyd@stupidchicken.com>
11886
ff98b2dd
CY
11887 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11888
23a8a5ab
CY
11889 * emacs-lisp/find-func.el (find-function-noselect): New arg
11890 lisp-only.
11891
11892 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11893 signal an error for built-in functions (Bug#6664).
11894
f5e3c598
LMI
118952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11896
11897 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11898 (smtpmail-try-auth-methods): Use it.
11899
a3f2468a
CY
119002011-08-21 Chong Yidong <cyd@stupidchicken.com>
11901
2c34e8da
CY
11902 * font-lock.el (font-lock-fontify-region)
11903 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11904 (font-lock-default-unfontify-buffer)
11905 (font-lock-default-fontify-region)
11906 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11907
b3fd59bd
SM
11908 * progmodes/compile.el (compilation-error-properties):
11909 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11910 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11911 `ant' regexp.
ee31aabc 11912
a3f2468a
CY
11913 * net/browse-url.el (browse-url-firefox): Don't call
11914 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11915
8e999f70
GM
119162011-08-20 Glenn Morris <rgm@gnu.org>
11917
c21a496a
GM
11918 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11919
59ee0542
GM
11920 * tutorial.el (tutorial--default-keys): Update some default bindings.
11921
8e999f70
GM
11922 * files.el (hack-local-variables): Fully ignore case for "mode:".
11923
e3715033
AM
119242011-08-20 Alan Mackenzie <acm@muc.de>
11925
11926 Resolve invalid use of a regexp in regexp-opt.
11927
4d61f28d
JB
11928 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11929 detection for a java annotation.
e3715033 11930
4d61f28d 11931 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11932 detection for a java annotation.
11933
4d61f28d
JB
11934 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11935 handling for java.
e3715033
AM
11936 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11937
04ed2e9c
CY
119382011-08-20 Chong Yidong <cyd@stupidchicken.com>
11939
11940 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11941 (Bug#9274).
11942
826cee64
AM
119432011-08-20 Alan Mackenzie <acm@muc.de>
11944
58179cce 11945 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11946 such a construct. Mainly for when jit-lock etc. starts a chunk
11947 here.
11948
58179cce 11949 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11950 variable.
58179cce 11951 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11952 c-make-font-lock-search-function.
11953 (c-make-font-lock-search-function): Use the above function.
11954 (c-make-font-lock-context-search-function): New function.
11955 (c-cpp-matchers): Enhance the preprocessor expression case with
11956 the above function
11957 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11958 which takes an expression.
11959
11960 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11961
13009bd8
MR
119622011-08-20 Martin Rudalics <rudalics@gmx.at>
11963
11964 * window.el (display-buffer-reuse-window)
11965 (display-buffer-pop-up-window): Don't reuse or split a side
11966 window.
11967
9234ff7f
GM
119682011-08-19 Glenn Morris <rgm@gnu.org>
11969
11970 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11971 Downcase "Mode:". (Bug#9331)
9234ff7f 11972
f635daa1
CY
119732011-08-18 Chong Yidong <cyd@stupidchicken.com>
11974
11975 * international/characters.el: Add L and R categories.
11976
11977 * subr.el (bidi-string-mark-left-to-right): Rename from
11978 string-mark-left-to-right. Use category search.
11979
11980 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11981
bc987f8b
JL
119822011-08-18 Juri Linkov <juri@jurta.org>
11983
11984 * faces.el (error, warning, success): New faces with definitions
11985 copied from old default values of `font-lock-warning-face',
11986 `compilation-warning', `compilation-info' (bug#6117).
11987
11988 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11989
11990 * progmodes/compile.el (compilation-error): Inherit from `error'.
11991 (compilation-warning): Inherit from `warning'.
11992 (compilation-info): Inherit from `success'.
11993
11994 * dired.el (dired-marked): Inherit from `warning'.
11995 (dired-flagged): Inherit from `error'.
11996
57173b96
LMI
119972011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11998
3e79eb87
LMI
11999 * mail/smtpmail.el (auth-source): Require to avoid problems with
12000 binding variables (bug#9298). Also clean up some unused
12001 autoloads.
12002
b3fd59bd
SM
12003 * net/network-stream.el (network-stream-open-starttls):
12004 Support using starttls.el without using gnutls-cli.
57173b96 12005
02b404de
JL
120062011-08-17 Juri Linkov <juri@jurta.org>
12007
12008 * progmodes/grep.el (rgrep): Handle the case when
12009 `grep-find-command' is a cons cell (bug#9278).
12010
8c9177f2
MR
120112011-08-17 Martin Rudalics <rudalics@gmx.at>
12012
12013 * window.el (display-buffer-pop-up-frame): Run frame creation
12014 function with BUFFER current (as special-display-popup-frame
12015 does). Reported by Drew Adams.
12016
3644a0ab
DU
120172011-08-17 Daiki Ueno <ueno@unixuser.org>
12018
12019 * epa-mail.el: Simplify GnuPG group expansion using
12020 epg-expand-group.
12021 (epa-mail-group-alist, epa-mail-group-modtime)
12022 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12023 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12024 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12025 Remove.
12026
5e617bc2 120272011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12028
12029 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12030
9c4aeabf
AM
120312011-08-16 Alan Mackenzie <acm@muc.de>
12032
12033 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12034 Correct, to avoid the inside of macros.
12035
3a99bf64
RS
120362011-08-16 Richard Stallman <rms@gnu.org>
12037
04963aa8
RS
12038 * epa-mail.el: Handle GnuPG group definitions.
12039 (epa-mail-group-alist, epa-mail-group-modtime)
12040 (epa-mail-gnupg-conf-file): New variables.
12041 (epa-mail-parse-groups, epa-mail-sync-groups)
12042 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12043 (epa-mail-expand-recipients): New functions.
12044 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12045
177549d0
RS
12046 * mail/rmail.el (rmail-epa-decrypt): New command.
12047
fe38beef
RS
12048 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12049 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12050 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12051 (epa-decrypt-armor-in-region): Make error message clearer.
12052
934eacb9
SM
120532011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12054
12055 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12056 and "a2b" to "ab" for `prefix'.
12057
d024fb4e
CY
120582011-08-14 Chong Yidong <cyd@stupidchicken.com>
12059
12060 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12061 filter groups.
de148fee
CY
12062 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12063 Fourquet (Bug#8804).
d024fb4e 12064
62f1ca49
JB
120652011-08-12 Juanma Barranquero <lekktu@gmail.com>
12066
12067 * startup.el (argi): Declare as global variable (bug#9275).
12068
9ccaaa4b
CY
120692011-08-12 Chong Yidong <cyd@stupidchicken.com>
12070
12071 * subr.el (string-mark-left-to-right): Search the entire string
12072 for RTL script, not just the terminating character. Doc fix.
12073
a3dae87a
SM
120742011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12075
6cd18349
SM
12076 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12077 New function.
12078 (js--regexp-literal, js-syntax-propertize-function): Remove.
12079 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12080 (js-mode-map): Don't rebind electric keys.
12081 (js-insert-and-indent): Remove.
12082 (js-mode): Setup electric-layout and electric-indent instead.
12083
a3dae87a
SM
12084 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12085
9d5cb631
DU
120862011-08-12 Daiki Ueno <ueno@unixuser.org>
12087
12088 * epa.el (epa-progress-callback-function): Fix the logic of
12089 displaying progress.
12090 * epa-file.el (epa-file-insert-file-contents): Make progress
12091 display more user-friendly.
12092 (epa-file-write-region): Ditto.
12093
3e26a4a2
CY
120942011-08-10 Chong Yidong <cyd@stupidchicken.com>
12095
12096 * subr.el (string-mark-left-to-right): New function.
12097
12098 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12099 Use string-mark-left-to-right.
12100 (list-buffers-noselect): Caller changed.
12101
a3dae87a
SM
12102 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12103 Use string-mark-left-to-right.
3e26a4a2
CY
12104 (tabulated-list-print): Recenter after moving point.
12105
ac8cf6e6
JL
121062011-08-10 Juri Linkov <juri@jurta.org>
12107
12108 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12109 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12110 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12111
8d96c9a4
CY
121122011-08-09 Chong Yidong <cyd@stupidchicken.com>
12113
12114 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12115 (Bug#7554).
12116
7be1c708 121172011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12118
12119 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12120 character. (Bug#6594)
12121
37e11a63
CY
121222011-08-08 Chong Yidong <cyd@stupidchicken.com>
12123
839dde57
CY
12124 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12125 (image-dired--with-db-file): New macro.
12126 (image-dired-write-tags, image-dired-remove-tag)
12127 (image-dired-create-gallery-lists, image-dired-write-comments)
12128 (image-dired-get-comment, image-dired-mark-tagged-files)
12129 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12130 (image-dired-gallery-generate): Use insert-file-contents.
12131
37e11a63
CY
12132 * time.el (display-time-world-list, display-time-world-display):
12133 * time-stamp.el (time-stamp-string):
12134 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12135 set-time-zone-rule (Bug#7337).
12136
0b4946c4
DU
121372011-08-08 Daiki Ueno <ueno@unixuser.org>
12138
12139 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12140 (epg-error-to-string, epg-errors-to-string): New function.
12141 (epg-wait-for-completion): Reverse errors list.
12142 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12143 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12144 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12145 (epg-sign-keys, epg-generate-key-from-file)
12146 (epg-generate-key-from-string): Format errors by using
12147 epg-errors-to-string (bug#9255).
12148 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12149
75bfc667
JL
121502011-08-07 Juri Linkov <juri@jurta.org>
12151
12152 * faces.el (list-faces-display): Remove extra angle bracket
12153 from `help-mode-map'.
12154
12155 * info.el (Info-history-toc-nodes): Doc fix.
12156
12157 * longlines.el (longlines-mode): Doc fix.
12158
673e08bb
SM
121592011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12160
4640dd88
SM
12161 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12162 of statements and in a few more cases (bug#9183).
12163
673e08bb
SM
12164 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12165 New functions.
12166 (cl-transform-lambda): Use them (bug#9239).
12167
89b3f019
MR
121682011-08-05 Martin Rudalics <rudalics@gmx.at>
12169
12170 * window.el (display-buffer-same-window)
12171 (display-buffer-same-frame, display-buffer-other-window)
12172 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12173 (pop-to-buffer-other-window)
12174 (pop-to-buffer-same-frame-other-window)
12175 (pop-to-buffer-other-frame): Make them defuns.
12176 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12177
640c8776
SM
121782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 * subr.el (make-composed-keymap): Move from C. Change calling
12181 convention, and improve docstring to bring attention to a subtle point.
12182 * minibuffer.el (completing-read-default): Adjust accordingly.
12183
63648a95
MA
121842011-08-03 Michael Albinus <michael.albinus@gmx.de>
12185
12186 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12187 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12188
12189 * net/trampver.el: Update release number.
12190
b796c9b7
SM
121912011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12192
12193 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12194 "in" (bug#9190).
12195
2239d7d5
LMI
121962011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12197
e07dd7c3
LMI
12198 * mail/sendmail.el (sendmail-query-once): Restore the current
12199 buffer after querying (bug#9074).
12200
0e6a2bd7
LMI
12201 * dired.el (dired-flagged): Use different faces for marked and
12202 flagged files (bug#6117).
12203
ce887515
LMI
12204 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12205 (bug#4433).
12206
92f2affc
LMI
12207 * ido.el (ido-mode): Switch off the message if called
12208 non-interactively.
12209
57d5aff0
LMI
12210 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12211 before 587, since it appears that that's more likely to work for
12212 more people.
12213
98cd6c18 12214 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12215 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12216 exist.
12217
b96dec83
LMI
12218 * info.el: Remove the `Info-beginning-of-buffer' function
12219 (bug#8325).
12220
b796c9b7
SM
12221 * net/network-stream.el (network-stream-open-starttls):
12222 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12223
d90e2ea0
MR
122242011-08-01 Martin Rudalics <rudalics@gmx.at>
12225
12226 * window.el (display-buffer-in-window): Don't set dedicated status
12227 of window here (Bug#9215).
12228 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12229 (display-buffer-pop-up-side-window)
b796c9b7 12230 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12231
cca09170
SM
122322011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12235 before binding generated-autoload-file.
12236
027b979c
DD
122372011-08-01 Deniz Dogan <deniz@dogan.se>
12238
12239 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12240
3c7ee4f3
MA
122412011-07-30 Michael Albinus <michael.albinus@gmx.de>
12242
12243 Sync with Tramp 2.2.2.
12244
12245 * net/trampver.el: Update release number.
12246
2cc8e51a
JL
122472011-07-30 Juri Linkov <juri@jurta.org>
12248
12249 * dired-aux.el (dired-touch-initial): Remove function.
12250 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12251 current time, and `default' to the last modification time of the
12252 current marked file (bug#6887).
12253
a514d856
JM
122542011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12255
12256 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12257 numeric argument to read-number (bug#9163).
a514d856 12258
8a7eddd7
MA
122592011-07-27 Michael Albinus <michael.albinus@gmx.de>
12260
12261 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12262 connection process, it could be nil.
12263
1ddd96f5
LL
122642011-07-27 Leo Liu <sdl.web@gmail.com>
12265
12266 Simplify url handling in rcirc-mode.
12267
12268 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12269 (rcirc-browse-url-at-mouse): Remove.
12270 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12271
b248a85d
AM
122722011-07-26 Alan Mackenzie <acm@muc.de>
12273
12274 Fontify bitfield declarations properly.
12275
12276 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12277 (c-symbol-chars): Now exported as a lang variable.
12278 (c-not-primitive-type-keywords): New lang variable.
12279
12280 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12281 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12282 parsed as a bitfield declaration.
b248a85d 12283
b796c9b7
SM
12284 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12285 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12286 (c-punctuation-in): New function.
12287 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12288 declarations properly.
12289
68575ab0
UJ
122902011-07-26 Ulf Jasper <ulf.jasper@web.de>
12291
12292 * calendar/icalendar.el (icalendar--all-events): Take care of
12293 multiple vcalendars in a single file.
b796c9b7 12294 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12295
0f0a88b9
DD
122962011-07-25 Deniz Dogan <deniz@dogan.se>
12297
12298 * image.el (insert-image): Clarifying docstring.
12299
0b3f36df
MA
123002011-07-24 Michael Albinus <michael.albinus@gmx.de>
12301
12302 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12303 `tramp-send-command-and-check' if there is no error.
12304 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12305
a9901f61
AM
123062011-07-22 Alan Mackenzie <acm@muc.de>
12307
12308 Prevent cc-langs.elc being loaded at run time.
12309
12310 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12311 cc-langs.
12312
4d61f28d 12313 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12314 "(require 'cc-langs)". Quote a form so it will evaluate at
12315 (cc-mode's) compilation time.
12316
11d074b2
MA
123172011-07-22 Michael Albinus <michael.albinus@gmx.de>
12318
12319 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12320 loading. (Bug#9114)
12321
938b94c8
MR
123222011-07-21 Martin Rudalics <rudalics@gmx.at>
12323
12324 * window.el (display-buffer-pop-up-window)
12325 (display-buffer-pop-up-side-window)
12326 (display-buffer-in-side-window): Call display-buffer-set-height
12327 and display-buffer-set-width after setting the new window's
b796c9b7 12328 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12329
bfa4f190
SS
123302011-07-20 Sam Steingold <sds@gnu.org>
12331
12332 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12333 (etags-tags-included-tables): Call `convert-standard-filename' on
12334 the file names contained in TAGS so that windows Emacs can handle
12335 TAGS files created by cygwin ctags.
12336
8ca42262
LMI
123372011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12338
12339 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12340 which apparently didn't work.
12341
5db2afd2 123422011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12343
5db2afd2
RW
12344 * proced.el (proced-send-signal): For *Marked Processes* buffer
12345 put point at beginning of buffer.
12346
92e15d10
SB
123472011-07-19 Stephen Berman <stephen.berman@gmx.net>
12348
12349 * proced.el (proced-format): Make header lines align with the text
12350 (bug#1779).
12351
1bfd59e5
LMI
123522011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12353
12354 * view.el (view-buffer): Allow running in `special' modes if we're
12355 visiting a file (bug#8615).
12356
f5aae37c
MR
123572011-07-19 Martin Rudalics <rudalics@gmx.at>
12358
12359 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12360 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12361 New functions.
f5aae37c
MR
12362 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12363 more accurately.
12364
bf2c1571
AM
123652011-07-18 Alan Mackenzie <acm@muc.de>
12366
12367 Fontify declarators properly when, e.g., a jit-lock chunk begins
12368 inside a declaration.
12369
12370 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12371
b796c9b7
SM
12372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12373 New function.
bf2c1571
AM
12374 (c-complex-decl-matchers): Insert reference to
12375 c-font-lock-enclosing-decls.
12376
12377 * progmodes/cc-engine.el (c-backward-single-comment):
12378 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12379 to nil around calls to (forward-comment -1).
12380
4e190b80
LMI
123812011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12382
12dc863d
LMI
12383 * image.el (put-image): Doc typo fix.
12384
a762e966
LMI
12385 * progmodes/etags.el (tags-search): Doc typo fix.
12386
4e190b80
LMI
12387 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12388 password if we get errors 550 to 554.
12389
f019fb21
LMI
123902011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12391
b796c9b7 12392 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12393
81746738
LMI
12394 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12395 indentation character (bug#6380).
12396
3ee3a1b5
LMI
12397 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12398
c82f64de
LMI
12399 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12400 to clarify what the problem is (bug#4291).
12401
f019fb21
LMI
12402 * simple.el (current-kill): Clarify what
12403 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12404 (auto-fill-mode): Document `auto-fill-function' in relation to
12405 `auto-fill-mode' (bug#2470).
f019fb21 12406
0794775d
LM
124072011-07-16 Lawrence Mitchell <wence@gmx.li>
12408
12409 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12410 method if slot is read-only (bug#9035).
12411
be39b8cc
MR
124122011-07-16 Martin Rudalics <rudalics@gmx.at>
12413
b796c9b7 12414 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12415 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12416 selected before, see discussion of (Bug#8615), (Bug#6954).
12417 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12418
6ccf7859
GM
124192011-07-15 Glenn Morris <rgm@gnu.org>
12420
12421 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12422 Respect help-form.
6ccf7859 12423
87e86684
LM
124242011-07-09 Lawrence Mitchell <wence@gmx.li>
12425
12426 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12427 (gnutls-negotiate): Use it.
12428
d6066239
LMI
124292011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12430
b796c9b7
SM
12431 * net/gnutls.el (gnutls-negotiate):
12432 Upcase `gnutls-algorithm-priority'.
d6066239 12433
bd23ebc0
GM
124342011-07-15 Glenn Morris <rgm@gnu.org>
12435
c65bca65
GM
12436 * jka-compr.el (jka-compr-verbose): Move from here...
12437 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12438 Add missing :version tag.
12439 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12440
478615cc
LMI
124412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12442
7b41decb
LMI
12443 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12444 (gnutls-negotiate): Use it.
12445
dbc44fcd
LMI
12446 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12447
06789f97
LMI
12448 * info.el (Info-beginning-of-buffer): New command.
12449 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12450 announcing `b' as the key (bug#8325).
ab896c37 12451 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12452
c39da690
LMI
12453 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12454
3aa5f34b
LMI
12455 * international/mule-cmds.el
12456 (describe-specified-language-support): Make the error message
12457 clearer (bug#8905).
12458
4bf0979f
LMI
12459 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12460
478615cc
LMI
12461 * isearch.el (isearch-barrier): Add a doc string, since it's
12462 mentioned in a function doc string (bug#8678).
12463
75c68aa1
MR
124642011-07-15 Martin Rudalics <rudalics@gmx.at>
12465
12466 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12467 buffer argument (Bug#9083) and self-identifying label argument.
12468
a7c33da2
GM
124692011-07-15 Glenn Morris <rgm@gnu.org>
12470
12471 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12472
2f5c6024
LMI
124732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12474
12475 * man.el (Man-fontify-manpage): Fix message when formatting the
12476 man page (bug#7929).
12477
0bb23927 124782011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12479
12480 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12481 argument LRM; if non-nil, append an invisible LRM character to the
12482 buffer name.
12483 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12484 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12485 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12486 paragraph direction.
cce4b0a7 12487
621ef9ab
LMI
124882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489
d1583c48
LMI
12490 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12491 the man page name (bug#7929).
12492
6a57fb5f
LMI
12493 * image.el (put-image): Mention the `put-image' overlay property
12494 (bug#7834).
12495
d7956b14
LMI
12496 * scroll-bar.el (set-scroll-bar-mode): Mention that
12497 `scroll-bar-mode' lists the values (bug#7772).
12498
5b2d4a66
LMI
12499 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12500 command (bug#7729).
12501
7509a874
LMI
12502 * rect.el (apply-on-rectangle): Return the point after the last
12503 operation.
12504 (string-rectangle): Go to the point after the last operation
12505 (bug#7522).
12506
4fe74b19
LMI
12507 * printing.el (pr-toggle-region): Clarify the documentation
12508 slightly (bug#7493).
12509
b796c9b7
SM
12510 * time.el (display-time-update):
12511 Allow `display-time-mail-function' to return nil (bug#7158).
12512 Fix suggested by Detlev Zundel.
ab283561 12513
fc233c9d
LMI
12514 * vc/diff.el (diff): Clarify the order the file names are read
12515 (bug#7111).
12516
43f5740b
LMI
12517 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12518 the doc string (bug#7015).
12519
f2182a76
LMI
12520 * font-lock.el (font-lock-maximum-decoration): Mention what
12521 numeric levels mean (bug#6935).
12522
621ef9ab
LMI
12523 * startup.el (initial-buffer-choice): Don't mention the `none'
12524 selection, which is against policy.
12525
adc47434
MR
125262011-07-14 Martin Rudalics <rudalics@gmx.at>
12527
b796c9b7
SM
12528 * window.el (display-buffer-normalize-special):
12529 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12530
7e5bfb8f
EZ
125312011-07-14 Eli Zaretskii <eliz@gnu.org>
12532
12533 * subr.el (version<, version<=, version=): Mention "-CVS" and
12534 "-12345" alpha version numbers.
12535
27fa387a
CY
125362011-07-14 Chong Yidong <cyd@stupidchicken.com>
12537
12538 * bindings.el: Add advertised binding for set-mark-command
12539 (Bug#5772).
12540
8bdfa064
CY
125412011-07-14 Chong Yidong <cyd@stupidchicken.com>
12542
12543 * bindings.el (mode-line-other-buffer):
12544 * bookmark.el (bookmark-bmenu-2-window):
12545 * bs.el (bs-cycle-next, bs-cycle-previous):
12546 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12547 switch-to-buffer.
12548
12549 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12550 Delete.
8bdfa064 12551
5eba16a3
JB
125522011-07-14 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * follow.el (follow-debug-message, follow-redisplay):
12555 * jka-cmpr-hook.el (with-auto-compression-mode):
12556 Fix typos in docstrings.
12557
15853710
LMI
125582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12559
a28e4607
LMI
12560 * subr.el (with-silent-modifications): Clarify somewhat what the
12561 macro inhibits (bug#6525).
12562
15853710
LMI
12563 * simple.el (eval-expression): Note what it does if called
12564 interactively (bug#6495).
12565
bee0fcef
CY
125662011-07-13 Chong Yidong <cyd@stupidchicken.com>
12567
b796c9b7
SM
12568 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12569 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12570
12571 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12572 Remove switch-to-buffer.
12573
58274504
LMI
125742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575
bd2fcc8d
LMI
12576 * files.el (make-directory): Clarify that an error will be raised
12577 if there's an error (bug#6397).
12578
0f04b32c
LMI
12579 * startup.el (initial-buffer-choice): Add `none' as a choice
12580 (bug#6234).
12581
465c5fc8
LMI
12582 * subr.el (add-hook): Clarify section about buffer-local hooks
12583 (bug#6218).
12584
58274504
LMI
12585 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12586
bead9a43
JB
125872011-07-13 Juanma Barranquero <lekktu@gmail.com>
12588
12589 * tabify.el (untabify): Preserve the current column so that point
12590 doesn't move (bug#6032).
12591
3af98a7b
LMI
125922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12593
b796c9b7
SM
12594 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12595 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12596
6240145a
GM
125972011-07-13 Glenn Morris <rgm@gnu.org>
12598
12599 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12600 (dired-insert-directory): Give a message the first time
12601 if ls is found not to support --dired.
12602
1d8c2ccc
LMI
126032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12604
12605 * simple.el (toggle-truncate-lines): Clarify what is toggled
12606 (bug#5580). Text by Drew Adams.
12607
5fc4038e
CY
126082011-07-13 Chong Yidong <cyd@stupidchicken.com>
12609
12610 * simple.el (blink-matching-open): Make the error message from the
12611 last change less verbose.
12612
bf6012e5
DN
126132011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12614
12615 * font-lock.el (font-lock-comment-face): Use the high contrast
12616 "yellow" color for font-lock-comment-face on low color terminals
12617 using a dark background color (bug#4221).
12618
343c3b5a
LMI
126192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12620
7e9505c5
LMI
12621 * dired.el (dired-insert-set-properties): Make the doc string
12622 reflect what it does now (bug#5325).
12623
c26fdcf5
LMI
12624 * simple.el (blink-matching-open): Say that we were unable to find
12625 the match within the limit, if we're limited (bug#5122).
12626
bb388cc5
LMI
12627 * international/mule-cmds.el (prefer-coding-system): Add an
12628 example (bug#4869).
12629
343c3b5a
LMI
12630 * progmodes/etags.el (tags-search): Document `file-list-form'
12631 (bug#4731).
12632
2a517d45
LM
126332011-07-13 Lawrence Mitchell <wence@gmx.li>
12634
12635 * net/browse-url.el (browse-url-default-browser)
12636 (browse-url-browser-function): Make the default browser choice a
12637 bit more logical (bug#4300). Also clean up the doc string.
12638
b6c78ef2
JB
126392011-07-13 Juanma Barranquero <lekktu@gmail.com>
12640
12641 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12642 binary endings (bug#4440).
12643
1c4dd947
LMI
126442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12645
a2014063
LMI
12646 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12647 which can be pretty annoying (bug#8971).
12648
9c9c2d88
LMI
12649 * jka-compr.el (jka-compr-verbose): New variable, and use
12650 throughout (bug#8971).
12651
1c4dd947
LMI
12652 * info.el (Info-find-file): Fall back on the installation
12653 directory if we can't find the info node anywhere else.
12654
a1c9f41b
SO
126552011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12656
12657 * vc/vc.el (vc-revert-file):
12658 Don't set file time-stamp in the past. (Bug#5181)
12659
536f3d36
LMI
126602011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12661
7152b011
LMI
12662 * files.el (after-find-file): Give a better error message when
12663 trying to find a symlink that points to a file that doesn't exist
12664 (bug#4398).
12665
536f3d36
LMI
12666 * progmodes/cc-vars.el: Remove (probably) misleading comment
12667 (bug#4396).
12668
460c0fba
JB
126692011-07-12 Johan Bockgård <bojohan@gnu.org>
12670
12671 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12672
7a6bda45
CY
126732011-07-12 Chong Yidong <cyd@stupidchicken.com>
12674
12675 * mouse-sel.el: Hack restoring functionality, while keeping
12676 compatibility with 2010-07-03 changes to mouse selection.
12677 (mouse-sel-primary-overlay): New var.
12678 (mouse-sel-selection-alist): Use it.
12679 (mouse-sel-mode): Doc fix; remove points that are default features
12680 of mouse.el.
12681
c79598ef
JB
126822011-07-12 Johan Bockgård <bojohan@gnu.org>
12683
12684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12685 Fix previous fix (bug#2490).
12686
ff8be6ef
RW
126872011-07-12 Roland Winkler <winkler@gnu.org>
12688
b796c9b7
SM
12689 * textmodes/bibtex.el (bibtex-initialize):
12690 Use pop-to-buffer-same-window.
ff8be6ef
RW
12691 (bibtex-search-entries): Fix interactive call.
12692
296ba3ee
LMI
126932011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694
f5242a02 12695 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12696 Fontise bytecomp Error lines more correctly (bug#2490).
12697 Fix suggested by Johan Bockgård.
f5242a02 12698
296ba3ee
LMI
12699 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12700
12701 * dired-x.el (dired-guess-default): Use `delete-dups'.
12702
f69fd0d2
CY
127032011-07-12 Chong Yidong <cyd@stupidchicken.com>
12704
12705 * dired.el (dired-mark-prompt):
12706 * dired-aux.el (dired-read-shell-command): Doc fix.
12707
eab5dc07
LMI
127082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12709
b796c9b7
SM
12710 * mail/sendmail.el (sendmail-query-once):
12711 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12712 emacs -Q.
12713
12714 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12715
eab5dc07
LMI
12716 * cus-edit.el (custom-file): Take an optional no-error variable.
12717 (customize-save-variable): Set the variable, and give a warning if
12718 running under "emacs -q".
12719
a1e65d42
JB
127202011-07-11 Juanma Barranquero <lekktu@gmail.com>
12721
12722 * loadhist.el (unload-feature-special-hooks):
12723 Add `auto-coding-functions', `fill-nobreak-predicate' and
12724 `find-directory-functions' (bug#5327).
12725
1d52da10
LMI
127262011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12727
be958f1d
LMI
12728 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12729
5bedb26c
LMI
12730 * cus-edit.el (custom-guess-name-alist): -alist variables should
12731 use the `alist' type (bug#3120). Suggested by Drew Adams.
12732
1d52da10
LMI
12733 * printing.el: Add documentation to all the `pr-toggle-' commands.
12734
cd394be1 127352011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12736
12737 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12738 backends where it makes sense (bug#2623).
12739
dcc88d8a
LMI
127402011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12741
c3de9feb
LMI
12742 * dired-x.el (dired-guess-default): Remove duplicate shell command
12743 entries (bug#2028).
8a93078b 12744 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12745 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12746
dcc88d8a
LMI
12747 * subr.el (remove-duplicates): New conveniency function.
12748
505e3645
LMI
127492011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12750
12751 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12752 (bug#1526).
12753
127542011-07-10 Martin Rudalics <rudalics@gmx.at>
12755
12756 * window.el (display-buffer-normalize-default): Don't invert
12757 meaning of even-window-heights. Reported by Eli Zaretskii
12758 <eliz@gnu.org>.
12759
455e4fa1
BR
127602011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12761
12762 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12763
8e0bc3e9
CY
127642011-07-10 Chong Yidong <cyd@stupidchicken.com>
12765
12766 * window.el (display-buffer): Fix arguments to
12767 display-buffer-reuse-window in last change.
12768
fa7c3228
CY
12769 * faces.el (link): Use a less saturated blue on light backgrounds.
12770
12771 * startup.el (fancy-startup-text, fancy-about-text)
12772 (fancy-startup-tail): Use font-lock faces, for background safety.
12773
c0a7f300
BN
127742011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12775
b796c9b7
SM
12776 * emulation/viper-cmd.el (viper-change-state-to-vi):
12777 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12778
4dc2a129
MR
127792011-07-09 Martin Rudalics <rudalics@gmx.at>
12780
12781 * window.el (display-buffer-default-specifiers): Remove.
12782 (display-buffer-macro-specifiers): Remove default specifiers.
12783 (display-buffer-alist): Default to nil.
b796c9b7 12784 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12785 (display-buffer-pop-up-window): Allow splitting internal
12786 windows. Check whether a live window was created.
12787 (display-buffer-other-window-means-other-frame)
12788 (display-buffer-normalize-arguments): Rename to
12789 display-buffer-normalize-argument and rewrite. Set the
12790 other-window specifier.
12791 (display-buffer-normalize-special): New function.
12792 (display-buffer-normalize-options): Rename to
12793 display-buffer-normalize-default and rewrite.
12794 (display-buffer-normalize-options-inhibit): Remove.
12795 (display-buffer-normalize-specifiers): Rewrite.
12796 (display-buffer): Process other-window specifier and call
12797 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12798 more faithfully.
b796c9b7 12799 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12800 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12801 (display-buffer-in-window, display-buffer-alist-set):
12802 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12803 <tassilo@member.fsf.org>.
12804
2d43b8c9
LL
128052011-07-09 Leo Liu <sdl.web@gmail.com>
12806
12807 * register.el (insert-register): Restore accidental change on
12808 2011-06-26. (Bug#9028)
12809
7f9b7c53
GM
128102011-07-09 Glenn Morris <rgm@gnu.org>
12811
12812 * subr.el (remq): Handle the empty list. (Bug#9024)
12813
f042cfd8
AS
128142011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12815
12816 * mail/sendmail.el (send-mail-function): No longer delay custom
12817 initialization.
12818 * custom.el (custom-initialize-delay): Doc fix.
12819
856b2f11
SM
128202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12823
afae1d68
MA
128242011-07-08 Michael Albinus <michael.albinus@gmx.de>
12825
12826 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12827 human-friendly prompt.
12828
0757af94
SM
128292011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12832 provided by a particular plugin.
12833
d760b731
LMI
128342011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12835
12836 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12837 save customizations (with "emacs -Q"), just set the variable
12838 instead of erroring out.
12839
12840 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12841
cd79ce90
JL
128422011-07-08 Juri Linkov <juri@jurta.org>
12843
12844 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12845 (archive-zip-update-case): Use 7z if found by `executable-find'.
12846 The order of searching the available programs is the same as in
12847 `archive-zip-extract' (bug#8968).
12848
14cc04aa
CY
128492011-07-07 Chong Yidong <cyd@stupidchicken.com>
12850
12851 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12852 (menu-bar-options-menu): Tweak descriptions.
12853
0a1848ec
LMI
128542011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12855
12856 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12857 menu items into verb phrases (bug#1421). Also refill to fit under
12858 80 columns.
12859
f5bd0689
CY
128602011-07-07 Chong Yidong <cyd@stupidchicken.com>
12861
538e85c6
CY
12862 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12863 (Info-read-node-name): Doc fix (Bug#1084).
12864
f5bd0689
CY
12865 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12866 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12867 (end-of-sexp, beginning-of-sexp)
12868 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12869 (forward-symbol, forward-same-syntax, word-at-point)
12870 (sentence-at-point): Doc fix (Bug#1144).
12871
56ec5115
LMI
128722011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12873
f3f8e37f
LMI
12874 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12875 should cover it (bug#1281).
12876
0757af94 12877 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12878
e9fce1ac 12879 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12880 negotiation fails, then possibly try again with a non-encrypted
12881 connection (bug#9017).
12882
56ec5115
LMI
12883 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12884 be used.
12885
c2f9aec8
RS
128862011-07-07 Richard Stallman <rms@gnu.org>
12887
12888 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12889 property, and handle its changed format.
12890 Look for the correct line number.
12891 Use file's line contents (but not past first =) to find
12892 correct line in message.
12893
ef7b981d 128942011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12895
12896 * international/characters.el (build-unicode-category-table):
12897 Delete it.
0757af94 12898 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12899
0757af94 12900 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12901 to src/chartab.c.
12902 (get-char-code-property): Call unicode-property-table-internal to
12903 load a file. Call get-unicode-property-internal where necessary.
12904 (put-char-code-property): Call unicode-property-table-internal to
12905 load a file. Call put-unicode-property-internal where necessary.
12906 put-unicode-property-internal where necessary.
0757af94
SM
12907 (char-code-property-description):
12908 Call unicode-property-table-internal to load a file.
c805dec0
KH
12909
12910 * international/charprop.el:
12911 * international/uni-bidi.el:
12912 * international/uni-category.el:
12913 * international/uni-combining.el:
12914 * international/uni-comment.el:
12915 * international/uni-decimal.el:
12916 * international/uni-decomposition.el:
12917 * international/uni-digit.el:
12918 * international/uni-lowercase.el:
12919 * international/uni-mirrored.el:
12920 * international/uni-name.el:
12921 * international/uni-numeric.el:
12922 * international/uni-old-name.el:
12923 * international/uni-titlecase.el:
12924 * international/uni-uppercase.el: Regenerate.
12925
12926 * loadup.el: Load international/charprop.el before
12927 international/characters.
12928
e14b388a
CY
129292011-07-07 Chong Yidong <cyd@stupidchicken.com>
12930
12931 * window.el (next-buffer, previous-buffer): Signal an error if
12932 called from a minibuffer window.
12933
12934 * bindings.el: Revert 2011-07-04 change.
12935
354cf0ba
RS
129362011-07-06 Richard Stallman <rms@gnu.org>
12937
12938 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12939 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12940 Treat markers like ints.
12941 (rmail-mime-entity): Doc fix.
12942
a48868a7
LMI
129432011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12944
4906cd3d
LMI
12945 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12946 defcustom again for backwards compatibility.
12947
e0457abe
LMI
12948 * simple.el (shell-command-on-region): Fill.
12949
d67f7e1f
LMI
12950 * dired-aux.el (dired-kill-line): Add a doc string.
12951
fe204702
LMI
12952 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12953 to "\\sw\\|\\s_" (bug#358).
12954
a48868a7
LMI
12955 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12956 (dired-unmark-backward): Ditto.
12957 (dired-flag-backup-files): Ditto.
12958
12959 * dired-x.el (dired-mark-sexp): Ditto.
12960
aa8a705c
RS
129612011-07-06 Richard Stallman <rms@gnu.org>
12962
12963 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12964 (rmail-mime-entity): New arg TRUNCATED.
12965 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12966 New functions.
12967 (rmail-mime-save): Warn if entity is truncated.
12968 (rmail-mime-toggle-hidden): Likewise, for showing.
12969 (rmail-mime-process-multipart): Record when an entity is truncated.
12970
a9a936b9
RS
12971 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12972 if ENTITY is a string.
12973
1f2b92cb
LMI
129742011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12975
f4f73198 12976 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12977 of faces when `M-C-x'-ing their definitions (bug#8378).
12978 Also clean up the code slightly.
f4f73198 12979
12b16734 12980 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12981 because that makes the colors go away.
12b16734 12982
f0691d22
LMI
12983 * mail/sendmail.el (send-mail-function): Change the default to
12984 `sendmail-query-once'.
9e87df06 12985 (sendmail-query-once): Add an autoload cookie.
f0691d22 12986
1f2b92cb
LMI
12987 * net/network-stream.el (network-stream-open-starttls): Try using
12988 a plain connection even if the server offered STARTTLS, and we
12989 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12990 capability. This should make smtpmail.el work in slightly more
12991 configurations.
12992
1cdd2a1b
MA
129932011-07-06 Michael Albinus <michael.albinus@gmx.de>
12994
12995 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12996 New defun.
12997 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12998
fbcc67e2
MM
129992011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13000
13001 * progmodes/sql.el: Version 3.0
0757af94 13002 (sql-product-alist): Add product :completion-object,
fbcc67e2 13003 :completion-column, and :statement attributes.
0757af94 13004 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13005 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13006 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13007 ansi keywords.
13008 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13009 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13010 (sql-oracle-show-reserved-words): New function for development.
13011 (sql-product-font-lock): Simplify for source code buffers.
13012 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13013 New functions.
13014 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13015 (sql-mode-map): Add statement movement functions.
13016 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13017 New variable.
fbcc67e2
MM
13018 (sql-statement-regexp, sql-beginning-of-statement)
13019 (sql-end-of-statement, sql-signum): New functions.
0757af94 13020 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13021 (sql-show-sqli-buffer): Bug fix.
13022 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13023 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13024 with sql-interactive-mode.
13025 (sql-save-connection): Save buffer local settings.
0757af94 13026 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13027 (sql-product-interactive): Bug fix.
13028 (sql-preoutput-hold): New variable.
13029 (sql-interactive-remove-continuation-prompt): Bug fixes.
13030 (sql-debug-redirect): New variable.
13031 (sql-str-literal): New function.
13032 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13033 Redesign.
fbcc67e2
MM
13034 (sql-oracle-save-settings, sql-oracle-restore-settings)
13035 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13036 (sql-completion-object, sql-completion-column)
13037 (sql-completion-sqlbuf): New variables.
13038 (sql-build-completions-1, sql-build-completions)
13039 (sql-try-completion): New functions.
13040 (sql-read-table-name): Use them.
13041 (sql-contains-names): New buffer local variable.
13042 (sql-list-all, sql-list-table): Use it.
13043 (sql-oracle-completion-types): New variable.
13044 (sql-oracle-completion-object, sql-sqlite-completion-object)
13045 (sql-postgres-completion-object): New functions.
13046
d4eaeab1
GM
130472011-07-06 Glenn Morris <rgm@gnu.org>
13048
13049 * window.el (pop-to-buffer): Doc fix.
13050
322b7dab 130512011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13052
13053 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13054
322b7dab 130552011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13056
322b7dab 13057 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13058
322b7dab 13059 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13060
605dd5bf
CY
130612011-07-05 Chong Yidong <cyd@stupidchicken.com>
13062
13063 * button.el (button): Inherit from link face. Suggested by Dan
13064 Nicolaescu.
13065
7dbfa719
SM
130662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13067
3db614b0
SM
13068 * progmodes/gdb-mi.el: Fit in 80 columns.
13069 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13070 switch-to-buffer.
13071
7dbfa719
SM
13072 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13073 if imenu is simply not configured (bug#8941).
13074
919d884a
KM
130752011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13076
13077 * allout.el (allout-post-undo-hook): New allout outline-change
13078 event hook to signal undo activity.
13079 (allout-post-command-business): Run allout-post-undo-hook if an
13080 undo just occurred.
7dbfa719
SM
13081 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13082 * allout-widgets.el (allout-widgets-after-undo-function):
13083 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13084 in the vicinity of an undo.
13085 (allout-widgets-mode): Include allout-widgets-after-undo-function
13086 on the new allout-post-undo-hook.
13087
450a0f09
SM
130882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13091 Let define-derived-mode define it.
13092 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13093 cycles of abbrev-table inheritance (bug#8998).
13094
2de69e00
RW
130952011-07-05 Roland Winkler <winkler@gnu.org>
13096
13097 * textmodes/bibtex.el: Add support for biblatex.
13098 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13099 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13100 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13101 (bibtex-entry-alist, bibtex-field-alist): New variables.
13102 (bibtex-entry-field-alist): Obsolete alias for
13103 bibtex-BibTeX-entry-alist.
13104 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13105 (bibtex-set-dialect): New command.
13106 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13107 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13108 Bind via bibtex-set-dialect.
2de69e00
RW
13109 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13110 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13111 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13112 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13113 Define via bibtex-set-dialect.
450a0f09
SM
13114 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13115 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13116 (bibtex-vec-push, bibtex-vec-incr): New functions.
13117 (bibtex-format-entry, bibtex-field-list)
13118 (bibtex-print-help-message, bibtex-validate)
13119 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13120
2dcdbdd9
SM
131212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 * progmodes/compile.el (compilation-goto-locus):
13124 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13125 * bs.el (bs-cycle-next, bs-cycle-previous):
13126 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13127 * bindings.el (mode-line-other-buffer):
13128 * autoinsert.el (auto-insert):
13129 * arc-mode.el (archive-extract):
13130 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13131
b27640fe
JB
131322011-07-05 Juanma Barranquero <lekktu@gmail.com>
13133
13134 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13135 Fix check of `emacs-lock-unlockable-modes'.
13136 Coerce true values of `emacs-lock--try-unlocking' to t.
13137
53bbe3ad
JB
131382011-07-05 Juanma Barranquero <lekktu@gmail.com>
13139
13140 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13141 * emacs-lock.el: New file.
13142
1d3cdbc7
JD
131432011-07-05 Julien Danjou <julien@danjou.info>
13144
13145 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13146 than `boundp' to check if face is set.
13147
9173deec
JB
131482011-07-05 Juanma Barranquero <lekktu@gmail.com>
13149
13150 * register.el (registerv-make):
13151 * window.el (window-min-height): Fix typos in docstrings.
13152
869795d6
JD
131532011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13154
9173deec 13155 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13156 Update doc string.
13157
b768cdcd
JB
131582011-07-04 Juanma Barranquero <lekktu@gmail.com>
13159
13160 * server.el (server-execute): Catch quit and call
13161 `server-return-error' to pass the error back to emacsclient and
13162 close the connection (bug#8942).
13163
13aa217b
KM
131642011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13165
13166 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13167 insecure exception for current topic. Also note that auto-saves
13168 are handled differently.
13169
5d3385a0 13170 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13171 State variables for tracking auto-save inhibition situation.
13172
13173 (allout-write-contents-hook-handler): Rename from
13174 'allout-write-file-hook-handler', and describe how it depends on
13175 write-contents-functions sensitivity to non-nil value to prevent
13176 file write.
13177
13178 (allout-auto-save-hook-handler): Remove. auto-save does not check
13179 this in individual buffers, only in the starting buffer, so this
13180 is not the right way for us to inhibit auto-save in a buffer
13181 according to its condition.
13182
13183 (allout-mode): Use new allout-write-contents-hook-handler, and
13184 only with write-contents-functions. Remove auto-save provisions -
13185 they're implemented elsewhere.
13186
13187 (allout-before-change-handler): If undo is in progress, note that
13188 for attention of allout-post-command-business.
13189
13190 (allout-post-command-business): If the command we're following was
13191 an undo, check for change in the status of encrypted items and
13192 adjust auto-save inhibitions accordingly.
13193
13194 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13195 according to whether there are or aren't any plain-text topics
13196 pending encryption.
13197
2dcdbdd9 13198 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13199 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13200 if there are plain-text topics pending encryption.
13aa217b
KM
13201
13202 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13203 buffer-saved-size and some allout state to not inhibit auto-saves
13204 if there are no longer any plain-text topics pending encryption.
13205
0757af94
SM
13206 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13207 No longer provide for exemption of the current topic.
13aa217b 13208
ac89b32c
JL
132092011-07-04 Juri Linkov <juri@jurta.org>
13210
13211 Add 7z operations to delete and save changed members (bug#8968).
13212 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13213 New defcustoms.
13214 (archive-7z-write-file-member): New function.
13215 (archive-7z-summarize): Fix the number of dashes in the
13216 listing output.
13217
8fa39615
SM
132182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13219
13220 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13221 (bug#8958).
13222
2f11b3f1
CY
132232011-07-04 Chong Yidong <cyd@stupidchicken.com>
13224
d66fef2b
CY
13225 * bindings.el: Ignore next-buffer and previous-buffer in
13226 minibuffer-local-map.
13227
2f11b3f1
CY
13228 * font-lock.el (font-lock-builtin-face): Change light background
13229 color to dark slate blue (Bug#6693).
13230
f932a347
WD
132312011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13232
13233 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13234
c8af70e1
SM
132352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13239 Add switch-to-buffer.
13240
f158badc
LMI
132412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13242
13243 * isearch.el (isearch-search-fun-function): Clarify further the
13244 meaning of the function returned.
13245
6d95bd46
MA
132462011-07-04 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13249
13250 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13251 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13252 Use it.
13253 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13254 `tramp-default-remote-path' does not exist.
13255 (tramp-send-command-and-read): New optional argument NOERROR.
13256 (tramp-open-connection-setup-interactive-shell)
13257 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13258 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13259 (tramp-process-sentinel): Flush also process' connection property.
13260 (tramp-sh-handle-start-file-process): Do not set process
13261 sentinel. It is done now ...
13262 (tramp-maybe-open-connection): ... here. (Bug#8929)
13263
909e6b67
MK
132642011-07-04 MON KEY <monkey@sandpframing.com>
13265
13266 * play/animate.el (animate-string): Doc fixes and allow changing
13267 the buffer name (bug#5417).
13268
132692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13270
c8af70e1 13271 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13272
f34755dc
PE
132732011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13274
396cec72
PE
13275 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13276 This is simpler and helps future-proof the code.
13277 (timer-until): Use time-subtract and float-time.
08235028 13278 (timer--time-less-p): Use time-less-p.
f34755dc 13279
56e6cc31
JB
132802011-07-04 Juanma Barranquero <lekktu@gmail.com>
13281
3abb79e5
JB
13282 * type-break.el (timep): Use the value of `float-time' to avoid a
13283 byte-compiler warning.
13284
56e6cc31
JB
13285 * server.el (server-eval-and-print): Return any result, even nil.
13286
7b9430b4
PE
132872011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13288
13289 * type-break.el: Accept time formats that the builtins accept.
13290 (timep, type-break-time-difference): Accept any format that
13291 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13292 This is simpler and helps future-proof the code.
13293 (type-break-time-difference): Round rather than ignoring
13294 subseconds components.
13295
3034e9e7
LMI
132962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13297
13298 * info.el (Info-apropos-matches): Make non-interactive, since it
13299 doesn't seem to do anything useful as a command (bug#8829).
13300
1485f4c0
CY
133012011-07-03 Chong Yidong <cyd@stupidchicken.com>
13302
13303 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13304 Move from faces.el.
1485f4c0
CY
13305 (frame-default-terminal-background): New function.
13306
13307 * custom.el (custom-push-theme): Don't record faces in `changed'
13308 theme; this doesn't work correctly for per-frame face settings.
13309 (disable-theme): Use face-set-after-frame-default to reset faces.
13310 (custom--frame-color-default): New function.
13311
9fa3dd45
LMI
133122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13313
c8af70e1 13314 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13315 (bug#8769).
13316
6cbbc20c
KR
133172011-03-29 Kevin Ryde <user42@zip.com.au>
13318
13319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13320 `perl-Test2' extend to match possible "fail #N" rep count
13321 (bug#8377).
13322
c7f98048
LMI
133232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13324
65676592
LMI
13325 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13326 `smtpmail-via-smtp' now returns the error instead of nil.
13327
c7f98048
LMI
13328 * isearch.el (isearch-search-fun-function): Clarify the doc string
13329 (bug#8101).
13330
56e6cc31 133312011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13332
13333 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13334 unnecessary spaces (bug#8987).
13335
2b216704
LMI
133362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13337
13338 * net/network-stream.el (open-network-stream): Use the
13339 :end-of-capability command thoughout.
13340
133412011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13342
13343 * net/network-stream.el (open-network-stream): Add the
13344 :end-of-capability command parameter, used by pop3.el.
13345
36adf6ce
LMI
133462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13347
1ca0da0e
LMI
13348 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13349
fc00f69c
LMI
13350 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13351 for list)" (bug#6475).
13352
28fd8759 13353 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13354 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13355 an error (bug#6297).
13356
0dd8b6da
LMI
13357 * man.el (Man-reference-regexp): Allow matching possible
13358 word-wrapped references (bug#6289).
13359
ce1438d6
LMI
13360 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13361 for consistency with the other vc buffers (bug#6197).
13362 (vc-checkin): Ditto.
13363
13364 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13365
36adf6ce
LMI
13366 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13367
e83cc1f7
LMI
133682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369
8a20ca4c
LMI
13370 * custom.el (defcustom): Clarify that :set is only used in the
13371 Customize user interface (bug#6089).
13372
83319045
LMI
13373 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13374 associated with a file, refuse to run instead of erroring out
13375 (bug#6084).
13376
a8392169
LMI
13377 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13378 the doc string, since it appears that using `fill-column' always
13379 controls the width (bug#7845).
13380
e83cc1f7
LMI
13381 * simple.el (shell-command-on-region): Say where the error output
13382 went if `shell-command-default-error-buffer' is set (bug#6857).
13383
e47ca23b
KM
133842011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13385
13386 * allout.el (allout-yank-processing): Adjust cursor position for
13387 backwards-deleted space.
13388
13389 (allout-rebullet-heading): Register changes with
13390 allout-exposure-changed-hook, so the modified topic is properly
13391 decorated.
13392
5cf56143
LMI
133932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13394
08549772
LMI
13395 * minibuffer.el (completion-in-region): Document PREDICATE
13396 (bug#7136).
13397
48e96771
LMI
13398 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13399 of keyword/argument pairs (bug#6904).
13400
c8af70e1
SM
13401 * replace.el (multi-occur):
13402 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13403
e17d05e2
LMI
134042011-07-02 Drew Adams <drew.adams@oracle.com>
13405
13406 * dired.el (dired-mark-if): Make the message about whether it's
13407 marking or unmarking clearer (bug#8523).
13408
063b0e45
LMI
134092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13410
13411 * disp-table.el (display-table-print-array): New function.
13412 (describe-display-table): Use it to print the vectors more pretty
13413 (Bug#8859).
13414
28545e04
MR
134152011-07-02 Martin Rudalics <rudalics@gmx.at>
13416
13417 * window.el (window-state-get-1): Don't assign clone numbers.
13418 Add clone-of item to list of window parameters.
13419 (window-state-put-2): Don't process clone numbers.
13420 (display-buffer-alist): Fix doc-string.
13421
3349e122
SM
134222011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13423
13424 * subr.el (remq): Don't allocate if it's not needed.
13425 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13426 (keymap--merge-bindings): New functions.
13427 (keymap-canonicalize): Use them to refine the canonicalization.
13428 * minibuffer.el (minibuffer-local-completion-map)
13429 (minibuffer-local-must-match-map): Move initialization from C.
13430 (minibuffer-local-filename-completion-map): Move initialization from C;
13431 don't inherit from anything here.
13432 (minibuffer-local-filename-must-match-map): Make obsolete.
13433 (completing-read-default): Use make-composed-keymap to combine
13434 minibuffer-local-filename-completion-map with either
13435 minibuffer-local-must-match-map or
13436 minibuffer-local-filename-completion-map.
13437
d224ac83
GM
134382011-07-01 Glenn Morris <rgm@gnu.org>
13439
3de63bf8
GM
13440 * type-break.el (type-break-time-sum): Use dolist.
13441
d224ac83
GM
13442 * textmodes/flyspell.el (flyspell-word-search-backward):
13443 Replace CL function.
13444
1a1e3f32
SM
134452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13446
fe3f64d5
SM
13447 * mouse.el (mouse--strip-first-event): New function.
13448 (function-key-map): Use it to map fringe clicks to normal clicks
13449 by default.
13450
eb604e34
SM
13451 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13452 (vc-bzr-revision-completion-table): Add support for annotate and date.
13453
1a1e3f32
SM
13454 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13455 inherit from parent.
13456
5bd35902
LMI
134572011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13458
ace6c69c 13459 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13460 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13461
191e2bed
LMI
13462 * dired.el (dired-mode): Fix up the doc string as suggested by
13463 Drew Adams (bug#8817).
13464
5bd35902
LMI
13465 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13466 cookie, since the manual says that it should be possible to add
13467 this function to `find-file-hook' (bug#8709).
13468
eee8207a
TZ
134692011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13470
13471 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13472 here. Noted Ted Zlatanov as the maintainer.
13473 (cfengine-common-settings, cfengine-common-syntax): New functions
13474 to set up common things between `cfengine-mode' and
13475 `cfengine3-mode'.
13476 (cfengine3-mode): New mode.
13477 (cfengine3-defuns cfengine3-defuns-regex
13478 (cfengine3-class-selector-regex cfengine3-category-regex)
13479 (cfengine3-vartypes cfengine3-font-lock-keywords)
13480 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13481 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13482
36b148cf
MA
134832011-07-01 Michael Albinus <michael.albinus@gmx.de>
13484
13485 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13486
13487 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13488
0bf4ba9a
MR
134892011-07-01 Martin Rudalics <rudalics@gmx.at>
13490
13491 * window.el (same-window-buffer-names, same-window-regexps)
13492 (same-window-p, special-display-frame-alist)
13493 (special-display-popup-frame, special-display-function)
13494 (special-display-buffer-names, special-display-regexps)
13495 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13496 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13497 (split-window-preferred-function, split-height-threshold)
13498 (split-width-threshold, even-window-heights)
13499 (display-buffer-mark-dedicated, window-splittable-p)
13500 (split-window-sensibly, window-safely-shrinkable-p):
13501 Un-obsolete.
13502 (display-buffer): Don't spread args with function specifier
13503 because special-display-popup-frame won't like it.
13504
35837f51
PE
135052011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13506
d0672f86
PE
13507 Time-stamp simplifications and fixes.
13508 These improve accuracy slightly, and future-proof the code
13509 against some potential changes to current-time format.
13510
b9444d97
PE
13511 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13512 by using time-since and float-time.
13513
0ef923dc
PE
13514 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13515 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13516 + NNN microseconds".
13517
2f81380d
PE
13518 * type-break.el (type-break-time-sum): Rewrite using time-add.
13519
845b5c3e
PE
13520 * play/hanoi.el (hanoi-current-time-float): Remove.
13521 All uses replaced by float-time.
13522
ee6f1be0
PE
13523 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13524 This yields a more-accurate answer.
13525 (rng-time-to-float): Remove; no longer needed.
13526
fe955043
PE
13527 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13528
5777162a
PE
13529 * calendar/timeclock.el (timeclock-seconds-to-time):
13530 Defalias to seconds-to-time, since they're the same thing.
13531
3103f8b6 13532 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13533 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13534 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13535
0e61a35f
SM
135362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13537
13538 * window.el (bury-buffer): Don't iconify the only frame.
13539 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13540 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13541
ddd63a1e
CY
135422011-07-01 Chong Yidong <cyd@stupidchicken.com>
13543
0e61a35f
SM
13544 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13545 Add mouse-yank-primary.
ddd63a1e 13546
055f4923
TZ
135472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13548
13549 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13550
6a2fb145
SM
135512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13554 (find-library-name): Use it to find relative load names when provided
13555 absolute file name (bug#8803).
13556
fd4983f2
LMI
135572011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13558
887d14ad
LMI
13559 * textmodes/flyspell.el (flyspell-word): Consider words that
13560 differ only in case as potential doublons (bug#5687).
13561
c53dc7fc
LMI
13562 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13563 Remove two rather uninteresting debugging-like messages to make
13564 debbugs.el more silent.
13565
fd4983f2
LMI
13566 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13567 a password-like phrase.
13568
7a71b18d 135692011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13570
13571 * progmodes/cc-guess.el: New file.
13572
6a2fb145 13573 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13574
13575 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13576 derived from `c-basic-common-init'.
13577
13578 * progmodes/cc-mode.el (top-level): Require cc-guess.
13579 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13580
1fa280a3
LM
135812011-06-30 Lawrence Mitchell <wence@gmx.li>
13582
13583 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13584
e6597158
AM
135852011-06-30 Alan Mackenzie <acm@muc.de>
13586
1fa280a3
LM
13587 * progmodes/cc-engine.el (c-guess-continued-construct):
13588 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13589 lock is disabled. Name this case as "CASE G".
13590
68ba37fb
KM
135912011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13592
13593 * allout.el (allout-yank-processing): Fix injection of extra space
13594 between bullet and non-whitespace character in first topic when
13595 pasting, ensuring that the actual spacing in the pasted topic
13596 following the bullet char is preserved. This extra space was
13597 causing pasted encrypted topics to get a decrypted status even
13598 when the content was actually still encrypted. Now the decryption
13599 status from before the paste is preserved.
13600
13601 (allout-flag-region): Set all allout overlays so they evaporate
13602 when reduced to zero length (evanescent), to prevent overlay
13603 leakage.
13604
887a0b34
GM
136052011-06-30 Glenn Morris <rgm@gnu.org>
13606
94b9acce
GM
13607 * w32-fns.el (w32-charset-info-alist): Declare.
13608
1d9b46d4
GM
13609 * find-dired.el (find-grep-options): Simplify.
13610
cc232200
GM
13611 * term/ns-win.el (ns-set-resource): Declare.
13612
28e77c46
GM
13613 * ses.el (row, col): Declare dynamic variables honestly.
13614
887a0b34
GM
13615 * textmodes/reftex-parse.el (index-tags): Declare.
13616
658d8eb8
CY
136172011-06-30 Chong Yidong <cyd@stupidchicken.com>
13618
13619 * cus-edit.el (customize-push-and-save): New function.
13620
13621 * files.el (hack-local-variables-confirm): Use it.
13622
1fa280a3
LM
13623 * custom.el (load-theme): New arg NO-CONFIRM.
13624 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13625 (custom-enabled-themes): Doc fix.
13626
13627 * cus-theme.el (customize-create-theme)
13628 (custom-theme-merge-theme): Callers to load-theme changed.
13629
bb617717
LMI
136302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13631
d61bdd5d
LMI
13632 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13633 short URLs have at least one dot in them (bug #7614).
13634
bb617717
LMI
13635 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13636 nil, because using a pty is apparently too slow (bug #895).
13637
2f31f37a
LMI
136382011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13639
13640 * mail/sendmail.el (sendmail-query-once): New function.
13641 (sendmail-query-once-function): New variable.
13642
3076b24e
GM
136432011-06-29 Glenn Morris <rgm@gnu.org>
13644
faf2a174
GM
13645 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13646
3076b24e
GM
13647 * ses.el (top-level): Require cl when compiling.
13648 (ses-set-localvars): Fix error statement.
13649 Call it at compile time to silence a storm of warnings.
13650
5386012d
MR
136512011-06-29 Martin Rudalics <rudalics@gmx.at>
13652
13653 * window.el (normalize-live-buffer): Rename to
13654 window-normalize-buffer.
13655 (normalize-live-frame): Rename to window-normalize-frame.
13656 (normalize-any-window): Rename to window-normalize-any-window.
13657 (normalize-live-window): Rename to window-normalize-live-window.
13658 (make-window-atom): Rename to window-make-atom.
13659 (window-resize-reset): Rename to window--resize-reset.
13660 (window-resize-reset-1): Rename to window--resize-reset-1.
13661 (resize-mini-window): Rename to window--resize-mini-window.
13662 (resize-subwindows-skip-p): Rename to
13663 window--resize-subwindows-skip-p.
13664 (resize-subwindows-normal): Rename to
13665 window--resize-subwindows-normal.
13666 (resize-subwindows): Rename to window--resize-subwindows.
13667 (resize-other-windows): Rename to window--resize-siblings.
13668 (resize-this-window): Rename to window--resize-this-window.
13669 (resize-root-window): Rename to window--resize-root-window.
13670 (resize-root-window-vertically): Rename to
13671 window--resize-root-window-vertically.
13672 (normalize-buffer-to-display): Rename to
13673 window-normalize-buffer-to-display.
13674 (normalize-buffer-to-switch-to): Rename to
13675 window-normalize-buffer-to-switch-to.
13676 Correspondingly update all callers of the functions listed
13677 above.
13678 (display-buffer-alist, display-buffer-normalize-arguments)
13679 (display-buffer-normalize-options, display-buffer)
13680 (display-buffer-alist-set): Use "function" instead of
13681 "fun-with-args".
13682
1176868d
CY
136832011-06-28 Chong Yidong <cyd@stupidchicken.com>
13684
13685 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13686 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13687 debbugs.gnu.org. Mention acknowledgment email.
13688
20a7a65f
LMI
136892011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13690
13691 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13692 buffer multibyteness, since it shouldn't matter.
13693
5f45cca5
MR
136942011-06-28 Martin Rudalics <rudalics@gmx.at>
13695
13696 * window.el (display-buffer-in-side-window): Handle dedicated
13697 windows as in display-buffer-reuse-window.
13698 (display-buffer-normalize-alist): Use value of override
13699 specifier.
13700 (display-buffer-normalize-specifiers): Use value of
13701 other-window-means-other-frame specifier.
13702 (display-buffer-alist): Rewrite some texts in widgets.
13703 (display-buffer): Spread arguments when calling function
13704 specified by fun-with-args.
13705
ad85fe1f
DD
137062011-06-28 Deniz Dogan <deniz@dogan.se>
13707
1fa280a3
LM
13708 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13709 Unnest `let'.
da68c4c8 13710
ad85fe1f
DD
13711 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13712 selectors (Bug#5732).
ec49bd31 13713 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13714
a08cc025
JA
137152011-06-27 Jari Aalto <jari.aalto@cante.net>
13716
13717 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13718 (eshell-ls-date-format): New defcustom.
13719 (eshell-ls-file): Use it.
13720
e2b551c5
SM
137212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13722
13723 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13724
8982b231
KY
137252011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13726
13727 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13728 (ange-ftp-make-tmp-name): New arg.
13729 (ange-ftp-file-local-copy): Use it.
13730
36c9fa27
J
137312011-06-27 Jambunathan K <kjambunathan@gmail.com>
13732
13733 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13734 no-conversion (Bug#8870).
13735
d68443dc
MR
137362011-06-27 Martin Rudalics <rudalics@gmx.at>
13737
13738 * window.el (window-right, window-left, window-child)
13739 (window-child-count, window-last-child)
13740 (window-iso-combination-p, walk-window-tree-1)
13741 (window-atom-check-1, window-tree-1, delete-window)
13742 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13743 new naming conventions - window-vchild, window-hchild,
13744 window-next and window-prev are now called window-top-child,
13745 window-left-child, window-next-sibling and window-prev-sibling
13746 respectively.
d615d6d2
MR
13747 (resize-window-reset): Rename to window-resize-reset.
13748 (resize-window-reset-1): Rename to window-resize-reset-1.
13749 (resize-window): Rename to window-resize.
13750 (window-min-height, window-min-width)
13751 (resize-mini-window, resize-this-window, resize-root-window)
13752 (resize-root-window-vertically, adjust-window-trailing-edge)
13753 (enlarge-window, shrink-window, maximize-window)
13754 (minimize-window, delete-window, quit-restore-window)
13755 (split-window, balance-windows, balance-windows-area-adjust)
13756 (balance-windows-area, window-state-put-2)
13757 (display-buffer-even-window-sizes, display-buffer-set-height)
13758 (display-buffer-set-width, set-window-text-height)
13759 (fit-window-to-buffer): Rename all "resize-window" prefixed
13760 calls to use the "window-resize" prefix convention.
13761 (display-buffer-alist): Fix symbol for label specifier.
13762 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13763 corresponding specifier.
13764 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13765
b6458526
VB
137662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13767
13768 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13769 convention.
13770 (ses-call-printer): Does not pass an empty string to formatter when the
13771 cell is empty to keep from barking printer Calc math-format-value.
13772
d31fd9ac
RS
137732011-06-27 Richard Stallman <rms@gnu.org>
13774
43d5bf84
RS
13775 * battery.el (battery-mode-line-limit): New variable.
13776 (battery-update): Handle it.
13777
d31fd9ac
RS
13778 * mail/rmailmm.el (rmail-mime-process-multipart):
13779 Handle truncated messages.
13780
819a6054
GM
137812011-06-27 Glenn Morris <rgm@gnu.org>
13782
13783 * progmodes/flymake.el (flymake-err-line-patterns):
13784 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13785
cedc73f2
VB
137862011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13787
819a6054 13788 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13789 (ses--clean-!, ses--clean-_): New functions.
13790 (ses-range): Add configurability of readout order, and conversion
13791 to Calc vector.
13792
5e5d49b6
VB
13793 * ses.el (ses-repair-cell-reference-all): New function.
13794 (ses-cell-symbol): Set macro as safe, so that it can be used in
13795 formulas.
13796
56e6cc31 13797 * ses.el: Update cycle detection algorithm.
90ca8b49 13798 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13799 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13800 (ses-set-localvars): New function.
13801 (ses-make-cell): Add property-list as a cell element.
13802 (ses-cell-property-get-fun, ses-cell-property-get)
13803 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13804 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13805 New functions.
90ca8b49
VB
13806 (ses-cell-property-set, ses-cell-property-pop)
13807 (ses-cell-property-get-handle): New macro.
13808 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13809 New aliases, used for code readability.
13810 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13811 cycle detection.
13812 (ses-self-reference-early-detection): New defcustom.
fac916bf 13813 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13814 (ses-mode): Use ses-set-localvars.
13815 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13816 before lauching the update processing.
13817 (ses-initialize-Dijkstra-attempt): New function.
13818 (ses-recalculate-cell): Update for cycle detection based on
13819 Dijkstra algorithm.
13820
2bb63e81
VB
13821 * ses.el: Fix commenting and indenting convention.
13822
c9d29fb8
SM
138232011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * bs.el (bs-cycle-next): Complete last change.
13826
d8e4b68b
JB
138272011-06-27 Drew Adams <drew.adams@oracle.com>
13828
13829 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13830
40098786
LMI
138312011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13832
c9d29fb8
SM
13833 * net/network-stream.el (network-stream-open-starttls):
13834 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13835 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13836
40098786
LMI
13837 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13838 to binary to possibly avoid line encoding issues on Windows (among
13839 other things).
13840
468d09d4
LMI
138412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13842
13843 * net/network-stream.el (open-network-stream): Return an :error
13844 saying what the problem was, if possible.
13845
13846 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13847 server.
13848
13849 * net/network-stream.el (network-stream-open-starttls): If we
13850 wanted to use STARTTLS, and the server offered it, but we weren't
13851 able to because we had no STARTTLS support, then close the connection.
13852 (open-network-stream): Return an :error element, if present.
13853
16f07dd7
CY
138542011-06-26 Chong Yidong <cyd@stupidchicken.com>
13855
88821ca0
CY
13856 * hl-line.el (hl-line-sticky-flag): Doc fix.
13857 (global-hl-line-sticky-flag): New option (Bug#8323).
13858 (global-hl-line-highlight): Obey it.
13859
16f07dd7
CY
13860 * vc/vc.el (vc-revert-show-diff): Default to t.
13861
6b5ccddf
KM
138622011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13863
c9d29fb8
SM
13864 * allout-widgets.el (allout-widgets-post-command-business):
13865 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13866 undecorated when an isearch is continued past, and isearch
13867 automatically collapses them. This leads to "widget leaks", where
13868 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13869 hidden widgets can slow down cursor travel, substantially.
13870 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13871 so we're doing without this nicety.
13872
13873 (allout-widgets-tally-string): Don't try to do a hash-table-count
13874 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13875 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13876 *Messages* when allout-widgets-maintain-tally is t.
13877
355f2e07
MR
138782011-06-26 Martin Rudalics <rudalics@gmx.at>
13879
13880 * window.el (display-buffer-normalize-argument): Rename to
13881 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13882 LABEL argument. Respect special-display-function when popping up
13883 a new frame. Fix code searching for a window showing the buffer
13884 on another frame.
c9d29fb8
SM
13885 (display-buffer-normalize-specifiers):
13886 Call display-buffer-normalize-arguments.
355f2e07
MR
13887 (display-buffer-in-window): Don't undedicate the window if its
13888 buffer remains the same.
13889 Reported by Drew Adams <drew.adams@oracle.com>.
13890 (display-buffer-alist): Add choice for same-window macro
13891 specfier.
13892 (display-buffer): Mention special meaning of LABEL argument in
13893 doc-string. Fix quoting. Don't pop up a new frame even as
13894 fallback.
13895
7ca8fc42
JB
138962011-06-26 Juanma Barranquero <lekktu@gmail.com>
13897
13898 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13899 avoid deleting the current window in some cases (bug#8911).
13900
bc312254
AS
139012011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13902
13903 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13904 (Bug#8934)
13905
2db18f3f
LMI
139062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13907
c9d29fb8
SM
13908 * net/network-stream.el (network-stream-open-starttls):
13909 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13910 (network-stream-open-tls): Ditto.
13911
6302e0d3
LL
139122011-06-26 Leo Liu <sdl.web@gmail.com>
13913
13914 * register.el (registerv): New struct.
13915 (registerv-make): New function.
c9d29fb8
SM
13916 (jump-to-register, describe-register-1, insert-register):
13917 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13918 struct. (Bug#8415)
13919
5fdd4046
CY
139202011-06-26 Chong Yidong <cyd@stupidchicken.com>
13921
2afef60a
CY
13922 * vc/vc.el (vc-revert-show-diff): New defcustom.
13923 (vc-diff-internal): New arg specifying diff buffer.
13924 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13925 reuse an existing *vc-diff* buffer (Bug#8927).
13926
5fdd4046
CY
13927 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13928
e93db24a
GM
139292011-06-26 Glenn Morris <rgm@gnu.org>
13930
13931 * progmodes/f90.el (f90-critical-indent): New option.
13932 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13933 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13934 (f90-mode): Doc fix.
13935 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13936 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13937 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13938 (f90-match-end): Handle block, critical.
13939
eefff499
GM
139402011-06-25 Glenn Morris <rgm@gnu.org>
13941
f6ba4cc9
GM
13942 * calendar/diary-lib.el (diary-included-files): Doc fix.
13943 (diary-include-files): New function, extracted from
13944 diary-include-other-diary-files and diary-mark-included-diary-files.
13945 (diary-include-other-diary-files, diary-mark-included-diary-files):
13946 Just call diary-include-files.
13947 (diary-mark-entries): Reset diary-included-files on first call.
13948
16712304
GM
13949 * calendar/diary-lib.el (diary-mark-entries)
13950 (diary-mark-included-diary-files):
13951 Visit included diary-files in temp buffers.
13952
5d8e0d43
GM
13953 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13954 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13955 (f90-start-block-re, f90-imenu-generic-expression)
13956 (f90-looking-at-program-block-start, f90-no-block-limit):
13957 Add support for submodules.
13958
ccf7a5d5
GM
13959 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13960 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13961
11fdef7d 139622011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13963
13964 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13965 buffer-file-type before setting its value, to avoid disastrous
eefff499 13966 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13967
74f53697
JB
139682011-06-25 Juanma Barranquero <lekktu@gmail.com>
13969
13970 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13971
13972 * ses.el (ses-unload-function):
13973 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13974
13975 * proced.el (proced-unload-function):
13976 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13977
18a4ce5e
AR
139782011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13979
13980 * server.el (server-create-window-system-frame): Add parameters arg.
13981 (server-process-filter): Doc fix. Handle frame-parameters.
13982
519d22cc
JB
139832011-06-25 Juanma Barranquero <lekktu@gmail.com>
13984
13985 Fix bug#8730, bug#8781.
13986
13987 * loadhist.el (unload--set-major-mode): New function.
13988 (unload-feature): Use it.
13989
13990 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13991 (python-unload-function): New function.
13992
c206f5b0
SM
139932011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13996
f9ad64f3
GS
139972011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13998
13999 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14000 the candidates list.
14001
7d0da90e
JB
140022011-06-24 Juanma Barranquero <lekktu@gmail.com>
14003
14004 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14005
14b4e83d
RS
140062011-06-23 Richard Stallman <rms@gnu.org>
14007
14008 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14009 (rmail-variables): Set next-error-move-function.
14010 (rmail-what-message): Take argument POS.
14011 (rmail-next-error-move): New function.
14012
273d2baf
SM
140132011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14014
14015 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14016 messages for adjacent non-terminals.
14017
56c2cc9a
RS
140182011-06-23 Richard Stallman <rms@gnu.org>
14019
14020 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14021 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14022 (rmail-start-mail): Don't specify use of rmail-mail-return;
14023 that's done by mail-bury now.
14024 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14025
d59eb518
MA
140262011-06-23 Michael Albinus <michael.albinus@gmx.de>
14027
14028 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14029 SIZE is a number.
14030
02cfc6d6
MR
140312011-06-23 Martin Rudalics <rudalics@gmx.at>
14032
14033 * window.el (get-lru-window, get-mru-window)
14034 (get-largest-window): Never return a minibuffer window.
14035 (display-buffer-pop-up-window): Fix a bug that could lead to
14036 reusing the minibuffer window.
14037 (display-buffer): Pass original specifier argument to
14038 display-buffer-function instead of the normalized one.
14039 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14040
4e323265
LL
140412011-06-22 Leo Liu <sdl.web@gmail.com>
14042
14043 * minibuffer.el (completing-read-function)
14044 (completing-read-default): Move from minibuf.c
14045
7a70468f
RS
140462011-06-22 Richard Stallman <rms@gnu.org>
14047
50718fc2
RS
14048 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14049 to Rmail even if not started by a special Rmail command.
14050
7a70468f
RS
14051 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14052 Copy the buffer currently showing just one message.
14053
297dde5a
RW
140542011-06-22 Roland Winkler <winkler@gnu.org>
14055
14056 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14057 (bibtex-clean-entry): First delete the old key so that a
14058 customized algorithm for generating the new key does not get
14059 confused by the old key.
14060 (bibtex-url): Obey regexp of first step.
14061 (bibtex-search-entries): Do not use add-to-list with local
14062 list-var.
14063
97bb1093
LMI
140642011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14065
14066 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14067 stored a user name, then query for the password first, instead of
14068 waiting for SMTP to give an error message and the trying again.
14069
1c0f1a19
JD
140702011-06-22 Lawrence Mitchell <wence@gmx.li>
14071
14072 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14073 BUFFER in call-process.
14074
396f7c9d
LMI
140752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14076
14077 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14078 QUIT twice.
ddb7ffee
LMI
14079 (smtpmail-try-auth-methods): Require user name and password from
14080 auth-source.
396f7c9d 14081
8998d1b3
MR
140822011-06-22 Martin Rudalics <rudalics@gmx.at>
14083
14084 * window.el (display-buffer-default-specifiers)
14085 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14086 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14087 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14088
14089 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14090 (special-display-frame-alist, special-display-popup-frame):
14091 Remove duplicate declarations. These are now in window.el.
14092
4ea31e07
LMI
140932011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14094
c9d29fb8
SM
14095 * mail/smtpmail.el (smtpmail-via-smtp):
14096 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14097 server supports it. SMTP servers that support STARTTLS commonly
14098 require it.
14099
14100 * net/network-stream.el (network-stream-open-starttls): Support
14101 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14102 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14103
95f41d9a
LMI
14104 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14105 upgrades with `open-network-stream', and rely solely on
14106 auth-source for all credentials. Big changes throughout the file,
14107 but in particular:
c9d29fb8
SM
14108 (smtpmail-auth-credentials): Remove.
14109 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14110 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14111 MAIL FROM, too.
95f41d9a 14112
c9d29fb8
SM
14113 * net/network-stream.el (network-stream-open-starttls):
14114 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14115 STARTTLS.
14116 (auth-source): Require.
14117 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14118 (network-stream-certificate): Change cert-cert to cert and
14119 cert-key to key.
4ea31e07 14120
065ec2c7
MA
141212011-06-21 Michael Albinus <michael.albinus@gmx.de>
14122
14123 * net/tramp-cache.el (top): Don't load the persistency file when
14124 "emacs -Q" has been called.
14125
cd93b359
DR
141262011-06-21 Tim Harper <timcharper@gmail.com>
14127
d8e4b68b
JB
14128 * term/ns-win.el (ns-initialize-window-system):
14129 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14130 resource to NO as it is not yet supported by the NS port.
14131
ae9c0411
JB
141322011-06-21 Juanma Barranquero <lekktu@gmail.com>
14133
14134 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14135 (list-dynamic-libraries): ...not here.
14136
7f3f739f
LL
141372011-06-21 Leo Liu <sdl.web@gmail.com>
14138
14139 * subr.el (sha1): Implement sha1 using secure-hash.
14140
327c8fb1
MR
141412011-06-21 Martin Rudalics <rudalics@gmx.at>
14142
14143 * window.el (display-buffer-alist): In default value do not
14144 enforce searching a window on any but the selected frame.
14145 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14146 (display-buffer-select-window): Remove function.
14147 (display-buffer-in-window): When a window on another frame gets
14148 reused, do not select it any more but just raise its frame if
14149 necessary (Bug#8851) and (Bug#8856).
14150 (display-buffer-normalize-options): Handle pop-up-frames related
14151 options more faithfully.
14152 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14153 window if it is on another frame.
c9d29fb8
SM
14154 (display-buffer-alist, display-buffer-default-specifiers):
14155 Don't make new frame unsplittable by default.
9e9de014
MR
14156 (display-buffer-normalize-argument): Fix doc-string typo and use
14157 'same-frame-other-window instead of 'other-window when associating
14158 with display-buffer-macro-specifiers.
327c8fb1 14159
7cf3f556
VB
141602011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14161
14162 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14163 New functions.
14164 (5x5-mode-map, 5x5-mode-menu): Bind them.
14165 (5x5-draw-grid): Tweak the solver's rendering.
14166
60a406cf
SM
141672011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14170 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14171
d8e4b68b 141722011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14173
14174 * menu-bar.el: Use function variable instead of switch-to-buffer.
14175 (menu-bar-select-buffer-function): New variable.
60a406cf 14176 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14177
478d6f95
SM
141782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14179
14180 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14181 variable's status.
14182
ca530739
JD
141832011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14184
14185 * x-dnd.el (x-dnd-version-from-flags)
14186 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14187 and long as number (Bug#8899).
14188 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14189
bcd70d97
SM
141902011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14191
60a406cf 14192 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14193 (completion-try-completion, completion-all-completions): Compute the
14194 metadata argument if it's missing; make it optional (bug#8795).
14195
60a406cf 14196 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14197 (widget-complete): Use new :completion-function property.
14198 (widget-completions-at-point): New function.
14199 (default): Use :completion-function instead of :complete.
60a406cf
SM
14200 (widget-default-completions): Rename from widget-default-complete;
14201 Rewrite.
bcd70d97
SM
14202 (widget-string-complete, widget-file-complete, widget-color-complete):
14203 Remove functions.
14204 (file, symbol, function, variable, coding-system, color):
14205 * international/mule-cmds.el (default-input-method, charset)
14206 (language-info-custom-alist):
14207 * cus-edit.el (face): Use new property :completions.
14208
14209 * progmodes/pascal.el (pascal-completions-at-point): New function.
14210 (pascal-mode): Use it.
14211 (pascal-mode-map): Use completion-at-point.
14212 (pascal-toggle-completions): Make obsolete.
14213 (pascal-complete-word, pascal-show-completions):
14214 * progmodes/octave-mod.el (octave-complete-symbol):
14215 Redefine as obsolete alias.
14216 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14217 Signal absence of completion info for old Octave,
14218 (inferior-octave-complete): Redefine as obsolete alias.
14219 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14220 (meta-completions-at-point): Rename from meta-complete-symbol and
14221 adapt it for use on completion-at-point-functions.
14222 (meta-common-mode): Use it.
14223 (meta-looking-at-backward, meta-match-buffer): Remove.
14224 (meta-complete-symbol): Redefine as obsolete alias.
14225 (meta-common-mode-map): Use completion-at-point.
14226 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14227 (makefile-mode-map): Use completion-at-point.
14228 (makefile-completions-at-point): Rename from makefile-complete and
14229 adapt it for use on completion-at-point-functions.
14230 (makefile-mode): Use it.
14231 (makefile-complete): Redefine as obsolete alias.
14232
aebf69c8
DD
142332011-06-20 Deniz Dogan <deniz@dogan.se>
14234
14235 * net/rcirc.el: Delete trailing whitespaces once and for all.
14236
bfbbb27d
DC
142372011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14238
14239 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14240
d264a46b
CY
142412011-06-19 Chong Yidong <cyd@stupidchicken.com>
14242
4ca009e5
CY
14243 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14244
d264a46b
CY
14245 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14246
fbf5b3ce
MR
142472011-06-19 Martin Rudalics <rudalics@gmx.at>
14248
14249 * window.el (display-buffer-other-window-means-other-frame):
14250 Call display-buffer-normalize-alist.
14251 (display-buffer-normalize-specifiers-1): Rename to
14252 display-buffer-normalize-argument. New argument other-frame.
14253 Rewrite.
14254 (display-buffer-normalize-specifiers-2): Rename to
14255 display-buffer-normalize-options.
14256 (display-buffer-normalize-alist-1): New function.
14257 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14258 display-buffer-normalize-alist.
14259 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14260 (display-buffer-normalize-options-inhibit): New variable.
14261 (display-buffer-normalize-specifiers): Rewrite calling
14262 display-buffer-normalize-alist,
14263 display-buffer-normalize-argument, and
14264 display-buffer-normalize-options. Don't call the latter if
14265 display-buffer-normalize-options-inhibit is non-nil.
14266 (frame-auto-delete): New option.
14267 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14268 (window-list-no-nils, window-state-ignored-parameters)
14269 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14270 (window-state-put-1, window-state-put-2, window-state-put):
14271 New functions.
9a028c23
MR
14272 (display-buffer-normalize-options): Move special-display-p group
14273 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14274
6d10d800
CY
142752011-06-18 Chong Yidong <cyd@stupidchicken.com>
14276
6420d28b
CY
14277 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14278 groups (Bug#8776).
14279 (rx-submatch-n): New function.
14280 (rx): Document it.
14281
ddb8b596
CY
14282 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14283 (Bug#8768).
14284
14285 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14286
77080289
CY
14287 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14288
61dfb316
CY
14289 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14290 anytime existing face settings are present (Bug#8889).
14291
6d10d800
CY
14292 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14293 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14294 Remove unused argument.
14295
be3fb2b8
MR
142962011-06-18 Martin Rudalics <rudalics@gmx.at>
14297
bcd70d97
SM
14298 * window.el (display-buffer-default-specifiers):
14299 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14300 pop-up-window-min-width, and another reuse-window specifier
14301 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14302 (display-buffer-normalize-specifiers-2):
14303 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14304 pop-up-windows is unset. Add a reuse-window specifier for the
14305 case popping up a new window fails.
14306 (special-display-popup-frame): Remove double quoting.
28dec25a 14307 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14308
1c6d8c76
SM
143092011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14312 according to comint-completion-addsuffix.
14313
14314 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14315 (pcomplete-suffix-list): Mark as obsolete.
14316 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14317 pcomplete-seen in the closure.
14318 (pcomplete-comint-setup): Setup completion-at-point as well.
14319 (pcomplete--entries): New function.
14320 (pcomplete--env-regexp): New var.
14321 (pcomplete-entries): Rewrite to work with partial-completion and
14322 without relying on pcomplete-suffix-list.
14323 (pcomplete-pare-list): Remove, unused.
14324
25aef8b8
MR
143252011-06-17 Martin Rudalics <rudalics@gmx.at>
14326
14327 * window.el (display-buffer-alist): Set pop-up-window-min-height
14328 and pop-up-window-min-width in default value. Reported by
14329 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14330 other-window-means-other-frame.
14331 (display-buffer-macro-specifiers): Comment out entry for
14332 other-window specifier.
14333 (display-buffer-other-window-means-other-frame): New function.
14334 (display-buffer-normalize-specifiers-1): New arguments
14335 buffer-name and label. Treat other-window case specially.
14336 (display-buffer-normalize-specifiers-2): Treat other-window case
14337 specially.
14338 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14339 (display-buffer-normalize-specifiers):
14340 Call display-buffer-normalize-specifiers-3.
25aef8b8 14341
dbad4f69
MR
143422011-06-17 Martin Rudalics <rudalics@gmx.at>
14343
14344 * window.el (same-window-p): Fix two typos introduced when
14345 adding with-no-warnings.
d1067961
MR
14346 (display-buffer-normalize-specifiers-1): Don't check
14347 pop-up-frames for 'unset initialization.
14348 (display-buffer-normalize-specifiers-2): Major rewrite using
14349 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14350 (pop-up-frames, display-buffer-reuse-frames)
14351 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14352 Suggested by David Engster <deng@randomsample.de>.
14353 (even-window-heights): Initialize to 'unset.
14354 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14355 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14356 other window case.
dbad4f69 14357
9b9c9e3a
MR
143582011-06-16 Martin Rudalics <rudalics@gmx.at>
14359
bcd70d97
SM
14360 * window.el (display-buffer-normalize-specifiers-1):
14361 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14362 second argument of display-buffer (Bug#8865).
981d5c09
MR
14363 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14364 (switch-to-buffer-other-window-same-frame)
14365 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14366 Adams (Bug#8875).
9c2755e9
MR
14367 (display-buffer): Don't check noninteractive when calling
14368 display-buffer-pop-up-frame.
14369 (display-buffer-pop-up-frame): Never pop up a frame in
14370 noninteractive mode (Bug#8857).
67222e1d
MR
14371 (enlarge-window, shrink-window): Don't report an error when the
14372 window can't be resized as requested (Bug#8862).
9b9c9e3a 14373
2b75be67
SM
143742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14375
9ffdd3ba
SM
14376 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14377
cb581a67
SM
14378 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14379
2b75be67
SM
14380 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14381
8c0e3589
AM
143822011-06-15 Alan Mackenzie <acm@muc.de>
14383
cb581a67
SM
14384 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14385 for declarators, disable knr checking to speed up for normal files.
14386 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14387
b96e6cde
LMI
143882011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14389
4bba86e6
LMI
14390 * net/network-stream.el (open-network-stream): Add the keyword
14391 :always-query-capabilities for the case where you want to force a
14392 `plain' network connection, but the protocol still requires the
14393 capabilitiy command (i.e., SMTP and EHLO).
14394
2b75be67 14395 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14396 consistency with other `-live-p' functions.
14397
efdcdbf8
SM
143982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * window.el (same-window-buffer-names, same-window-regexps)
14401 (special-display-frame-alist, special-display-popup-frame)
14402 (special-display-function, special-display-buffer-names)
14403 (special-display-regexps, pop-up-frame-alist)
14404 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14405 (pop-up-windows, split-window-preferred-function)
14406 (split-height-threshold, split-width-threshold, even-window-heights)
14407 (display-buffer-mark-dedicated): Don't encourage the use of
14408 display-buffer-alist from Elisp code.
14409
c5cde042
DN
144102011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14411
14412 * progmodes/python.el (python-mode): Derive from prog-mode.
14413 * progmodes/ps-mode.el (ps-mode):
14414 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14415 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14416 * progmodes/ld-script.el (ld-script-mode): Likewise.
14417
baa1c9ab
MR
144182011-06-15 Martin Rudalics <rudalics@gmx.at>
14419
14420 * window.el (display-buffer-alist): Trim default value to avoid
14421 popping up a new frame (Bug#8857) or reusing an arbitrary window
14422 on another frame.
14423 (display-buffer): Do not fall back on popping up a new frame in
14424 batch mode (Bug#8857).
14425
c5dd5a51
CY
144262011-06-14 Chong Yidong <cyd@stupidchicken.com>
14427
14428 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14429 (custom-theme-summary): New function.
14430 (customize-themes): Use it.
14431
d647b7c4
GM
144322011-06-13 Glenn Morris <rgm@gnu.org>
14433
14434 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14435
9481c002
MR
144362011-06-13 Martin Rudalics <rudalics@gmx.at>
14437
357f93d2
MR
14438 * help.el (help-window): Remove variable.
14439 (help-window-point-marker, temp-buffer-max-height)
14440 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14441 (help-print-return-message): Don't set help-window.
14442 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14443 (help-window-setup-finish): Remove.
14444 (help-window-display-message, help-window-setup)
14445 (with-help-window): Major rewrite based on new
14446 display-buffer-window variable.
14447
14448 * help-mode.el (help-mode-finish): Remove help-window related
14449 code.
14450
14451 * view.el (view-exits-all-viewing-windows): Remove reference to
14452 view-return-to-alist in doc-string.
14453 (view-return-to-alist): Make obsolete.
14454 (view-buffer): Call pop-to-buffer-same-window and remove
14455 undo-window code.
14456 (view-buffer-other-window): Call pop-to-buffer-other-window and
14457 simplify code. Ignore second argument.
14458 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14459 simplify code. Ignore second argument.
14460 (view-return-to-alist-update): Make obsolete.
14461 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14462 Rewrite using quit-restore window parameters.
2b75be67
SM
14463 (view-mode-exit): Rename second argument to EXIT-ONLY.
14464 Rewrite using quit-restore-window.
357f93d2
MR
14465 (View-exit, View-exit-and-edit, View-leave, View-quit)
14466 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14467 appropriate arguments.
14468 (view-end-message): Use quit-restore window parameter.
14469
9481c002
MR
14470 * window.el (display-buffer-function): Rewrite doc-string.
14471 (display-buffer-window, display-buffer-alist): New variables.
14472 (display-buffer-split-specifiers)
14473 (display-buffer-side-specifiers)
14474 (display-buffer-macro-specifiers): New constants.
14475 (display-buffer-even-window-sizes, display-buffer-set-height)
14476 (display-buffer-set-width, display-buffer-select-window)
14477 (display-buffer-in-window, display-buffer-reuse-window)
14478 (display-buffer-split-window-1, display-buffer-split-window)
14479 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14480 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14481 (display-buffer-in-side-window, normalize-buffer-to-display)
14482 (display-buffer-normalize-specifiers-1)
14483 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14484 (display-buffer-normalize-specifiers, display-buffer-frame):
14485 New functions.
9481c002
MR
14486 (display-buffer): Major rewrite.
14487 (display-buffer-other-window, display-buffer-other-frame)
14488 (pop-to-buffer, switch-to-buffer-other-window)
14489 (switch-to-buffer-other-frame): Rewrite.
14490 (display-buffer-same-window, display-buffer-same-frame)
14491 (display-buffer-same-frame-other-window)
14492 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14493 (pop-to-buffer-other-window)
14494 (pop-to-buffer-same-frame-other-window)
14495 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14496 (switch-to-buffer-other-window-same-frame): New functions.
14497 (same-window-p, special-display-p): Rewrite disabling warnings.
14498 Make obsolete.
14499 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14500 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14501 Make obsolete
14502 (same-window-buffer-names, same-window-regexps)
14503 (special-display-frame-alist, special-display-popup-frame)
14504 (special-display-function, special-display-buffer-names)
14505 (special-display-regexps, pop-up-frame-alist)
14506 (pop-up-frame-function, split-window-preferred-function)
14507 (split-height-threshold, split-width-threshold)
14508 (even-window-heights): Make obsolete.
14509
9db51aca
GM
145102011-06-12 Glenn Morris <rgm@gnu.org>
14511
14512 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14513 Misc simplifications.
9db51aca 14514
39cffb44
MR
145152011-06-12 Martin Rudalics <rudalics@gmx.at>
14516
14517 * window.el (window-safely-shrinkable-p): Restore function which
14518 was inadvertently removed in change from 2011-06-11. Declare as
14519 obsolete.
14520
2b75be67
SM
14521 * calendar/calendar.el (calendar-generate-window):
14522 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14523 window-safely-shrinkable-p.
14524
a8955be7
GM
145252011-06-12 Glenn Morris <rgm@gnu.org>
14526
14527 * progmodes/fortran.el (fortran-mode-syntax-table):
14528 * progmodes/f90.el (f90-mode-syntax-table):
14529 Set % to punctuation. (Bug#8820)
14530 (f90-find-tag-default): Remove, no longer needed.
14531
f0d4059d
DC
145322011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14533
14534 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14535
1100a63c
CY
145362011-06-11 Chong Yidong <cyd@stupidchicken.com>
14537
14538 * image.el (image-animated-p): Return animation delay in seconds.
14539 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14540 (image-animate-timeout): Remove DELAY argument. Don't assume
14541 every subimage has the same delay; get it from image-animated-p.
14542 (image-animate): Caller changed.
14543
def722bf
MA
145442011-06-11 Michael Albinus <michael.albinus@gmx.de>
14545
14546 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14547 to ignored backtrace functions.
14548
0a2bb1a9
GM
145492011-06-11 Glenn Morris <rgm@gnu.org>
14550
14551 * calendar/appt.el (appt-disp-window-function): Doc fix.
14552 (appt-check): Handle overlapping appointments. (Bug#8337)
14553
6198ccd0
MR
145542011-06-11 Martin Rudalics <rudalics@gmx.at>
14555
14556 * window.el (window-tree-1, window-tree): New functions, moving
14557 the latter to window.el.
14558 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14559 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14560 (bw-refresh-edges): Remove.
14561 (balance-windows-1, balance-windows-2): New functions.
14562 (balance-windows): Rewrite in terms of window tree functions,
14563 balance-windows-1 and balance-windows-2.
14564 (bw-adjust-window): Remove.
14565 (balance-windows-area-adjust): New function with functionality of
14566 bw-adjust-window but using resize-window.
2b75be67
SM
14567 (set-window-text-height): Rewrite doc-string.
14568 Use normalize-live-window and resize-window.
14569 (enlarge-window-horizontally, shrink-window-horizontally):
14570 Rename argument to DELTA.
6198ccd0
MR
14571 (window-buffer-height): New function.
14572 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14573 Rewrite using new window resize routines.
2b75be67
SM
14574 (kill-buffer-and-window, mouse-autoselect-window-select):
14575 Use ignore-errors instead of condition-case.
6198ccd0
MR
14576 (quit-window): Call delete-frame instead of delete-windows-on
14577 for the only buffer on frame.
14578
9397e56f
MR
145792011-06-10 Martin Rudalics <rudalics@gmx.at>
14580
14581 * loadup.el (top-level): Load window before files for the sake
14582 of replace-buffer-in-windows.
14583
14584 * files.el (read-buffer-to-switch)
14585 (switch-to-buffer-other-window)
2b75be67
SM
14586 (switch-to-buffer-other-frame, display-buffer-other-frame):
14587 Move to window.el.
9397e56f
MR
14588
14589 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14590 (previous-buffer): Move to window.el.
14591
14592 * bindings.el (unbury-buffer): Move to window.el.
14593
14594 * window.el (delete-other-windows-vertically): Move after
14595 definition of delete-other-windows.
14596 (other-window, delete-windows-on, replace-buffer-in-windows):
14597 Move here from window.c.
14598 (record-window-buffer, unrecord-window-buffer)
14599 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14600 (switch-to-next-buffer): New functions.
14601 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14602 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14603 (previous-buffer): Move here from simple.el.
14604 Call switch-to-prev-buffer.
9397e56f
MR
14605 (bury-buffer): Move here from buffer.c. Switch to previous
14606 buffer when window cannot be deleted.
14607 (unbury-buffer): Move here from bindings.el.
14608 (ctl-x-map): Move binding for other-window from window.c to
14609 here.
14610 (read-buffer-to-switch, switch-to-buffer-other-window)
14611 (switch-to-buffer-other-frame): Move here from files.el.
14612 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14613 (switch-to-buffer): Move here from buffer.c.
14614 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14615
562dd5e9
MR
146162011-06-10 Martin Rudalics <rudalics@gmx.at>
14617
14618 * window.el (window-min-height, window-min-width): Move here
14619 from window.c. Add defcustoms and rewrite doc-strings.
14620 (resize-mini-window, resize-window): New functions.
14621 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14622 Move here from window.c.
14623 (maximize-window, minimize-window): New functions.
14624 (delete-window, delete-other-windows, split-window): Move here
14625 from window.c.
14626 (window-split-min-size): New function.
14627 (split-window-keep-point): Mention split-window-above-each-other
14628 instead of split-window-vertically.
2b75be67 14629 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14630 Rename split-window-vertically to split-window-above-each-other
14631 and provide defalias for old definition.
14632 (split-window-side-by-side, split-window-horizontally):
14633 Rename split-window-horizontally to split-window-side-by-side
14634 and provide defalias for the old definition.
562dd5e9
MR
14635 (ctl-x-map): Move bindings for delete-window,
14636 delete-other-windows and enlarge-window here from window.c.
14637 Replace bindings for split-window-vertically and
14638 split-window-horizontally by bindings for
14639 split-window-above-each-other and split-window-side-by-side.
14640
14641 * cus-start.el (all): Remove entries for window-min-height and
14642 window-min-width. Add entries for window-splits and
14643 window-nest.
14644
f0da764a
GM
146452011-06-09 Glenn Morris <rgm@gnu.org>
14646
80675c21
GM
14647 * calendar/appt.el (appt-mode-line): New function.
14648 (appt-check, appt-disp-window): Use it.
14649
f0da764a
GM
14650 * files.el (hack-one-local-variable-eval-safep):
14651 Allow minor-modes with explicit +/-1 arguments.
14652
59f623b7
TZ
146532011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14654
14655 * term/xterm.el (xterm): Add defgroup.
14656 (xterm-extra-capabilities): Add defcustom to supply known xterm
14657 capabilities, skip querying them, or query them (default).
14658 (terminal-init-xterm): Use it.
14659 (terminal-init-xterm-modify-other-keys): New function to set up
14660 modifyOtherKeys support to simplify `terminal-init-xterm'.
14661
9aab8e0d
MR
146622011-06-09 Martin Rudalics <rudalics@gmx.at>
14663
14664 * window.el (resize-window-reset, resize-window-reset-1)
14665 (resize-subwindows-skip-p, resize-subwindows-normal)
14666 (resize-subwindows, resize-other-windows, resize-this-window)
14667 (resize-root-window, resize-root-window-vertically)
14668 (window-deletable-p, window-or-subwindow-p)
14669 (frame-root-window-p): New functions.
14670
e8b08aee
GM
146712011-06-09 Glenn Morris <rgm@gnu.org>
14672
14673 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14674 (ange-ftp-get-files): Use it.
14675
254c37a5
AK
146762011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14677
14678 * mail/sendmail.el (mail-recover-1, mail-recover):
14679 * files.el (recover-file, recover-session):
14680 Handle dired-listing-switches not being just a single short option.
14681
35d7dbd3
GM
146822011-06-09 Glenn Morris <rgm@gnu.org>
14683
14684 * calendar/appt.el (appt-display-message, appt-disp-window):
14685 Handle lists of appointments.
14686
387522b2
MR
146872011-06-08 Martin Rudalics <rudalics@gmx.at>
14688
2b75be67
SM
14689 * window.el (one-window-p): Move down in code.
14690 Rewrite doc-string.
14691 (window-current-scroll-bars): Rewrite doc-string.
14692 Normalize live window argument.
387522b2
MR
14693 (walk-windows, get-window-with-predicate, count-windows):
14694 Rewrite doc-string. Use window-list-1.
14695 (window-in-direction-2, window-in-direction, get-mru-window):
14696 New functions.
14697
d8e4b68b 146982011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14699
14700 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14701 Doc fix (Bug#8713).
14702
147032011-06-08 Chong Yidong <cyd@stupidchicken.com>
14704
14705 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14706
147072011-06-08 Juanma Barranquero <lekktu@gmail.com>
14708
14709 * loadhist.el (unload-feature-special-hooks):
14710 Add `comint-output-filter-functions'.
14711
0de12c52
IK
147122011-06-08 Ivan Kanis <gnu@kanis.fr>
14713
14714 * calendar/appt.el (appt-check): Move some initializations into the let.
14715
f3d1777e
MR
147162011-06-08 Martin Rudalics <rudalics@gmx.at>
14717
14718 * window.el (window-height): Defalias to window-total-height.
14719 (window-width): Defalias to window-body-width.
14720
18af70d0
CY
147212011-06-07 Chong Yidong <cyd@stupidchicken.com>
14722
14723 * image-mode.el (image-toggle-animation): New command.
14724 (image-mode-map): Bind it to RET.
14725 (image-mode): Update message.
14726 (image-toggle-display-image): Avoid a spurious cache flush.
14727 (image-transform-rotation): Doc fix.
14728 (image-transform-properties): Return quickly in the normal case.
14729 (image-animate-loop): Rename from image-animate-max-time.
14730
2b75be67 14731 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14732 (create-animated-image): Remove unnecessary function.
14733 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14734 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14735 (image-animate-timer): Use car-safe.
14736 (image-animate-timeout): Rename argument.
14737
190b47e6
MR
147382011-06-07 Martin Rudalics <rudalics@gmx.at>
14739
14740 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14741 window.c. Rename first argument to ALL-FRAMES.
14742 Rephrase doc-strings.
14743 (get-buffer-window-list): Rewrite using window-list-1.
14744 Rephrase doc-string.
a1511caf
MR
14745 (window-safe-min-height, window-safe-min-width): New constants.
14746 (window-size-ignore, window-min-size, window-min-size-1)
14747 (window-sizable, window-sizable-p, window-size-fixed-1)
14748 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14749 (window-max-delta-1, window-max-delta, window-resizable)
14750 (window-resizable-p, window-total-height, window-total-width)
14751 (window-body-width): New functions.
14752 (window-full-height-p, window-full-width-p): Rewrite using
14753 window-total-size.
14754 (window-body-height): Rewrite using window-body-size.
190b47e6 14755
85cc1f11
MR
147562011-06-06 Martin Rudalics <rudalics@gmx.at>
14757
14758 * window.el (window-right, window-left, window-child)
14759 (window-child-count, window-last-child, window-any-p)
14760 (normalize-live-buffer, normalize-live-frame)
14761 (normalize-any-window, normalize-live-window)
14762 (window-iso-combination-p, window-iso-combined-p)
14763 (window-iso-combinations)
14764 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14765 (windows-with-parameter, window-with-parameter)
14766 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14767 (window-atom-check, window-side-check, window-check):
14768 New functions.
85cc1f11
MR
14769 (ignore-window-parameters, window-sides, window-sides-vertical)
14770 (window-sides-slots): New variables.
14771 (window-size-fixed): Move down in code. Minor doc-string fix.
14772
e7156492
AS
147732011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14774
14775 * comint.el (comint-dynamic-complete-as-filename)
14776 (comint-dynamic-complete-filename): Correctly call
14777 completion-in-region.
14778
7e821d0d
DD
147792011-06-05 Deniz Dogan <deniz@dogan.se>
14780
14781 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14782 in last change.
14783
ac09b8a1
DD
147842011-06-05 Deniz Dogan <deniz@dogan.se>
14785
14786 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14787 (rcirc): Use it to prompt for encryption.
14788
34699b85
RW
147892011-06-05 Roland Winkler <winkler@gnu.org>
14790
14791 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14792 (bibtex-search-entries): New command bound to C-c C-a.
14793 (bibtex-display-entries): New function.
14794
004dedd3
RW
147952011-06-05 Roland Winkler <winkler@gnu.org>
14796
14797 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14798 (bibtex-insert-kill): After yanking insert newline if necessary.
14799 (bibtex-initialize): Call bibtex-string-files-init only once.
14800 (bibtex-mode): Do not call easy-menu-add.
14801 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14802 (bibtex-yank): Set arg properly if nil.
14803
022fe7ce
RW
148042011-06-05 Roland Winkler <winkler@gnu.org>
14805
2b75be67
SM
14806 * textmodes/bibtex.el (bibtex-search-entry-globally):
14807 New variable.
022fe7ce
RW
14808 (bibtex-search-entry): Use it.
14809
b7c3692a
RW
148102011-06-05 Roland Winkler <winkler@gnu.org>
14811
14812 * textmodes/bibtex.el (bibtex-entry-format): New option
14813 sort-fields.
14814 (bibtex-format-entry, bibtex-reformat): Honor this option.
14815 (bibtex-parse-entry): Return fields in proper order.
14816
8eda563d
JB
148172011-06-05 Juanma Barranquero <lekktu@gmail.com>
14818
14819 * doc-view.el (doc-view-remove-if): Move computation of result out
14820 of `dolist' to silence misleading lexical-binding warning.
14821
7dbe3dbc
CY
148222011-06-04 Chong Yidong <cyd@stupidchicken.com>
14823
14824 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14825 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14826
0c33dd17
MA
148272011-06-04 Michael Albinus <michael.albinus@gmx.de>
14828
14829 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14830 "SunOS 5.10".
14831
f8f91c2b
MA
148322011-06-04 Michael Albinus <michael.albinus@gmx.de>
14833
14834 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14835 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14836 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14837 (tramp-parse-putty):
14838 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14839 (tramp-completion-function-alist-ssh)
14840 (tramp-completion-function-alist-telnet)
14841 (tramp-completion-function-alist-su)
14842 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14843 cookie.
14844
14845 * net/tramp-ftp.el:
14846 * net/tramp-sh.el:
14847 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14848 load "tramp.el" `tramp-set-completion-function'.
14849
e17d9003
SM
148502011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14851
14852 * shell.el: Require and use pcomplete.
14853 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14854 (shell-completion-vars): Set pcomplete-default-completion-function.
14855
6c4cab03
DD
148562011-06-04 Deniz Dogan <deniz@dogan.se>
14857
14858 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14859 `memq' (Bug#8799).
14860
ea9fafe0
SM
148612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14862
14863 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14864
b3e945d3
JB
148652011-06-02 Juanma Barranquero <lekktu@gmail.com>
14866
14867 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14868 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14869 * vc/log-view.el (log-view-beginning-of-defun):
14870 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14871 (smerge-refine-forward, smerge-refine-chopup-region):
14872 Silence warning for unused `dotimes' counter variables.
14873
7d520089
SM
148742011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14875
14876 * net/tramp.el (tramp-with-progress-reporter): Rename from
14877 with-progress-reporter. Use `declare'.
14878 * net/tramp-smb.el:
14879 * net/tramp-sh.el:
14880 * net/tramp-gvfs.el: Update all uses.
14881
a1c2400f
JB
148822011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14883
14884 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14885 buffer isn't killed before making it current.
14886
2403c841
SM
148872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 Silence various byte-compiler warnings.
14890 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14891 `access-type' and new obsolescence format.
14892 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14893 new format.
14894 (byte-compile-check-variable): New `access-type' argument.
14895 Only warn if the access-type is obsolete.
14896 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14897 (byte-compile-variable-set): Adjust callers.
14898 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14899 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14900 setting it as obsolete.
14901 * simple.el (minibuffer-completing-symbol):
14902 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14903 access as obsolete.
14904 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14905 obsolete yet.
14906 * international/quail.el (quail-mouse-choose-completion): Remove unused
14907 code referring to obsolete var.
14908 (quail-choose-completion-string): Remove.
14909 * server.el (server-clients-with, server-kill-buffer-query-function)
14910 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14911 * proced.el (proced-send-signal):
14912 * emacs-lisp/lisp.el (lisp-complete-symbol):
14913 Replace completion-annotate-function with completion-extra-properties.
14914
2462470b
SM
149152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14916
fb5b2591
SM
14917 * simple.el (goto-line): Use read-number.
14918 (overriding-map-is-bound): Remove.
14919 (saved-overriding-map): Change default.
14920 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14921 Take the map as argument.
14922 (universal-argument, negative-argument, digit-argument): Use it.
14923 (restore-overriding-map): Adjust.
14924 (do-auto-fill): Use fill-forward-paragraph.
14925 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14926
fd6fa53f
SM
14927 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14928 (minibuffer-inactive-mode): New major mode.
14929 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14930 the *Messages* buffer" hack.
14931 (mouse-popup-menubar): Don't burp if the event is a normal key.
14932
2462470b
SM
14933 Miscellaneous tweaks.
14934 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14935 lexical scoping as in subr.el's dolist and dotimes.
14936 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14937 Silence compiler warning.
14938 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14939 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14940 * international/ccl.el (ccl-compile): Trivial simplification.
14941 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14942 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14943 `printflag' argument.
14944 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14945 Purecopy the whole obsolescence data.
14946
108bf785
LL
149472011-06-01 Leo Liu <sdl.web@gmail.com>
14948
14949 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14950 improve doc-string as suggested by Marco Pessotto
14951 <melmothx@gmail.com>.
14952 (rcirc-print): Fix last change.
14953
30a23501
SM
149542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * minibuffer.el (complete-with-action): Return nil for the metadata and
14957 boundaries of non-functional tables.
14958 (completion-table-dynamic): Return nil for the metadata.
14959 (completion-table-with-terminator): Add default case, using
14960 complete-with-action.
14961 (completion--metadata): New function.
14962 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14963 to try and avoid pathological performance problems.
14964 (completion--embedded-envvar-table): Return `category' metadata.
14965
bcd54f83
LMI
149662011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14967
14968 * subr.el (process-alive-p): New tiny convenience function.
14969
e227544d
SM
149702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14973 content but also its previous major mode.
14974
e8296fdc
HE
149752011-05-31 Helmut Eller <eller.helmut@gmail.com>
14976
4d61f28d 14977 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14978 *Backtrace* buffer when we exit with C-M-c.
14979
620c53a6
SM
149802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * minibuffer.el: Add metadata method to completion tables.
14983 (completion-category-overrides): New defcustom.
14984 (completion-metadata, completion--field-metadata)
14985 (completion-metadata-get, completion--styles)
14986 (completion--cycle-threshold): New functions.
14987 (completion-try-completion, completion-all-completions):
14988 Add `metadata' argument to choose completion-styles.
14989 (completion--do-completion): Use metadata to choose cycling.
14990 (completion-all-sorted-completions): Use metadata for sorting.
14991 Remove :completion-cycle-penalty which is not needed any more.
14992 (completion--try-word-completion): Add `metadata' argument.
14993 (minibuffer-completion-help): Check metadata for annotation function
14994 and sorting.
14995 (completion-file-name-table): Return `category' metadata.
14996 (minibuffer-completing-file-name): Make obsolete.
14997 * simple.el (minibuffer-completing-symbol): Make obsolete.
14998 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14999 completion-try-completion.
15000
1257e755
SM
150012011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15002
15003 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15004
3767e706
LL
150052011-05-30 Leo Liu <sdl.web@gmail.com>
15006
15007 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15008 (rcirc-print): Decode all incoming messages (bug#8744).
15009 (rcirc-decode-coding-system): Allow value nil for automatic coding
15010 system detection.
3767e706 15011
d1a5d56a
GM
150122011-06-01 Glenn Morris <rgm@gnu.org>
15013
15014 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15015
e8cbec34
CY
150162011-05-29 Chong Yidong <cyd@stupidchicken.com>
15017
15018 * image.el (image-animate-max-time): Allow nil and t values.
15019 Default to nil.
15020 (create-animated-image): Doc fix.
15021 (image-animate-start): Remove second arg; just use
15022 image-animate-max-time.
15023 (image-animate-timeout): Doc fix. Args changed.
15024
15025 * image-mode.el (image-toggle-display-image): Ensure that the
15026 image spec passed to the animate timer is the same object as in
58179cce 15027 the buffer's display property (Bug#6981).
e8cbec34
CY
15028 (image-transform-properties): Doc fix.
15029
15030 * image.el (image-animate-max-time): Default to nil.
15031
159daf87
MR
150322011-05-29 Martin Rudalics <rudalics@gmx.at>
15033
15034 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15035 entire buffer list (Bug#8184).
15036
d66c4c7c
CY
150372011-05-29 Chong Yidong <cyd@stupidchicken.com>
15038
15039 * image.el (imagemagick-types-inhibit)
15040 (imagemagick-register-types): Doc fix.
15041
80aec780
DD
150422011-05-29 Deniz Dogan <deniz@dogan.se>
15043
15044 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15045 default.
15046
1dd3c2d9
CY
150472011-05-29 Chong Yidong <cyd@stupidchicken.com>
15048
15049 * select.el: Don't perform clipboard-manager saving in hooks;
15050 leave the hooks empty.
15051
60e56523
LL
150522011-05-28 Leo Liu <sdl.web@gmail.com>
15053
15054 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15055 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15056 (occur-edit-mode): New major mode (Bug#8463).
15057 (occur-after-change-function): New function.
15058 (occur-engine): Give Occur tags a read-only property.
15059
2b1e1a22
KR
150602011-05-28 Kevin Ryde <user42@zip.com.au>
15061
15062 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15063
5d344e88
CY
150642011-05-28 Chong Yidong <cyd@stupidchicken.com>
15065
8e6ca83d
CY
15066 * bindings.el (help-echo): Make the initial non-indicator dash
15067 empty on graphical terminals (Bug#7295).
15068
5d344e88
CY
15069 * files.el (auto-mode-alist): Move config rule after the
15070 in-stripping one (Bug#8547).
15071
bfbbace7
CY
15072 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15073
fbeba6e2
CY
15074 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15075 setting (Bug#8740).
15076
60ed8c72
AA
150772011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15078
4ac619f0
AA
15079 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15080 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15081 (Bug#8539).
60ed8c72 15082
23db196e
CY
150832011-05-28 Chong Yidong <cyd@stupidchicken.com>
15084
15085 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15086
5012f24c
DK
150872011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15088
15089 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15090 (hs-hide-block-at-point, hs-find-block-beginning)
15091 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15092 (Bug#8279).
15093
6a639b16
GM
150942011-05-28 Glenn Morris <rgm@gnu.org>
15095
15096 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15097
d43eaf2c
CY
150982011-05-28 Chong Yidong <cyd@stupidchicken.com>
15099
5199bde1
CY
15100 * help-fns.el (describe-function-1): If the function is a derived
15101 major mode, print the parent mode.
15102
d43eaf2c
CY
15103 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15104 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15105
423428a8
SM
151062011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15107
0ff8e1ba 15108 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15109 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15110 * progmodes/etags.el (tags-completion-at-point-function):
15111 * info-look.el (info-lookup-completions-at-point): Mark as
15112 non-exclusive.
15113 (info-complete): Adjust accordingly.
15114
423428a8
SM
15115 * info-look.el: Convert to lexical-binding and completion-at-point.
15116 (info-lookup-completions-at-point): New function.
15117 (info-complete): Use it and completion-in-region.
15118
b74aa22b
DA
151192011-05-28 Drew Adams <drew.adams@oracle.com>
15120
15121 * isearch.el: Let M-e start with point at the first mismatched char.
15122 (isearch-fail-pos): New function.
15123 (isearch-edit-string): Use it.
15124
66e2e71d
DK
151252011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15126
15127 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15128
b1890b0f 151292011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15130
15131 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15132 traversal functions for avl-trees.
15133 (avl-tree--stack): New struct.
15134 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15135 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15136 (avl-tree--do-enter): Add optional `updatefun' arg.
15137 Change return value.
eb95d01d 15138 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15139 (avl-tree--do-delete): Add `test' and `nilflag' args.
15140 Change return value.
eb95d01d
TC
15141 (avl-tree-member): Add optional `nilflag'
15142 (avl-tree-member-p): New function.
15143 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15144 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15145 (avl-tree-stack-empty-p): New functions.
15146
3769ddcf
TC
15147 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15148 avl-tree--del-balance1 and make it work both ways.
15149 (avl-tree--del-balance2): Remove.
15150 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15151 make it work both ways.
15152 (avl-tree--enter-balance2): Remove.
15153 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15154 New macros.
15155 (avl-tree--mapc, avl-tree-map): Add direction argument.
15156
eb95d01d 151572011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15158
15159 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15160
a9f737ee
CY
151612011-05-27 Chong Yidong <cyd@stupidchicken.com>
15162
15163 * select.el: Support clipboard managers with built-in function
15164 x-clipboard-manager-save, via delete-frame-functions and
15165 kill-emacs-hook.
15166 (xselect-convert-to-targets): Add MULTIPLE target to list.
15167 (xselect-convert-to-save-targets): New function.
15168
c92a1e54
KH
151692011-05-27 Kenichi Handa <handa@m17n.org>
15170
15171 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15172 let-binding rfc2047-encode-encoded-words to nil.
15173
e145f188
GM
151742011-05-27 Glenn Morris <rgm@gnu.org>
15175
5ec8a862
GM
15176 * mail/emacsbug.el: Don't require url-util.
15177
4b29d9fb
GM
15178 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15179
e145f188
GM
15180 * files.el (set-auto-mode):
15181 Also respect mode: entries at the end of the file. (Bug#8586)
15182
7d15102b
GM
151832011-05-26 Glenn Morris <rgm@gnu.org>
15184
98f593b8
GM
15185 * files.el (hack-local-variables-prop-line, hack-local-variables):
15186 Downcase mode names, as seems to be traditional.
27b48e63 15187 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15188
7d15102b
GM
15189 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15190 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15191
51d5b4ec
JD
151922011-05-25 Julien Danjou <julien@danjou.info>
15193
15194 * textmodes/rst.el (rst-define-level-faces): Do not define face
15195 symbol if it is already defined.
15196
91513f63
VB
151972011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15198
15199 * play/5x5.el (5x5-new-game, 5x5-randomize):
15200 Reset 5x5-solver-output to nil when a new grid is cast.
15201 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15202 these debugging traces, as defmacro breaks the compiled code.
15203
4d90d6d0
DK
152042011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15205
15206 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15207
e1b90ef6
LL
152082011-05-24 Leo Liu <sdl.web@gmail.com>
15209
15210 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15211 (vc-bzr-sha1): Adapt.
15212
d8e4b68b 15213 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15214
15215 * bindings.el: Provide sha1 feature.
15216
db0406bb 152172011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15218
15219 * mail/sendmail.el: Require `rfc2047'.
15220 (mail-insert-from-field): Do not perform RFC2047 encoding.
15221 (mail-encode-header): New function.
15222 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15223 buffer to the return value of select-message-coding-system.
15224 Call mail-encode-header.
b8d747b9
KH
15225
15226 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15227
db0406bb 152282011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15229
4d90d6d0
DK
15230 * mail/supercite.el (sc-default-cite-frame):
15231 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15232
eb8a5e9b
GM
152332011-05-24 Glenn Morris <rgm@gnu.org>
15234
f8630703
GM
15235 * progmodes/python.el (brm-menu): Declare.
15236
8831bbed
GM
15237 * emulation/viper.el (viper-set-hooks): Declare.
15238
eb8a5e9b
GM
15239 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15240 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15241 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15242 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15243 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15244 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15245
a2a25d24
SM
152462011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 Add an :exit-function for completion-at-point.
15249
15250 * minibuffer.el (completion--done): New fun.
15251 (completion--do-completion): Use it. New arg `expect-exact'.
15252 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15253 since completion--do-completion does it for us now.
15254 (minibuffer-force-complete): Use completion--done and
15255 completion--replace. Handle sole-completion case with more care.
15256 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15257 (completion-extra-properties): New var.
15258 (completion-annotate-function): Make obsolete.
15259 (minibuffer-completion-help): Adjust accordingly.
15260 Use completion-list-insert-choice-function.
15261 (completion-at-point, completion-help-at-point):
15262 Bind completion-extra-properties.
15263 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15264 * simple.el (completion-list-insert-choice-function): New var.
15265 (completion-setup-function): Preserve it.
15266 (choose-completion): Pay attention to it, shuffle the code a bit.
15267 (choose-completion-string): New arg `insert-function'.
15268
15269 * textmodes/bibtex.el: Convert to lexical binding.
15270 (bibtex-mode-map): Use completion-at-point.
15271 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15272 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15273 (bibtex-complete): Define as obsolete alias.
15274 (bibtex-complete-internal): Remove.
15275 (bibtex-format-entry): Remove unused sub-group in regexp.
15276 * shell.el (shell--command-completion-data)
15277 (shell-environment-variable-completion):
15278 * pcomplete.el (pcomplete-completions-at-point):
15279 * comint.el (comint--complete-file-name-data): Use :exit-function
15280 instead of completion-table-with-terminator so it also works for
15281 choose-completion.
15282
e44e373d
SM
152832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15284
4f91a816
SM
15285 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15286
782fc819
SM
15287 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15288 (bug#8710).
15289
e44e373d
SM
15290 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15291
381987c3
KM
152922011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15293
15294 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15295 customization variable and implement: If non-nil, auto-fill will
15296 be inhibited while on topic's header line.
15297
b776bc70
VB
152982011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15299
15300 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15301 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15302 always have a solution in grid size = 5 cases.
15303 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15304 (5x5-solver-output, 5x5-log-buffer): New vars.
15305 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15306 Make these variables buffer local to achieve 5x5 multi-session-ness.
15307 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15308 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15309 (5x5-solve-suggest): New funs.
15310 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15311 randomize a grid so that we ensure that there is always a solution.
15312 (5x5-make-random-grid): Allow other movement than flipping.
15313
7de88b6e
KR
153142011-05-23 Kevin Ryde <user42@zip.com.au>
15315
15316 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15317 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15318 advice and passes PREDICATE.
15319
b1ef1257
SM
153202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15321
bbca48fe
SM
15322 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15323 byte-compile-lambda if it's actually a lambda.
15324
b1ef1257
SM
15325 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15326 Fix function quoting. Use backquote better.
15327
92a9cc65
YS
153282011-05-22 Yuanle Song <sylecn@gmail.com>
15329
15330 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15331 matching (Bug#8516).
15332
f0fb8059
JA
153332011-01-22 Jari Aalto <jari.aalto@cante.net>
15334
15335 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15336 different face (Bug#8178).
15337
d5b44c93
CY
153382011-05-22 Chong Yidong <cyd@stupidchicken.com>
15339
15340 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15341 defface (Bug#8144).
15342
79106a44
SM
153432011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15344
9c848d8a
SM
15345 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15346 funcall as well (bug#8712). Warn when performing those conversions.
15347 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15348
79106a44
SM
15349 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15350
88dfa756
GM
153512011-05-22 Glenn Morris <rgm@gnu.org>
15352
15353 * files.el (hack-local-variables-prop-line): Small simplifications.
15354 (hack-local-variables, hack-local-variables-prop-line):
15355 If MODE-ONLY, return the mode, rather than just `t'.
15356
b7cf2c79
SM
153572011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15358
15359 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15360
3f1a8558
GM
153612011-05-21 Glenn Morris <rgm@gnu.org>
15362
7e4ccca3
GM
15363 * files.el (hack-local-variables-prop-line, hack-local-variables):
15364 If only interested in the mode, don't bother doing the other stuff.
15365
637d46ca
GM
15366 * image-mode.el (image-after-revert-hook):
15367 Redraw all frames on which the image is visible. (Bug#8567)
15368
973d955b
GM
15369 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15370
3f1a8558
GM
15371 * wid-edit.el (widget-checklist-match-inline):
15372 Fix 2011-04-19 change. (Bug#8649)
15373
96479927
SM
153742011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15375
1dcf791f
SM
15376 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15377 Also allow singlespace after single-letter capitals followed by a dot.
15378
96479927
SM
15379 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15380 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15381
35fd0881
N
153822011-05-20 Nix <nix@esperi.org.uk>
15383
15384 * files.el (basic-save-buffer-2):
15385 Fix handling of break-hardlink-on-save with non-existent files.
15386
82745640
DD
153872011-05-19 Deniz Dogan <deniz@dogan.se>
15388
15389 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15390 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15391
4a720484
GM
153922011-05-19 Glenn Morris <rgm@gnu.org>
15393
d1f21341
GM
15394 * progmodes/f90.el (f90-type-def-re):
15395 Handle "type, bind(c)". (Bug#8691)
15396
4a720484
GM
15397 * emacs-lisp/autoload.el (batch-update-autoloads):
15398 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15399
2fb0a219
MA
154002011-05-18 Michael Albinus <michael.albinus@gmx.de>
15401
15402 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15403 property for the correct connection in case of multihops.
15404
e565dd37
GM
154052011-05-18 Glenn Morris <rgm@gnu.org>
15406
c2571358 15407 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15408 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15409
e565dd37
GM
15410 Rationalize calendar handling of day and month abbrev-arrays.
15411 * calendar/calendar.el (calendar-customized-p): New function.
15412 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15413 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15414 Add :set function.
15415 (calendar-abbrev-length, calendar-day-abbrev-array)
15416 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15417 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15418 Elements may no longer be nil.
15419 (calendar-day-name, calendar-month-name):
15420 Update for changed nature of abbrev arrays.
15421 * calendar/diary-lib.el (diary-name-pattern):
15422 Update for changed nature of abbrev arrays.
15423 (diary-mark-entries-1): Update calendar-make-alist calls.
15424 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15425 * calendar/cal-html.el (cal-html-day-abbrev-array):
15426 Simply inherit from calendar-day-abbrev-array.
15427
1d99a745
SM
154282011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15429
15430 * progmodes/grep.el (grep-mode): Disable default
15431 compilation-directory-matcher setting (bug#8684).
15432
7c1d9aa0
MA
154332011-05-17 Michael Albinus <michael.albinus@gmx.de>
15434
15435 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15436 instead of "head" and "tail". There were problems with SunOS 5.9,
15437 and it performs better.
15438
3952e9d8
GM
154392011-05-17 Glenn Morris <rgm@gnu.org>
15440
2dd12e7f
GM
15441 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15442
e4157b9c
GM
15443 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15444 Replace obsolete function.
15445
8e249bbd
GM
15446 * shell.el (pcomplete-parse-arguments-function): Declare.
15447
3952e9d8
GM
15448 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15449 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15450 (appt-check): Doc fixes.
15451 (appt-disp-window-function, appt-delete-window-function):
15452 Remove needless special case in custom :type.
15453 (appt-display-count): Default to 0, not nil.
15454 (appt-check): Reset appt-display-count to 0, not nil.
15455
c71a0d48 154562011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15457
c71a0d48
GM
15458 * progmodes/python.el (python-font-lock-keywords):
15459 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15460
31d55be9
SM
154612011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15464
3bfacb2f
KR
154652011-05-16 Kevin Ryde <user42@zip.com.au>
15466
15467 * info-look.el (makefile-automake-mode): New setups, looking in
15468 automake manual, then makefile-mode.
15469 (makefile-mode): Remove automake manual, have it just in
15470 makefile-automake-mode since there's various things different or
15471 not relevant to plain make.
15472 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15473 believe a hypothetical automake-mode would go to makefile-mode,
15474 not the other way around.
15475
c8e83751
CY
154762011-05-15 Chong Yidong <cyd@stupidchicken.com>
15477
5e9e35cd
CY
15478 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15479 hunk-end tags (Bug#8672).
15480
c8e83751
CY
15481 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15482 vc-annotate-show-diff-revision-at-line (Bug#8671).
15483
50b23e5a
GM
154842011-05-14 Glenn Morris <rgm@gnu.org>
15485
7210a739
GM
15486 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15487 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15488 (change-log-font-lock-keywords): Also handle multiple author lines
15489 with leading tabs. (Bug#8644)
7210a739 15490
4691905a
GM
15491 * calendar/appt.el (appt-check): Rename some local variables.
15492 Some simplification/reordering.
15493
50b23e5a
GM
15494 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15495 (feedmail-sendmail-f-doesnt-sell-me-out)
15496 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15497 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15498 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15499 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15500 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15501 (feedmail-binmail-gnulinuxish-template):
15502 Rename from feedmail-binmail-linuxish-template.
15503 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15504 Use insert-buffer-substring.
15505
215cda7c
BC
155062011-05-14 Bill Carpenter <bill@carpenter.org>
15507
15508 * mail/feedmail.el (feedmail-patch-level): Increase.
15509 (feedmail-debug): New custom group.
15510 (feedmail-confirm-outgoing-timeout)
15511 (feedmail-sendmail-f-doesnt-sell-me-out)
15512 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15513 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15514 (feedmail-sender-line, feedmail-from-line)
15515 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15516 (feedmail-spray-this-address)
215cda7c
BC
15517 (feedmail-spray-address-fiddle-plex-list)
15518 (feedmail-queue-use-send-time-for-date)
15519 (feedmail-queue-use-send-time-for-message-id)
15520 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15521 (feedmail-buffer-eating-function):
15522 Doc fixes.
15523 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15524 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15525 (feedmail-message-action-scroll-down): New functions.
15526 (feedmail-queue-directory, feedmail-queue-draft-directory):
15527 Use expand-file-name.
15528 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15529 Remove C-v help entry.
15530 (feedmail-queue-buffer-file-name): New variable.
15531 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15532 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15533 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15534 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15535 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15536 (feedmail-message-action-toggle-spray)
15537 (feedmail-run-the-queue-no-prompts)
15538 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15539 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15540 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15541 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15542 (feedmail-envelope-deducer, feedmail-fiddle-from)
15543 (feedmail-fiddle-sender, feedmail-default-date-generator)
15544 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15545 (feedmail-fiddle-spray-address)
15546 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15547 (feedmail-fiddle-list-of-fiddle-plexes)
15548 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15549 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15550 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15551 Change default. Doc fix.
15552 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15553 (feedmail-binmail-linuxish-template): New constant.
15554 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15555 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15556 (feedmail-send-it): Add debug call.
15557 Use feedmail-queue-buffer-file-name, and
15558 feedmail-send-it-immediately-wrapper.
15559 (feedmail-message-action-send): Add debug call.
15560 Use feedmail-send-it-immediately-wrapper.
15561 (feedmail-queue-express-to-queue): Add debug call.
15562 Run feedmail-queue-express-hook.
15563 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15564 (feedmail-message-action-help-blat):
15565 Rename from feedmail-queue-send-edit-prompt-help-first.
15566 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15567 Check line-endings. Handle errors better.
15568 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15569 Doc fix. Add debug call.
15570 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15571 Use feedmail-queue-send-edit-prompt-inner.
15572 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15573 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15574 from feedmail-queue-send-edit-prompt.
15575 (feedmail-queue-send-edit-prompt-help)
15576 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15577 (feedmail-tidy-up-slug): Add debug call.
15578 Respect feedmail-queue-slug-suspect-regexp.
15579 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15580 (feedmail-dump-message-to-queue): Add debug call.
15581 Expand queue-directory.
15582 (feedmail-dump-message-to-queue): Change message slightly.
15583 Use feedmail-say-chatter.
15584 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15585 (feedmail-send-it-immediately-wrapper): New function.
15586 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15587 Insert empty string rather than newline. Handle full-frame case.
15588 Use catch/throw. Use feedmail-say-chatter.
15589 (feedmail-fiddle-from): Try mail-host-address.
15590 (feedmail-default-message-id-generator): Doc fix.
15591 Bind system-time-locale. Handle missing end.
15592 (feedmail-fiddle-x-mailer): Add debug call.
15593 Handle feedmail-x-mailer-line being nil.
15594 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15595 Add debug call. Use buffer-substring-no-properties.
15596 (feedmail-say-debug, feedmail-say-chatter): New functions.
15597 (feedmail-find-eoh): Give an explicit error.
15598
42c7e61e
UJ
155992011-05-13 Ulf Jasper <ulf.jasper@web.de>
15600
c2571358 15601 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15602 family from helvetica to sans.
c2571358 15603 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15604 etc/images/newsticker.
15605
c2571358 15606 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15607 family from helvetica to sans.
15608
15609 * net/newst-plainview.el (newsticker-new-item-face)
15610 (newsticker-old-item-face, newsticker-immortal-item-face)
15611 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15612 (newsticker-statistics-face): Change default family from
42c7e61e 15613 helvetica to sans.
c2571358 15614 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15615 etc/images/newsticker.
15616
5d3385a0
JB
15617 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15618 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15619 auto-marking.
15620
8497a297
DV
156212011-05-13 Didier Verna <didier@xemacs.org>
15622
15623 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15624 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15625 TODO entries.
8497a297
DV
15626 (lisp-lambda-list-keyword-parameter-indentation)
15627 (lisp-lambda-list-keyword-parameter-alignment)
15628 (lisp-lambda-list-keyword-alignment): New customizable user options.
15629 (lisp-indent-defun-method): Improve docstring.
15630 (extended-loop-p): Fix comment.
15631 (lisp-indent-lambda-list-keywords-regexp): New variable.
15632 (lisp-indent-lambda-list): New function.
15633 (lisp-indent-259): Use it.
15634 (lisp-indent-defmethod): Support for more than one
15635 method qualifier and properly indent methods lambda-lists.
15636 (defgeneric): Provide a missing common-lisp-indent-function property.
15637
f278f87f
SM
156382011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15641 bounds for the empty string (bug#8667).
15642
5233edd7
GM
156432011-05-13 Glenn Morris <rgm@gnu.org>
15644
5237a44f
GM
15645 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15646
8340026c 15647 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15648 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15649
5233edd7 15650 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15651 (appt-time-msg-list): Doc fix.
a5464014 15652 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15653
92d10796
AS
156542011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15655
15656 * progmodes/ld-script.el (ld-script-keywords)
15657 (ld-script-builtins): Update keywords list.
15658
914a0ae1
SM
156592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15660
c89be45f
SM
15661 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15662
914a0ae1
SM
15663 * shell.el (shell-completion-vars): New function.
15664 (shell-mode):
15665 * simple.el (read-shell-command): Use it.
15666 (blink-matching-open): No need for " [...]" in minibuffer-message.
15667
98dc3df3
GM
156682011-05-12 Glenn Morris <rgm@gnu.org>
15669
15670 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15671 (appt-check): Simplify.
15672
d2fc7e3d 156732011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15674
4d61f28d 15675 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15676 literal "/dev/null".
15677
d2fc7e3d 156782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15679
15680 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15681 Fix typo.
15682
d2fc7e3d 156832011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15684
3f254caa
SM
15685 * progmodes/which-func.el (which-function):
15686 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15687 which might not be defined (Bug#8260).
15688
d45885f7
GM
156892011-05-12 Glenn Morris <rgm@gnu.org>
15690
15691 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15692 Let byte-compile-initial-macro-environment always take precedence.
15693
488086f4
SM
156942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15695
15696 * net/rcirc.el: Add support for SSL/TLS connections.
15697 (rcirc-server-alist): New field `encryption'.
15698 (rcirc): Check `encryption' settings.
15699 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15700 Merge make-local-variable into `set'.
15701 (rcirc--connection-open-p): New function.
15702 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15703 the process is not a network process (e.g. running gnutls-cli).
15704 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15705 Make rcirc-(en|de)code-coding-system local here.
15706 (rcirc-mode): Merge make-local-variable into `set'.
15707 (rcirc-parent-buffer): Make permanent buffer-local.
15708 (rcirc-multiline-minor-mode): Don't do it here.
15709 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15710 there's no server buffer.
15711
7d3b9d44
GM
157122011-05-11 Glenn Morris <rgm@gnu.org>
15713
f64049c6
GM
15714 * newcomment.el (comment-kill): Prefix "unused" local.
15715
93c9df73
GM
15716 * term/w32console.el (get-screen-color): Declare.
15717
7d3b9d44
GM
15718 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15719 Handle symbol elements of byte-compile-initial-macro-environment.
15720
9e2dd53f
LL
157212011-05-10 Leo Liu <sdl.web@gmail.com>
15722
488086f4
SM
15723 * bookmark.el (bookmark-bmenu-mode-map):
15724 Bind bookmark-bmenu-search to `/'.
8b340240 15725
9e2dd53f 15726 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15727 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15728 (Footnote-unicode): New function.
15729 (footnote-style-alist): Add unicode style to the list.
15730 (footnote-style): Doc fix.
9e2dd53f 15731
79b70037
GM
157322011-05-10 Jim Meyering <meyering@redhat.com>
15733
15734 Fix doubled-word typos.
15735 * international/quail.el (quail-insert-kbd-layout): and and -> and
15736 * kermit.el: and and -> and
15737 * net/ldap.el (ldap-search-internal): to to -> to
15738 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15739 * progmodes/js.el (js-mode): and and -> and
15740 * textmodes/artist.el (artist-move-to-xy): at at -> at
15741 (artist-draw-region-trim-line-endings): if if -> if
15742 And Safetyc -> Safety.
15743 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15744
b8f82dc1 157452011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15746 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15747
15748 * files.el (hack-one-local-variable-eval-safep):
15749 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15750
4f99f44b
GM
157512011-05-10 Glenn Morris <rgm@gnu.org>
15752
15753 * calendar/diary-lib.el (diary-list-entries-hook)
15754 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15755 (diary-nongregorian-marking-hook, diary-list-entries)
15756 (diary-include-other-diary-files, diary-mark-entries)
15757 (diary-mark-included-diary-files): Doc fixes.
15758
84f29e6b
JB
157592011-05-09 Juanma Barranquero <lekktu@gmail.com>
15760
15761 * misc.el: Require tabulated-list.el during compilation.
15762
9bedd73a
CY
157632011-05-09 Chong Yidong <cyd@stupidchicken.com>
15764
488086f4
SM
15765 * progmodes/compile.el (compilation-start):
15766 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15767 (compilation-filter-hook): Doc fix.
15768
797c735c
DD
157692011-05-09 Deniz Dogan <deniz@dogan.se>
15770
15771 * wdired.el: Remove outdated installation comment. Fix usage
15772 comment.
15773
5f4b1dfe
JB
157742011-05-09 Juanma Barranquero <lekktu@gmail.com>
15775
15776 * misc.el: Implement new command `list-dynamic-libraries'.
15777 (list-dynamic-libraries--loaded-only-p): New variable.
15778 (list-dynamic-libraries--refresh): New function.
15779 (list-dynamic-libraries): New command.
15780
4c44026c
CY
157812011-05-09 Chong Yidong <cyd@stupidchicken.com>
15782
488086f4
SM
15783 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15784 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15785 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15786 higher priority to avoid clobbering by gnu.
15787
027f966d
CY
157882011-05-08 Chong Yidong <cyd@stupidchicken.com>
15789
15790 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15791 if the face has existing theme settings (Bug#8454).
15792
085f5d7d
CY
157932011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15794
488086f4
SM
15795 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15796 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15797
2a86a00c
RS
15798 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15799 special file names `.' and `..' (Bug#8259).
15800
d9c54a06
CY
158012011-05-08 Chong Yidong <cyd@stupidchicken.com>
15802
488086f4
SM
15803 * progmodes/grep.el (grep-mode-font-lock-keywords):
15804 Remove buffer-changing entries.
d9c54a06
CY
15805 (grep-filter): New function.
15806 (grep-mode): Add it to compilation-filter-hook.
15807
15808 * progmodes/compile.el (compilation-filter-hook)
15809 (compilation-filter-start): New defvars.
15810 (compilation-filter): Call compilation-filter-hook prior to
15811 updating the process mark.
15812
c4662635
SM
158132011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15814
15815 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15816
b0512a1d
EZ
158172011-05-07 Eli Zaretskii <eliz@gnu.org>
15818
605c9376
EZ
15819 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15820 mailclient-send-it even if window-system is nil. (Bug#8595)
15821
c4662635
SM
15822 * term/w32console.el (terminal-init-w32console):
15823 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15824 background-mode. (Bug#8597)
15825
d1dc2cc2
SM
158262011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15827
15828 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15829 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15830 New functions.
15831 (defgeneric, eieio--defmethod): Use them.
15832 (eieio-defgeneric): Remove.
15833 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15834
915d1300
GM
158352011-05-07 Glenn Morris <rgm@gnu.org>
15836
a3961c3e
GM
15837 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15838 Use let rather than let*.
15839 (timeclock-find-discrep): Remove unused local.
15840
314347b9
GM
15841 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15842
915d1300
GM
15843 * calendar/appt.el (appt-time-msg-list): Doc fix.
15844
275b59b0
NF
158452011-05-06 Noah Friedman <friedman@splode.com>
15846
15847 * apropos.el (apropos-print-doc): Only use
15848 emacs-lisp-docstring-fill-column when it is bound to an integer,
15849 per that variable's documentation.
15850
6c19f744
SM
158512011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15852
15853 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15854 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15855
60f884b2
GM
158562011-05-06 Glenn Morris <rgm@gnu.org>
15857
5006e634
GM
15858 * calendar/appt.el (appt-message-warning-time): Doc fix.
15859 (appt-warning-time-regexp): New option.
15860 (appt-make-list): Respect appt-message-warning-time.
15861
548d0a63
GM
15862 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15863 New options.
15864 (diary-add-to-list): Strip comments from the displayed string.
15865 (diary-mode): Set comment-start and comment-end.
15866
60f884b2
GM
15867 * vc/diff-mode.el (smerge-refine-subst): Declare.
15868 (diff-refine-hunk): Don't require smerge-mode when compiling.
15869
989681bb
JB
158702011-05-06 Juanma Barranquero <lekktu@gmail.com>
15871
15872 * simple.el (list-processes): Return nil as the docstring says.
15873
a6bc05e1
MA
158742011-05-05 Michael Albinus <michael.albinus@gmx.de>
15875
15876 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15877 to "".
15878 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15879 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15880 determining of binary transfer. (Bug#7383)
15881
23c22e9a
MA
158822011-05-05 Michael Albinus <michael.albinus@gmx.de>
15883
c4662635
SM
15884 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15885 Fix port computation bug. (Bug#8618)
23c22e9a 15886
0bff894f
GM
158872011-05-05 Glenn Morris <rgm@gnu.org>
15888
b8296902
GM
15889 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15890
1f522ce8
GM
15891 * simple.el (shell-dynamic-complete-functions)
15892 (comint-dynamic-complete-functions): Declare.
15893
cf5bee67
GM
15894 * net/network-stream.el (gnutls-negotiate):
15895 * simple.el (tabulated-list-print): Fix declarations.
15896
15897 * progmodes/gud.el (syntax-symbol, syntax-point):
15898 Remove unnecessary and incorrect declarations.
15899
0bff894f
GM
15900 * emacs-lisp/check-declare.el (check-declare-scan):
15901 Handle byte-compile-initial-macro-environment in bytecomp.el
15902
9869b3ae
SM
159032011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15904
15905 Fix earlier half-done eieio-defmethod change (bug#8338).
15906 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15907 Streamline and change calling convention.
15908 (defmethod): Adjust accordingly and simplify.
15909 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15910 new eieio--defmethod.
15911 (slot-boundp): Minor CSE simplification.
15912
9c1d5ac5
MZ
159132011-05-05 Milan Zamazal <pdm@zamazal.org>
15914
15915 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15916 (glasses-make-readable): Use glasses-separate-capital-groups.
15917
455c834e
JB
159182011-05-05 Juanma Barranquero <lekktu@gmail.com>
15919
15920 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15921 (warning-series): Doc fix.
15922 (display-warning): Don't try to create the buffer if we just found it.
15923
9ed7c8cb
CY
159242011-05-04 Chong Yidong <cyd@stupidchicken.com>
15925
15926 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15927 (autoload-find-generated-file): New function.
15928 (generate-file-autoloads): Bind generated-autoload-file to
15929 buffer-file-name.
9869b3ae
SM
15930 (update-file-autoloads, update-directory-autoloads):
15931 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15932 output file (Bug#7989).
15933 (batch-update-autoloads): Doc fix.
15934
0898ca10
JB
159352011-05-04 Juanma Barranquero <lekktu@gmail.com>
15936
15937 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15938
31dfb76c
GM
159392011-05-04 Glenn Morris <rgm@gnu.org>
15940
f330b642
GM
15941 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15942 function, so it follows changes in calendar-date-style.
15943 (diary-fancy-date-matcher): New function.
15944 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15945 (diary-fancy-font-lock-fontify-region-function):
15946 Use diary-fancy-date-pattern as a function.
15947
31dfb76c
GM
15948 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15949 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15950
48e79d6a
TZ
159512011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15952
15953 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15954 instead of positional arguments. Allow :keylist and :crlfiles
15955 arguments.
15956 (open-gnutls-stream): Call it.
15957
15958 * net/network-stream.el (network-stream-open-starttls): Adjust to
15959 call `gnutls-negotiate' with :process and :hostname arguments.
15960
dd5a5ee0
SM
159612011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15962
ef80fc09
SM
15963 * minibuffer.el (completion--message): New function.
15964 (completion--do-completion, minibuffer-complete)
15965 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15966 (completion--do-completion): Don't ignore completion-auto-help when in
15967 icomplete-mode.
15968
dd5a5ee0
SM
15969 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15970 internal encoding (e.g. tibetan zero is not whitespace).
15971 (global-whitespace-mode): Prefer save-current-buffer.
15972 (whitespace-trailing-regexp): Remove useless save-match-data.
15973 (whitespace-empty-at-bob-regexp): Minor simplification.
15974
b7d22a83
CY
159752011-05-03 Chong Yidong <cyd@stupidchicken.com>
15976
15977 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15978
5192af46
AM
159792011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15980
15981 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15982 Use `concat' to create string for insertion.
5192af46 15983
5767d190
SM
159842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15985
15986 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15987 Avoid open-line which runs post-self-insert-hook.
15988 (bibtex-fill-entry): Remove unused `end' var.
15989
bf242939
AM
159902011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15991
5767d190
SM
15992 * textmodes/ispell.el (ispell-add-per-file-word-list):
15993 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15994
25666126
LL
159952011-05-03 Leo Liu <sdl.web@gmail.com>
15996
15997 * isearch.el (isearch-yank-pop): New command.
5767d190 15998 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15999 (isearch-forward): Mention it.
16000
52d3c2d0
SM
160012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16002
1bcace58
SM
16003 * simple.el (minibuffer-complete-shell-command): Remove.
16004 (minibuffer-local-shell-command-map): Use completion-at-point.
16005 (read-shell-command): Setup completion vars here instead.
16006 (read-expression-map): Bind TAB to symbol completion.
16007
52d3c2d0
SM
16008 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16009 error directly rather via storing it into `results'.
16010
35813471
LL
160112011-05-02 Leo Liu <sdl.web@gmail.com>
16012
16013 * vc/diff.el: Fix description.
16014
e793a940
LMI
160152011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16016
16017 * server.el (server-eval-at): New function.
16018
8de66e05
LMI
160192011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16020
16021 * net/network-stream.el (open-network-stream): Take a :nowait
16022 parameter and pass it on to `make-network-process'.
16023 (network-stream-open-plain): Ditto.
16024
dcb79f20
AS
160252011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16026
16027 * faces.el (face-spec-set-match-display): Don't match toolkit
16028 options on terminal frames.
16029
14a7fbd8
SM
160302011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16031
7eabc1be
SM
16032 * progmodes/pascal.el: Use lexical binding.
16033 (pascal-mode-map): Remove author preferences.
16034
14a7fbd8
SM
16035 * pcomplete.el (pcomplete-std-complete): Don't abuse
16036 completion-at-point.
16037
50f84510
JB
160382011-04-28 Juanma Barranquero <lekktu@gmail.com>
16039
6e087a44
JB
16040 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16041 removing code that has been dead since 1991 or so.
16042
50f84510
JB
16043 * startup.el (command-line): When warning about "_emacs", use a
16044 delayed warning to allow the user to filter it out.
16045
0ba690bd
DD
160462011-04-28 Deniz Dogan <deniz@dogan.se>
16047
16048 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16049 user has not joined.
16050
08abfaad
SM
160512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16052
16053 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16054 aren't any completions at point.
16055
638f053a
JB
160562011-04-28 Juanma Barranquero <lekktu@gmail.com>
16057
16058 * subr.el (display-delayed-warnings): New function.
16059 (delayed-warnings-hook): New variable.
16060
8fff8daa
SM
160612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16062
08abfaad
SM
16063 * minibuffer.el (completion-at-point, completion-help-at-point):
16064 Don't presume that a given completion-at-point-function will always
16065 use the same calling convention.
16066
8fff8daa
SM
16067 * pcomplete.el (pcomplete-completions-at-point):
16068 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16069 pcomplete-seen is non-nil.
16070 (pcomplete-comint-setup): Also recognize the new comint/shell
16071 completion functions.
16072 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16073 pcomplete-seen is non-nil.
16074
841a1577 160752011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16076
841a1577 16077 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16078 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16079 the first character in the entry. This allows for code to add its
211ec907
UJ
16080 own uid to the entry.
16081 (icalendar--convert-float-to-ical): Add export of
16082 `diary-float'-entries save for those with the optional DAY
16083 argument.
16084
2a782793
DC
160852011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16086
16087 * subr.el (shell-quote-argument): Use alternate escaping strategy
16088 when we spot a variable reference in a string.
16089
0438ce91
DC
160902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16091
16092 * cus-start.el (all): Define customization for debug-on-event.
16093
841a1577 160942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16095
16096 * subr.el (shell-quote-argument): Escape correctly under Windows.
16097
d090ed6c
SM
160982011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16099
16100 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16101
bfd31217
MA
161022011-04-25 Michael Albinus <michael.albinus@gmx.de>
16103
d090ed6c
SM
16104 * net/tramp.el (tramp-process-actions): Add POS argument.
16105 Delete region between POS and (pos).
bfd31217 16106
d090ed6c
SM
16107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16108 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16109 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16110
16111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16112 position in `tramp-process-actions' call.
16113
16114 * net/trampver.el: Update release number.
16115
e92f3bd3
SM
161162011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16117
850256b5
SM
16118 * custom.el (defcustom): Obey lexical-binding.
16119
e92f3bd3
SM
16120 Fix octave-inf completion problems reported by Alexander Klimov.
16121 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16122 Inherit from octave-mode-syntax-table.
16123 (inferior-octave-mode): Set info-lookup-mode.
16124 (inferior-octave-completion-at-point): New function.
16125 (inferior-octave-complete): Use it and completion-in-region.
16126 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16127 comint-filename-completion.
16128 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16129 symbol elements which shouldn't be word elements.
16130 (octave-font-lock-keywords, octave-beginning-of-defun)
16131 (octave-function-header-regexp): Adjust regexps accordingly.
16132 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16133
cd22b309
JB
161342011-04-25 Juanma Barranquero <lekktu@gmail.com>
16135
16136 * net/gnutls.el (gnutls-errorp): Declare before first use.
16137
8b492194
TZ
161382011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16139
16140 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16141 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16142 default trustfile exists before going to use it. Add missing
5a5fa834 16143 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16144 Reported by Claudio Bley <claudio.bley@gmail.com>.
16145 (open-gnutls-stream): Add usage example.
16146
16147 * net/network-stream.el (network-stream-open-starttls): Give host
16148 parameter to `gnutls-negotiate'.
16149 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16150 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16151
841a1577 161522011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16153
cd22b309
JB
16154 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16155 Use correct match group (bug#8438).
05842630 16156
3ba7869c
CY
161572011-04-24 Chong Yidong <cyd@stupidchicken.com>
16158
512e3ae1
CY
16159 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16160 (package-menu--generate): New arg specifying packages to show.
16161 (package-menu-refresh, package-menu-execute, list-packages):
16162 Callers changed.
16163 (package-show-package-list): New function, replacing deleted
16164 package--list-packages (renamed because it is non-internal).
16165
16166 * finder.el (finder-list-matches): Use package-show-package-list
16167 instead of deleted package--list-packages.
16168
e92f3bd3
SM
16169 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16170 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16171 (vc-annotate-mode-map): Bind it to RET.
16172
7031be6d
UR
161732011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16174
16175 * progmodes/etags.el (next-file): Don't use set-buffer to change
16176 buffers (Bug#8478).
16177
4ef177aa
CY
161782011-04-24 Chong Yidong <cyd@stupidchicken.com>
16179
c8d173eb
CY
16180 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16181
4ef177aa
CY
16182 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16183 (apropos-accumulator): Doc fix.
16184 (apropos-function, apropos-macro, apropos-command)
16185 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16186 (apropos-plist): Add face property.
16187 (apropos-symbols-internal): Fix indentation.
16188 (apropos-print): Simplify help, and recognize apropos-multi-type.
16189 (apropos-print-doc): Use button-type-get to extract the button's
16190 face property. Fill docstring (Bug#8352).
16191
4ffd0d6b 161922011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16193
16194 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16195
c6c32125 16196 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16197 (mpuz-mode-map): Use mapc.
c6c32125
JB
16198 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16199 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16200 Fix typos in docstrings.
16201
58d468b4
JB
16202 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16203 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16204
6470c3c6
JB
16205 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16206
4ffd0d6b 162072011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16208
16209 * minibuffer.el (completion--do-completion): Avoid the "Next char
16210 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16211
3ad8bad0
CY
16212 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16213 mouse-2 into unread-command-events, it is interpreted correctly.
16214
71d73c9c 16215 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16216 (image-toggle-display): Doc fix.
71d73c9c 16217
841a1577 162182011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16219
4ffd0d6b
GM
16220 * textmodes/page.el (what-page): Use line-number-at-pos to
16221 calculate line number (Bug#6825).
6e1dbaa9 16222
c2fb1b60
JB
162232011-04-22 Juanma Barranquero <lekktu@gmail.com>
16224
16225 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16226 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16227 Pass argument NO-DEFAULT to `find-tag-interactive'.
16228
e02f48d7
JB
162292011-04-22 Juanma Barranquero <lekktu@gmail.com>
16230
16231 Lexical-binding cleanup.
16232
16233 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16234 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16235 * progmodes/ada-prj.el (ada-prj-initialize-values)
16236 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16237 (ada-prj-show-value):
16238 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16239 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16240 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16241 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16242 * progmodes/bug-reference.el (bug-reference-push-button):
16243 * progmodes/fortran.el (fortran-line-length):
16244 * progmodes/glasses.el (glasses-change):
16245 * progmodes/octave-mod.el (octave-fill-paragraph):
16246 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16247 (python-pdbtrack-grub-for-buffer, python-sentinel):
16248 * progmodes/sql.el (sql-save-connection):
16249 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16250 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16251 Mark unused parameters.
16252
16253 * progmodes/compile.el (compilation--flush-directory-cache)
16254 (compilation--flush-parse, compile-internal): Mark unused parameters.
16255 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16256 (compilation-next-error-function): Remove unused variable `timestamp'.
16257
16258 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16259 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16260
16261 * progmodes/dcl-mode.el (dcl-end-of-command):
16262 Remove unused variable `start'.
16263 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16264 (dcl-option-value-basic, dcl-option-value-offset)
16265 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16266 Mark unused parameters.
16267 (dcl-save-local-variable): Remove unused variable `val'.
16268 (mode): Declare.
16269
16270 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16271 Mark unused parameters.
16272 (delphi-ignore-changes): Move before first use.
16273 (delphi-charset-token-at): Remove unused variable `start'.
16274 (delphi-else-start): Remove unused variable `if-count'.
16275 (delphi-comment-block-start, delphi-comment-block-end):
16276 Remove unused variable `kind'.
16277 (delphi-indent-line): Remove unused variable `new-point'.
16278
16279 * progmodes/ebrowse.el (ebrowse-files-list)
16280 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16281 Mark unused parameters. Don't quote `lambda'.
16282 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16283 Don't quote `lambda'.
16284 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16285 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16286 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16287 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16288 Use `ignore-errors'.
16289 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16290 (ebrowse-view/find-file-and-search-pattern)
16291 (ebrowse-view/find-member-declaration/definition):
16292 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16293 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16294 Rename parameter PREFIX-ARG to PREFIX.
16295 (ebrowse-tags-read-name): Remove unused variables `start' and
16296 `member-info'.
16297 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16298 to `tags-file'.
16299
16300 * progmodes/etags.el (local-find-tag-hook): Declare.
16301 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16302 Mark unused parameters.
16303
16304 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16305 (executable-interpret): Mark unused parameter.
16306
16307 * progmodes/flymake.el (flymake-process-sentinel)
16308 (flymake-after-change-function)
16309 (flymake-create-temp-with-folder-structure)
16310 (flymake-get-include-dirs-dot): Mark unused parameters.
16311 (flymake-safe-delete-directory): Remove unused variable `err'.
16312
16313 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16314 (speedbar-timer-fn, speedbar-line-text)
16315 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16316 (speedbar-center-buffer-smartly): Declare functions.
16317 (gdb-find-watch-expression): Remove unused variable `array'.
16318 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16319 (gdb-starting): Mark unused parameters.
16320 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16321 (gdb-table-string): Remove unused variable `res'.
16322 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16323 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16324 (gdb-display-buffer): Remove unused variable `cur-size'.
16325
16326 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16327 allow lexical-binding compilation.
16328 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16329 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16330 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16331 Mark unused parameters.
16332 (gud-gdb-marker-filter): Remove unused variable `match'.
16333 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16334 lambda expressions and funcall them, instead of using `fset'.
16335
16336 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16337 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16338
16339 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16340 variable `header-beg'; use `let'.
16341
16342 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16343 `restart', `last-sexp' and `at-do'.
16344
16345 * progmodes/js.el (js--debug): Mark unused parameter.
16346 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16347 (js--splice-into-items): Remove unused variable `item'.
16348 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16349
16350 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16351 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16352 (makefile-complete): Remove unused variable `try'.
16353 (makefile-fill-paragraph, makefile-match-function-end):
16354 Mark unused parameters.
16355
16356 * progmodes/octave-inf.el (inferior-octave-complete):
16357 Remove unused variable `proc'.
16358 (inferior-octave-output-digest): Mark unused parameter.
16359
16360 * progmodes/perl-mode.el (perl-calculate-indent):
16361 Remove unused variable `err'.
16362
16363 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16364 (prolog-indent-line): Mark unused parameters.
16365 (prolog-indent-line): Remove unused variable `beg'.
16366
16367 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16368 (reporter-dont-compact-list): Declare.
16369
16370 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16371 Remove unused variable `char'.
16372 (sh-debug): Mark unused parameter.
16373 (sh-get-indent-info): Remove unused variable `start'.
16374 (sh-calculate-indent): Remove unused variable `var'.
16375
16376 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16377 (simula-electric-keyword): Remove unused variable `null'.
16378 (simula-search-backward, simula-search-forward): Remove unused
16379 variables `begin' and `end'.
16380
16381 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16382 Remove unused variable `pos'.
16383 (vera-electric-tab, vera-comment-uncomment-region):
16384 Mark unused parameters.
16385 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16386
7ede3b65
CY
163872011-04-22 Chong Yidong <cyd@stupidchicken.com>
16388
16389 * emacs-lisp/package.el (package--builtins, package-alist)
16390 (package-load-descriptor, package-built-in-p, package-activate)
16391 (define-package, package-installed-p)
16392 (package-compute-transaction, package-buffer-info)
16393 (package--push): Doc fix. Distinguish more clearly between
16394 version strings and version lists.
16395
121656e9
JB
163962011-04-21 Juanma Barranquero <lekktu@gmail.com>
16397
16398 Lexical-binding cleanup.
16399
16400 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16401 (5x5-make-mutate-best):
16402 * play/fortune.el (fortune-in-buffer):
16403 * play/gomoku.el (gomoku-init-display):
16404 * play/solitaire.el (solitaire, solitaire-do-check):
16405 * play/tetris.el (tetris-default-update-speed-function):
16406 Mark unused parameters.
16407
16408 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16409 (bubbles--shift): Remove unused variable `char-org'.
16410 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16411 (bubbles--show-images): Remove unused variable `char'.
16412
16413 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16414 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16415 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16416 (decipher-analyze-buffer): Use ?\s.
16417 (decipher-make-checkpoint): Remove unused variable `mapping'.
16418
16419 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16420
16421 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16422 Remove unused variable `result'; use `let'.
16423
16424 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16425 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16426 (gametree-children-shown-p, gametree-compute-reduced-score):
16427 Use `ignore-errors'.
16428
16429 * play/handwrite.el (ps-lpr-switches): Declare.
16430 (handwrite): Remove unused variables `pmin' and `lastp'.
16431
16432 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16433
16434 * play/landmark.el (landmark-init-display)
16435 (landmark-update-naught-weights): Mark unused parameters.
16436 (landmark-y): Remove unused variable `noise'. Simplify.
16437 (landmark-human-plays): Remove unused variable `score'.
16438
16439 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16440 (mpuz-try-proposal): Remove unused variable `game'.
16441
16442 * play/zone.el (life-patterns): Declare.
16443
80f499c7
JB
164442011-04-20 Juanma Barranquero <lekktu@gmail.com>
16445
16446 * vc/vc.el (ediff-vc-internal): Declare function.
16447
024ff170
SM
164482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16449
c0a193ea
SM
16450 * shell.el: Use lexical-binding and std completion UI.
16451 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16452 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16453 comint-preoutput-filter-functions rather than on
16454 comint-output-filter-functions.
16455 (shell-command-completion, shell--command-completion-data)
16456 (shell-filename-completion, shell-environment-variable-completion)
16457 (shell-c-a-p-replace-by-expanded-directory): New functions.
16458 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16459 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16460 (shell-dynamic-complete-environment-variable): Use them.
16461 (shell-dynamic-complete-as-environment-variable)
16462 (shell-dynamic-complete-as-command): Remove.
16463 (shell-match-partial-variable): Match past point.
16464 * comint.el: Clean up use of completion-at-point-functions.
16465 (comint-completion-at-point): New function.
16466 (comint-mode): Use it completion-at-point-functions.
16467 (comint-dynamic-complete): Make it obsolete.
16468 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16469 (comint-c-a-p-replace-by-expanded-history): New function.
16470 (comint-dynamic-complete-functions)
16471 (comint-replace-by-expanded-history): Use it.
16472 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16473 termination strings. Try harder to avoid second try-completion.
16474 (completion-in-region-mode-map): Disable bindings that don't work yet.
16475
2dbaa080
SM
16476 * comint.el: Use lexical-binding. Require CL.
16477 (comint-dynamic-complete-functions): Use comint-filename-completion.
16478 (comint-completion-addsuffix): Tweak custom type.
16479 (comint-filename-completion, comint--common-suffix)
16480 (comint--common-quoted-suffix, comint--table-subvert)
16481 (comint--complete-file-name-data): New functions.
16482 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16483 (comint-dynamic-list-filename-completions): Use them.
16484 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16485
2dbaa080
SM
16486 * minibuffer.el (completion-in-region-mode):
16487 Keep completion-in-region-mode--predicate global.
16488 (completion-in-region--postch):
16489 Assume completion-in-region-mode--predicate is not null.
16490
c79a6f38
SM
16491 * progmodes/flymake.el (flymake-start-syntax-check-process):
16492 Obey `dir'. Simplify.
16493
024ff170
SM
16494 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16495 we're in VC after all.
16496
1c6c854e
CS
164972011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16498
16499 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16500 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16501 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16502
bed7f140
SM
165032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16504
332e62ab
SM
16505 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16506 add sanity check.
16507
bed7f140
SM
16508 * obsolete/erc-hecomplete.el: Make obsolete.
16509 * obsolete/: Standardize obsolescence info in the header.
16510
f195c582
GM
165112011-04-20 Glenn Morris <rgm@gnu.org>
16512
16513 * calendar/solar.el (solar-horizontal-coordinates):
16514 Use the longitude argument rather than `calendar-longitude'.
16515 (solar-date-next-longitude): Remove unused locals.
16516
cb79b8c0
VJL
165172011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16518
16519 * whitespace.el: New version 13.2.1.
16520
165212011-04-20 felix <EmacsWiki> (tiny change)
16522
d8e4b68b 16523 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16524 switching between major modes on a file.
16525
602ea69d
SM
165262011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16529 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16530 multi-line comments as well.
16531
06b60517
JB
165322011-04-19 Juanma Barranquero <lekktu@gmail.com>
16533
16534 Lexical-binding cleanup.
16535
16536 * arc-mode.el (archive-mode-revert):
16537 * cmuscheme.el (scheme-interactively-start-process):
16538 * custom.el (custom-initialize-delay):
16539 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16540 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16541 * emacs-lock.el (emacs-lock-clear-sentinel):
16542 * ezimage.el (defezimage):
16543 * follow.el (follow-avoid-tail-recenter):
16544 * fringe.el (set-fringe-mode-1):
16545 * generic-x.el (bat-generic-mode-compile):
16546 * help-mode.el (help-info-variable, help-do-xref)
16547 (help-mode-revert-buffer):
16548 * help.el (view-emacs-todo):
16549 * iswitchb.el (iswitchb-completion-help):
16550 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16551 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16552 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16553 * locate.el (locate-update):
16554 * longlines.el (longlines-encode-region)
16555 (longlines-after-change-function):
16556 * outline.el (outline-isearch-open-invisible):
16557 * ps-def.el (declare-function, charset-dimension, char-width)
16558 (encode-char):
16559 * ps-mule.el (ps-mule-plot-string):
16560 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16561 (recentf-edit-list-select, recentf-edit-list-validate)
16562 (recentf-open-files-action):
16563 * rect.el (delete-whitespace-rectangle-line)
16564 (rectangle-number-line-callback):
16565 * register.el (window-configuration-to-register)
16566 (frame-configuration-to-register):
16567 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16568 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16569 (xselect-convert-to-targets, xselect-convert-to-delete)
16570 (xselect-convert-to-filename, xselect-convert-to-charpos)
16571 (xselect-convert-to-lineno, xselect-convert-to-colno)
16572 (xselect-convert-to-os, xselect-convert-to-host)
16573 (xselect-convert-to-user, xselect-convert-to-class)
16574 (xselect-convert-to-name, xselect-convert-to-integer)
16575 (xselect-convert-to-atom, xselect-convert-to-identity):
16576 * subr.el (declare, ignore, process-kill-without-query)
16577 (text-clone-maintain):
16578 * terminal.el (te-get-char, te-tic-sentinel):
16579 * tool-bar.el (tool-bar-make-keymap):
16580 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16581 * type-break.el (type-break-mode, type-break-noninteractive-query):
16582 * view.el (View-back-to-mark):
16583 * wid-browse.el (widget-browse-action, widget-browse-widget)
16584 (widget-browse-widgets, widget-browse-sexp):
16585 * widget.el (define-widget-keywords):
16586 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16587 Mark unused parameters.
16588
16589 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16590 (align-areas): Remove unused variable `look'.
16591 (align-region): Remove unused variables `real-end' and `pos-list'.
16592
16593 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16594
16595 * bindings.el (mode-line-modified, mode-line-remote):
16596 Mark unused parameters.
16597 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16598
16599 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16600 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16601
16602 * comint.el (comint-history-isearch-pop-state)
16603 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16604 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16605 (comint-substitute-in-file-name): Doc fix.
16606
16607 * completion.el (cmpl-statistics-block): Mark unused parameter.
16608 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16609 (save-completions-to-file, load-completions-from-file):
16610 Remove unused local variable `e'.
16611
16612 * composite.el (compose-chars): Remove unused variable `len'.
16613 (lgstring-insert-glyph): Remove unused variable `g'.
16614 (compose-glyph-string): Remove unused variables `ascent',
16615 `descent', `lbearing' and `rbearing'.
16616 (compose-glyph-string-relative): Remove unused variables
16617 `lbearing', `rbearing' and `wadjust'.
16618 (compose-gstring-for-graphic): Remove unused variables `header',
16619 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16620 (compose-gstring-for-terminal): Remove unused variables `header'
16621 and `nchars'. Use `let', not `let*'.
16622
16623 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16624 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16625 (Custom-buffer-done, custom-buffer-create-internal)
16626 (custom-browse-visibility-action, custom-browse-group-tag-action)
16627 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16628 (widget-magic-mouse-down-action, custom-toggle-parent)
16629 (custom-add-parent-links, custom-toggle-hide-variable)
16630 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16631 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16632 (custom-face-menu-create, custom-variable-menu-create, get)
16633 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16634 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16635 (customize-apropos): Remove unused variable `tests'.
16636 (custom-group-value-create): Remove unused variable `hidden-p'.
16637 (sort-fold-case): Declare.
16638
16639 * cus-theme.el (custom-reset-standard-faces-list)
16640 (custom-reset-standard-variables-list): Declare.
16641 (customize-create-theme, custom-theme-revert, custom-theme-write)
16642 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16643 Mark unused parameters.
16644
16645 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16646
16647 * delim-col.el (delimit-columns-max): Move defvar before first use.
16648
16649 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16650 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16651
16652 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16653 (auto-insert): Declare.
16654 (desktop-restore-file-buffer): Rename desktop-* parameters;
16655 mark unused ones.
16656 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16657 (desktop-buffer): Rename desktop-* parameters.
16658
16659 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16660 (dframe-reposition-frame-xemacs, dframe-help-echo)
16661 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16662 Mark unused parameters.
16663
16664 * dired-aux.el (backup-extract-version-start, overwrite-query)
16665 (overwrite-backup-query, rename-regexp-query)
16666 (rename-non-directory-query): Declare.
16667 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16668 (dired-add-entry): Remove unused variable `orig-file-name'.
16669 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16670 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16671 `dired-copy-preserve-time' directly.
16672 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16673 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16674
16675 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16676 (dired-virtual-revert, dired-make-relative-symlink):
16677 Mark unused parameters.
16678 (manual-program): Declare.
16679 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16680 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16681 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16682
16683 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16684
16685 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16686
16687 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16688 Declare.
16689
16690 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16691
16692 * electric.el (Electric-command-loop): Rename parameter
16693 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16694
16695 * expand.el (expand-in-literal): Remove unused variable `here'.
16696
16697 * facemenu.el (facemenu-add-new-color):
16698 Remove unused variable `docstring'.
16699
16700 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16701 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16702 (face-attr-construct): Mark unused parameter. Doc fix.
16703 (read-color): Remove unused variable `hex-string'.
16704
16705 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16706 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16707 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16708 (display-buffer-other-frame): Remove unused variable `old-window'.
16709 (kill-buffer-hook): Declare.
16710 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16711 Mark unused parameters.
16712 (after-find-file): Pass 1 to `auto-save-mode', not t.
16713
16714 * files-x.el (auto-insert): Declare.
16715 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16716
16717 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16718 variable `buf'. Mark unused parameter.
06b60517
JB
16719 (find-lisp-insert-directory): Mark unused parameter.
16720
16721 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16722 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16723 (format-common-tail): Remove, unused.
16724 (format-deannotate-region): Remove unused variable `loc'.
16725 (format-annotate-region): Remove unused variable `p'.
16726 (format-annotate-single-property-change): Remove unused variables
16727 `default' and `tail'.
16728
16729 * forms.el (read-file-filter): Declare.
16730 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16731
16732 * frame.el (frame-creation-function-alist): Mark unused parameter.
16733 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16734
16735 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16736 Remove unused parameters.
16737 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16738 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16739
16740 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16741 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16742 (hfy-prepare-tag-map): Mark unused parameters.
16743 (htmlfontify-buffer): Use `called-interactively-p'.
16744
16745 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16746 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16747 (ibuffer-do-occur): Mark unused parameters.
16748 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16749 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16750
16751 * ibuffer.el: Don't quote `lambda'.
16752 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16753 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16754 Mark unused parameters.
16755
16756 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16757 (ido-completing-read): Mark unused parameters.
16758 (ido-copy-current-word): Mark unused parameters;
16759 remove unused variable `name'.
16760 (ido-sort-merged-list): Remove unused parameter `dirs'.
16761
16762 * ielm.el (ielm-input-sender): Mark unused parameter.
16763 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16764 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16765 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16766 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16767 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16768
16769 * image-dired.el (image-dired-display-thumbs): Remove unused
16770 variables `curr-file' and `count'.
16771 (image-dired-remove-tag): Remove unused variable `start'.
16772 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16773 variable `curr-file'
16774 (image-dired-rotate-original): Remove unused variable `temp-file'.
16775 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16776 Remove unused variable `file'.
16777 (image-dired-gallery-generate): Remove unused variable `curr'.
16778 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16779
16780 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16781
16782 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16783
16784 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16785
16786 * isearch.el (minibuffer-history-symbol): Declare.
16787 (isearch-edit-string): Remove unused variable `err'.
16788 (isearch-message-prefix, isearch-message-suffix):
16789 Mark unused parameters.
16790
16791 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16792
16793 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16794
16795 * makesum.el (double-column): Remove unused variable `cnt'.
16796
16797 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16798 (ido-ignore-item-temp-list): Declare.
16799
16800 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16801 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16802 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16803 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16804 `mouse-col-delta'.
16805
16806 * mouse-sel.el (mouse-extend-internal):
16807 Remove unused variable `orig-window-frame'.
16808
16809 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16810 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16811 Move declarations before first use.
16812 (pcomplete-opt): Mark unused parameters; doc fix.
16813
16814 * proced.el (proced-revert): Mark unused parameter.
16815 (proced-send-signal): Remove unused variable `err'.
16816
16817 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16818 Rename parameter PREFIX-ARG to ARG.
16819 (ps-basic-plot-string, ps-basic-plot-whitespace):
16820 Mark unused parameters.
16821
16822 * replace.el (replace-count): Define.
16823 (occur-revert-function): Mark unused parameters.
16824 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16825 (isearch-case-fold-search, isearch-string): Declare.
16826 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16827 bind `case-fold-search'. Remove unused variables `beg' and `end',
16828 and simplify.
16829 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16830 COUNT and bind `replace-count'.
16831 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16832 to COUNT.
16833
16834 * savehist.el (print-readably, print-string-length): Declare.
16835
16836 * shadowfile.el (shadow-expand-cluster-in-file-name):
16837 Remove unused variable `cluster'.
16838 (shadow-copy-file): Remove unused variable `i'.
16839 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16840 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16841 (shadow-define-literal-group, shadow-define-regexp-group)
16842 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16843
16844 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16845 (shell): Use `called-interactively-p'.
16846 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16847
16848 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16849 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16850 (delete-backward-char): Remove unused variable `ocol'.
16851 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16852 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16853 (event-apply-hyper-modifier, event-apply-shift-modifier)
16854 (event-apply-control-modifier, event-apply-meta-modifier):
16855 Mark unused parameters.
16856 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16857 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16858
16859 * speedbar.el (speedbar-ignored-directory-expressions)
16860 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16861 (speedbar-find-file, speedbar-dir-follow)
16862 (speedbar-directory-buttons-follow, speedbar-tag-find)
16863 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16864 (speedbar-buffers-line-directory, speedbar-buffer-click):
16865 Mark unused parameters.
16866 (speedbar-tag-file): Remove unused variable `mode'.
16867 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16868
16869 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16870
16871 * talk.el (talk): Remove unused variable `display'.
16872
16873 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16874 (tar-write-region-annotate): Mark unused parameter.
16875
16876 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16877 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16878 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16879 warning by another.
16880
16881 * time-stamp.el (time-stamp-string-preprocess):
16882 Remove unused variable `require-padding'.
16883
16884 * tree-widget.el (widget-glyph-enable): Declare.
16885 (tree-widget-action): Mark unused parameter.
16886
16887 * w32-fns.el (x-get-selection): Mark unused parameter.
16888 (autoload-make-program, generated-autoload-file): Declare.
16889
16890 * wdired.el (wdired-revert): Mark unused parameters.
16891 (wdired-xcase-word): Remove unused variable `err'.
16892
16893 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16894 (whitespace-help-scroll): Remove unused variable `data-help'.
16895
16896 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16897 (widget-image-insert, widget-after-change, default)
16898 (widget-default-format-handler, widget-default-notify)
16899 (widget-default-prompt-value, widget-info-link-action)
16900 (widget-url-link-action, widget-function-link-action)
16901 (widget-variable-link-action, widget-file-link-action)
16902 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16903 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16904 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16905 (widget-insert-button-action, widget-delete-button-action, visibility)
16906 (widget-documentation-link-action, widget-documentation-string-action)
16907 (widget-const-prompt-value, widget-regexp-match, symbol)
16908 (widget-coding-system-prompt-value)
16909 (widget-key-sequence-value-to-external, sexp)
16910 (widget-sexp-value-to-internal, character, vector, cons)
16911 (widget-choice-prompt-value, widget-boolean-prompt-value)
16912 (widget-color--choose-action): Mark unused parameters.
16913 (widget-item-match-inline, widget-choice-match-inline)
16914 (widget-checklist-match, widget-checklist-match-inline)
16915 (widget-group-match): Rename parameter VALUES to VALS.
16916 (widget-field-value-set): Remove unused variable `size'.
16917 (widget-color-action): Remove unused variables `value' and `start'.
16918
16919 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16920 variable `dir'. Doc fix.
06b60517
JB
16921 (windmove-find-other-window): Don't pass it.
16922
16923 * window.el (count-windows): Mark unused parameter.
16924 (bw-adjust-window): Remove unused variable `err'.
16925
16926 * woman.el (woman-file-name): Remove unused variable `default'.
16927 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16928 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16929 (global-font-lock-mode): Declare.
16930 (woman-decode-region): Mark unused parameter.
16931 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16932
16933 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16934 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16935 (x-dnd-handle-moz-url): Remove unused variable `title'.
16936 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16937
16938 * xml.el (xml-parse-tag, xml-parse-attlist):
16939 Remove unused variable `pos'.
16940
bc4f7f3d
GM
169412011-04-19 Glenn Morris <rgm@gnu.org>
16942
16943 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16944 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16945 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16946 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16947 * calendar/cal-html.el (cal-html-insert-minical):
16948 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16949 (calendar-mark-date-pattern):
16950 Prefix "unused" locals.
16951
16952 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16953 optional argument `style'.
16954
16955 * calendar/appt.el (appt-make-list):
16956 * calendar/cal-china.el (calendar-chinese-date-string):
16957 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16958 (diary-hebrew-yahrzeit):
16959 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16960 * calendar/calendar.el (calendar-generate-window):
16961 * calendar/time-date.el (time-to-days):
16962 Remove unused local variables.
16963
16a43933
CY
169642011-04-18 Chong Yidong <cyd@stupidchicken.com>
16965
16966 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16967 glyphless-char-display table.
16968 (tabulated-list-glyphless-char-display): New var.
16969
7eed1860
SS
169702011-04-18 Sam Steingold <sds@gnu.org>
16971
16972 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16973 to acknowledgments.
16974
4d2d1ccd
GM
169752011-04-17 Glenn Morris <rgm@gnu.org>
16976
16977 * calendar/diary-lib.el (diary-sexp-entry):
16978 * calendar/holidays.el (holiday-sexp):
16979 Set debug-on-error rather than the removed stack-trace-on-error.
16980
239da61d
GM
169812011-04-16 Glenn Morris <rgm@gnu.org>
16982
16983 * progmodes/f90.el: Use lexical-binding.
16984 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16985
8b05752a
SM
169862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16987
daca8ba5
SM
16988 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16989 (mail-mode): Setup mailalias completion here instead.
16990 * mail/mailalias.el: Use lexical-binding.
16991 (pattern, mailalias-done): Declare dynamic.
16992 (mail-completion-at-point-function): New function, from mail-complete.
16993 (mail-complete): Use it.
16994 (mail-completion-expand): New function.
16995 (mail-get-names): Use it.
16996 (mail-directory, mail-directory-process, mail-directory-stream):
16997 Don't use `pattern' for lexically bound arg.
16998
6f542485
SM
16999 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17000
037e7c3f
SM
17001 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17002 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17003 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17004
8b05752a
SM
17005 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17006 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17007 (byte-interactive-p): Define them again, for use when inlining
17008 old code.
17009
49093f60
JB
170102011-04-15 Juanma Barranquero <lekktu@gmail.com>
17011
17012 * loadup.el: Use `string-to-number', not `string-to-int'.
17013
b5b8e7de
SM
170142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17015
17016 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17017 gud-gdb-complete-command.
17018 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17019 (gud-gdb-completion-at-point): New function.
17020 (gud-gdb-completions): Remove.
17021
f42efeb5
MA
170222011-04-14 Michael Albinus <michael.albinus@gmx.de>
17023
49093f60
JB
17024 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17025 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17026 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17027 whether `executable-find' is bound.
f42efeb5
MA
17028
17029 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17030
e240cc21
SM
170312011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17032
17033 * minibuffer.el (completion-in-region-mode-predicate)
17034 (completion-in-region-mode--predicate): New vars.
17035 (completion-in-region, completion-in-region--postch)
17036 (completion-in-region-mode): Use them.
17037 (completion--capf-wrapper): Also return the hook function.
17038 (completion-at-point, completion-help-at-point):
17039 Adjust and provide a predicate.
c2bd2ab0
SM
17040
17041 Preserve arg names for advice of subr and lexical functions (bug#8457).
17042 * help-fns.el (help-function-arglist): Consolidate the subr and
17043 new-byte-code cases. Add argument `preserve-names' to extract names
17044 from the docstring when needed.
17045 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17046 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17047 (ad-arglist): Use help-function-arglist's new arg.
17048 (ad-definition-type): Use cond.
17049
c183f693
JB
170502011-04-13 Juanma Barranquero <lekktu@gmail.com>
17051
06641a47
JB
17052 * autorevert.el (auto-revert-handler):
17053 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17054 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17055 Don't quote lambda.
17056
c183f693
JB
17057 * image-mode.el (image-transform-set-scale):
17058 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17059
1e3b6001
G
170602011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17061
17062 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17063 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17064 Upgrades via gnutls-cli are too slow to be done opportunistically.
17065
2d6af8dd
JB
170662011-04-12 Juanma Barranquero <lekktu@gmail.com>
17067
17068 * dframe.el (dframe-current-frame): Remove spurious quote.
17069
c0749a51
GM
170702011-04-12 Glenn Morris <rgm@gnu.org>
17071
088d0d61
GM
17072 * calendar/cal-tex.el (cal-tex-end-document):
17073 Try to automatically use latin1 input if needed.
17074
c0749a51
GM
17075 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17076 Don't try to cons a mark onto an empty element.
17077
5c90fde0
LL
170782011-04-11 Leo Liu <sdl.web@gmail.com>
17079
17080 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17081 buffers.
17082 (ido-kill-buffer-at-head): Support killing virtual buffers.
17083
369e974d
CY
170842011-04-10 Chong Yidong <cyd@stupidchicken.com>
17085
17086 * minibuffer.el (completion-show-inline-help): New var.
17087 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17088 (minibuffer-force-complete, minibuffer-complete-word):
17089 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17090
17091 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17092 to avoid interference from inline help (Bug#5849).
17093
37f1c930
LL
170942011-04-10 Leo Liu <sdl.web@gmail.com>
17095
099c39a4
JB
17096 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17097 Fix typo.
37f1c930 17098
a32d4040
CY
170992011-04-09 Chong Yidong <cyd@stupidchicken.com>
17100
17101 * image-mode.el (image-toggle-display-image): Signal an error if
17102 not in Image mode.
17103 (image-transform-mode, image-transform-resize)
17104 (image-transform-set-rotation): Doc fix.
daca8ba5 17105 (image-transform-set-resize): Delete.
a32d4040
CY
17106 (image-transform-set-scale, image-transform-fit-to-height)
17107 (image-transform-fit-to-width): Handle image-toggle-display-image
17108 and image-transform-resize directly.
17109
099c39a4 171102011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17111
17112 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17113 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17114 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17115 (doc-view-mode-map): Add bindings for the new functions.
17116
099c39a4 171172011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17118
4d61f28d 17119 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17120 Fix typo in docstring.
17121
3726838a
EZ
171222011-04-08 Eli Zaretskii <eliz@gnu.org>
17123
04f33f1e
EZ
17124 * files.el (file-size-human-readable): Produce one digit after
17125 decimal, like "ls -lh" does.
17126
17127 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17128 the file size representation.
17129
3726838a
EZ
17130 * simple.el (list-processes): If async subprocesses are not
17131 available, error out with a clear error message.
17132
cbb59342
CY
171332011-04-08 Chong Yidong <cyd@stupidchicken.com>
17134
17135 * help.el (help-form-show): New function, to be called from C.
17136 Put help-form output in a buffer named differently than *Help*.
17137
e3971c44
EZ
171382011-04-08 Eli Zaretskii <eliz@gnu.org>
17139
17140 * files.el (file-size-human-readable): New function.
17141
17142 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17143 computing the representation inline. Don't require `cl'.
17144
12544bbe
GM
171452011-04-08 Glenn Morris <rgm@gnu.org>
17146
a1de6c6a
GM
17147 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17148
3c4671f4
GM
17149 * net/browse-url.el (browse-url-firefox):
17150 Test system-type, not system-configuration.
17151
b605679c
GM
17152 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17153 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17154 Use log-edit-empty-buffer-p. (Bug#7598)
17155
56442f0c
GM
17156 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17157 (rlogin-mode-map): Initialize in the defvar.
17158 (rlogin): Use ignore-errors.
17159
12544bbe
GM
17160 * replace.el (occur-mode-map): Some fixes for menu items.
17161
eb237b0f
AH
171622011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17163
17164 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17165
7d668f2c
CY
171662011-04-06 Chong Yidong <cyd@stupidchicken.com>
17167
e67a13ab
CY
17168 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17169 issuing unused warnings.
17170
17171 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17172 macro directly.
17173
7d668f2c
CY
17174 * simple.el: Lisp reimplement of list-processes. Based on an
17175 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17176 (process-menu-mode): New major mode.
17177 (list-processes--refresh, list-processes):
17178 (process-menu-visit-buffer): New functions.
17179
17180 * files.el (save-buffers-kill-emacs): Don't assume any return
17181 value of list-processes, which is undocumented anyway.
17182
a83ec3c9
CY
171832011-04-06 Chong Yidong <cyd@stupidchicken.com>
17184
17185 * emacs-lisp/tabulated-list.el: New file.
17186
e91a96fe
CY
17187 * emacs-lisp/package.el: Use Tabulated List mode.
17188 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17189 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17190 table format using Tabulated List mode variables.
17191 (package--push): New macro, replacing package-list-maybe-add.
17192 (package-menu--generate): Use package--push. Renamed from
17193 package--generate-package-list.
17194 (package-menu-refresh, list-packages): Use it.
daca8ba5 17195 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17196 Return insertion data instead of inserting it directly.
099c39a4
JB
17197 (package-menu-describe-package, package-menu-execute):
17198 Use tabulated-list-get-id.
e91a96fe
CY
17199 (package-menu-mark-delete, package-menu-mark-install)
17200 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17201 (package-menu-mark-obsolete-for-deletion):
17202 Use tabulated-list-put-tag.
e91a96fe
CY
17203 (package--list-packages, package-menu-revert)
17204 (package-menu-get-package, package-menu-get-version)
17205 (package-menu-sort-by-column): Functions deleted.
17206 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17207 (package-menu--status-predicate, package-menu--version-predicate)
17208 (package-menu--name-predicate)
17209 (package-menu--description-predicate): Handle arguments in the
17210 Tabulated List format.
17211 (package-list-packages-no-fetch): Call list-packages.
17212
3e214b50
JB
172132011-04-06 Juanma Barranquero <lekktu@gmail.com>
17214
17215 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17216 (after-find-file): Don't bind it.
3e214b50
JB
17217 (revert-buffer-in-progress-p): New variable.
17218 (revert-buffer): Bind it.
17219 Pass nil for `after-find-file-from-revert-buffer'.
17220
17221 * saveplace.el (save-place-find-file-hook): Use new variable
17222 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17223
3f0f1700
GM
172242011-04-06 Glenn Morris <rgm@gnu.org>
17225
c0274801
GM
17226 * Makefile.in (AUTOGEN_VCS): New variable.
17227 (autoloads): Use $AUTOGEN_VCS.
17228
3f0f1700
GM
17229 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17230 * calendar/calendar.el (calendar-mode-map):
17231 Check for toolkit scroll bars. (Bug#8305)
17232
41ea9e48
CY
172332011-04-05 Chong Yidong <cyd@stupidchicken.com>
17234
17235 * minibuffer.el (completion-in-region--postch)
17236 (completion-in-region-mode): Remove unnecessary messages.
17237
6194c800
JB
172382011-04-05 Juanma Barranquero <lekktu@gmail.com>
17239
33256f14
JB
17240 * font-lock.el (font-lock-refresh-defaults):
17241 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17242 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17243
6194c800
JB
17244 * info.el (Info-directory-list, Info-read-node-name-2)
17245 (Info-split-parameter-string): Doc fixes.
17246 (Info-virtual-nodes): Reflow docstring.
17247 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17248 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17249 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17250 Fix typos in docstrings.
17251 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17252 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17253 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17254 (Info-restore-desktop-buffer): Mark unused parameters.
17255 (Info-directory-find-file, Info-directory-find-node)
17256 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17257 (Info-virtual-index-find-node, Info-apropos-find-file)
17258 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17259 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17260 (Info-virtual-index): Remove unused local variable `nodename'.
17261
b87a8200 172622011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17263
b87a8200
DD
17264 * net/rcirc.el: Update my e-mail address.
17265 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17266
3b2ff876
CY
172672011-04-05 Chong Yidong <cyd@stupidchicken.com>
17268
17269 * startup.el (command-line): Save the cursor's theme-face
17270 directly, instead of using face-override-spec.
17271
17272 * custom.el (load-theme): Minor optimization in assigning faces.
17273
8d17e7ca
JB
172742011-04-04 Juanma Barranquero <lekktu@gmail.com>
17275
17276 * help-fns.el (describe-variable): Complete all variables having
17277 documentation, including keywords.
17278 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17279
2fbc1934
JB
172802011-04-04 Juanma Barranquero <lekktu@gmail.com>
17281
17282 Convert to lexical-binding.
17283
17284 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17285 (bs--get-marked-string, bs--get-modified-string)
17286 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17287 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17288 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17289
17290 * ehelp.el (electric-help-execute-extended)
17291 (electric-help-ctrl-x-prefix):
17292 * hexl.el (hexl-revert-buffer-function):
17293 * linum.el (linum-after-change, linum-after-scroll):
17294 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17295
17296 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17297
74f50695
DU
172982011-04-04 Daiki Ueno <ueno@unixuser.org>
17299
17300 * epa-dired.el:
17301 * epa-mail.el:
17302 * epa-hook.el:
17303 * epa-file.el:
17304 * epa.el:
17305 * epg.el: Use lexical binding.
17306
c11325f7
CY
173072011-04-03 Chong Yidong <cyd@stupidchicken.com>
17308
0d9e9a12
CY
17309 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17310
c11325f7 17311 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17312 dictionary case for flyspell-mark-duplications-exceptions.
17313 Use regexp matching for languages.
c11325f7
CY
17314 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17315 default dictionary (Bug#7926).
17316
da91b5f2
CY
173172011-04-02 Chong Yidong <cyd@stupidchicken.com>
17318
099c39a4
JB
17319 * emacs-lisp/package.el (package--with-work-buffer):
17320 Recognize https URLs.
da91b5f2 17321
099c39a4
JB
17322 * net/network-stream.el: Move from gnus/proto-stream.el.
17323 Change prefix to network-stream throughout.
da91b5f2
CY
17324 (open-protocol-stream): Merge into open-network-stream, leaving
17325 open-protocol-stream as an alias. Handle nil BUFFER args.
17326
17327 * subr.el (open-network-stream): Move to net/network-stream.el.
17328
afa8e9f6
GM
173292011-04-02 Glenn Morris <rgm@gnu.org>
17330
1d2e369d
GM
17331 * find-dired.el (find-exec-terminator): New option.
17332 (find-ls-option): Test for -ls support.
17333 (find-ls-subdir-switches): Test for -b in find-ls-option.
17334 (find-dired, find-grep-dired): Doc fixes.
17335 (find-dired): Use find-exec-terminator.
17336
8abb7da8 17337 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17338 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17339 (find-name-arg): Remove purecopy.
8abb7da8 17340
f3ca7378
GM
17341 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17342 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17343 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17344 accordingly. Don't add the null-device if not needed.
17345
afa8e9f6
GM
17346 * files.el (save-some-buffers): Doc fix.
17347
35eae264
EZ
173482011-04-02 Eli Zaretskii <eliz@gnu.org>
17349
17350 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17351
26b51db5
JB
173522011-04-01 Juanma Barranquero <lekktu@gmail.com>
17353
17354 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17355 Use `dolist' rather than `mapcar'.
17356
7200d79c
SM
173572011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17358
03408648 17359 Add lexical binding.
7200d79c 17360
03408648
SM
17361 * subr.el (apply-partially): Use new closures rather than CL.
17362 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17363 (dolist, dotimes): Use slightly different expansion for lexical code.
17364 (functionp): Move to C.
17365 (letrec): New macro.
17366 (with-wrapper-hook): Use it and apply-partially instead of CL.
17367 (eval-after-load): Preserve lexical-binding.
17368 (save-window-excursion, with-output-to-temp-buffer): Turn them
17369 into macros.
7200d79c 17370
03408648
SM
17371 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17372
17373 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17374 than the arglist.
17375 (help-add-fundoc-usage): Don't add `Not documented'.
17376 (help-function-arglist): Handle closures, subroutines, and new
17377 byte-code-functions.
17378 (help-make-usage): Remove leading underscores.
17379 (describe-function-1): Handle closures.
17380 (describe-variable): Use special-variable-p for completion.
17381
17382 * files.el (lexical-binding): Declare safe.
f488fb65 17383
03408648
SM
17384 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17385 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17386 (pcase): Add `let' pattern.
17387 Change memoization so it actually works.
17388 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17389 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17390 <let>: New case.
f488fb65 17391
03408648
SM
17392 * emacs-lisp/macroexp.el: Use lexical binding.
17393 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17394 Don't convert ' to #' without checking that it's indeed quoting
17395 a lambda.
17396
17397 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17398 Use eval-sexp-add-defvars.
03408648
SM
17399 (eval-sexp-add-defvars): New fun.
17400
17401 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17402
17403 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17404 Don't autoload.
17405 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17406 than the internal `byte-compile-lambda'.
17407 (defmethod): Don't hide code under quotes.
17408 (eieio-defmethod): New `code' argument.
17409
17410 * emacs-lisp/eieio-comp.el: Remove.
17411
17412 * emacs-lisp/edebug.el (edebug-eval-defun)
17413 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17414 (edebug-toggle): Avoid `eval'.
17415
17416 * emacs-lisp/disass.el (disassemble-internal): Handle new
17417 `closure' objects.
17418 (disassemble-1): Handle new byte codes.
17419
17420 * emacs-lisp/cl.el (pushnew): Silence warning.
17421
17422 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17423 (cl-byte-compile-throw): Remove.
17424 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17425
17426 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17427 closures.
17428
17429 * emacs-lisp/cconv.el: New file.
17430
17431 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17432 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17433 (byte-compile-initial-macro-environment):
17434 Handle declare-function here.
17435 (byte-compile--lexical-environment): New var.
17436 (byte-stack-ref, byte-stack-set, byte-discardN)
17437 (byte-discardN-preserve-tos): New lap codes.
17438 (byte-interactive-p): Don't use any more.
17439 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17440 New macros.
17441 (byte-compile-lapcode): Use them and handle new lap codes.
17442 (byte-compile-obsolete): Remove.
17443 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17444 (byte-compile-arglist-warn): Check late def of inlinable funs.
17445 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17446 since they should have been expanded by now.
17447 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17448 (byte-compile-from-buffer): Remove unused second arg.
17449 (byte-compile-preprocess): New function.
17450 (byte-compile-toplevel-file-form): New function to distinguish
17451 file-form calls from outside from file-form calls from hunk-handlers.
17452 (byte-compile-file-form): Simplify.
17453 (byte-compile-file-form-defsubst): Remove.
17454 (byte-compile-file-form-defmumble): Simplify now that
17455 byte-compile-lambda always returns a byte-code-function.
17456 (byte-compile): Preprocess.
17457 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17458 Remove, not used any more.
17459 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17460 (byte-compile-make-args-desc): New funs.
17461 (byte-compile-lambda): Handle lexical functions. Always return
17462 a byte-code-function.
17463 (byte-compile-reserved-constants): New var, to make up room for
17464 closed-over variables.
17465 (byte-compile-constants-vector): Obey it.
17466 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17467 (byte-compile-macroexpand-declare-function): New function.
17468 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17469 byte-code-functions.
17470 (byte-compile-form): Check obsolescence here.
17471 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17472 (byte-compile-variable-ref): Remove.
17473 (byte-compile-dynamic-variable-op): New fun.
17474 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17475 (byte-compile-variable-set): New funs.
17476 (byte-compile-discard): Add 2 args.
17477 (byte-compile-stack-ref, byte-compile-stack-set)
17478 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17479 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17480 macroexpand-all instead.
17481 (byte-compile-quote-form): Remove.
17482 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17483 (byte-compile-bind, byte-compile-unbind): New funs.
17484 (byte-compile-let): Handle let* and lexical binding.
17485 (byte-compile-let*): Remove.
17486 (byte-compile-catch, byte-compile-unwind-protect)
17487 (byte-compile-track-mouse, byte-compile-condition-case):
17488 Handle a new :fun-body form, used for lexical scoping.
17489 (byte-compile-save-window-excursion)
17490 (byte-compile-with-output-to-temp-buffer): Remove.
17491 (byte-compile-defun): Simplify.
17492 (byte-compile-stack-adjustment): New fun.
17493 (byte-compile-out): Use it.
17494 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17495
17496 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17497 handler any more.
17498
17499 * emacs-lisp/byte-opt.el: Use lexical binding.
17500 (byte-inline-lapcode): Remove (to bytecomp).
17501 (byte-compile-inline-expand): Pay attention to inlining to/from
17502 lexically bound code.
17503 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17504 any more.
17505 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17506 any more and don't call compiler-macros.
17507 (byte-compile-splice-in-already-compiled-code): Remove.
17508 (byte-code): Don't inline any more.
17509 (disassemble-offset): Receive `bytes' as argument rather than via
17510 dynamic scoping.
17511 (byte-compile-tag-number): Declare before first use.
17512 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17513 `return' even if make-spliceable.
17514 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17515 obsolete interactive-p.
17516 (byte-optimize-lapcode): Optimize new lap-codes.
17517 Don't trip up on new form of `byte-constant' lap code.
17518
17519 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17520
17521 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17522
17523 * custom.el (custom-initialize-default, custom-declare-variable):
17524 Use `defvar'.
17525
17526 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17527 New variables.
17528 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17529 (COMPILE_FIRST): Add macroexp and cconv.
17530 * makefile.w32-in: Mirror changes in Makefile.in.
17531
17532 * vc/cvs-status.el:
17533 * vc/diff-mode.el:
17534 * vc/log-edit.el:
17535 * vc/log-view.el:
17536 * vc/smerge-mode.el:
17537 * textmodes/bibtex-style.el:
090bd7cb 17538 * textmodes/css-mode.el:
03408648
SM
17539 * startup.el:
17540 * uniquify.el:
da91b5f2
CY
17541 * minibuffer.el:
17542 * newcomment.el:
17543 * reveal.el:
17544 * server.el:
17545 * mpc.el:
17546 * emacs-lisp/smie.el:
17547 * doc-view.el:
17548 * dired.el:
03408648
SM
17549 * abbrev.el: Use lexical binding.
17550
0f0c1f27
EZ
175512011-04-01 Eli Zaretskii <eliz@gnu.org>
17552
17553 * info.el (info-display-manual): New function.
17554
c82b2579
SM
175552011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17556
17557 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17558
221ddf68
TH
175592011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17560
17561 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17562 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17563
cba6e77e
GM
175642011-03-31 Glenn Morris <rgm@gnu.org>
17565
e040639f
GM
17566 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17567
cba6e77e
GM
17568 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17569
6d0f1c9e
CS
175702011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17571
17572 * progmodes/python.el (python-default-interpreter)
17573 (python-python-command-args, python-jython-command-args)
17574 (python-which-shell, python-which-args, python-which-bufname)
17575 (python-file-queue, python-comint-output-filter-function)
17576 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17577 variables and functions.
17578
3e2d70fd
SM
175792011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17580
17581 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17582 (completion-in-region-mode): New minor mode.
17583 (completion-in-region): Use it.
17584 (completion-in-region--data, completion-in-region-mode-map): New vars.
17585 (completion-in-region--postch): New function.
17586 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17587 New vars.
17588 (completion--capf-wrapper): New function.
17589 (completion-at-point): Use it to track well-behavedness of
17590 hook functions.
17591 (completion-help-at-point): New command.
17592
f3e4086c
JM
175932011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17594
17595 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17596 syntax class to search for whitespace on a single line
17597 (Message-ID: <4D938140.4030905@redhat.com>).
17598
eb7ffc14
LL
175992011-03-30 Leo Liu <sdl.web@gmail.com>
17600
17601 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17602 New commands.
17603 (edit-abbrevs-map): Bind them here.
17604 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17605
d806ab68
KM
176062011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17607
17608 * allout.el (allout-hide-by-annotation, allout-flag-region):
17609 Reduce possibility of overlay leakage by making them volatile.
17610
17611 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17612 hash is not shared between buffers. Mode initialization is
17613 responsible for giving it a useful starting value.
17614 (allout-item-span): Reduce possibility of overlay leakage by
17615 making them volatile.
17616 (allout-widgets-count-buttons-in-region): Add diagnostic function
17617 for tracking down button overlay leaks.
17618
ea622834
LL
176192011-03-29 Leo Liu <sdl.web@gmail.com>
17620
17621 * ido.el (ido-read-internal): Use the default history var
17622 minibuffer-history if no HISTORY is specified.
17623
b62f8267
G
176242011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17625
03408648
SM
17626 * net/imap.el (imap-shell-open, imap-process-connection-type):
17627 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17628 Kerberos, SSL, other subprocesses.
17629
947b6566
LL
176302011-03-28 Leo Liu <sdl.web@gmail.com>
17631
17632 * abbrev.el (abbrev-table-empty-p): New function.
17633 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17634 nonempty ones. (Bug#5937)
17635
5ffb62aa
JD
176362011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17637
17638 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17639
7a097943
LL
176402011-03-27 Leo Liu <sdl.web@gmail.com>
17641
17642 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17643 for foreground and background colors.
17644 (ansi-color-make-color-map): Adapt.
17645
c5b40130
LL
176462011-03-25 Leo Liu <sdl.web@gmail.com>
17647
1f48f7d2
LL
17648 * midnight.el (midnight-time-float): Remove. Note it calculates
17649 the microsecond component incorrectly and seconds-to-time does the
17650 same job.
625897ec 17651 Remove redundant (require 'timer).
1f48f7d2 17652
c5b40130
LL
17653 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17654 (ido-completions): Remove unused arguments. (Bug#8329)
17655
d86d2721
SM
176562011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17657
17658 * minibuffer.el (completion--flush-all-sorted-completions):
17659 Remove itself from hook.
17660 (completion-at-point): Let the functions perform the completion
17661 immediately and return nil or t.
17662 * comint.el (comint-dynamic-complete-functions): Now identical to
17663 completion-at-point-functions.
17664 (comint-dynamic-list-input-ring): Remove unused var `index'.
17665 (comint--match-partial-filename, comint--unquote&expand-filename):
17666 New funs, split from comint-match-partial-filename.
17667 (comint-dynamic-complete): Use completion-at-point.
17668 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17669
e8974c48
DA
176702011-03-24 Drew Adams <drew.adams@oracle.com>
17671
17672 * thingatpt.el: Support `defun'.
17673
def71b5e
LL
176742011-03-23 Leo Liu <sdl.web@gmail.com>
17675
cb5af48e
LL
17676 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17677
def71b5e
LL
17678 * help-mode.el (help-mode-finish): Tweak regexp.
17679
927c53e7
GM
176802011-03-23 Glenn Morris <rgm@gnu.org>
17681
18d05bed
GM
17682 * eshell/esh-opt.el (eshell-eval-using-options):
17683 Do not bind unused local variable `eshell-option-stub'.
17684
927c53e7
GM
17685 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17686
9d0da923
JB
176872011-03-22 Juanma Barranquero <lekktu@gmail.com>
17688
17689 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17690 keymap variable in `with-no-warnings' to avoid a warning when the
17691 keymap has been already `defconst'ed.
17692
4b978a67
LL
176932011-03-22 Leo Liu <sdl.web@gmail.com>
17694
17695 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17696 encode all chars in abbrevs; otherwise use emacs-mule or
17697 utf-8-emacs. (Bug#8308)
17698
5fd62452
JB
176992011-03-22 Juanma Barranquero <lekktu@gmail.com>
17700
0b1596c6
JB
17701 * simple.el (backward-delete-char-untabify):
17702 Avoid warning about using `delete-backward-char'.
17703
5fd62452
JB
17704 * image.el (image-type-file-name-regexps): Make it variable.
17705 `imagemagick-register-types' modifies it, and the user may want
17706 to add new extensions for known image types.
17707 (imagemagick-register-types): Throw error if not using ImageMagick.
17708
0b4e93f1
LL
177092011-03-22 Leo Liu <sdl.web@gmail.com>
17710
17711 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17712 located before rcirc-prompt-end-marker.
17713 (rcirc-complete): Error if point is not after rcirc prompt.
17714 Handle the case when table is nil.
9882e214 17715 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17716
fccee4ab
CY
177172011-03-22 Chong Yidong <cyd@stupidchicken.com>
17718
17719 * custom.el (custom--inhibit-theme-enable): Make it affect only
17720 custom-theme-set-variables and custom-theme-set-faces.
17721 (provide-theme): Ignore custom--inhibit-theme-enable.
17722 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17723 (custom-enabling-themes): Delete variable.
d86d2721
SM
17724 (enable-theme): Accept only loaded themes as arguments.
17725 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17726 (custom-enabled-themes): Forbid themes from setting this.
17727 Eliminate use of custom-enabling-themes.
17728 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17729
af896da6
LL
177302011-03-21 Leo Liu <sdl.web@gmail.com>
17731
17732 * ido.el (ido-read-internal): Add ido-selected to history instead
17733 of user input.
17734
78f64af0
SM
177352011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17736
17737 * subr.el (deferred-action-list, deferred-action-function):
17738 Mark obsolete.
17739
b16ac1ec
LL
177402011-03-21 Leo Liu <sdl.web@gmail.com>
17741
810f7698
LL
17742 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17743 change on 2011-02-13 (bug#8309).
17744
b16ac1ec
LL
17745 * minibuffer.el (read-file-name-function): Change default value.
17746 (read-file-name--defaults): Rename from read-file-name-defaults.
17747 (read-file-name-default): Rename from read-file-name.
17748 (read-file-name): Call read-file-name-function.
17749
4e05e67e
GM
177502011-03-21 Glenn Morris <rgm@gnu.org>
17751
17752 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17753 Doc fixes.
17754
4359915b
CY
177552011-03-21 Chong Yidong <cyd@stupidchicken.com>
17756
17757 * cus-theme.el: Add missing provide statement.
17758 (customize-create-theme): Extract theme value correctly.
17759 (custom-theme-visit-theme): Autoload.
17760 (customize-create-theme): Prompt before inserting default faces.
17761
1fe275ee
JB
177622011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17763
17764 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17765 units and musical notes.
17766
cd394be1 177672011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17768
17769 * ido.el (ido-read-internal): Use completing-read-default.
17770 (ido-completing-read): Fix compatibility with completing-read.
17771
7d476bde
CO
177722011-03-20 Christian Ohler <ohler@gnu.org>
17773
17774 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17775 (ert-delete-all-tests): Use `called-interactively-p' rather than
17776 `interactive-p'.
17777 (ert--make-xrefs-region): Respect END.
17778
fe0fb33e
CY
177792011-03-19 Chong Yidong <cyd@stupidchicken.com>
17780
ff854b0b
CY
17781 * dired-aux.el (dired-create-directory): Signal an error if the
17782 directory already exists (Bug#8246).
17783
fe0fb33e
CY
17784 * facemenu.el (list-colors-display): Call list-faces-display
17785 inside with-help-window.
17786 (list-colors-print): Use display property to align the final
17787 column, instead of checking window-width.
17788
576bce32
EZ
177892011-03-19 Eli Zaretskii <eliz@gnu.org>
17790
4d61f28d 17791 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17792 windows-nt systems.
17793 (emerge-protect-metachars): Quote correctly for ms-dos and
17794 windows-nt systems.
17795
89c41d68 177962011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17797
17798 * info.el (info-initialize): Replace all uses of `:' with
17799 path-separator for compatibility with non-Unix systems.
17800 Cache quoting of path-separator. (Bug#8258)
17801
b14e3e21 178022011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17803
17804 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17805 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17806 (mouse-avoidance-mode): Fix typos in docstrings.
17807
4525ce3e
CY
178082011-03-19 Chong Yidong <cyd@stupidchicken.com>
17809
17810 * startup.el (package-subdirectory-regexp): Move from package.el.
17811 Omit \\` and \\', and let callers add them.
17812
17813 * emacs-lisp/package.el (package-strip-version)
17814 (package-load-all-descriptors): Add \\` and \\' to
17815 package-subdirectory-regexp before using it.
17816 (package-untar-buffer): New arg DIR; ensure that file untars only
17817 into this expected directory. Remove superfluous delete-region.
17818 (package-unpack): Caller changed.
17819 (package-tar-file-info): Use package-subdirectory-regexp.
17820
a904a09a 178212011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17822
a904a09a
SM
17823 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17824 diff-mode-shared-map (bug#8284).
17825 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17826
178272011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17828
17829 * calendar/time-date.el (format-seconds): Use assoc instead of
17830 assoc-string, since assoc-string doesn't exist in XEmacs.
17831
171fc304
JB
178322011-03-17 Juanma Barranquero <lekktu@gmail.com>
17833
17834 * custom.el (custom-known-themes): Reflow docstring.
17835 (custom-theme-load-path): Fix typo in docstring.
17836 (load-theme): Fix typo in error message.
17837 (custom-available-themes, custom-variable-theme-value):
17838 Use `let', not `let*'.
17839
d71990a1
JB
178402011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17841
17842 * calc/README: Mention inclusion of musical notes.
17843
17844 * calc/calc-units.el (calc-lu-quant): Rename from
17845 `calc-logunits-quantity'.
17846 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17847 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17848 (calc-db): Rename from `calc-dblevel'.
17849 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17850 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17851 (calc-np): Rename from `calc-nplevel'.
17852 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17853 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17854 (calc-lu-plus): Rename from `calc-logunits-add'.
17855 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17856 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17857 (calc-lu-minus): Rename from `calc-logunits-sub'.
17858 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17859 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17860 (calc-lu-times): Rename from `calc-logunits-mul'.
17861 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17862 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17863 (calc-lu-divide): Rename from `calc-logunits-div'.
17864 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17865 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17866
17867 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17868 functions being autoloaded.
17869
17870 * calc/calc.el (calc-lu-power-reference): Rename from
17871 `calc-logunits-power-reference'.
17872 (calc-lu-field-reference): Rename from
17873 `calc-logunits-field-reference'.
17874
7a71b18d
GM
17875 * calc/calc-help.el (calc-l-prefix-help):
17876 Mention musical note functions.
d71990a1 17877
40c2934b
SM
178782011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17879
17880 * minibuffer.el (completion-all-sorted-completions):
17881 Use :completion-cycle-penalty text property if present.
17882
b0911414
KM
178832011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17884
17885 * allout.el (allout-yank-processing): Adjust for new rebulleting
17886 regime so bullet being yanked is used without prompting the user
17887 for a choice.
17888
8a05b668
JB
178892011-03-16 Juanma Barranquero <lekktu@gmail.com>
17890
17891 * startup.el (command-line): Warn the user that _emacs is deprecated.
17892
5ba5fb81
JB
178932011-03-16 Juanma Barranquero <lekktu@gmail.com>
17894
17895 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17896 (delphi-verbose, delphi-comment-face, delphi-string-face)
17897 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17898 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17899 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17900 (delphi-new-comment-line, delphi-font-lock-defaults)
17901 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17902 Fix typos in docstrings.
17903
2dab465b
KM
179042011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17905
5ba5fb81 17906 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17907 Invert the roles of character and string values for INSTEAD, so a
17908 string is used for the more common case of a defaulting prompt.
17909
0adf5618
SM
179102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17911
17912 * progmodes/ruby-mode.el (ruby-backward-sexp):
17913 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17914 * play/gamegrid.el (gamegrid-make-face):
17915 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17916 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17917 * notifications.el (notifications-notify):
17918 * net/xesam.el (xesam-search-engines):
17919 * net/quickurl.el (quickurl-list-insert):
17920 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17921
d72700e5
CY
179222011-03-15 Chong Yidong <cyd@stupidchicken.com>
17923
17924 * startup.el (command-line): Update package subdirectory regexp.
17925
49c5410a
SM
179262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17927
c6eee9aa
SM
17928 * allout.el (allout-abbreviate-flattened-numbering)
17929 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17930
49c5410a
SM
17931 * subr.el (read-char-choice): Only show the cursor after the prompt,
17932 not after the answer.
17933
047b2bb9
KR
179342011-03-15 Kevin Ryde <user42@zip.com.au>
17935
17936 * help-fns.el (variable-at-point): Skip leading quotes, if any
17937 (bug#8253).
17938
0a57d256
SM
179392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17940
17941 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17942 warning message.
17943
77c992bc
MA
179442011-03-14 Michael Albinus <michael.albinus@gmx.de>
17945
17946 * shell.el (shell): When called interactively, offer to change the
17947 shell file name on remote hosts.
17948
eebc475d
TZ
179492011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17950
17951 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17952 integration for LDAP parameters. The host, base, user or binddn,
17953 and secret tokens can be specified in a netrc file, for instance.
17954 This is optional because an `auth-source' parameter must be
17955 specified in the search attributes.
17956
9d05d1ba
JB
179572011-03-13 Juanma Barranquero <lekktu@gmail.com>
17958
17959 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17960
09d9db2c
GM
179612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17962
17963 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17964 into declaration. Remove redundant and harmful binding.
17965
179662011-03-12 Eli Zaretskii <eliz@gnu.org>
17967
17968 * files.el (file-ownership-preserved-p): Pass `integer' as an
17969 explicit 2nd argument to `file-attributes'. If the file's owner
17970 is the Administrators group on Windows, and the current user is
17971 Administrator, consider that a match.
17972
17973 * server.el (server-ensure-safe-dir): Consider server directory
17974 safe on MS-Windows if its owner is the Administrators group while
17975 the current Emacs user is Administrator. Use `=' to compare
17976 numerical UIDs, since they could be integers or floats.
17977
219bd536
JB
179782011-03-12 Juanma Barranquero <lekktu@gmail.com>
17979
17980 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17981
f3afd36b
MA
179822011-03-12 Michael Albinus <michael.albinus@gmx.de>
17983
17984 Sync with Tramp 2.2.1.
17985
17986 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17987
17988 * net/trampver.el: Update release number.
17989
3aaaa6f1
SM
179902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17991
94642599
SM
17992 * progmodes/compile.el (compilation--previous-directory): Fix up
17993 various nil/dead-marker mismatches (bug#8014).
17994 (compilation-directory-properties, compilation-error-properties):
17995 Don't call it at a position past the one we're about to change.
17996
3aaaa6f1
SM
17997 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17998 Disable obsolescence warnings in the file that declares it.
17999
14239447
KM
180002011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18001
099c39a4
JB
18002 * allout-widgets.el (allout-widgets-tally):
18003 Initialize allout-widgets-tally as a hash table rather than nil to
18004 prevent mode-line redisplay warnings. Also, clarify the module
18005 description and fix a comment typo.
14239447 18006
135e287c
JB
180072011-03-11 Juanma Barranquero <lekktu@gmail.com>
18008
18009 * help-fns.el (describe-variable): Don't complete keywords.
18010 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18011
ffbf300e
CY
180122011-03-10 Chong Yidong <cyd@stupidchicken.com>
18013
ba08b241
CY
18014 * emacs-lisp/package.el (package-version-join): Impose a standard
18015 string representation for pre/alpha/beta version lists.
18016 (package-unpack-single): Standardize the directory name by passing
18017 it through package-version-join.
18018 (package-strip-rcs-id): Accept any version string that does not
18019 signal an error in version-to-list.
ffbf300e 18020
f346fd6b
MA
180212011-03-10 Michael Albinus <michael.albinus@gmx.de>
18022
18023 * simple.el (delete-trailing-whitespace): Return nil for the
18024 benefit of `write-file-functions'.
18025
ccb55d27
GM
180262011-03-10 Glenn Morris <rgm@gnu.org>
18027
5ceaac0c
GM
18028 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18029
02da65ff
GM
18030 * vc/vc-git.el (vc-git-program): New option.
18031 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18032 (vc-git--call): Use it.
18033
b2f603cc
GM
18034 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18035
5772caab
GM
18036 * cus-edit.el (Custom-newline): If no button at point, look
18037 for a subgroup button at start-of-line. (Bug#2298)
18038
ccb55d27
GM
18039 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18040
ec6ecaed
JD
180412011-03-10 Julien Danjou <julien@danjou.info>
18042
18043 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18044 `cursor-type' is nil.
18045
9d5aa01d
JB
180462011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18047
18048 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18049
b6a5875b
KM
180502011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18051
7a71b18d 18052 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18053 preserves the existing header prefix, rebulleting it if necessary,
18054 rather than replacing it. This is necessary for proper operation
18055 of cooperative addons like allout-widgets.
1154d12e
JB
18056 (allout-make-topic-prefix, allout-rebullet-heading):
18057 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18058 value as alternate bullet to be used, instead of prompting the user
18059 for a bullet character.
b6a5875b 18060
ee545c35
MA
180612011-03-09 Michael Albinus <michael.albinus@gmx.de>
18062
d86d2721
SM
18063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18064 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18065 `tramp-default-port'.
18066
c47971d7
DD
180672011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18068
18069 * net/rcirc.el (rcirc-handler-001): Remove useless
18070 with-rcirc-process-buffer.
18071 (rcirc-check-auth-status): Swap arguments to string-match.
18072
13522cb4
GM
180732011-03-09 Glenn Morris <rgm@gnu.org>
18074
0be6f4f1
GM
18075 * shell.el (shell-mode):
18076 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18077
13522cb4
GM
18078 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18079 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18080
515de2e3
CY
180812011-03-08 Chong Yidong <cyd@stupidchicken.com>
18082
18083 * emacs-lisp/package.el (package-refresh-contents)
18084 (package-menu-execute): Use condition-case-no-debug.
18085
b511b994
MA
180862011-03-08 Michael Albinus <michael.albinus@gmx.de>
18087
18088 * simple.el (shell-command-to-string): Use `process-file'.
18089
18090 * emacs-lisp/package.el (package-tar-file-info): Handle also
18091 remote files.
18092
d86d2721
SM
18093 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18094 Use `equal' for upload base check.
b511b994 18095
25bbfb31
AM
180962011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18097
18098 * textmodes/texinfo.el (texinfo-environments):
18099 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18100
be996521
GM
181012011-03-08 Glenn Morris <rgm@gnu.org>
18102
e9c8529f
GM
18103 * cus-start.el (cursor-in-non-selected-windows):
18104 Fix :set quoting oddness. (Bug#8192)
18105
be996521
GM
18106 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18107 in some setf expressions. (Bug#2159)
18108
2bb5649e
CY
181092011-03-08 Chong Yidong <cyd@stupidchicken.com>
18110
18111 * custom.el (custom-available-themes): Return themes in
18112 alphabetical order.
18113
33383987 18114See ChangeLog.15 for earlier changes.
e3d51b27
MR
18115
18116;; Local Variables:
18117;; coding: utf-8
e3d51b27
MR
18118;; End:
18119
acaf905b 18120 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18121
18122 This file is part of GNU Emacs.
18123
18124 GNU Emacs is free software: you can redistribute it and/or modify
18125 it under the terms of the GNU General Public License as published by
18126 the Free Software Foundation, either version 3 of the License, or
18127 (at your option) any later version.
18128
18129 GNU Emacs is distributed in the hope that it will be useful,
18130 but WITHOUT ANY WARRANTY; without even the implied warranty of
18131 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18132 GNU General Public License for more details.
18133
18134 You should have received a copy of the GNU General Public License
18135 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.