Always use set_buffer_if_live to restore original buffer at unwind.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
34f10d41
MR
12012-08-27 Drew Adams <drew.adams@oracle.com>
2
3 * dired.el (dired-pop-to-buffer): Make window start at beginning
4 of buffer (Bug#12281).
5
77f1f99c
CY
62012-08-26 Chong Yidong <cyd@gnu.org>
7
8 * window.el (special-display-regexps, special-display-frame-alist)
9 (special-display-buffer-names, special-display-function)
10 (display-buffer-reuse-frames): Mark as obsolete.
11
12 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
13
14 * help.el (help-print-return-message): Don't treat
15 display-buffer-reuse-frames specially.
16
d97af5a0
CY
172012-08-26 Chong Yidong <cyd@gnu.org>
18
19 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action): New
20 variable, replacing gdb-frame-parameters.
21 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
22 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
23 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
24 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
25 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
26 the functions directly with gdb-display-buffer-other-frame-action.
27 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
28 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
29 (gdb-display-stack-buffer, gdb-display-locals-buffer)
30 (gdb-display-registers-buffer): Define directly.
31 (def-gdb-display-buffer): Macro deleted.
32 (gdb-display-buffer): Remove second and third args, callers don't
33 use them. Defer to the default display-buffer behavior, apart
34 from making windows dedicated.
35 (gdb-setup-windows): Don't call display-buffer unnecessarily.
36
37 * progmodes/gud.el (gud-display-line): Just use display-buffer.
38
39 * window.el (display-buffer-pop-up-frame): Handle a
40 pop-up-frame-parameters alist entry.
41 (display-buffer): Document it.
42
dd7ffad6
CY
432012-08-26 Chong Yidong <cyd@gnu.org>
44
45 * isearch.el (search-whitespace-regexp): Make string and nil
46 values apply to both ordinary and regexp search. Allow a cons
47 cell value to distinguish between the two.
48 (isearch-whitespace-regexp, isearch-search-forward)
49 (isearch-search-backward): New functions.
50 (isearch-occur, isearch-search-fun-default, isearch-search)
51 (isearch-lazy-highlight-new-loop): Use them.
52 (isearch-forward, isearch-forward-regexp): Doc fix.
53
4c47bd1e
CY
542012-08-26 Chong Yidong <cyd@gnu.org>
55
56 * faces.el (help-argument-name): Always inherit from italic
57 (Bug#12213).
58
9aba119d
MR
592012-08-25 Martin Rudalics <rudalics@gmx.at>
60
61 * window.el (window--even-window-heights): Even heights when
62 WINDOW and the selected window form a vertical combination.
63 (display-buffer-use-some-window): Provide that window used gets
64 sized back by quit-window. (Bug#11880) and (Bug#12091)
65
ca5256ad
PE
662012-08-24 Paul Eggert <eggert@cs.ucla.edu>
67
68 Fix file time stamp problem with bzr and CVS (Bug#12001).
69 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
70 in the file's time stamp, since the version control system loses
71 that information.
72
d1c0d176
JL
732012-08-22 Juri Linkov <juri@jurta.org>
74
75 * info.el (Info-fontify-node): Hide the suffix of the
76 Info file name in the header line. (Bug#12187)
77
141562ff
GM
782012-08-22 Glenn Morris <rgm@gnu.org>
79
80 * calendar/cal-tex.el (cal-tex-weekly-common):
81 Restore leading blank page.
82
61a48e19 832012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
84
85 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
86 the region under `shift-select-mode'. (Bug#12231)
87
882012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
89
90 * progmodes/executable.el (executable-prefix): Set to "#!" instead
91 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
92 gives details on why the space is never needed.
93
ea95074e
MR
942012-08-22 Martin Rudalics <rudalics@gmx.at>
95
96 * window.el (walk-window-tree, window-with-parameter): New
97 optional argument MINIBUF to control whether these functions
98 should run on the minibuffer window.
99 (window-at-side-list): Don't operate on minibuffer window.
100 (window-in-direction): Simplify and rewrite doc-string.
842e3a93
MR
101 (window--size-ignore): Rename to window--size-ignore-p. Update
102 callers.
caceae25
MR
103 (display-buffer-in-atom-window, window--major-non-side-window)
104 (window--major-side-window, display-buffer-in-major-side-window)
105 (delete-side-window, display-buffer-in-side-window): New
106 functions.
107 (window--side-check, window-deletable-p, delete-window)
108 (delete-other-windows, split-window): Handle side windows and
109 atomic windows appropriately.
110 (window--display-buffer): Call display-buffer-record-window also
111 when the window buffer did not change.
ea95074e 112
80a51fa0
CS
1132012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
114
115 * help-fns.el (help-fns--key-bindings):
116 Abbreviate non-symbol remap targets. (Bug#12174)
117
fbb6300b
MR
1182012-08-22 Martin Rudalics <rudalics@gmx.at>
119
120 * dired.el (dired-mark-remembered): Don't clobber point.
121 (Bug#11795)
122
2b2c0794
GM
1232012-08-22 Glenn Morris <rgm@gnu.org>
124
125 * progmodes/bug-reference.el (bug-reference): New custom group.
126 (bug-reference-bug-regexp): Make it a defcustom.
127
37219830
DU
1282012-08-22 Daiki Ueno <ueno@unixuser.org>
129
130 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
131 (js-paren-indent-offset, js-square-indent-offset)
132 (js-curly-indent-offset): Add :safe (Bug#12257).
133
94e0e559
EC
1342012-08-22 Edward O'Connor <hober0@gmail.com>
135
136 * json.el (json-key-format): Add error properties.
137 (json-encode-key): New function.
138 (json-encode-hash-table, json-encode-alist, json-encode-plist):
139 Use json-encode-key.
140
da485f5e
GM
1412012-08-22 Glenn Morris <rgm@gnu.org>
142
143 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
144 (cal-tex-leftday, cal-tex-rightday): Remove functions.
145 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
146 Update for above change.
147
c6cc78b8
AS
1482012-08-21 Andreas Schwab <schwab@linux-m68k.org>
149
150 * cus-face.el (custom-face-attributes): Fix customize type for the
151 :underline attribute. (Bug#11805)
152
5481664a
MR
1532012-08-21 Martin Rudalics <rudalics@gmx.at>
154
155 * window.el (window-point-1, set-window-point-1): Remove.
156 (window-in-direction, record-window-buffer)
157 (set-window-buffer-start-and-point, split-window-below)
158 (window--state-get-1, display-buffer-record-window): Replace
159 calls to window-point-1 and set-window-point-1 by calls to
160 window-point and set-window-point respectively.
161
6d74698e
GM
1622012-08-21 Glenn Morris <rgm@gnu.org>
163
b7fa2691
GM
164 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
165 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
166 Use it.
167
52f56d5a
GM
168 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
169 (cal-tex-shortday): New function.
170 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
171 (cal-tex-cursor-filofax-daily): Use the above.
172
9f1ee09e
GM
173 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
174 New functions.
175 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
176 (cal-tex-cursor-filofax-week): Use them.
177
79858159
GM
178 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
179 New constants.
180 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
181 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
182
d346b2b4
GM
183 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
184 (cal-tex-end-document): Don't rely on buffer name.
185
b2403709
GM
186 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
187 Use cal-tex-vspace.
188 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
189 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
190 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
191 Use cal-tex-arg.
b2403709 192
1cebb5c0
GM
193 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
194 (cal-tex-cursor-week, cal-tex-cursor-week2)
195 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
196 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
197 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
198 (cal-tex-insert-preamble, cal-tex-b-document)
199 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
200 Improve cal-tex-cmd usage.
201
c68cd5d4
GM
202 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
203 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
204 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
205 (cal-tex-weekly-paper): New function.
206 (cal-tex-cursor-week, cal-tex-cursor-week2)
207 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
208 (cal-tex-cursor-day): Use it.
209
9dca4801
GM
210 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
211 (cal-tex-cursor-filofax-week): Remove leading blank page.
212
1941e134
GM
213 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
214 Add autoload cookie. For now at least, don't use color, since
215 no other cal-tex function does.
216
6d74698e
GM
217 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
218 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
219 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
220
64cde199
JL
2212012-08-21 Juri Linkov <juri@jurta.org>
222
223 * info.el (Info-file-attributes): New variable.
224 (info-insert-file-contents): Add file attributes to
225 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
226 `Info-toc-nodes' when previous modtime of the Info file is less
227 than new modtime.
228 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
229 of info.el. (Bug#12230)
230
32757648
GM
2312012-08-20 Glenn Morris <rgm@gnu.org>
232
233 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
234 * calendar/holidays.el (calendar-holiday-list):
235 Report errors with display-warning rather than beep'n'sleep.
236
a32fbbcf
MA
2372012-08-20 Michael Albinus <michael.albinus@gmx.de>
238
239 * net/tramp.el (tramp-accept-process-output): Accept only output
240 from PROC. Otherwise, process filters and sentinels might be
241 confused. (Bug#12145)
242
a05731a0
CY
2432012-08-20 Chong Yidong <cyd@gnu.org>
244
245 * descr-text.el (describe-text-properties-1): Use overlays-in to
246 report on empty overlays (Bug#3322).
247
36e8d1eb
GM
2482012-08-20 Glenn Morris <rgm@gnu.org>
249
3d300447
GM
250 * mail/rmailout.el (rmail-output-read-file-name):
251 Trap and report errors in rmail-output-file-alist elements.
252
36e8d1eb
GM
253 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
254 since most non-font-lock faces are not also variables).
255
b96e5814
ER
2562012-08-20 Edward Reingold <reingold@iit.edu>
257
258 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
259 New function. (Bug12160)
260
7cef3569
GM
2612012-08-19 Glenn Morris <rgm@gnu.org>
262
263 * mail/rmailout.el (rmail-output-read-file-name):
264 Fix previous change (when the alist is nil or does not match).
265
17975d7f
CY
2662012-08-19 Chong Yidong <cyd@gnu.org>
267
268 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
269 (Bug#12228).
270
2170b1bd
CY
2712012-08-18 Chong Yidong <cyd@gnu.org>
272
273 * simple.el (yank-handled-properties): New defcustom.
274 (yank-excluded-properties): Add font-lock-face and category.
275 (yank): Doc fix.
276
277 * subr.el (remove-yank-excluded-properties): Obey
278 yank-handled-properties. The special handling of font-lock-face
279 and category is now done this way, instead of being hard-coded.
280 (insert-for-yank-1): Remove font-lock-face handling.
281 (yank-handle-font-lock-face-property)
282 (yank-handle-category-property): New function.
283
ee218151
GM
2842012-08-17 Glenn Morris <rgm@gnu.org>
285
286 * mail/rmailout.el (rmail-output-read-file-name):
287 Check rmail-output-file-alist against the full message body
288 in the correct rmail buffer. (Bug#12214)
289
4a6bc3fd
MA
2902012-08-17 Michael Albinus <michael.albinus@gmx.de>
291
292 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Eliminate
293 superfluous prompt. (Bug#12203)
294
383dcbf9
CY
2952012-08-17 Chong Yidong <cyd@gnu.org>
296
297 * mouse.el (mouse-appearance-menu): If x-select-font returns a
298 font spec, set the font directly (Bug#3228).
299
998c4a6a
MR
3002012-08-17 Martin Rudalics <rudalics@gmx.at>
301
302 * window.el (delete-window): Fix last fix.
303
52162052
MR
3042012-08-16 Martin Rudalics <rudalics@gmx.at>
305
306 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
307 (window-child, window-child-count, window-last-child)
308 (window-normalize-window, window-combined-p)
309 (window-combinations, window-atom-root, window-min-size)
310 (window-sizable, window-sizable-p, window-size-fixed-p)
311 (window-min-delta, window-max-delta, window--resizable)
312 (window--resizable-p, window-resizable, window-total-size)
313 (window-full-height-p, window-full-width-p, window-body-size)
314 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
315 (minimize-window, window-deletable-p, delete-window)
316 (delete-other-windows, set-window-buffer-start-and-point)
317 (next-buffer, previous-buffer, split-window, balance-windows-2)
318 (set-window-text-height, window-buffer-height)
319 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
320 (truncated-partial-width-window-p): Minor code adjustments. In
321 doc-strings state whether the argument window has to denote a
322 live, valid or any window.
52162052 323
1c308380
PS
3242012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
325
326 * progmodes/subword.el (subword-forward-function)
327 (subword-backward-function, subword-forward-regexp)
328 (subword-backward-regexp): New variables.
329 (subword-forward, subword-forward-internal, subword-backward-internal):
330 Use new variables, eg so that different "word" definitions
331 can be easily used. (Bug#11411)
332
94c9ece1
SM
3332012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
336 for composite selectors.
337 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
338 operation just because we can't find a previous revision.
339
f2045622
CY
3402012-08-15 Chong Yidong <cyd@gnu.org>
341
342 * frame.el (set-frame-font): Accept font objects.
343
582db660
SM
3442012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
347
2f29c200
WJ
3482012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
349
456e62c2
WJ
350 * man.el (Man-overstrike-face, Man-underline-face)
351 (Man-reverse-face): Remove variables.
352 (Man-overstrike, Man-underline, Man-reverse): New faces.
353 (Man-fontify-manpage): Use them instead of the variables.
354 (Man-cleanup-manpage): Comment change.
355 (Man-ansi-color-map): New variable.
356 (Man-fontify-manpage): Use it.
357 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
358
2f29c200
WJ
359 Implement ANSI SGR parameters 22-27 (bug#12146).
360 * ansi-color.el (ansi-colors): Doc fix.
361 (ansi-color-context, ansi-color-context-region): Doc fix.
362 (ansi-color--find-face): New function.
363 (ansi-color-apply, ansi-color-apply-on-region): Use it.
364 Rename the local variable `face' to `codes' since it is now a list of
365 ansi codes. Doc fix.
366 (ansi-color-get-face): Remove.
367 (ansi-color-parse-sequence): New function, derived from
368 ansi-color-get-face.
369 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
370 codes 22-27.
371
b4f5e9df
SM
3722012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * subr.el (read-passwd): Allow use from a minibuffer.
375
ba025fbd
EZ
3762012-08-14 Eli Zaretskii <eliz@gnu.org>
377
378 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
379 inside comments and strings as identifiers.
380
381 * progmodes/gud.el (gud-tooltip-print-command): Quote the
382 expression to evaluate. This allows to evaluate expressions with
383 embedded whitespace.
384 (gud-tooltip-tips): Add a blank before the newline in the
385 message-box text, for the benefit of message-box emulation on
386 MS-Windows.
387
388 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
389 messages from GDB, pop them up in a tooltip to give feedback to
390 user.
b4f5e9df
SM
391 (gdb-tooltip-print-1): Quote the expression to evaluate.
392 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
393 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
394 if the TTY name is nil or empty (which happens when communicating
395 with the inferior via pipes, e.g. on MS-Windows).
396 (gdb-internals): If GDB sends a "&\n" empty debugging message,
397 don't send that to the GUD buffer.
398
c548f821
GM
3992012-08-14 Glenn Morris <rgm@gnu.org>
400
401 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
402 Optimize away setq-default with no args, as for setq. (Bug#12195)
403
55802e4a
CY
4042012-08-14 Chong Yidong <cyd@gnu.org>
405
4abcdac8
CY
406 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
407
55802e4a
CY
408 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
409 (Bug#12085).
410
3c3cda1a
GM
4112012-08-14 Glenn Morris <rgm@gnu.org>
412
413 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
414
e1873bd0
MA
4152012-08-14 Michael Albinus <michael.albinus@gmx.de>
416
417 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
418 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
419 Use cached shell name.
420
925411b4
FEG
4212012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
422
423 * progmodes/python.el (python-shell-send-string):
3c3cda1a 424 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 425
e636fafe
DG
4262012-08-14 Dmitry Gutov <dgutov@yandex.ru>
427
428 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
429 (ruby-percent-literal-beg-re): New constant.
430 (ruby-syntax-general-delimiters-goto-beg): Rename to
431 `ruby-syntax-enclosing-percent-literal', improve literal type check.
432 (ruby-syntax-propertize-general-delimiters): Rename to
433 `ruby-syntax-propertize-percent-literal', it's a shorter and more
434 popular term. Adjust comments everywhere.
435 (ruby-syntax-propertize-percent-literal): Only propertize when not
436 inside a simple string or comment. When the literal is unclosed,
437 leave the text after it unpropertized.
f063063a
DG
438 (ruby-syntax-methods-before-regexp): New constant.
439 (ruby-syntax-propertize-function): Use it to recognize regexps.
440 Don't look at the text after regexp, just use the whitelist.
e636fafe 441
e5b19827
AS
4422012-08-14 Andreas Schwab <schwab@linux-m68k.org>
443
444 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
445 non-nil always load the compiled file if it exists. (Bug#12197)
446
a9f6f311
CY
4472012-08-14 Chong Yidong <cyd@gnu.org>
448
449 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
450 (hi-lock-set-pattern): When deciding whether to use font lock or
451 overlays, look at font-lock-mode instead of font-lock-fontified
452 (Bug#12168).
453 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
454 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
455
7d806b1e
DU
4562012-08-14 Daiki Ueno <ueno@unixuser.org>
457
458 * subr.el (internal--after-with-selected-window): Fix typo
459 (Bug#12193).
460
5beed586
FEG
4612012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
462
463 Use `completion-table-dynamic' for completion functions.
464 * progmodes/python.el
465 (python-shell-completion--do-completion-at-point)
e636fafe
DG
466 (python-shell-completion--get-completions):
467 Remove functions.
5beed586
FEG
468 (python-shell-completion-complete-at-point): New function.
469 (python-completion-complete-at-point): Use it.
470
92cb3b04
J
4712012-08-13 Jambunathan K <kjambunathan@gmail.com>
472
473 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
474 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
475
89660017
SM
4762012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
477
3c98c962
SM
478 * subr.el (function-get): Refine `autoload' arg so it can also
479 autoload functions for gv.el (bug#12191).
480 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
481 autoloads macros.
482
aa7c6dbe
SM
483 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
484 Prefer pcase-let over destructuring-bind.
485 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
486 Also, remove whitespace as we go, rather than after accumulating the
487 various places.
488
89660017
SM
489 * subr.el (internal--before-with-selected-window)
490 (internal--after-with-selected-window): Fix typo seleted->selected.
491 (with-selected-window): Adjust callers.
492 Reported by Dmitry Gutov <dgutov@yandex.ru>.
493
31cd32c9
BG
4942012-08-13 Bastien Guerry <bzg@gnu.org>
495
0fcd3d9f 496 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
497 enhancement. (Bug#12172)
498
1b15d8ad
AS
4992012-08-13 Andreas Schwab <schwab@linux-m68k.org>
500
31e54db0
AS
501 * tar-mode.el (tar-header-data-end): Only ignore size for files of
502 type 1-6.
503 (tar-header-block-summarize, tar-get-descriptor): Handle pax
504 extended headers.
505
1b15d8ad
AS
506 * files.el (hack-local-variables-filter): Remove useless eval.
507
35cb9c06
MR
5082012-08-13 Martin Rudalics <rudalics@gmx.at>
509
510 * subr.el (with-selected-window): Fix last change.
511
1439443b
SM
5122012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * subr.el (internal--before-with-seleted-window)
515 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
516 (with-selected-window): Use them, to replace dependency on
517 tty-top-frame.
1439443b 518
0d9e2599
NN
5192012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
520
521 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
522 binding for `newline'.
523 (ruby-move-to-block): When moving backward, stop at block opening,
524 not indentation.
525 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
526 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
527 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
528 `ruby-toggle-block'.
529
ba10c48c
SM
5302012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * ibuffer.el (ibuffer-do-toggle-read-only):
533 * dired.el (dired-toggle-read-only):
534 * buff-menu.el (Buffer-menu-toggle-read-only):
535 * bindings.el (mode-line-toggle-read-only):
536 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
537
9229c658
AS
5382012-08-12 Andreas Schwab <schwab@linux-m68k.org>
539
540 * descr-text.el (describe-char): Put the overlays over the
541 "displayed as" character.
542
0fd09128
JB
5432012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
544
545 * calc/calc-units.el (math-default-units-table): Give an
546 initial value.
547 (math-put-default-units): Add options to put composite units and
548 unit systems in the default units table.
549 (calc-convert-units): Send composite units to
550 `math-put-default-units' when appropriate.
551
9ff9402d 5522012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 553
fbb5e336
GM
554 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
555
7aacaf15
GM
556 * tutorial.el (help-with-tutorial):
557 * emacs-lisp/copyright.el (copyright-update-directory):
558 * emacs-lisp/autoload.el (autoload-find-generated-file)
559 (autoload-find-file): Disable local eval: (for insurance).
560
f40b9f10
GM
561 * files.el (hack-local-variables-filter): If an eval: form is not
562 known to be safe, and enable-local-variables is :safe, then ignore
563 the form totally, as is done for non-eval forms. (Bug#12155)
564
daa9f1a6
SM
5652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
568 (rx-form): Simplify.
569
9cd80478
DG
5702012-08-09 Dmitry Gutov <dgutov@yandex.ru>
571
0d9e2599
NN
572 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
573 ?, _, and : are symbol constituents, ! is not (but kinda should be).
574 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
575 (ruby-syntax-propertize-function): Adjust for changes in
576 `ruby-syntax-propertize-heredoc'.
577
5782012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
579
9cd80478
DG
580 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
581 binding (use `M-;' instead).
9cd80478 582 (ruby-singleton-class-p): New function.
0d9e2599 583 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 584
d301b413
SM
5852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
588
1530c98e
CY
5892012-08-10 Chong Yidong <cyd@gnu.org>
590
591 * progmodes/python.el (python-shell-get-process-name): Don't mess
592 with same-window-buffer-names.
593
594 * eshell/eshell.el (eshell-add-to-window-buffer-names)
595 (eshell-remove-from-window-buffer-names): Make obsolete.
596 (eshell-buffer-name, eshell-unload-hook): Don't use them.
597 (eshell): Just use pop-to-buffer-same-window instead.
598
e1293765
CY
5992012-08-10 Chong Yidong <cyd@gnu.org>
600
601 * bindings.el: Bind M-= back to count-words-region.
602
603 * simple.el (count-words-region): Accept a prefix arg for acting
604 on the entire buffer.
605 (count-words--buffer-message): New helper function.
606
e1894109
SM
6072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
610 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
611 (event-start, event-end): Use posn-at-point to return a more
612 informative posn.
613 (posnp): New function.
614 * mouse.el (popup-menu-normalize-position): Use it.
615
c69f56a2
MY
6162012-08-10 Masatake YAMATO <yamato@redhat.com>
617
618 * mouse.el (popup-menu-normalize-position): New function.
619 (popup-menu): Use `popup-menu-normalize-position' to normalize
620 the form for POSITION argument.
621
622 * term/x-win.el (x-menu-bar-open):
623 Use the value returend from (posn-at-point) as position
624 passed to `popup-menu'.
625
31673780
JB
6262012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
627
628 * calc/calccomp.el (math-compose-expr): Add extra argument
629 indicating that parentheses should be put around products in
630 denominators. Give multiplication precedence over division during
631 composition.
632
dab7711b
CY
6332012-08-09 Chong Yidong <cyd@gnu.org>
634
dee4ef93
CY
635 * man.el (Man-switches, Man-sed-command, Man-awk-command)
636 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
637 (Man-untabify-command, manual-program): Convert to defcustom
638 (Bug#10429).
639
73e2bbc5
CY
640 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
641
3e861c8a
CY
642 * descr-text.el (describe-char): Don't insert extra newlines
643 (Bug#10127).
644
a9f5a649
CY
645 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
646 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
647
dab7711b
CY
648 * align.el (align-region): Delete temporary markers (Bug#10047).
649 Plus some code cleanups.
650
e0cc4efa
FEG
6512012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
652
653 * progmodes/python.el (python-pdbtrack-tracked-buffer)
654 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
655 (python-shell-internal-last-output): Use make-local-variable
656 instead of make-variable-buffer-local.
657
489af14f
FEG
6582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
659
660 * progmodes/python.el: Enhancements to forward-sexp.
661 (python-nav-forward-sexp): Rename from
662 python-nav-forward-sexp-function.
c69f56a2
MY
663 (python-nav--forward-sexp, python-nav--backward-sexp):
664 New functions.
489af14f 665
0fc50303
JB
6662012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
667
668 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
669 modes and simplification modes.
670
5d65606a
SM
6712012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * delsel.el (delete-selection-pre-hook): Don't propagate the
674 file-supersession signals (bug#12161).
675
4250fdf5
SM
6762012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
679 (cl-map-extents): Add compatibility aliases (bug#12135).
680
d9f9b465
MA
6812012-08-08 Michael Albinus <michael.albinus@gmx.de>
682
683 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
684 tests by `ignore-error'.
685 (tramp-find-shell): Open also a new shell, when cache is already
686 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
687
ce0fcefa
JL
6882012-08-08 Juri Linkov <juri@jurta.org>
689
690 * bookmark.el: Add `defaults' property to the bookmark record.
691 (bookmark-current-buffer): Doc fix.
692 (bookmark-make-record): Add `defaults' property with default values
693 to the bookmark record.
694 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
695 with `bookmark-insert-current-bookmark'.
696 (bookmark-set): Get `defaults' property from the bookmark record
697 and use it in `read-from-minibuffer'.
698 (bookmark-insert-current-bookmark): Remove function.
699
700 * info.el (Info-bookmark-make-record): Add `defaults' property
701 with values of canonical Info node name, the current Info file
702 name and the current Info node name. (Bug#12107)
703
53fa8652
JL
7042012-08-08 Juri Linkov <juri@jurta.org>
705
706 * files.el (basic-save-buffer): Use `buffer-name' as the default
707 of `read-file-name' when buffer is not visiting a file (bug#12128).
708
242c0a95
JL
7092012-08-08 Juri Linkov <juri@jurta.org>
710
711 * info.el (Info-isearch-search): Doc fix.
712 (Info-search): Change search-failed message from "initial node" to
713 "end of node" (bug#12078).
714 (Info-isearch-search): Change `isearch-string-state' to
715 `isearch--state-string'.
716
32ac3a6b
GM
7172012-08-08 Glenn Morris <rgm@gnu.org>
718
719 * language/persian.el: Remove file.
f8c1afd5 720 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
721 * loadup.el: Remove language/persian.
722
2c2d9c9c
OF
7232012-08-08 Óscar Fuentes <ofv@wanadoo.es>
724
725 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
726
2d79ec42
FEG
7272012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 * progmodes/python.el Fixed defsubst warning.
730 (python-syntax-context) Rename from python-info-ppss-context.
731 (python-syntax-context-type): Rename from
732 python-info-ppss-context-type.
733 (python-syntax-comment-or-string-p): Rename from
734 python-info-ppss-comment-or-string-p.
735
2bd255dd
JB
7362012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
737
738 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
739
c395097f
AS
7402012-08-07 Andreas Schwab <schwab@linux-m68k.org>
741
6125983e
AS
742 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
743 a defcustom that is quoted with backquote.
744
4250fdf5
SM
745 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
746 Fix handling of interactive spec when the body uses return.
651eaf36
AS
747 (math-do-arg-check, math-define-function-body): Use backquote forms.
748 * calc/calc-ext.el (math-defcache): Likewise.
749 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
750 * allout.el (allout-new-exposure): Likewise.
751 * calc/calcalg2.el (math-tracing-integral): Likewise.
752 * info.el (Info-last-menu-item): Likewise.
753 * emulation/vip.el (vip-loop): Likewise.
754 * textmodes/artist.el (artist-funcall): Likewise.
755 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
756 Construct menu-item directly.
757
4250fdf5
SM
758 * progmodes/autoconf.el (font-lock-syntactic-keywords):
759 Don't declare.
c395097f 760
5fb50dd3
CY
7612012-08-07 Chong Yidong <cyd@gnu.org>
762
763 * simple.el (deactivate-mark): Preserve text properties when
764 saving the primary selection (Bug#8384).
765
54eea618
KR
7662012-08-07 Kevin Ryde <user42@zip.com.au>
767
768 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
769 (woman-parse-numeric-value): On a bad .IP line, issue a warning
770 and continue processing (Bug#12110).
771
638eaeb9
SM
7722012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
775 syntax-propertize-function (bug#10095).
776
ea376861
SM
7772012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
778
f91b35be
SM
779 * help-fns.el (help-fns--key-bindings, help-fns--signature)
780 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
781 describe-function-1.
782 (describe-function-1): Use them. Move compiler macro after sig.
783 (help-fns--compiler-macro): Use function-get. Assume we're already in
784 standard-output. Adjust layout to new call order.
785
ea376861
SM
786 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
787 re-binding a symbol that has a symbol-macro (bug#12119).
788
d5be7bd0
MB
7892012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
790
791 * language/persian.el: New file. (Bug#11812)
792 * loadup.el: Add language/persian.el.
793
90749b53
CY
7942012-08-06 Chong Yidong <cyd@gnu.org>
795
796 * window.el (window--maybe-raise-frame): New function.
797 (window--display-buffer): Split off from here.
798 (display-buffer-reuse-window, display-buffer-pop-up-frame)
799 (display-buffer-pop-up-window, display-buffer-use-some-window):
800 Obey an inhibit-switch-frame action alist entry.
801 (display-buffer): Update doc.
802
803 * replace.el (occur-after-change-function): Avoid losing focus by
804 using the inhibit-switch-frame display parameter (Bug#12139).
805
ba7b0154
FEG
8062012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
807
808 Make internal shell process buffer names start with space.
809 * progmodes/python.el (python-shell-make-comint): Add optional
810 argument INTERNAL.
811 (run-python-internal): Use it.
812 (python-shell-internal-get-or-create-process): Check for new
813 internal buffer names.
814
5eaeacb5
GM
8152012-08-06 Glenn Morris <rgm@gnu.org>
816
e296d94b 817 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
818 Do less getting and setting of environment variables.
819
b7ccbdc2
CY
8202012-08-05 Chong Yidong <cyd@gnu.org>
821
777fe95e
CY
822 * proced.el (proced): Add substitution string to docstring to
823 trigger autoloading of the proced library on C-h f (Bug#1768).
824
4250fdf5
SM
825 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
826 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
827
828 * imenu.el (imenu-generic-expression): Move documentation here
829 from imenu--generic-function.
830 (imenu--generic-function): Refer to imenu-generic-expression.
831
9e3b7800 8322012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
833
834 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
835 indentation declaration.
836 (viper-loop): Add indentation declaration (Bug#7025).
837
e5d9c0d1
CY
8382012-08-05 Chong Yidong <cyd@gnu.org>
839
f0422feb
CY
840 * help-fns.el (describe-variable): Add hyperlink for
841 directory-local variables files. Improve buffer-local and
842 permanent-local reporting; suggested by MON KEY (Bug#6644).
843
844 * help-mode.el (help-dir-local-var-def): New button type.
845
e5d9c0d1
CY
846 * files.el (kill-buffer-hook): Provide a defvar.
847
a4f2deaa
GM
8482012-08-05 Glenn Morris <rgm@gnu.org>
849
850 * eshell/esh-ext.el (eshell/addpath):
851 Also update eshell-path-env. (Bug#12013)
852
a9dd5754
CY
8532012-08-05 Chong Yidong <cyd@gnu.org>
854
a4f2deaa 855 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 856
d014c740
CY
857 * fringe.el (fringe-styles): Add docstring.
858 (fringe--check-mode): New function.
859 (set-fringe-mode, set-fringe-style): Use it.
860 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
861
a9dd5754
CY
862 * files.el (set-auto-mode): Fix invalid setq call.
863
7c2dc8bd
SM
8642012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * isearch.el: Misc simplification; use defstruct.
867 (isearch-mode-map): Dense maps now work like sparse ones.
868 (isearch--state): New defstruct.
869 (isearch-string-state, isearch-message-state, isearch-point-state)
870 (isearch-success-state, isearch-forward-state)
871 (isearch-other-end-state, isearch-word-state, isearch-error-state)
872 (isearch-wrapped-state, isearch-barrier-state)
873 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
874 replaced by defstruct's accessors.
875 (isearch--set-state): Rename from isearch-top-state and change
876 calling convention.
877 (isearch-push-state): Use new isearch--get-state.
878 (isearch-toggle-word): Disable regexp when enabling word.
879 (isearch-message-prefix): Remove unused arg _c-q-hack.
880 (isearch-message-suffix): Remove unused arg _ellipsis.
881
7fcc0070
AS
8822012-08-04 Andreas Schwab <schwab@linux-m68k.org>
883
884 * simple.el (list-processes--refresh): For a server use :host or
885 :local as the address.
97ad0769 886 (list-processes): Doc fix.
7fcc0070 887
00340faf
MN
8882012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
889
890 * lisp/mpc.el: Support password in host argument.
891 (mpc--proc-connect): Parse and use new password element.
892 Set mpc-proc variable instead of returning process.
893 (mpc-proc): Adjust accordingly.
894
6dad7178
EZ
8952012-08-03 Eli Zaretskii <eliz@gnu.org>
896
18949c2f
EZ
897 * whitespace.el (whitespace-display-mappings): Use Unicode
898 codepoints, instead of emacs-mule codepoints. See
899 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
900 for the details.
901
6dad7178
EZ
902 * files.el (file-truename): Don't skip symlink-chasing part on
903 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
904 Windows into the loop that recursively chases symlinks.
905 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
906 MS-DOS.
907
385b0198
CY
9082012-08-03 Chong Yidong <cyd@gnu.org>
909
6200f3c4
CY
910 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
911
385b0198
CY
912 * sort.el (sort-regexp-fields): Doc fix.
913
b9e74744
TH
9142012-08-03 Tassilo Horn <tsdh@gnu.org>
915
916 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
917 labels regex position point at the expected place.
918
41013cb4
MK
9192012-08-03 MON KEY <monkey@sandpframing.com>
920
921 * net/imap.el (imap-interactive-login, imap-authenticate)
922 (imap-mailbox-lsub, imap-mailbox-list)
923 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
924 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
925 (imap-parse-response): Doc fix.
926
0ffee616
JT
9272012-08-03 João Távora <joaotavora@gmail.com>
928
929 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
930 if sexp scanning does not move point (Bug#5734).
931
cfcc9cc8
TH
9322012-08-02 Tassilo Horn <tsdh@gnu.org>
933
934 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
935 Add listings, minted, and ctable packages.
936 (reftex-label-alist-builtin): Move listings, minted, and ctable
937 entries before LaTeX.
a01bbb84 938 (reftex-label-alist): Docfix.
cfcc9cc8 939
66ec2442
BG
9402012-08-02 Bastien Guerry <bzg@gnu.org>
941
942 * replace.el (occur): Fix docstring (bug#12122).
943
837b365b
GM
9442012-08-02 Glenn Morris <rgm@gnu.org>
945
946 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
947
e098de97
PE
9482012-08-02 Paul Eggert <eggert@cs.ucla.edu>
949
950 Obsolete alias inactivate-current-input-method-function (Bug#10150).
951 * international/mule-cmds.el: Create
952 inactivate-current-input-method-function as an obsolete alias for
953 deactivate-current-input-method-function. See Katsumi Yamaoka in
954 <http://bugs.gnu.org/10150#46>.
955
a0f95636
JB
9562012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
957
958 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
959 of nested `if's.
960
0d26d7c4
GM
9612012-08-01 Glenn Morris <rgm@gnu.org>
962
963 * progmodes/autoconf.el (autoconf-definition-regexp):
964 Add AH_TEMPLATE, adjust submatch numbering.
965 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
966 (autoconf-current-defun-function): Update for above change.
967 (autoconf-current-defun-function): First skip to end of current word.
968
b686ba06
RS
9692012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
970
971 * calendar/cal-html.el (cal-html-insert-agenda-days):
972 Fix typo. (Bug#12018)
973
0d49da68
FEG
9742012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
975
976 Shell processes: enhancements to startup and CEDET compatibility.
977 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
978 (python-shell-make-comint): accept-process-output at startup.
979 (run-python-internal): Set inferior-python-mode-hook to nil.
980 (python-shell-internal-get-or-create-process): call sit-for.
981 (python-preoutput-result): Add obsolete alias.
982 (python-shell-internal-send-string): Use it.
983 (python-shell-send-setup-code): Remove call to
984 accept-process-output.
985
f1a71c6e
AS
9862012-07-31 Andreas Schwab <schwab@linux-m68k.org>
987
988 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
989 (Bug#12108)
990
d2605269
JB
9912012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
992
993 * calc-mode.el (calc-basic-simplification-mode): Rename from
994 `calc-limited-simplification-mode'.
995 (calc-alg-simplification-mode): New function.
d66060f8 996 (calc-set-simplify-mode): Adjust message.
f1a71c6e 997
d2605269
JB
998 * calc.el (calc-set-mode-line): Adjust mode line display for
999 basic simplification mode.
1000
1001 * calc-help.el (calc-m-prefix-help): Update help message.
1002
1003 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1004 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1005
a3827a43
BG
10062012-07-31 Bastien Guerry <bzg@gnu.org>
1007
1008 * man.el (man): Fix comment. (bug#12101)
1009
502e3f89
MR
10102012-07-31 Martin Rudalics <rudalics@gmx.at>
1011
1012 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1013 Don't return a non-nil value when no suitable buffer was found.
1014
d7714961
FEG
10152012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1016
1017 * progmodes/python.el (run-python-internal): Disable font lock for
1018 internal shells.
1019
1f45e27e
SM
10202012-07-30 Stefan Merten <smerten@oekonux.de>
1021
1022 * rst.el: Silence `checkdoc-ispell'.
1023 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1024 (rst-official-version, rst-official-cvs-rev)
1025 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1026 (rst-mode-map): New key binding.
1027
0aee6912
PE
10282012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1029
1030 Update .PHONY listings in makefiles.
1031 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1032 autoloads, update-subdirs, updates, bzr-update, update-authors,
1033 compile-onefile, compile-calc, backup-compiled-files,
1034 compile-after-backup, compile-one-process, mh-autoloads,
1035 bootstrap-clean, distclean, maintainer-clean.
1036
9052f9f0
JB
10372012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1038
1823ac5a
JB
1039 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1040 (calc-set-mode-line): Don't display "AlgSimp ".
1041
1042 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1043 (calc-lim-simplify-mode): New function.
1044 (calc-set-simplify-mode): Default to 'alg.
1045 (calc-default-simplify-mode): Make algebraic simplifications
1046 the default.
1047
1048 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1049 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1050
8d7c7eed 1051 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1052 indicate new simplification modes.
1053
1823ac5a
JB
1054 * calc/README: Mention new default simplification mode.
1055
9052f9f0
JB
1056 * calc/calc.el (math-normalize-error): New variable.
1057 (math-normalize): Set `math-normalize-error' to t
1058 when there's an error.
1059
1060 * calc/calc-alg.el (math-simplify): Don't simplify when
1061 `math-normalize' returns an error.
1062
20ba0cb4
EZ
10632012-07-29 Eli Zaretskii <eliz@gnu.org>
1064
1065 * international/mule-cmds.el (set-locale-environment): Revert last
1066 change, since display-graphic-p returns nil when this function is
1067 called during startup. Instead...
1068
1069 * term/w32console.el (terminal-init-w32console): ...setup the
1070 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1071
a5dcc929
JL
10722012-07-29 Juri Linkov <juri@jurta.org>
1073
1074 * simple.el (goto-line): Don't display default line number in the
1075 prompt because it should be displayed by `read-number' (bug#9952).
1076 Add the current line number to the defaults of `goto-line' to
1077 allow its easier modification by users with `M-n' (bug#9201).
1078
1079 * subr.el (read-number): Support multiple default values like in
1080 other minibuffer reading functions. Replace `read' with
1081 `string-to-number' for consistency with `number-to-string'.
1082
72b255c7
PE
10832012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1084
1085 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1086 * emulation/viper-init.el (viper-deactivate-input-method-action):
1087 Rename from viper-inactivate-input-method-action.
1088 (viper-deactivate-input-method):
1089 Rename from viper-inactivate-input-method.
1090 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1091 * international/mule-cmds.el (deactivate-input-method):
1092 Rename from inactivate-input-method.
1093 Also run input-method-deactivate-hook.
1094 (deactivate-current-input-method-function):
1095 Rename from inactivate-current-input-method-function.
1096 (input-method-deactivate-hook): New hook.
1097 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1098 (inactivate-input-method): Mark obsolete.
1099
72b255c7
PE
1100 * international/quail.el (quail-activate):
1101 Also run quail-deactivate-hook.
1102 (quail-deactivate): Rename from quail-inactivate.
1103 * international/robin.el (robin-activate):
1104 Also run robin-deactivate-hook.
1105 (robin-deactivate): Rename from robin-inactivate.
1106
2549c068
CY
11072012-07-29 Chong Yidong <cyd@gnu.org>
1108
1109 * simple.el (indicate-copied-region): New function.
1110 (kill-ring-save): Split off from here.
1111
1112 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1113 (kill-rectangle): Set deactivate-mark to t on read-only error.
1114
1115 * register.el (copy-to-register, copy-rectangle-to-register):
1116 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1117 (append-to-register, prepend-to-register):
1118 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1119
1120 * simple.el (async-shell-command-buffer): New defcustom.
1121 (shell-command): Use it. (Bug#4719)
1122
01bd1b0d
EZ
11232012-07-28 Eli Zaretskii <eliz@gnu.org>
1124
1125 * international/mule-cmds.el (set-locale-environment): In a
1126 console session on MS-Windows, set up keyboard and terminal
1127 encoding from the OEM codepage, not the ANSI codepage.
1128 (Bug#12055)
1129
a55739d3
CY
11302012-07-28 Chong Yidong <cyd@gnu.org>
1131
1132 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1133 gdb-get-location.
1134
0e1a094f 11352012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1136
1137 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1138 the alist (bug#12029).
1139
20329d73
EZ
11402012-07-28 Eli Zaretskii <eliz@gnu.org>
1141
1142 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1143 (compile-always, compile-first)
1144 ($(lisp)/calendar/cal-loaddefs.el)
1145 ($(lisp)/calendar/diary-loaddefs.el)
1146 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1147 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1148 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1149 instead of on update-subdirs.
1150 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1151
345a2258
CY
11522012-07-28 Chong Yidong <cyd@gnu.org>
1153
1eee6341
CY
1154 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1155 directory if vc-deduce-backend returns nil (Bug#7350).
1156
345a2258
CY
1157 * simple.el (delete-trailing-lines): New option.
1158 (delete-trailing-whitespace): Obey it (Bug#11879).
1159
049a0936
DE
11602012-07-28 David Engster <deng@randomsample.de>
1161
1162 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1163 Explanation of new 'symbol-qnames feature in doc-strings.
1164 (xml-maybe-do-ns): Return expanded names as plain symbols if
1165 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1166 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1167
aa81af71
FEG
11682012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1169
1170 Consistent completion in inferior python with emacs -nw.
1171 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1172 binding in inferior-python-mode-map with "\t".
1173 (python-shell-completion-complete-at-point)
1174 (python-completion-complete-at-point): Remove interactive spec.
1175
e827b1eb
JB
11762012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1177
1178 * calc/calccomp.el (math-compose-expr): Undo previous change.
1179
a90dfb95
FEG
11802012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1181
4250fdf5 1182 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1183 run-python.
1184 (python-shell-make-comint): Fix pop-to-buffer call.
1185 (run-python): Autoload. New arg SHOW.
1186 (python-shell-get-or-create-process): Do not pop python process
1187 buffer.
1188
32770973 11892012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1190
1191 * notifications.el (notifications-on-action-signal)
1192 (notifications-on-closed-signal): Use also the bus address for the map.
1193 (notifications-notify, notifications-close-notification)
1194 (notifications-get-capabilities): Add optional argument BUS.
1195
86332df2
TH
11962012-07-27 Tassilo Horn <tsdh@gnu.org>
1197
4250fdf5
SM
1198 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1199 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1200 ctable macro.
1201 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1202 labels written in keyvals syntax.
1203
ca1302a4
JB
12042012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1205
1206 * calc/calccomp.el (math-compose-expr): Use parentheses when
1207 there is a product in the denominator of a fraction.
1208
f8b91036
EZ
12092012-07-26 Eli Zaretskii <eliz@gnu.org>
1210
1211 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1212 ($(lisp)/calendar/diary-loaddefs.el)
1213 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1214 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1215 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1216 rewritten while the autoload files are built at the same time,
1217 which needs to load subdirs.el.
1218
c8e5a42c
MR
12192012-07-26 Martin Rudalics <rudalics@gmx.at>
1220
1221 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1222 (mouse-drag-line): Don't exit tracking when a switch-frame or
1223 switch-window event occurs (Bug#12006).
1224
670d85ea
SM
12252012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * mouse.el (popup-menu): Fix last change.
1228
7abaf5cc
SM
12292012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 Autoload from Lisp with more care. Follow aliases when looking for
1232 function properties.
1233 * subr.el (autoloadp): New function.
1234 (symbol-file): Use it.
1235 (function-get): New function.
1236 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1237 autoload-do-load.
1238 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1239 (lisp-indent-function):
1240 * emacs-lisp/gv.el (gv-get):
1241 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1242 * emacs-lisp/byte-opt.el (byte-optimize-form):
1243 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1244 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1245 Use function-get.
1246 * emacs-lisp/cl.el: Don't propagate function properties any more.
1247
1248 * speedbar.el (speedbar-add-localized-speedbar-support):
1249 * emacs-lisp/disass.el (disassemble-internal):
1250 * desktop.el (desktop-load-file):
1251 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1252 (describe-function-1):
1253 * emacs-lisp/find-func.el (find-function-noselect):
1254 * emacs-lisp/elp.el (elp-instrument-function):
1255 * emacs-lisp/advice.el (ad-has-proper-definition):
1256 * apropos.el (apropos-safe-documentation, apropos-macrop):
1257 * emacs-lisp/debug.el (debug-on-entry):
1258 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1259 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1260 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1261
b1364986
AA
12622012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1263
1264 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1265 function, not an obsolete variable (Bug#12046).
1266
67ada220
AS
12672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1268
1269 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1270
f08088e3
CS
12712012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1272
1273 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1274 window only if it is still live (Bug#12034).
1275
8137e7b3
MR
12762012-07-25 Martin Rudalics <rudalics@gmx.at>
1277
1278 * subr.el (redirect-frame-focus): Add advertised calling
1279 convention (Bug#12030).
1280
09ae5da1
PE
12812012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1282
1283 Prefer typical American spelling for "acknowledgment".
1284 * vc/add-log.el (change-log-acknowledgment): Rename from
1285 change-log-acknowledgement, with an alias for the old name.
1286
3cc5a3a8
JB
12872012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1288
1289 * calc-alg.el (math-simplify-divide): Don't cross multiply
1290 in an equation when the lhs is a variable.
1291
b7af7f62
JD
12922012-07-24 Julien Danjou <julien@danjou.info>
1293
1294 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1295 Remove, unused.
1296
ec1b09b1
EZ
12972012-07-23 Eli Zaretskii <eliz@gnu.org>
1298
1299 * startup.el (command-line): Don't display an empty user name in
1300 the error message about non-existent home directory, when
1301 init-file-user was set to an empty string. See
1302 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1303 for the details and context.
1304
b525fd8a
VB
13052012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1306
1307 * ses.el (ses-cell-formula-aset): New macro.
1308 (ses-cell-references-aset): New macro.
1309 (ses-cell-p): New function.
1310 (ses-rename-cell): Do no longer rely on complex operations like
1311 ses-cell-set-formula or ses-set-cell to change the cell and handle
1312 the undo at the same time, but rather use lower level new macros
1313 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1314 the undo directly. Refresh the mode line.
1315
2c73e345
LL
13162012-07-21 Leo Liu <sdl.web@gmail.com>
1317
670d85ea
SM
1318 * progmodes/cc-cmds.el (c-defun-name):
1319 Use match-string-no-properties instead for consistency.
2c73e345 1320
542dfbde
LL
13212012-07-20 Leo Liu <sdl.web@gmail.com>
1322
3646bcd6
LL
1323 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1324 (Bug#7879)
1325
542dfbde
LL
1326 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1327
25721031
CY
13282012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1331 * progmodes/bug-reference.el, misearch.el: Provide themselves
1332 (bug#11915).
1333
1334 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1335 of narrowed buffer (bug#11966).
1336
316e68a7
VB
13372012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1338
1339 * ses.el (ses-rename-cell): Set new name also in reference list of
1340 cells of which the renamed cell depends.
1341
bbf0e7d9
MY
13422012-07-20 Masatake YAMATO <yamato@redhat.com>
1343
1344 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1345 to check whether menu-bar is shown or not. If not shown,
1346 show the menu-bar as a popup menu instead of using tmm.
1347 * mouse.el (popup-menu): Accept `point' as `position' argument.
1348
c28662a8
DG
13492012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1350
1351 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1352 up inside string symbol literal (bug#11923).
1353
87ab808f
EZ
13542012-07-20 Eli Zaretskii <eliz@gnu.org>
1355
1356 * startup.el (fancy-startup-text): Read the whole tutorial, not
1357 just its first 256 bytes. Prevents gibberish in display of the
1358 tutorial title.
1359
89dea803
DA
13602012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1361
1362 Drop idle buffer compaction due to an absence of the
1363 proved efficiency.
1364 * compact.el: Remove.
1365
8a4e6db8
SS
13662012-07-19 Sam Steingold <sds@gnu.org>
1367
1368 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1369 vc-bzr-pull & vc-bzr-merge-branch.
1370 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1371 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1372 for consistency with compilation-error-regexp-alist.
1373 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1374 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1375 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1376 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1377
5db81e33
SM
13782012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * emacs-lisp/chart.el: Use lexical-binding.
1381 (chart-emacs-storage): Don't hardcode the list of entries.
1382
5b835e1d
DA
13832012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1384
1385 Next round of tweaks caused by Fgarbage_collect changes.
1386 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1387
9cd47b72
DA
13882012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1389
1390 Compact buffers when idle.
1391 * compact.el: New file.
1392
1d6fc0df
SM
13932012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * subr.el (eventp): Presume that if it looks vaguely like an event,
1396 it's an event (bug#10190).
1397
1d29cc7d
FEG
13982012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1399
1400 Enhancements to ppss related code (thanks Stefan).
1401 * progmodes/python.el (python-indent-context)
1402 (python-indent-calculate-indentation, python-indent-dedent-line)
1403 (python-indent-electric-colon, python-nav-forward-block)
1404 (python-mode-abbrev-table)
1d6fc0df 1405 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1406 for ppss context.
1407 (python-info-continuation-line-p): Cleanup.
1408 (python-info-ppss-context): Do not catch 'quote.
1409 (python-info-ppss-context-type)
1410 (python-info-ppss-comment-or-string-p): Simplify.
1411
d583cbe6
FEG
14122012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1413
1414 * progmodes/python.el: Enhancements to eldoc support.
1415 (python-info-current-symbol): New function.
1416 (python-eldoc-at-point): Use python-info-current-symbol.
1417 (python-info-current-defun): Fix cornercase on first defun scan.
1418 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1419 and signal error when no inferior python process is available.
1420
eceb6feb
DG
14212012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1422
1423 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1424 assume it's always t.
1425 (vc-git-registered): Remove caching, the function is only called
1426 once.
1427 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1428
4c8ff0fe
CY
14292012-07-18 Chong Yidong <cyd@gnu.org>
1430
19fb7186
CY
1431 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1432
9587c688
CY
1433 * simple.el (count-words): Report on narrowing (Bug#9959).
1434
0fe776a1
CY
1435 * bindings.el: Bind M-= to count-words.
1436
4c8ff0fe
CY
1437 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1438
7f5331cc
MY
14392012-07-18 Masatake YAMATO <yamato@redhat.com>
1440
1441 * progmodes/sh-script.el (sh-imenu-generic-expression):
1442 Capture a function with `function' keyword and without parentheses
1443 like "function FOO" (bug#11856).
1444
2dc2a609
TH
14452012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1446
1447 * window.el (split-window-sensibly): Make WINDOW argument
1448 optional.
1449
439f7677
CY
14502012-07-18 Chong Yidong <cyd@gnu.org>
1451
9aeb25a6
CY
1452 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1453
439f7677
CY
1454 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1455 and make C-x 8 RET exit isearch (Bug#11439).
1456
1457 * international/iso-transl.el: Move isearch-mode-map key
1458 definitions to isearch.el.
1459
12999ea8
SM
14602012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1461
1462 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1463 (eieio-defclass): Use gv-define-setter when possible.
1464
3ab6e069
DA
14652012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1466
1467 Reflect recent changes in Fgarbage_collect.
1468 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1469 reflect new format of data returned by Fgarbage_collect.
1470
0a60bc10
FEG
14712012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1472
1473 New utility functions + python-info-ppss-context fix (Bug#11910).
1474 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1475 (python-info-ppss-comment-or-string-p): New functions.
1476 (python-info-ppss-context): Small fix for string check.
1477
6dafa0d5
JL
14782012-07-17 Juri Linkov <juri@jurta.org>
1479
1480 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1481 (dired-do-async-shell-command): Don't add `*' at the end of the
1482 command (Bug#11815).
1483 (dired-do-shell-command): Doc fix.
1484 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1485 Join the individual commands using either "&" or ";" as the
1486 separator depending on the values of these trailing characters.
1487 At the end re-add the trailing "&". (Bug#10598)
1488
1489 * simple.el (async-shell-command): Sync the interactive spec with
1490 `shell-command'. Doc fix.
1491 (shell-command): Doc fix.
1492
b19dd9d1
JL
14932012-07-17 Juri Linkov <juri@jurta.org>
1494
1495 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1496
bcdc27d7 14972012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1498
bcdc27d7 1499 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1500 * progmodes/python.el (python-nav-beginning-of-statement):
1501 Rename from python-nav-statement-start.
bcdc27d7
FEG
1502 (python-nav-end-of-statement): Rename from
1503 python-nav-statement-end.
1504 (python-nav-beginning-of-block): Rename from
1505 python-nav-block-start.
1506 (python-nav-end-of-block): Rename from python-nav-block-end.
1507
191da00e
FEG
15082012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1509
7f5331cc
MY
1510 * progmodes/python.el (python-shell-send-string-no-output):
1511 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1512 future interactions (Bug#11868).
1513
4dc7c8d5 15142012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1515
88ecaf8f
SM
1516 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1517
ef501ef0
SM
1518 * emacs-lisp/elint.el (elint-find-args-in-code):
1519 Use help-function-arglist, so as to handle lexical byte-code.
1520
aa7aaf8f
SM
1521 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1522 change (bug#11826).
1523
45fd731c
SM
15242012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1525
2143fa32
SM
1526 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1527 Avoid spuriously marking the buffer as modified because of c-is-sws.
1528
efc26dbe
SM
1529 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1530 as not-a-comment (bug#11946).
1531
f5695c9a
SM
1532 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1533 for uninterned vars.
1534
1535 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1536 Use read-event since we don't really want to read chars but bytes.
1537
45fd731c
SM
1538 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1539 $$..$$ but also $..$ using regexps (bug#11953).
1540 Use tex-verbatim for \url and \path.
1541 (tex-font-lock-keywords): Define as defconst like the others.
1542 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1543
ddfc8813
RK
15442012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1545
1546 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1547 alias for insert-char.
1548
758e556a
FEG
15492012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1550
1551 * progmodes/python.el: Simplified imenu implementation.
1552 (python-nav-jump-to-defun): Remove command.
1553 (python-mode-map): Use `imenu' instead.
1554 (python-nav-list-defun-positions-cache)
1555 (python-imenu-include-defun-type, python-imenu-make-tree)
1556 (python-imenu-subtree-root-label, python-imenu-index-alist):
1557 Remove vars.
1558 (python-nav-list-defun-positions, python-nav-read-defun)
1559 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1560 (python-imenu-make-tree, python-imenu-create-index):
1561 Remove functions.
758e556a
FEG
1562 (python-mode): Update to interact with imenu by setting
1563 `imenu-extract-index-name-function' only.
1564
032d23ab
FEG
15652012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1566
1567 * progmodes/python.el: Enhancements to navigation commands.
1568 (python-nav-backward-sentence)
1569 (python-nav-forward-sentence): Remove.
1570 (python-nav-backward-statement, python-nav-forward-statement)
1571 (python-nav-statement-start, python-nav-statement-end)
1572 (python-nav-backward-block, python-nav-forward-block)
1573 (python-nav-block-start, python-nav-block-end)
1574 (python-nav-forward-sexp-function)
1575 (python-info-current-line-comment-p)
1576 (python-info-current-line-empty-p): New functions.
1577 (python-indent-context): Use `python-nav-statement-start'.
1578
01795a1b
MA
15792012-07-16 Michael Albinus <michael.albinus@gmx.de>
1580
9328d9aa
MA
1581 * eshell/em-ls.el (eshell/ls): Use `apply'.
1582
1583 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1584 multi-hops, instead of Tramp internals.
1585
01795a1b
MA
1586 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1587
1588 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1589 when F1 and F2 are located on different hosts.
1590
63408057
CY
15912012-07-14 Chong Yidong <cyd@gnu.org>
1592
1593 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1594 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1595 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1596 (xterm-mouse--read-event-sequence-1000)
1597 (xterm-mouse--read-event-sequence-1006): New functions. For old
1598 mouse protocol, handle M-mouse-X events correctly.
1599 (xterm-mouse-event): New arg specifying mouse protocol.
1600 (turn-on-xterm-mouse-tracking-on-terminal)
1601 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1602 sequence to toggle extended coordinates on newer XTerms.
1603 This appears to be harmless on terminals which do not support this.
63408057 1604
cd276f6e
LL
16052012-07-14 Leo Liu <sdl.web@gmail.com>
1606
28ca98ac
LL
1607 Add fringe bitmap indicators for flymake. (Bug#11253)
1608 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1609 (flymake-make-overlay): New arg BITMAP.
1610 (flymake-error-bitmap, flymake-warning-bitmap)
1611 (flymake-fringe-indicator-position): New user variables.
1612
cd276f6e
LL
1613 * fringe.el: New bitmap exclamation-mark.
1614
04408072
JD
16152012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1616
1617 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1618 also (Bug#7879).
1619
b5cf7fc4
CY
16202012-07-14 Chong Yidong <cyd@gnu.org>
1621
1622 * electric.el (electric-pair-post-self-insert-function): Fix pair
1623 insertion in empty-region case (Bug#11520).
1624
be755c79
RT
16252012-07-14 Chong Yidong <cyd@gnu.org>
1626
45fd731c
SM
1627 * bindings.el: Consolidate ctl-x-r-map bindings.
1628 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1629
1630 * rect.el, register.el: Move bindings to bindings.el.
1631
16322012-07-14 Reuben Thomas <rrt@sc3d.org>
1633
1634 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1635
7f5b3198
AS
16362012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1637
1638 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1639
97662200
JB
16402012-07-13 Juanma Barranquero <lekktu@gmail.com>
1641
80185fed
JB
1642 * bindings.el (top): Use `mapc' instead of `mapcar'.
1643
97662200
JB
1644 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1645
2bb1ae55
MA
16462012-07-13 Michael Albinus <michael.albinus@gmx.de>
1647
1648 * progmodes/sql.el (sql-comint): Suppress the check for program on
1649 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1650 (Bug#11908)
1651
dea31bd3
CY
16522012-07-13 Chong Yidong <cyd@gnu.org>
1653
1654 * bindings.el: Assign a non-nil permanent-local property to
1655 per-buffer variables which lack a default value (Bug#11930).
1656
1657 * help-fns.el (describe-variable): In the "automatically becomes
1658 local" notice, take note of permanent-local variables.
1659
b68b3337
CY
16602012-07-13 Chong Yidong <cyd@gnu.org>
1661
1662 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1663 to allow printing the message when called from Lisp.
1664
1665 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1666 Remove toggle-read-only.
1667
1668 * bs.el (bs-toggle-readonly):
45fd731c
SM
1669 * buff-menu.el (Buffer-menu-toggle-read-only):
1670 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1671
1672 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1673 Remove with-no-warnings around toggle-read-only.
1674 (ffap-read-only, ffap-read-only-other-window)
1675 (ffap-read-only-other-frame): Callers changed.
1676
1677 * help-mode.el: Don't require view package.
1678 (help-mode-finish): Set buffer-read-only instead of calling
1679 toggle-read-only.
1680
1681 * bindings.el (mode-line-toggle-read-only):
1682 * dired.el (dired-toggle-read-only):
1683 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1684 with non-nil second arg.
1685
1686 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1687 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1688 directly.
1689
56bc1586
EZ
16902012-07-12 Eli Zaretskii <eliz@gnu.org>
1691
1692 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1693 not incf.
1694
a464a6c7
SM
16952012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 More CL cleanups and reduction of use of cl.el.
1698 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1699 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1700 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1701 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1702 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1703 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1704 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1705 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1706 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1707 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1708 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1709 * eshell/em-cmpl.el, eshell/em-banner.el:
1710 * calendar/parse-time.el: Use cl-lib.
1711 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1712 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1713 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1714 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1715 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1716 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1717 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1718 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1719 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1720 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1721 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1722 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1723 `lambda' rather than with `quote'.
1724 (eshell-do-opt): Adjust accordingly.
1725 (eshell-process-option): Simplify.
1726 * eshell/esh-var.el:
1727 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1728 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1729 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1730 to `pcase--dontcare'.
1731 * emacs-lisp/cl.el (labels): Mark obsolete.
1732 (cl--letf, letf): Move to cl-lib.
1733 (cl--letf*, letf*): Remove.
1734 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1735 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1736 (cl-progv): Rewrite.
1737 (cl--letf, cl-letf): Move from cl.el.
1738 (cl-letf*): New macro.
1739 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1740
7ad4afe1
MA
17412012-07-11 Michael Albinus <michael.albinus@gmx.de>
1742
1743 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1744
9af57756
CY
17452012-07-11 Chong Yidong <cyd@gnu.org>
1746
1747 * vc/log-edit.el (log-edit-vc-backend): New variable.
1748 (log-edit): Doc fix.
1749
1750 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1751 argument of log-edit to set up all local variables.
1752 (vc-start-logentry): New optional arg specifying VC backend.
1753
1754 * vc/vc.el (vc-checkin): Use it.
1755 (vc-deduce-fileset): Handle Log Edit buffers.
1756 (vc-diff): Make first argument optional too.
1757
1758 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1759
8477cc7a
MA
17602012-07-10 Michael Albinus <michael.albinus@gmx.de>
1761
1762 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1763 command, just in case. The function is not needed anymore.
1764 (eshell-external-command): Do not call `eshell-remote-command'.
1765
19faa8e8
SM
17662012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1767
f58e0fd5
SM
1768 Reduce use of (require 'cl).
1769 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1770 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1771 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1772 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1773 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1774 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1775 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1776 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1777 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1778 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1779 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1780 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1781 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1782 (byte-compile-unfold-bcf, byte-compile-check-variable):
1783 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1784 (byte-compile-nilconstp):
1785 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1786 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1787
2519d43a
SM
1788 * emacs-lisp/gv.el (cond): Make it a valid place.
1789 (if): Simplify slightly.
1790
19faa8e8
SM
1791 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1792 (pcase--self-quoting-p): New function.
1793 (pcase--u1): Use it.
1794
c4907a5e
GM
17952012-07-10 Glenn Morris <rgm@gnu.org>
1796
1797 * emacs-lisp/authors.el (authors-fixed-entries):
1798 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1799
c4444d16
PE
18002012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1801
1802 Rename configure.in to configure.ac (Bug#11603).
1803 * emacs-lisp/authors.el (authors-canonical-file-name):
1804 * progmodes/autoconf.el (autoconf-mode):
1805 Prefer configure.ac to configure.in.
1806
d75be97d
CY
18072012-07-08 Chong Yidong <cyd@gnu.org>
1808
01ac65bd
CY
1809 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1810 Implement the mouse-1-click-follows-link handling properly.
1811
1812 * info.el (Info-link-keymap): Use follow-link mechanism for
1813 header-line links (Bug#374).
1814
d75be97d
CY
1815 * simple.el (deactivate-mark): Do not set the primary selection
1816 if another program has acquired it (Bug#11772).
1817
87a92845 18182012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1819
1820 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1821 (woman-decode-region): Replace escaped-escapes without destroying
1822 bold or underline (Bug#11552).
87a92845 1823 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1824
621b9d6c
CY
18252012-07-07 Chong Yidong <cyd@gnu.org>
1826
1827 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1828 (interprogram-cut-function, interprogram-paste-function):
1829 Mention that we typically mean the clipboard.
621b9d6c 1830
133a11fc
GM
18312012-07-06 Glenn Morris <rgm@gnu.org>
1832
0d27a45e
GM
1833 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1834
133a11fc
GM
1835 * files.el (toggle-read-only): Restrict message to interactive use.
1836
07b151f1
MA
18372012-07-06 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1840
1841 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1842
211b896b
GM
18432012-07-06 Glenn Morris <rgm@gnu.org>
1844
50394322
GM
1845 * Makefile.in (compile-one-process): Rename from "recompile".
1846
211b896b
GM
1847 * Makefile.in (bzr-update): "compile" is the same as "recompile
1848 autoloads", but parallelizable, so use that instead.
1849
4737eec9
DG
18502012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * window.el (quit-window): Always restore window height when
8137e7b3 1853 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1854
226c3633 18552012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1856
1857 * simple.el (kill-whole-line): Doc tweak.
1858
226c3633 18592012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1860
1861 * files.el (file-relative-name): Compare file names
1862 case-insensitively if on MS-Windows or MS-DOS, or if
1863 read-file-name-completion-ignore-case is non-nil. Don't use
1864 case-fold-search for this purpose. (Bug#11827)
1865
4dc7c8d5
SM
18662012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1867
1868 * calendar/cal-dst.el (calendar-current-time-zone):
1869 Return calendar-current-time-zone-cache if non-nil.
1870
18712012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 18722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1873
19faa8e8
SM
1874 * calendar/cal-dst.el (calendar-current-time-zone):
1875 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1876
60198fc9
GM
18772012-07-06 Glenn Morris <rgm@gnu.org>
1878
1879 * Makefile.in (cvs-update): Remove old alias.
1880
957b3189
MA
18812012-07-05 Michael Albinus <michael.albinus@gmx.de>
1882
1883 Sync with Tramp 2.2.6-pre.
1884
1885 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1886 compatible declaration.
1887
19faa8e8
SM
1888 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1889 Protect `list-load-path-shadows' call.
957b3189
MA
1890
1891 * net/tramp-compat.el (top): Require packages, which aren't
1892 autoloaded anymore for XEmacs. Protect call of
1893 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1894 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1895 it hurts at least for SXEmacs.
1896 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1897 standard-value for `temporary-file-directory'.
1898
1899 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1900 Redirect stderr to /dev/null.
1901 (tramp-sh-handle-write-region): uid and gid can be floats.
1902 Reported by Russell Sim <russell.sim@gmail.com>.
1903 (tramp-sh-handle-vc-registered): Hide errors.
1904 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1905 and `start-file-process'.
1906 (tramp-maybe-open-connection): Check also whether `non-essential'
1907 is bound.
1908
566df3fc
CY
19092012-07-04 Chong Yidong <cyd@gnu.org>
1910
1911 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1912 (xml-parse-tag): Likewise, and avoid changing entity tables.
1913 (xml-syntax-table): Define from scratch, making sure not to give
1914 x2000 and other Unicode spaces whitespace syntax, since those are
1915 not spaces in XML.
1916 (xml-parse-fragment): Delete unused function.
1917 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1918 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1919 (xml-entity-ref, xml-pe-reference-re)
1920 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1921 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1922 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1923 (xml-entity-value-re): Use syntax references in regexps where
1924 possible; no need to define inside a let-binding.
1925 (xml-parse-dtd): Use xml-pe-reference-re.
1926 (xml-entity-or-char-ref-re): New defconst.
1927 (xml-parse-string, xml-substitute-special): Use it.
1928
30eabd7a
SM
19292012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1930
0781098a
SM
1931 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1932 (find-file--read-only): New function.
1933 (find-file-read-only, find-file-read-only-other-window)
1934 (find-file-read-only-other-frame): Use it.
1935 (insert-file-contents-literally): Don't `fset'.
1936 (get-free-disk-space): Use locate-dominating-file.
1937
b5771c0d
SM
1938 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1939 function is already compiled.
1940
30eabd7a
SM
1941 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1942
b4886f6e
MA
19432012-07-03 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1946 files on the same host.
1947
b9d82339
AS
19482012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1949
1950 * help-fns.el (describe-function-1): Only call
1951 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1952
a76e6535
CY
19532012-07-03 Chong Yidong <cyd@gnu.org>
1954
1955 * xml.el: Protect parser against XML bombs.
1956 (xml-entity-expansion-limit): New variable.
1957 (xml-parse-string, xml-substitute-special): Use it.
1958 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1959
b544fef2
GM
19602012-07-03 Glenn Morris <rgm@gnu.org>
1961
1962 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1963 Allow linking to specific messages in debbugs reports (eg 123#5).
1964
a7aef6f5
CY
19652012-07-02 Chong Yidong <cyd@gnu.org>
1966
1967 * xml.el: Fix entity and character reference expansion, allowing
1968 them to expand into markup as per XML spec.
1969 (xml-default-ns): New variable.
1970 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1971 (xml-parse-region): Make first two arguments optional.
1972 Discard text properties.
1973 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1974 All callers changed.
a7aef6f5
CY
1975 (xml-parse-tag): Call xml-parse-tag-1. For backward
1976 compatibility, this function should not modify buffer contents.
1977 (xml-parse-tag-1): Fix opening-tag regexp.
1978 (xml-parse-string): Rewrite, handling entity and character
1979 references properly.
1980 (xml--entity-replacement-text): Signal an error if a parameter
1981 entity is undefined.
1982
3df31c9f
SM
19832012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1984
2b5208f1
SM
1985 * comint.el (comint-output-filter): Filter out repeated prompts.
1986
3df31c9f
SM
1987 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1988 and file-name-absolute-p.
1989 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1990 internal calls.
1991
e3ac1281
PE
19922012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1993
1994 Spelling fixes.
1995 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1996 Rename from byte-compile--refiy-function. All uses changed.
1997
fbf2e7ad
CY
19982012-07-01 Chong Yidong <cyd@gnu.org>
1999
2000 * xml.el (xml--parse-buffer): New function. Move most of
2001 xml-parse-region here.
2002 (xml-parse-region): Copy region into a temporary buffer, since
2003 parameter entity substitution requires changing buffer contents.
2004 Use xml--parse-buffer.
2005 (xml-parse-file): Use xml--parse-buffer.
2006 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2007 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2008
9bf0aa15
GM
20092012-06-30 Glenn Morris <rgm@gnu.org>
2010
bbce2853
GM
2011 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2012
9bf0aa15
GM
2013 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2014 Remove outdated and unnecessary dbus declarations.
2015
0d23c240
EZ
20162012-06-30 Eli Zaretskii <eliz@gnu.org>
2017
2018 * emacs-lisp/timer.el (timer-until): Subtract results of
2019 float-time, instead of taking float-time of the result of
2020 time-subtract, since float-time signals an error for negative time
2021 arguments.
2022
b3218de1
CY
20232012-06-30 Chong Yidong <cyd@gnu.org>
2024
2025 * xml.el (xml-*-re): Convert defvars into defconsts, and
2026 eval-and-compile them so eval-and-compile works on derivatives.
2027 (xml--entity-replacement-text): Use eval-and-comple.
2028
a40c87a0
MA
20292012-06-30 Michael Albinus <michael.albinus@gmx.de>
2030
2031 * vc/vc-git.el (vc-git-registered): Use cache property
2032 `git-registered'.
2033 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2034 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2035 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2036
ac87de97
DG
20372012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2038
2039 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2040 removed (likely outside Emacs). (Bug#11757)
ac87de97 2041
ac10fe06
SM
20422012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2043
3df31c9f 2044 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2045
7f3fbd5d
CY
20462012-06-30 Chong Yidong <cyd@gnu.org>
2047
2048 * xml.el: Implement XML parameter entities.
2049 (xml-parameter-entity-alist): New variable.
2050 (xml-parse-region, xml-parse-fragment): Preserve previous values
2051 of xml-entity-alist and xml-parameter-entity-alist, so that
2052 repeated calls on different documents do not change them.
2053 (xml-parse-tag): Fix doctype regexp.
2054 (xml--entity-replacement-text): New function.
2055 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2056 properly requires url retrieval which is unimplemented.
2057 (xml-escape-string): Doc fix.
2058
3cfbebba
SM
20592012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2060
2061 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2062
2af3565e
DA
20632012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2064
2065 * fringe.el (fringe-mode): Doc fix.
2066
929df0e7
MA
20672012-06-29 Michael Albinus <michael.albinus@gmx.de>
2068
2069 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2070 is non-nil.
2071 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2072 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2073
c8d3a25c 20742012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2075
c8d3a25c
GM
2076 * calendar/cal-dst.el (calendar-current-time-zone):
2077 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2078
c8d3a25c 20792012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2080
2081 * progmodes/which-func.el (which-func-format):
2082 Add mouse-face. (Bug#11698)
2083
c8d3a25c
GM
20842012-06-29 Leo Liu <sdl.web@gmail.com>
2085
2086 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2087
20882012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * minibuffer.el (minibuffer-confirm-exit-commands):
2091 Add completion-at-point (bug#11725).
2092
20932012-06-29 Glenn Morris <rgm@gnu.org>
2094
2095 * progmodes/f90.el (f90-font-lock-keywords-2):
2096 Add some preprocessor elements. (Bug#10499)
2097
20982012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2101 Use syntax-propertize (bug#11739).
2102
2badeec4
JB
21032012-06-28 Juanma Barranquero <lekktu@gmail.com>
2104
2105 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2106
ae4969c2
JD
21072012-06-28 Julien Danjou <julien@danjou.info>
2108
2109 * term.el (term-handle-colors-array): Use a set of new faces to
2110 color the terminal. Also uses :inverse-video property.
2111 (term-default-fg-color): Set to nil by default, deprecate in favor
2112 of `term-face'.
2113 (term-default-bg-color): Set to nil by default, deprecate in favor
2114 of `term-face'.
2115 (term-current-face): Use `term-face' by default.
2116 (term-bold-attribute): Variable deleted.
2117
1c9bd870
GM
21182012-06-28 Glenn Morris <rgm@gnu.org>
2119
2120 * simple.el (completion-list-mode-finish):
2121 Don't use toggle-read-only. (Since completion-list-mode has
2122 a special mode-class, it wasn't doing anything extra anyway.)
2123
c207708c
SM
21242012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 Make inlining of other-mode interpreted functions work (bug#11799).
2127 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2128 (byte-compile): Use it to fix compilation of lexical-binding closures.
2129 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2130 function, if needed.
2131
3fd56834
SM
21322012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2133
04901786
SM
2134 * help-mode.el (help-make-xrefs): Don't just withstand
2135 cyclic-variable-indirection but any error in documentation-property.
2136
1ec4b7b2
SM
2137 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2138 memory use.
2139 * bindings.el (bindings--define-key): New function.
2140 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2141 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2142 * bindings.el: Use it to purecopy define-key bindings.
2143
e309e2a5
SM
2144 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2145
d5c6faf9
SM
2146 * emacs-lisp/cl.el (flet): Mark obsolete.
2147 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2148 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2149 * progmodes/js.el (js-c-fill-paragraph):
2150 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2151 (ebrowse-switch-member-buffer-to-derived-class):
2152 * play/5x5.el (5x5-solver): Use cl-flet.
2153
6e9590e2
SM
2154 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2155 (cl--symbol-function): New macro.
2156 (cl--letf, cl--letf*): Use it.
2157
3fd56834
SM
2158 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2159 Strip "toggle-" if any.
2160
35ff222c
GM
21612012-06-27 Glenn Morris <rgm@gnu.org>
2162
1ba6038a
GM
2163 * info.el (Info-default-directory-list): Move here from paths.el.
2164 * paths.el: Remove file, which is now empty.
2165 * loadup.el: No longer load "paths".
2166
0ea0e51b
GM
2167 * custom.el (custom-initialize-delay): Doc fix.
2168
35ff222c
GM
2169 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2170 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2171 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2172 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2173 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2174 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2175 * eshell/eshell.el (eshell-defgroup): Remove alias.
2176
c89926a5
CY
21772012-06-27 Chong Yidong <cyd@gnu.org>
2178
2179 * help.el (help-enable-auto-load): New variable.
2180
2181 * help-fns.el (help-fns--autoloaded-p): New function.
2182 (describe-function-1): Refer to a function as "autoloaded" if it
2183 was autoloaded at any time in the past. Perform autoloading if
2184 help-enable-auto-load is non-nil.
2185
cc06e7e7
EZ
21862012-06-26 Eli Zaretskii <eliz@gnu.org>
2187
2188 * makefile.w32-in (compile, compile-always): Depend on
2189 update-subdirs, not on subdirs.el. Otherwise, several different
2190 sub-targets of 'bootstrap' running in parallel could
2191 simultaneously write to subdirs.el, producing a garbled file.
2192
d2c32364
SS
21932012-06-26 Sam Steingold <sds@gnu.org>
2194
2195 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2196 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2197 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2198 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2199 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2200 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2201 * textmodes/tex-mode.el: Use it.
2202 Did not touch cedet and org because they are maintained elsewhere.
2203
5cf983b2
MR
22042012-06-26 Martin Rudalics <rudalics@gmx.at>
2205
2206 * calendar/calendar.el (calendar-exit): Don't try to delete or
2207 iconify last frame. See:
2208 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2209
8c4f2952
JD
22102012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2211
2212 * server.el (server-process-filter): Remember dir in the
2213 process's `server-client-directory' properties.
2214
772b2e2c
CY
22152012-06-24 Chong Yidong <cyd@gnu.org>
2216
2217 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2218 non-tag text.
2219
711b11e1
JB
22202012-06-23 Juanma Barranquero <lekktu@gmail.com>
2221
2222 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2223
dc5d230c
SM
22242012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * help-fns.el (describe-variable): Don't croak when doc is not found.
2227 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2228 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2229 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2230 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2231 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2232 ((lambda ..) ..).
2233 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2234
136e1c1d
CY
22352012-06-23 Chong Yidong <cyd@gnu.org>
2236
e8c1cabf
CY
2237 * info.el (Info-mouse-follow-link): Accept symbol values of
2238 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2239 (Info-fontify-node): Use Info-link-keymap for all navigation
2240 buttons, with link-args property to perform the desired action.
2241 (Info-link-keymap): Doc fix.
2242 (Info-next-link-keymap, Info-prev-link-keymap)
2243 (Info-up-link-keymap): Delete now-unused keymaps.
2244
0e9e6c6a
CY
22452012-06-23 Chong Yidong <cyd@gnu.org>
2246
05e89fea
CY
2247 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2248
0e9e6c6a
CY
2249 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2250 system abbrevs.
2251
2252 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2253
e33c6771
SM
22542012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2255
b68581e2
SM
2256 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2257 (bug#11719).
2258
e33c6771
SM
2259 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2260 the requote function doesn't work properly (bug#11714).
2261
7117e105
GM
22622012-06-23 Glenn Morris <rgm@gnu.org>
2263
2264 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2265
36cec983
SM
22662012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 Further GV/CL cleanups.
2269 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2270 gv-expander.
2271 (gv--defun-declaration): New function.
2272 (defun-declarations-alist): Use it.
2273 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2274 (gv-place): Autoload.
2275 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2276 original definition of dotimes and dolist.
2277 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2278 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2279 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2280 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2281 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2282 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2283 to the function's definition.
2284 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2285 * window.el:
2286 * files.el:
2287 * faces.el:
2288 * env.el: Don't use CL.
2289
d35af63c
PE
22902012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2291
2292 Support higher-resolution time stamps (Bug#9000).
2293
2294 * calendar/time-date.el (with-decoded-time-value): New arg
2295 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2296 (encode-time-value): New optional arg PICO. New type 3.
2297 (time-to-seconds) [!float-time]: Support the new picoseconds
2298 component if it's used.
2299 (seconds-to-time, time-subtract, time-add):
2300 Support ps-resolution time stamps as well.
2301
2302 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2303 (timerp): Timer vectors now have length 9, not 8.
2304 (timer--time): Support new-style (4-part) time stamps.
2305 (timer-next-integral-multiple-of-time): Time stamps now have
2306 picosecond resolution, so take a bit more care about rounding.
2307 (timer-relative-time, timer-inc-time): New optional arg psecs.
2308 (timer-set-time-with-usecs): Set psecs to 0.
2309 (timer--activate): Check psecs component, too.
2310
2311 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2312
ac77b21a
SM
23132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2314
f143bfe3
SM
2315 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2316 Move the non-essential binding to the post/pre-command-hook where it is
2317 more obviously correct.
2318
ac77b21a
SM
2319 * subr.el (read-passwd): Don't use a history at all.
2320 * savehist.el (savehist-save): Remove password saved accidentally
2321 because of the above bug.
2322
76386c5a
BG
23232012-06-22 Bastien Guerry <bzg@gnu.org>
2324
2325 * files.el (toggle-read-only): Display a message telling whether
2326 the buffer is read-only or not (bug#11726).
2327
2ee3d7f0
SM
23282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * emacs-lisp/gv.el: New file.
2331 * subr.el (push, pop): Extend to generalized variables.
2332 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2333 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2334 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2335 gv-define-simple-setter, and gv-define-expander.
2336 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2337 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2338 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2339 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2340 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2341 gv-letplace.
2342 (cl-defstruct): Don't define setf-method any more.
2343 * emacs-lisp/cl.el (flet): Don't autoload.
2344 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2345 (define-setf-expander, defsetf, define-modify-macro)
2346 (cl-struct-setf-expander): Move from cl-lib.el.
2347 * emacs-lisp/syntax.el:
2348 * emacs-lisp/ewoc.el:
2349 * emacs-lisp/smie.el:
2350 * emacs-lisp/cconv.el:
2351 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2352 (timer--time): Use gv-define-simple-setter.
2353 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2354 to avoid coding-system problems in subr.el. Adjust all users.
2355 (macroexp--maxsize, macroexp-small-p): New functions.
2356 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2357 * scroll-bar.el (scroll-bar-mode):
2358 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2359 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2360 * winner.el (winner-configuration, winner-make-point-alist)
2361 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2362 * files.el (locate-file-completion-table): Avoid list*.
2363
c5695d1d
CY
23642012-06-22 Chong Yidong <cyd@gnu.org>
2365
2366 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2367 (dired-create-files): Doc fix (Bug#11329).
2368 (dired-do-copy): Doc fix (Bug#11334).
2369 (dired-mark-read-string): Doc fix (Bug#11553).
2370
2ee3d7f0
SM
2371 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2372 Doc fix (Bug#11326).
c5695d1d
CY
2373 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2374 (dired-dwim-target): Doc fix.
2375
2376 * wdired.el (wdired-mode): Doc fix.
2377
89b5595a
GM
23782012-06-22 Glenn Morris <rgm@gnu.org>
2379
575db3f1
GM
2380 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2381 (pcmpl-rpm-cache-stamp-file): New constant.
2382 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2383 (pcmpl-rpm-packages): Optionally cache list of packages.
2384
a4c8dd51
GM
2385 * pcmpl-rpm.el (pcmpl-rpm): New group.
2386 (pcmpl-rpm-query-options): New option.
2387 (pcmpl-rpm-packages): No need to inline it.
2388 Use pcmpl-rpm-query-options.
2389
89b5595a
GM
2390 * calendar/calendar.el (calendar-in-read-only-buffer):
2391 Avoid some needless mode changes.
2392
e76f0800
CY
23932012-06-21 Chong Yidong <cyd@gnu.org>
2394
2395 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2396 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2397 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2398
297a8f1d
CY
23992012-06-20 Chong Yidong <cyd@gnu.org>
2400
2401 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2402
d34c18b1
DR
24032012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2404
2405 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2406 (bug#11201).
2407
32f7f28e
CY
24082012-06-20 Chong Yidong <cyd@gnu.org>
2409
2410 * term.el (term-window-width): Handle the case of a missing right
2411 fringe (Bug#8837).
2412 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2413 (term-mode): Use define-derived-mode. Minor cleanups.
2414 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2415 (term-move-columns, term-insert-char, term-emulate-terminal)
2416 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2417
493c6688
MA
24182012-06-20 Michael Albinus <michael.albinus@gmx.de>
2419
d34c18b1
DR
2420 * net/ange-ftp.el (ange-ftp-get-passwd):
2421 Bind `enable-recursive-minibuffers'.
493c6688
MA
2422 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2423
3f06ecf4
DR
24242012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2425
2426 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2427
68f12411
GM
24282012-06-19 Glenn Morris <rgm@gnu.org>
2429
2430 * progmodes/python.el (python-mode): Derive from prog-mode.
2431
b3820318
KG
24322012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2433
2434 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2435 (edt-user-menu-bar-update-buffers): New functions.
2436 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2437
c6bf3022
CY
24382012-06-19 Chong Yidong <cyd@gnu.org>
2439
2440 * subr.el (with-selected-window): Preserve the selected window's
2441 terminal's top-frame (Bug#4702).
2442
2443 * window.el (save-selected-window): Likewise.
2444
25f09295
SM
24452012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * progmodes/python.el (python-rx-constituents): Move backquote.
2448 (python-skeleton-define, python-define-auxiliary-skeleton):
2449 Use `declare'.
2450
6b11952a
MA
24512012-06-18 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * minibuffer.el (read-file-name-default): Revert the patch from
2454 2012-06-17.
2455
ee4b1330
SM
24562012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2459 (pcase--u1, pcase--q1): Don't use apply-partially.
2460
35647f79
GM
24612012-06-18 Glenn Morris <rgm@gnu.org>
2462
2463 * progmodes/python.el (python-proc, python-buffer)
2464 (python-send-receive, python-send-string): Fix obsolete versions.
2465
24b0cff0
MR
24662012-06-18 Martin Rudalics <rudalics@gmx.at>
2467
2468 * window.el (special-display-p): Completely remove stringp
2469 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2470
29855149
MA
24712012-06-17 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2474
2475 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2476
2477 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2478 * net/tramp-sh.el (tramp-maybe-open-connection):
2479 Throw if `non-essential' is non-nil.
2480
07463363
MR
24812012-06-17 Martin Rudalics <rudalics@gmx.at>
2482
2483 * window.el (special-display-p): Signal an error if BUFFER-NAME
2484 is not a string (Bug#11713).
2485
48d1354e
PE
24862012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2487
2488 * progmodes/python.el (python-info-beginning-of-backslash):
2489 Rename from python-info-beginning-of-backlash, as a spelling fix.
2490
eb4a8a9a
CY
24912012-06-17 Chong Yidong <cyd@gnu.org>
2492
2493 * term.el (term-emulate-terminal): If term-check-size is called,
2494 move point to the process mark without resetting point (Bug#4635).
2495
ddfbf826 24962012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2497
2498 * international/mule-cmds.el (mule-menu-keymap)
2499 (set-language-environment, set-locale-environment): Doc tweaks.
2500
9b0e3eba
AA
25012012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2502
2503 * cus-face.el (custom-face-attributes): Add wave-style underline
2504 attribute.
2505 * faces.el (set-face-attribute): Update docstring to describe
2506 wave-style underline attribute.
2507
771e3eae
CY
25082012-06-16 Chong Yidong <cyd@gnu.org>
2509
2510 * term/xterm.el (terminal-init-xterm): Discard input before
2511 querying background mode (Bug#10959).
2512
7ae2ea10
SM
25132012-06-16 Stefan Merten <smerten@oekonux.de>
2514
2515 * textmodes/rst.el: Added and corrected some comments.
2516 (rst-re-alist-def): Improve symbol syntax.
2517 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2518 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2519 (rst-official-version, rst-official-cvs-rev): Update version
2520 information.
7ae2ea10 2521
b6974efa
JB
25222012-06-15 Juanma Barranquero <lekktu@gmail.com>
2523
2524 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2525 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2526
8826d473
GM
25272012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2528
2529 * progmodes/python.el: New python.el merge.
2530 (python-guess-indent): Obsolete var.
2531 (python-indent-guess-indent-offset): New defcustom.
2532 (python-indent): Obsolete var.
2533 (python-indent-offset): New defcustom.
2534 (python-python-command, python-jython-command): Delete var.
2535 (python-shell-interpreter): New defcustom.
2536 (python-pdbtrack-do-tracking-p): Delete var.
2537 (python-pdbtrack-activate): New defcustom.
2538 (python-use-skeletons): Obsolete var.
2539 (python-skeleton-autoinsert): New defcustom.
2540 (inferior-python-filter-regexp, python-continuation-offset)
2541 (python-honour-comment-indentation, python-indent-string-contents)
2542 (python-jython-packages, python-mode-hook)
2543 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2544 (python-shell-prompt-alist)
2545 (python-source-modes): Delete defcustoms.
2546 (python-check-buffer-name, python-eldoc-setup-code)
2547 (python-eldoc-string-code, python-ffap-setup-code)
2548 (python-ffap-string-code, python-fill-comment-function)
2549 (python-fill-decorator-function, python-fill-paren-function)
2550 (python-fill-string-function, python-imenu-include-defun-type)
2551 (python-imenu-make-tree, python-imenu-subtree-root-label)
2552 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2553 (python-shell-compilation-regexp-alist)
2554 (python-shell-completion-module-string-code)
2555 (python-shell-completion-pdb-string-code)
2556 (python-shell-completion-setup-code)
2557 (python-shell-completion-string-code)
2558 (python-shell-enable-font-lock, python-shell-exec-path)
2559 (python-shell-extra-pythonpaths)
2560 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2561 (python-shell-process-environment)
2562 (python-shell-prompt-block-regexp)
2563 (python-shell-prompt-output-regexp)
2564 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2565 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2566 (python-shell-virtualenv-path): New defcustoms.
2567 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2568 (inferior-python-mode-syntax-table, python--prompt-regexp)
2569 (python-buffer, python-command python-python-command)
2570 (python-default-template, python-imports, python-indent-index)
2571 (python-indent-list, python-indent-list-length)
2572 (python-mode-running, python-pdbtrack-is-tracking-p)
2573 (python-preoutput-continuation, python-preoutput-leftover)
2574 (python-preoutput-result, python-preoutput-skip-next-prompt)
2575 (python-prev-dir/file, python-recursing)
2576 (python-saved-check-command, python-version-checked)
2577 (python-which-func-length-limit)
2578 (view-return-to-alist): Delete vars.
2579 (python-check-custom-command, python-dotty-syntax-table)
2580 (python-imenu-index-alist, python-indent-current-level)
2581 (python-indent-dedenters, python-indent-levels)
2582 (python-nav-beginning-of-defun-regexp)
2583 (python-nav-list-defun-positions-cache)
2584 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2585 (python-shell-internal-buffer)
2586 (python-skeleton-available): New vars.
2587 (def-python-skeleton): Delete macro.
2588 (python-skeleton-define): New macro.
2589 (python-define-auxiliary-skeleton, python-rx): New macros.
2590 (python-insert-class): Delete command.
2591 (python-skeleton-class): New command.
2592 (python-insert-def): Delete command.
2593 (python-skeleton-def): New command.
2594 (python-insert-for): Delete command.
2595 (python-skeleton-for): New command.
2596 (python-insert-if): Delete command.
2597 (python-skeleton-if): New command.
2598 (python-insert-try/except, python-insert-try/finally): Delete commands.
2599 (python-skeleton-try): New command.
2600 (python-insert-while): Delete command.
2601 (python-skeleton-while): New command.
2602 (python-backspace): Delete command.
2603 (python-indent-dedent-line-backspace): New command.
2604 (python-electric-colon): Delete command.
2605 (python-indent-electric-colon): New command.
2606 (python-guess-indent): Delete command.
2607 (python-indent-guess-indent-offset): New command.
2608 (python-shift-left): Delete command.
2609 (python-indent-shift-left): New command.
2610 (python-shift-right): Delete command.
2611 (python-indent-shift-right): New command.
2612 (python-find-function): Delete command.
2613 (python-nav-jump-to-defun): New command.
2614 (python-next-statement): Delete command.
2615 (python-nav-forward-sentence): New command.
2616 (python-previous-statement): Delete command.
2617 (python-nav-backward-sentence): New command.
2618 (python-fill-paragraph): Delete command.
2619 (python-fill-paragraph-function): New command.
2620 (python-send-buffer): Delete command.
2621 (python-shell-send-buffer): New command.
2622 (python-send-defun): Delete command.
2623 (python-shell-send-defun): New command.
2624 (python-send-region, python-send-region-and-go): Delete commands.
2625 (python-shell-send-region)
2626 (python-shell-switch-to-shell): New commands.
2627 (python-send-string): Delete command.
2628 (python-shell-send-string): New command.
2629 (python-switch-to-python): Delete command.
2630 (python-shell-switch-to-shell): New command.
2631 (python-describe-symbol): Delete command.
2632 (python-eldoc-at-point): New command.
2633 (python--set-prompt-regexp, python-args-to-list)
2634 (python-after-info-look, python-check-version)
2635 (python-check-comint-prompt, python-find-imports)
2636 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2637 (python-unload-function, python-expand-template)
2638 (python-maybe-jython, python-preoutput-filter)
2639 (python-pdbtrack-get-source-buffer)
2640 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2641 (python-pdbtrack-toggle-stack-tracking)
2642 (python-pdbtrack-track-stack-file, python-initial-text)
2643 (python-first-word, python-comment-line-p, python-send-command)
2644 (python-setup-brm, python-sentinel, python-set-proc)
2645 (python-skip-out, python-input-filter, python-outdent-p)
2646 (python-outline-level, python-backslash-continuation-line-p)
2647 (python-end-of-block, python-end-of-statement, python-mark-block)
2648 (python-beginning-of-block, python-beginning-of-statement)
2649 (python-blank-line-p, python-beginning-of-string)
2650 (python-open-block-statement-p): Delete functions.
2651 (python-indent-line, python-indent-line-1): Delete functions.
2652 (python-indent-line): New function.
2653 (python-indentation-levels): Delete function.
2654 (python-indent-calculate-levels): New function.
2655 (python-proc): Delete function.
2656 (python-shell-get-process): New function.
2657 (python-send-receive): Delete function.
2658 (python-shell-send-string-no-output): New function.
2659 (python-module-path): Delete function.
2660 (python-ffap-module-path): New function.
2661 (python-completion-at-point)
2662 (python-symbol-completions): Delete functions.
2663 (python-completion-complete-at-point): New function.
2664 (python-load-file): Delete function.
2665 (python-shell-send-file): New function.
2666 (python-calculate-indentation): Delete function.
2667 (python-indent-calculate-indentation): New function.
2668 (python-skip-comments/blanks): Delete function.
2669 (python-util-forward-comment): New function.
2670 (python-continuation-line-p): Delete function.
2671 (python-info-continuation-line-p): New function.
2672 (python-which-func, python-current-defun): Delete function.
2673 (python-info-current-defun): New function.
2674 (python-beginning-of-defun): Delete function.
2675 (python-nav-beginning-of-defun): New function.
2676 (python-close-block-statement-p)
2677 (python-block-end-p): Delete function.
2678 (python-info-closing-block): New function.
2679 (python-comint-output-filter-function)
2680 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2681 (python-fill-comment, python-fill-decorator, python-fill-paren)
2682 (python-fill-string, python-imenu-make-element-tree)
2683 (python-imenu-make-tree, python-imenu-tree-assoc)
2684 (python-indent-context, python-indent-dedent-line)
2685 (python-indent-line-function)
2686 (python-indent-post-self-insert-function)
2687 (python-indent-toggle-levels)
2688 (python-info-assignment-continuation-line-p)
2689 (python-info-beginning-of-backlash)
2690 (python-info-block-continuation-line-p)
2691 (python-info-closing-block-message)
2692 (python-info-line-ends-backslash-p)
2693 (python-info-looking-at-beginning-of-defun)
2694 (python-info-ppss-context, python-info-ppss-context-type)
2695 (python-nav-list-defun-positions, python-nav-read-defun)
2696 (python-nav-sentence-end, python-nav-sentence-start)
2697 (python-pdbtrack-comint-output-filter-function)
2698 (python-pdbtrack-set-tracked-buffer)
2699 (python-shell-calculate-exec-path)
2700 (python-shell-calculate-process-environment)
2701 (python-shell-completion--do-completion-at-point)
2702 (python-shell-completion--get-completions)
2703 (python-shell-completion-complete-at-point)
2704 (python-shell-completion-complete-or-indent)
2705 (python-shell-get-or-create-process)
2706 (python-shell-get-process-name)
2707 (python-shell-internal-get-or-create-process)
2708 (python-shell-internal-get-process-name)
2709 (python-shell-internal-send-string, python-shell-make-comint)
2710 (python-shell-parse-command, python-shell-send-setup-code)
2711 (python-skeleton-add-menu-items)
2712 (python-util-clone-local-variables, python-util-position)
2713 (run-python-internal, python-indentation-levels)
2714 (python-nav-beginning-of-defun)
2715 (python-completion-complete-at-point): New functions.
2716 (run-python): Change arguments. New API requirements.
2717
4302f5ba
SM
27182012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2719
f38ea36d
SM
2720 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2721 (bug#11649).
2722
2723 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2724 (macroexp--expand-all): Use it.
2725
4302f5ba
SM
2726 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2727 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2728 Use `cl-function' instead.
2729
33377562
JB
27302012-06-14 Juanma Barranquero <lekktu@gmail.com>
2731
2732 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2733 Suggested by Stefan Monnier while discussing bug#11657.
2734
54c5ba1a
SS
27352012-06-14 Sam Steingold <sds@gnu.org>
2736
2737 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2738
f9f1b1fe
AS
27392012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2740
2741 * play/doctor.el (doctor-doc): Remove parameter and use
2742 doctor-sent instead of sent.
2743 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2744
a81068ba
SM
27452012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2746
5a315f9c
SM
2747 * files.el: Require cl-lib.
2748 (file-name-non-special): Replace case -> cl-case.
2749
2750 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2751
a81068ba
SM
2752 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2753 mapping from #' to function*.
2754
8cca9703
CY
27552012-06-13 Chong Yidong <cyd@gnu.org>
2756
2757 * mouse.el (mouse-drag-track): Do not set the mark if the user
2758 releases the mouse without selecting anything (Bug#11588).
2759
a12ac9d7
SM
27602012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2761
ccf1dc18
SM
2762 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2763 as well (bug#11646).
2764
ef62b23d
SM
2765 * loadup.el: Count byte-code functions as well.
2766
c4c8444a
SM
2767 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2768 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2769
a12ac9d7
SM
2770 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2771 (bug#11649). Add cl-defun and cl-defmacro.
2772
87e6e64f
DA
27732012-06-13 Drew Adams <drew.adams@oracle.com>
2774
2775 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2776 Fix last change.
2777
682cefaf
MA
27782012-06-13 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2781 Otherwise, it blocks in batch mode.
2782
773e1f08
JB
27832012-06-13 Juanma Barranquero <lekktu@gmail.com>
2784
2785 * help-mode.el (bookmark-make-record-default): Declare.
2786
60057926
CY
27872012-06-13 Chong Yidong <cyd@gnu.org>
2788
2789 * emacs-lisp/package.el (list-packages): Compute a list of
2790 packages that are newly-available since the last list-packages
2791 invocation.
2792 (package-menu--new-package-list): New var.
2793 (package-menu--generate, package-menu--print-info)
2794 (package-menu--status-predicate, package-menu-mark-install):
2795 Handle new status label "new".
2796
ad4d226c
SM
27972012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2800 conversion to backquotes.
2801
f1a4e679
CY
28022012-06-12 Chong Yidong <cyd@gnu.org>
2803
2804 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2805 Rename from gud-inhibit-global-bindings.
2806
2807 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2808
2809 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2810 hook from nxml-glyph-set-hook.
2811
2812 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2813 declaration.
2814
2815 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2816
2817 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2818 Convert to defcustom.
2819
0c9e42b5
DA
28202012-06-12 Drew Adams <drew.adams@oracle.com>
2821
2822 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2823 New functions.
2824 (help-mode): Use them.
2825
09e06855
GM
28262012-06-11 Glenn Morris <rgm@gnu.org>
2827
2828 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2829 Use preprocessor face for directives.
2830 (fortran-directive-re): Doc fix.
2831
71adb94b
SM
28322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2eb87922
SM
2834 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2835 conversion to backquotes (bug#11652).
2836
71adb94b
SM
2837 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2838 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2839 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2840 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2841 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2842 (cl-ninth, cl-tenth): Mark them as inlinable.
2843 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2844 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2845 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2846 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2847 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2848 (cl-list*, cl-adjoin): Don't put an autoload manually.
2849 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2850 (cl--compiler-macro-list*): Add autoload cookie.
2851 (cl--compiler-macro-cXXr): New function.
2eb87922 2852
71adb94b
SM
2853 * help-fns.el (help-fns--compiler-macro): New function extracted from
2854 describe-function-1; follow aliases and use `compiler-macro' property.
2855 (describe-function-1): Use it.
2856
a6674402
CY
28572012-06-11 Chong Yidong <cyd@gnu.org>
2858
2859 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2860 is uninstalled, if imagemagick is installed.
2861
bb3faf5b
SM
28622012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * emacs-lisp/cl-lib.el: Use lexical-binding.
2865 (cl-map-extents, cl-maclisp-member): Remove.
2866 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2867 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2868 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2869 * emacs-lisp/cl-extra.el: Use lexical-binding.
2870 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2871 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2872 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2873 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2874 * emacs-lisp/cl-seq.el: Use lexical-binding.
2875 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2876 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2877 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2878 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2879 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2880 CL's internals.
2881
2fe4b125
MA
28822012-06-11 Michael Albinus <michael.albinus@gmx.de>
2883
2884 Sync with Tramp 2.2.6-pre.
2885
2886 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2887 `print-length' and `print-level' to nil, in order to avoid
2888 truncation. Reported by Christopher Schmidt
2889 <christopher@ristopher.com>.
2890
2891 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2892
2893 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2894 New defmacro.
2895 (tramp-compat-copy-directory): Add optional argument
2896 COPY-CONTENTS. It is not handled yet.
2897
2898 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2899 (tramp-ftp-file-name-p): Simplify.
2900
2901 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2902 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2903 connection vector.
2904
2905 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2906 (tramp-methods): Do not use `tramp-password-end-of-line'.
2907 (tramp-completion-function-alist-putty): Handle UNIX case.
2908 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2909 (tramp-do-file-attributes-with-stat)
2910 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2911 gid as real numbers. They could run out of integer range on cygwin.
2912 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2913 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2914 (tramp-open-connection-setup-interactive-shell):
2915 Use `tramp-cleanup'. Move check for busyboxes ...
2916 (tramp-find-shell): ... here. Simplify implementation.
2917 Set "remote-shell" property also for alternative shells.
2918 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2919 If failing, a regular file would be written otherwise.
2920 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2921 (tramp-find-inline-encoding): Cache the coding commands in the
2922 process cache. Apply test command on the remote side, if defined.
2923 (tramp-find-inline-compress): Cache the compress commands in the
2924 process cache.
2925 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2926 when requested. Handle hops.
2927 (tramp-current-connection): New defvar.
87e6e64f
DA
2928 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2929 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2930 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2931 (tramp-get-inline-compress, tramp-get-inline-coding):
2932 Read connection properties from the process cache.
2fe4b125
MA
2933
2934 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2935 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2936 New defconsts.
2fe4b125
MA
2937 (tramp-smb-prompt): Extend for powershell prompt.
2938 (tramp-smb-file-name-handler-alist): Add handlers for
2939 `process-file', `shell-command' and `start-file-process'.
2940 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2941 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2942 (tramp-smb-file-name-p): Simplify.
2943 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2944 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2945 (tramp-smb-shell-quote-argument): New defuns.
2946 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2947 Implement using "tar". By this, time-stamps are preserved.
2948 (tramp-smb-handle-copy-file): Handle also the case of directories.
2949 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2950 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2951 Use `tramp-get-connection-buffer').
2fe4b125
MA
2952 (tramp-smb-handle-rename-file): Use "rename", when source and
2953 target are on the same share.
87e6e64f
DA
2954 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2955 Use `tramp-smb-server-version'.
2fe4b125
MA
2956 (tramp-smb-wait-for-output): Remove prompt.
2957
2958 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2959 (tramp-methods, tramp-rsh-end-of-line):
2960 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2961 (tramp-save-ad-hoc-proxies): New defcustom.
2962 (tramp-completion-function-alist): Adapt docstring.
2963 (tramp-default-password-end-of-line): Remove defcustom.
2964 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2965 (tramp-user-regexp, tramp-file-name-regexp-unified)
2966 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2967 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2968 (tramp-remote-file-name-spec-regexp): New defconst.
2969 (tramp-file-name-structure): Extend structure for hops.
2970 (tramp-get-method-parameter): Move up.
2971 (tramp-file-name-p, tramp-dissect-file-name)
2972 (with-parsed-tramp-file-name): Handle hops.
2973 (tramp-file-name-hop): New defun.
2974 (tramp-make-tramp-file-name): New optional arg HOP.
2975 (tramp-message-show-progress-reporter-message): New defvar.
2976 (tramp-with-progress-reporter): Use it. We cannot use
2977 `tramp-message-show-message' here, because this suppresses also
2978 error buffers.
2979 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2980 `tramp-message-show-message' is nil.
2981 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2982 (tramp-cleanup): New defun.
2983 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2984 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2985 an error unchanged.
2986 (tramp-completion-handle-file-name-all-completions): Handle hops.
2987 Fix an error when called from ido.
2988 (tramp-completion-dissect-file-name): Use better local variable
2989 name. Add hop to the vector.
2990 (tramp-handle-insert-file-contents): Use progress-reporter for the
2991 whole scenario.
2992 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2993 to `t'.
2994 (tramp-check-for-regexp): Simplify search.
2995 (tramp-enter-password): Remove it. Move implementation ...
2996 (tramp-action-password): ... here.
2997 (tramp-mode-string-to-int, tramp-local-host-p)
2998 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2999 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3000 Set tramp-autoload cookie.
2fe4b125
MA
3001
3002 * net/trampver.el: Update release number.
3003
30042012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3005 Michael Albinus <michael.albinus@gmx.de>
3006
3007 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3008 (tramp-parse-group, tramp-parse-file)
3009 (tramp-parse-shostkeys-sknownhosts): New defuns.
3010 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3011 (tramp-parse-shosts-group, tramp-parse-sconfig)
3012 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3013 (tramp-parse-sknownhosts, tramp-parse-hosts)
3014 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3015 Use them.
3016 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3017 (tramp-parse-putty-group): Don't narrow.
3018 (tramp-parse-putty): Make a loop.
3019 (tramp-file-name-handler): Catch the `suppress' signal.
3020
72834e10
CY
30212012-06-11 Chong Yidong <cyd@gnu.org>
3022
3023 * image.el (imagemagick-register-types): Put the ImageMagick entry
3024 at the end of image-type-file-name-regexps.
3025
a4712e11
JB
30262012-06-11 Johan Bockgård <bojohan@gnu.org>
3027
3028 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3029 (pcase, pcase-let*, pcase-dolist): Use them.
3030
82ad98e3
SM
30312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * emacs-lisp/pcase.el (pcase--let*): New function.
3034 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3035 (pcase--expand): Use macroexp-let².
3036
f80efb86
SM
30372012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3040 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3041 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3042 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3043 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3044 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3045
31ca4639 30462012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3047
31ca4639
CY
3048 * mail/rmail.el (rmail-yank-current-message): Leave point at
3049 correct position. (Bug#11660)
94f0aa34 3050
31ca4639 30512012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3052
31ca4639 3053 * allout-widgets.el: Fix code header.
9e1b8ec4 3054
31ca4639 30552012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3056
f80efb86
SM
3057 * cus-edit.el (customize-changed-options-previous-release):
3058 Bump to 24.1.
31ca4639 3059
642b6d30
AS
30602012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3061
3062 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3063
4f5d2ba1
CY
30642012-06-09 Chong Yidong <cyd@gnu.org>
3065
3066 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3067
e75852fd
MR
30682012-06-09 Martin Rudalics <rudalics@gmx.at>
3069
3070 * window.el (special-display-popup-frame): Don't use
3071 window--display-buffer (Bug#11651).
3072
1e48e282
EZ
30732012-06-09 Eli Zaretskii <eliz@gnu.org>
3074
8a26b487
EZ
3075 Fix parallel builds: make sure loaddefs.el is not being written
3076 while Lisp files are compiled.
3077 (compile): Don't depend on 'mh-autoloads'.
3078 (compile-CMD, compile-SH): Depend on 'autoloads'.
3079 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3080
1e48e282
EZ
3081 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3082
6175e34b
CY
30832012-06-09 Chong Yidong <cyd@gnu.org>
3084
3085 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3086 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3087 Doc fixes (Bug#11225).
3088
d9857e53
SM
30892012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3092 a function if there's a clear indication that it has a compiler-macro.
3093 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3094 (macro-declarations-alist): Add arglist to declaration functions.
3095 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3096 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3097 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3098 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3099 Also add autoload to find the compiler macro.
3100 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3101 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3102 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3103 (cl--compiler-macro-get): New functions, replacing calls to
3104 cl-define-compiler-macro.
3105 (cl-typep) [compiler-macro]: Use macroexp-let².
3106
f81298f8 31072012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3108
3109 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3110 string properly, fixes Bug#11473.
3111
4b56d0fe
CY
31122012-06-08 Chong Yidong <cyd@gnu.org>
3113
3114 * faces.el (set-face-attribute): Doc fix.
3115 (modify-face): Don't use :bold and :italic.
3116 (error, warning, success): Tweak definitions.
3117
3118 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3119 (custom-modified, custom-set, custom-changed, custom-themed)
3120 (custom-saved, custom-button, custom-button-mouse)
3121 (custom-button-pressed, custom-state, custom-comment-tag)
3122 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3123 (custom-group-subtitle): Use new-style face specs.
3124 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3125 (custom-set-face, custom-changed-face, custom-saved-face)
3126 (custom-button-face, custom-button-pressed-face)
3127 (custom-documentation-face, custom-state-face)
3128 (custom-comment-face, custom-comment-tag-face)
3129 (custom-variable-tag-face, custom-variable-button-face)
3130 (custom-face-tag-face, custom-group-tag-face-1)
3131 (custom-group-tag-face): Remove obsolete face alias.
3132
3133 * epa.el (epa-validity-high, epa-validity-medium)
3134 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3135 (epa-field-name, epa-field-body):
3136 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3137 (font-lock-keyword-face, font-lock-builtin-face)
3138 (font-lock-function-name-face, font-lock-variable-name-face)
3139 (font-lock-type-face, font-lock-constant-face):
3140 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3141 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3142 * speedbar.el (speedbar-button-face, speedbar-file-face)
3143 (speedbar-directory-face, speedbar-tag-face)
3144 (speedbar-selected-face, speedbar-highlight-face)
3145 (speedbar-separator-face):
3146 * whitespace.el (whitespace-newline, whitespace-space)
3147 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3148 (whitespace-line, whitespace-space-before-tab)
3149 (whitespace-space-after-tab, whitespace-indentation)
3150 (whitespace-empty):
3151 * emulation/cua-base.el (cua-global-mark):
3152 * eshell/em-prompt.el (eshell-prompt):
3153 * net/newst-plainview.el (newsticker-new-item-face)
3154 (newsticker-old-item-face, newsticker-immortal-item-face)
3155 (newsticker-obsolete-item-face, newsticker-date-face)
3156 (newsticker-statistics-face, newsticker-default-face):
3157 * net/newst-reader.el (newsticker-feed-face)
3158 (newsticker-extra-face, newsticker-enclosure-face):
3159 * net/newst-treeview.el (newsticker-treeview-face)
3160 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3161 (newsticker-treeview-immortal-face)
3162 (newsticker-treeview-obsolete-face)
3163 (newsticker-treeview-selection-face):
3164 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3165 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3166 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3167 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3168 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3169 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3170 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3171 (mpuz-text):
3172 * progmodes/vera-mode.el (vera-font-lock-number)
3173 (vera-font-lock-function, vera-font-lock-interface):
3174 * textmodes/table.el (table-cell): Use new-style face specs, and
3175 don't use the old :bold and :italic attributes.
3176
3177 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3178 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3179 (ebrowse-member-class, ebrowse-progress): Likewise.
3180 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3181 (ebrowse-file-name-face, ebrowse-default-face)
3182 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3183 (ebrowse-progress-face): Remove obsolete faces.
3184
3185 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3186 Inherit from error and warning faces respectively.
3187
3188 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3189 Likewise.
f80efb86
SM
3190 (flyspell-incorrect-face, flyspell-duplicate-face):
3191 Remove obsolete aliases.
4b56d0fe 3192
03310646
MA
31932012-06-08 Michael Albinus <michael.albinus@gmx.de>
3194
3195 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3196 Avoid infloop.
3197
513749ee
SM
31982012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * startup.el (argv, argi): Make lexically scoped.
3201 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3202 * emacs-lisp/cl-macs.el: Use lexical-binding.
3203 Rename cl-bind-* to cl--bind-*.
3204 * files.el: Don't require `cl' since it doesn't use it.
3205 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3206
595ef4ad
JB
32072012-06-08 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3210 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3211 instead of calling external sort utility.
3212 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3213
e9f66fcb
EZ
32142012-06-08 Eli Zaretskii <eliz@gnu.org>
3215
3216 * descr-text.el (describe-char): Mention how to insert the
3217 character, if the current input method doesn't support it.
3218 See the discussion in this thread for the details:
3219 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3220
3d10db47
SS
32212012-06-08 Sam Steingold <sds@gnu.org>
3222
3223 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3224 XF86Back to previous-buffer.
3225 (minibuffer-local-map): Bind them to next-history-element and
3226 previous-history-element respectively.
3227 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3228 help-go-back respectively.
3229 * info.el (Info-mode-map): Bind them to Info-history-forward and
3230 Info-history-back respectively.
3231 These are the keys next to Up on the ThinkPad keyboard.
3232
de7e2b36
SM
32332012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3236 * emacs-lisp/cl-macs.el: Provide itself.
3237 (cl--labels-convert-cache): New var.
3238 (cl--labels-convert): New function.
3239 (cl-flet, cl-labels): New implementation with new semantics, relying on
3240 lexical-binding.
3241 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3242 (cl-closure-vars, cl--function-convert-cache)
3243 (cl--function-convert): Move from cl-macs.el.
3244 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3245 rename by removing the "cl-" prefix.
3246 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3247
6fa6c4ae
SM
32482012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3251 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3252 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3253 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3254 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3255 (cl-hash-table-count): Add old compatibility aliases.
3256
3257 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3258 Use macroexpand-all-environment instead.
3259 (cl--old-macroexpand): New var.
3260 (cl--sm-macroexpand): New function.
3261 (cl-symbol-macrolet): Use it during macro expansion.
3262 (cl--function-convert-cache): New var.
3263 (cl--function-convert): New function, extracted from
3264 cl-macroexpand-all.
3265 (cl-lexical-let): Use it.
3266
3267 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3268 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3269 (cl-member): Remove old alias.
3270
3271 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3272 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3273 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3274 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3275 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3276 (cl-macroexpand-cmacs): Remove var.
3277 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3278 Use macroexpand-all instead.
3279
4dd1c416
SM
32802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3283 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3284 (macroexp-copyable-p): New functions and macros.
3285 * emacs-lisp/edebug.el (edebug-unwrap):
3286 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3287 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3288 (pcase--let*): Remove.
3289 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3290 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3291 macroexp-const-p instead.
3292 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3293
3294 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3295 instead of "cl-" for internal definitions. Use macroexp-const-p.
3296 (cl-old-bc-file-form): Remove var.
3297 (cl-const-exprs-p): Remove fun.
3298 (cl-labels, cl-macrolet): Use backquote.
3299 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3300 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3301 (cl-define-setf-expander): Rename from cl-define-setf-method.
3302 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3303
3304 * international/mule-cmds.el: Don't require CL.
3305 (view-hello-file): Don't use `letf'.
3306
ed8bd4d7
SM
33072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3308
7287f2f3
SM
3309 * tmm.el (tmm-prompt): Use string-prefix-p.
3310 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3311 (tmm-add-prompt): Use minibuffer-completion-help.
3312 (tmm-delete-map): Remove.
3313
ed8bd4d7
SM
3314 * subr.el (kbd): Make it its own function.
3315
7b4cdbf4
SM
33162012-06-07 Stefan Merten <smerten@oekonux.de>
3317
3318 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3319 Silence compiler warnings. Fix versions.
ed8bd4d7 3320 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3321 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3322 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3323 (rst-package-emacs-version-alist): Correct Emacs version to
3324 represent major merge with upstream.
ed8bd4d7 3325 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3326
2b48d721
GM
33272012-06-06 Glenn Morris <rgm@gnu.org>
3328
3329 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3330 Only print environment variables if set.
3331
fa779ab0
SM
33322012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3335 (macroexp--cons): Rename from maybe-cons.
3336 (macroexp--accumulate): Rename from macroexp-accumulate.
3337 (macroexp--all-forms): Rename from macroexpand-all-forms.
3338 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3339 (macroexp--expand-all): Rename from macroexpand-all-1.
3340
628299e0
SS
33412012-06-06 Sam Steingold <sds@gnu.org>
3342
3343 * calendar/calendar.el (calendar-in-read-only-buffer):
3344 Call `special-mode' to enable the standard read-only keybindings.
3345
b7bb5838
SM
33462012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3349 with "loading" messages (bug#11635).
3350
dfb308ba
MA
33512012-06-06 Michael Albinus <michael.albinus@gmx.de>
3352
3353 * files.el (enable-remote-dir-locals): New option.
3354 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3355
0372ee92
MA
3356 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3357 Ensure, that the temp directory is local.
3358
3359 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3360 `temporary-file-directory'.
3361
eed0bb91
MA
3362 * progmodes/python.el (python-send-region): Ensure, that the
3363 temporary file is created also in the remote case.
3364
7a58f64d
GM
33652012-06-06 Glenn Morris <rgm@gnu.org>
3366
f7dd4e98
GM
3367 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3368 (vc-rcs-update-changelog): Use it.
3369
090bd7cb 3370 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3371
7a58f64d
GM
3372 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3373 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3374 (vc-sccs-diff): Replace use of the external vcdiff script.
3375
daed4003
GM
33762012-06-05 Glenn Morris <rgm@gnu.org>
3377
3378 * ledit.el: Move to obsolete/.
3379
48c455c7
SS
33802012-06-05 Sam Steingold <sds@gnu.org>
3381
ed9265fc 3382 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3383 patch (Bug#11140).
3384
57a7d507
SM
33852012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3386
090bd7cb 3387 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3388
53aacf21
SM
3389 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3390 compiler-macro expansion.
3391
57a7d507
SM
3392 Add native compiler-macro support.
3393 * emacs-lisp/macroexp.el (macroexpand-all-1):
3394 Support compiler-macros directly. Properly follow aliases and apply
3395 the compiler macros more thoroughly.
3396 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3397 macroexpand now properly follows aliases.
3398 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3399 (cl-compiler-macroexpand): Use new prop.
3400 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3401
3402 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3403
51a5f9d8
MR
34042012-06-05 Martin Rudalics <rudalics@gmx.at>
3405
3406 * window.el (get-lru-window, get-mru-window, get-largest-window):
3407 New argument NOT-SELECTED to avoid picking the selected window.
3408 (window--display-buffer-1, window--display-buffer-2): Replace by
3409 new function window--display-buffer
3410 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3411 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3412 Use window--display-buffer.
51a5f9d8
MR
3413 (display-buffer-use-some-window): Remove temporary dedication
3414 hack by calling get-lru-window and get-largest-window with
3415 NOT-SELECTED argument non-nil. Call window--display-buffer.
3416
08f9f738
GM
34172012-06-05 Glenn Morris <rgm@gnu.org>
3418
3419 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3420 Replace external vcdiff script.
3421
e364a2b7
SM
34222012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3425
041df390
CY
34262012-06-04 Chong Yidong <cyd@gnu.org>
3427
e364a2b7
SM
3428 * image.el (imagemagick-types-inhibit): Revert last change.
3429 Add INFO and M.
47b36b94 3430 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3431
7c1898a7
SM
34322012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emacs-lisp/cl-lib.el: Rename from cl.el.
3435 * emacs-lisp/cl.el: New compatibility file.
3436 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3437 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3438 to obey the "cl-" prefix.
3439 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3440
0c3461de
GM
34412012-06-03 Glenn Morris <rgm@gnu.org>
3442
1e266c88
GM
3443 * emacs-lisp/authors.el (authors-aliases): Addition.
3444
0c3461de
GM
3445 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3446 Fix :version.
3447
d8a52e15
SM
34482012-06-03 Stefan Merten <smerten@oekonux.de>
3449
3450 * textmodes/rst.el: Add comments.
3451 (rst-transition, rst-adornment): New faces.
3452 (rst-adornment-faces-alist): Make default safe to reevaluate.
3453 Fixes
3454 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3455 Improve customization tags.
3456 (rst-define-level-faces): Clarify meaning.
3457
5205d6f6
CY
34582012-06-03 Chong Yidong <cyd@gnu.org>
3459
3460 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3461 (compilation-mode-line-run, compilation-mode-line-exit):
3462 New faces.
5205d6f6
CY
3463 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3464
757ee657
JD
34652012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3466
7c1898a7
SM
3467 * progmodes/which-func.el (which-func-update-ediff-windows):
3468 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3469
5f2c76c6
CY
34702012-06-03 Chong Yidong <cyd@gnu.org>
3471
3472 * bindings.el: Remove explicit help text from format-mode-line.
3473 It is now supplied by mode-line-default-help-echo.
3474 (mode-line-front-space, mode-line-end-spaces)
3475 (mode-line-misc-info): New variables.
3476 (mode-line-modes, mode-line-position): Move the default value to
3477 the variable definition.
3478 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3479 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3480 (mode-line-modified-help-echo): New functions.
3481 (mode-line-mule-info, mode-line-modified): Use them.
3482 (mode-line-eol-desc, propertized-buffer-identification):
3483 Consistency fixes for help text.
cbe46e5f
CY
3484 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3485 set-buffer-file-coding-system (Bug#289).
3486 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3487
f2d6a3df
SM
34882012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * simple.el (execute-extended-command): Set real-this-command
3491 (bug#11506).
3492
37269466
CY
34932012-06-02 Chong Yidong <cyd@gnu.org>
3494
3495 Remove incorrect uses of "modeline" in comments, docstrings, and
3496 function/variable names (Bug#10329).
3497
3498 * cus-edit.el (mode-line):
3499 * dframe.el (dframe-mouse-hscroll):
3500 * emacs-lisp/re-builder.el:
3501 * emacs-lisp/easy-mmode.el (define-minor-mode):
3502 * frame.el (set-frame-name):
3503 * help.el (lookup-minor-mode-from-indicator):
3504 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3505 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3506 (c-toggle-hungry-state):
3507 * progmodes/antlr-mode.el (antlr-language-alist):
3508 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3509 * progmodes/vhdl-mode.el (vhdl-mode):
3510 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3511 * term/ns-win.el (ns-face-at-pos):
3512 * term/sup-mouse.el (sup-mouse-report):
3513 * textmodes/flyspell.el (flyspell-mode-line-string):
3514 * textmodes/ispell.el (ispell-highlight-face):
3515 * textmodes/reftex-global.el:
3516 * vc/vc-arch.el (vc-arch-mode-line-string):
3517 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3518 * vc/vc-git.el (vc-git-mode-line-string):
3519 * vc/vc-hooks.el (vc-display-status)
3520 (vc-default-mode-line-string):
3521 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3522
3523 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3524
3525 * dired.el (dired-sort-set-mode-line): Rename from
3526 dired-sort-set-modeline. All callers changed.
3527
3528 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3529 eshell-status-in-modeline.
3530
3531 * foldout.el (foldout-mode-line-string): Rename from
3532 foldout-modeline-string. All callers changed.
3533 (foldout-update-mode-line): Rename from foldout-update-modeline.
3534
3535 * subr.el (redraw-modeline): Make into obsolete alias.
3536
3537 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3538 timeclock-modeline-display. Make old name an alias.
3539 (timeclock-update-mode-line): Likewise. All callers changed.
3540 (timeclock-mode-line-display): No need to check before using
3541 add-hook.
3542 (timeclock-relative, timeclock-day-over-hook)
3543 (timeclock-use-elapsed, timeclock-mode-string)
3544 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3545
3546 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3547 crisp-mode-modeline-string.
3548
3549 * play/solitaire.el (solitaire-build-mode-line): Rename from
3550 solitaire-build-modeline. All callers changed.
3551
3552 * play/zone.el (zone-hiding-mode-line): Rename from
3553 zone-hiding-modeline. All callers changed.
3554 (zone): Remove unusued `modeline-hidden-level' property.
3555
3556 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3557 xscheme-modeline-initialize. All callers changed.
3558
3559 * strokes.el (strokes-lighter): Rename from
3560 strokes-modeline-string.
3561
3562 * textmodes/sgml-mode.el (html-face-tag-alist)
3563 (html-tag-face-alist): Use mode-line face instead of obsolete
3564 alias modeline.
3565
42152ee4
SM
35662012-06-02 Stefan Merten <smerten@oekonux.de>
3567
3568 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3569 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3570
95f520b5
CY
35712012-06-02 Chong Yidong <cyd@gnu.org>
3572
3573 * image.el (imagemagick-enabled-types): Rename from
3574 imagemagick-types-enable. Add many more types.
3575 (imagemagick-types-inhibit): Change default to nil.
3576 (imagemagick-filter-types): Caller changed.
3577
4a5f187a
SM
35782012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3579
03fef3e6
SM
3580 * emacs-lisp/cl-macs.el: Use backquotes.
3581 (cl-transform-function-property): Use eval-and-compile rather than
3582 abusing `require'.
3583 (defstruct): Use declare-function instead of with-no-warnings.
3584
4a5f187a
SM
3585 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3586 (byte-compile-output-docform): Re-add the print-circle bindings.
3587 (byte-compile-fix-header): Use #$ just because it's shorter.
3588 (byte-compile-output-file-form): Remove defun/defmacro.
3589
bd56924f
MR
35902012-06-01 Martin Rudalics <rudalics@gmx.at>
3591
3592 * simple.el (choose-completion): Remove now obsolete binding for
3593 owindow.
3594
046e38ce
MA
35952012-06-01 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3598 in order to avoid "Stack overflow in regexp matcher".
3599
32d72c2f
GM
36002012-05-31 Glenn Morris <rgm@gnu.org>
3601
3602 * image.el: For clarity, call imagemagick-register-types at
3603 top-level, rather than relying on a custom :initialize.
3604 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3605 (imagemagick-filter-types): New function. (Bug#7406)
3606 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3607 If disabling support, remove elements altogether rather
3608 than using an impossible regexp.
3609 (imagemagick-types-inhibit): Give it the default init function.
3610
dd41169b
SM
36112012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3612
4a5f187a
SM
3613 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3614 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3615
efc00ab1 36162012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3617
3618 * desktop.el (desktop-read): Clear previous and next buffers for
3619 all windows and bury *Messages* buffer (bug#11556).
3620
500fcedc
SM
36212012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 Add `declare' for `defun'. Align `defmacro's with it.
3624 * emacs-lisp/easy-mmode.el (define-minor-mode)
3625 (define-globalized-minor-mode): Don't autoload the var definitions.
3626 * emacs-lisp/byte-run.el: Use lexical-binding.
3627 (defun-declarations-alist, macro-declarations-alist): New vars.
3628 (defmacro, defun): Use them.
3629 (make-obsolete, define-obsolete-function-alias)
3630 (make-obsolete-variable, define-obsolete-variable-alias):
3631 Use `declare'.
3632 (macro-declaration-function): Mark obsolete.
3633 * emacs-lisp/autoload.el: Use lexical-binding.
3634 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3635
6e8a1786
AM
36362012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3637
3638 * textmodes/ispell.el (ispell-with-no-warnings):
3639 Define as a macro.
500fcedc
SM
3640 (ispell-kill-ispell, ispell-change-dictionary):
3641 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3642 `interactive-p'.
3643
61b108cc
SM
36442012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3647 (macro-declaration-function): Move var from C code.
3648 (macro-declaration-function): Define function with defalias.
3649 * emacs-lisp/macroexp.el (macroexpand-all-1):
3650 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3651 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3652 defun/defmacro any more.
3653 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3654 Provide fallback for unknown arglist.
3655 (byte-compile-arglist-warn): Change calling convention.
3656 (byte-compile-output-file-form): Move print-vars binding.
3657 (byte-compile-output-docform): Simplify accordingly.
3658 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3659 (byte-compile-defmacro-declaration): Remove.
3660 (byte-compile-file-form-defmumble): Generalize to defalias.
3661 (byte-compile-output-as-comment): Return byte-positions.
3662 Simplify callers accordingly.
3663 (byte-compile-lambda): Use `assert'.
3664 (byte-compile-defun, byte-compile-defmacro): Remove.
3665 (byte-compile-file-form-defalias):
3666 Use byte-compile-file-form-defmumble.
3667 (byte-compile-defalias-warn): Remove.
3668
6d3f7c2f
SM
36692012-05-29 Stefan Merten <smerten@oekonux.de>
3670
3671 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3672 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3673
3674 (rst-mode-abbrev-table): Merge definition.
3675 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3676 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3677
6dbaa1c7
UJ
36782012-05-29 Ulf Jasper <ulf.jasper@web.de>
3679
3680 * calendar/icalendar.el
3681 (icalendar-export-region): Export UID properly.
3682
d209e2fb 36832012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3684 * calendar/icalendar.el (icalendar-import-format):
3685 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3686 (icalendar-import-format-uid): New.
3687 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3688 Export UID.
3689
6876a58d
SM
36902012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3693 different alternative patterns.
3694 (pcase-codegen): Be more careful to preserve identity.
3695 (pcase--u1): Don't forget to mark vars as used.
3696
3697 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3698 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3699 (byte-compile-from-buffer): ...rather than here.
3700
3701 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3702 functions from byte-compile-function-environment.
3703
46b7967e
TN
37042012-05-29 Troels Nielsen <bn.troels@gmail.com>
3705
3706 * window.el (window-deletable-p): Avoid deleting the root window
3707 of a frame with an active minibuffer.
3708
69d565e2
MR
37092012-05-29 Martin Rudalics <rudalics@gmx.at>
3710
3711 * simple.el (choose-completion): Use quit-window (Bug#11567).
3712
a149fa51
CY
37132012-05-29 Chong Yidong <cyd@gnu.org>
3714
3715 * whitespace.el (whitespace-cleanup): Fix usage of
3716 whitespace-empty-at-bob-regexp (Bug#11492).
3717
2b311310
AH
37182012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3719
3720 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3721 revert (Bug#11488).
3722
b9cb2387
JL
37232012-05-29 Juri Linkov <juri@jurta.org>
3724
3725 * isearch.el (isearch-mode-map): Bind `M-s _' to
3726 `isearch-toggle-symbol'. Bind `M-s c' to
3727 `isearch-toggle-case-fold'.
3728 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3729 (isearch-forward): Add `M-s _' to the docstring.
3730 (isearch-forward-symbol, isearch-toggle-case-fold)
3731 (isearch-symbol-regexp): New functions. (Bug#11381)
3732
d5e61c1c
JL
37332012-05-29 Juri Linkov <juri@jurta.org>
3734
3735 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3736 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3737 a function, call it to get the regexp.
3738 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3739 property `isearch-message-prefix' instead of the string "word ".
3740 (isearch-search-fun-default): For the case of `isearch-word',
3741 return a lambda that calls re-search-forward/re-search-backward
3742 with a regexp returned by `word-search-regexp' or by the function
3743 in `isearch-word'.
3744
8cbd80f7
JL
37452012-05-29 Juri Linkov <juri@jurta.org>
3746
3747 * isearch.el (isearch-search-fun-default): New function.
3748 (isearch-search-fun): Move default part to the new function
3749 `isearch-search-fun-default'.
3750 (isearch-search-fun-function): Set the default value to
3751 `isearch-search-fun-default'. (Bug#11381)
3752
3753 * comint.el (comint-history-isearch-end):
3754 Use `isearch-search-fun-default'.
3755 (comint-history-isearch-search): Use `isearch-search-fun-default'
3756 and remove spacial case for `isearch-word'.
3757 (comint-history-isearch-wrap): Remove spacial case for
3758 `isearch-word'.
3759
3760 * hexl.el (hexl-isearch-search-function):
3761 Use `isearch-search-fun-default'.
3762
3763 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3764 Use `word-search-regexp' for `isearch-word'.
3765
3766 * misearch.el (multi-isearch-search-fun):
3767 Use `isearch-search-fun-default'.
3768
3769 * simple.el (minibuffer-history-isearch-search):
3770 Use `isearch-search-fun-default' and remove spacial case for
3771 `isearch-word'.
3772 (minibuffer-history-isearch-wrap): Remove spacial case for
3773 `isearch-word'.
3774
3775 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3776 Remove spacial case for `isearch-word'.
3777 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3778
85c8c5b6
AM
37792012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3780
3781 Decrease XEmacs incompatibilities.
3782 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3783 Use `string-match'.
3784 (flyspell-delete-region-overlays): Use alternative definition for
3785 XEmacs.
3786 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3787 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3788 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3789 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3790 `define-obsolete-face-alias' under XEmacs, but old method.
3791
3792 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3793 `with-no-warnings' definition or Emacs alias.
3794 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3795 (ispell-word): Do not use `region-p' if XEmacs.
3796
8cab9efc
AM
37972012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3798
3799 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3800 Check for `ispell-dictionary-base-alist' instead of full
3801 `ispell-dictionary-alist'.
3802 (ispell-init-process): Show spellchecker when starting new Ispell
3803 process.
3804
fda91268
RZ
38052012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3808 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3809
694ea8e3
JB
38102012-05-27 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * version.el (motif-version-string, gtk-version-string)
3813 (ns-version-string): Declare.
3814
e4d4f539
JL
38152012-05-27 Juri Linkov <juri@jurta.org>
3816
3817 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3818 after the `eval-defun-1' specialcaseing
3819 like in `edebug-eval-defun' (bug#10181).
3820
3821 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3822 like in `eval-defun-1'.
3823
33017faf 38242012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3825
fda91268
RZ
3826 * mail/sendmail.el (mail-yank-region):
3827 Recognize rmail-yank-current-message in addition to insert-buffer.
3828 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3829 a *mail* buffer created through rmail-start-mail with sendmail as
3830 mail-user-agent.
3831
33017faf
GM
38322012-05-27 Chong Yidong <cyd@gnu.org>
3833
3834 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3835 Default to 256 (Bug#11267).
3836
3837 * help.el (describe-mode): Doc fix.
3838
04188bb9
GM
38392012-05-26 Glenn Morris <rgm@gnu.org>
3840
38264cc9
GM
3841 * w32-fns.el (w32-init-info): Remove.
3842 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3843
eb7afdad
GM
3844 * info.el (info-initialize): For self-contained NS builds, put the
3845 included info/ directory at the front. (Bug#2791)
3846
04188bb9
GM
3847 * paths.el (Info-default-directory-list): Make it a defcustom,
3848 mainly so that we can use custom-initialize-delay.
3849
a179e3f7
SM
38502012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3851
43416392
SM
3852 * subr.el (buffer-has-markers-at): Mark obsolete.
3853
a179e3f7 3854 * subr.el (lambda): Use declare.
43416392 3855
a179e3f7
SM
3856 * emacs-lisp/lisp-mode.el (lambda):
3857 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3858
34a008d9
AH
38592012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3860
3861 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3862
0a3b289f
GM
38632012-05-26 Glenn Morris <rgm@gnu.org>
3864
3865 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3866
758c81e8
GM
38672012-05-25 Glenn Morris <rgm@gnu.org>
3868
f9f334f0
GM
3869 * paths.el: Remove no-byte-compile.
3870 * loadup.el: No need to load paths.el uncompiled.
3871
87eb79c2
GM
3872 * image.el (imagemagick-types-inhibit): Doc fix.
3873
758c81e8
GM
3874 * version.el: Remove no-byte-compile and associated formatting.
3875 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3876 is ancient code from when there was an "inc-vers.el".
3877
e7e85dc0
SM
38782012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * progmodes/gdb-mi.el: Minor style changes.
3881 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3882 Turn into minor modes.
3883 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3884 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3885 (gdb-shell): Remove unneeded let-binding.
3886 (gdb-get-many-fields): Eliminate O(n²) behavior.
3887
f31237a4
EZ
38882012-05-25 Eli Zaretskii <eliz@gnu.org>
3889
3890 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3891 platforms that don't link in fontset.c.
3892
bc1b21bb
JL
38932012-05-25 Juri Linkov <juri@jurta.org>
3894
3895 Use the same diff color scheme as in modern VCSes (bug#10181).
3896
3897 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3898 to avoid confusion with `diff-added' that now uses green colors.
3899 (diff-removed): Use shades of red.
3900 (diff-added): Use shades of green.
3901 (diff-changed): Leave just the yellow color.
3902 (diff-use-changed-face): New variable.
3903 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3904 how to highlight context diff changes.
3905 (diff-refine-change): Use shades of yellow.
3906 (diff-refine-removed): New face that uses shades of red.
3907 (diff-refine-added): New face that uses shades of green.
3908 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3909 `diff-refine-removed' in the call to `smerge-refine-subst'
3910 depending on the value of `diff-use-changed-face'.
3911
3912 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3913 (smerge-other): Use shades of green.
3914 (smerge-base): Use shades of yellow.
3915 (smerge-refined-change): Empty face.
3916 (smerge-refined-removed): New face that uses shades of red.
3917 (smerge-refined-added): New face that uses shades of green.
3918 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3919 args `props-r' and `props-a', and use them. Doc fix.
3920 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3921 on its value use different faces `smerge-refined-change',
3922 `smerge-refined-removed', `smerge-refined-added' in the call to
3923 `smerge-refine-subst'.
3924
3925 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3926 Add face condition `min-colors 88' with shades of red.
3927 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3928 `min-colors 88' with shades of green.
3929 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3930 `min-colors 88' with shades of yellow.
3931
6df9112c
GM
39322012-05-24 Glenn Morris <rgm@gnu.org>
3933
ead5edc0
GM
3934 * paths.el (prune-directory-list, remote-shell-program): Move to...
3935 * files.el (prune-directory-list, remote-shell-program): ...here.
3936 For the latter, delay initialization, prefer ssh, just search PATH.
3937
f18b81e6
GM
3938 * paths.el (term-file-prefix): Move to faces.el (the only user).
3939 * faces.el (term-file-prefix): Move here, make it a defcustom.
3940
ee2f89a6
GM
3941 * paths.el (news-directory, news-path, news-inews-program):
3942 Move to gnus/nnspool.el.
61a583ca 3943
f8815e4c
GM
3944 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3945
c8f3b42c
GM
3946 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3947 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3948 Make the latter a defcustom, with a delayed initialization.
3949
6df9112c
GM
3950 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3951 These were deleted from Gnus itself late 2010.
3952
5dadff36
JB
39532012-05-22 Juanma Barranquero <lekktu@gmail.com>
3954
9e1701c6
JB
3955 * progmodes/which-func.el (which-func-ff-hook):
3956 Check against user-error, not error.
3957
bd7239f5 3958 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3959 cl-specs.el, which no longer exists.
3960
3290526d
GM
39612012-05-22 Glenn Morris <rgm@gnu.org>
3962
3963 * info.el (info-emacs-bug): New command.
3964 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3965 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3966
ff0c3cfb
GM
39672012-05-21 Glenn Morris <rgm@gnu.org>
3968
3969 * makefile.w32-in (update-subdirs-SH):
3970 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3971
5814f126
SM
39722012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3973
a52c0aa0
SM
3974 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3975
5814f126
SM
3976 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3977 Simplify Maven regexp, and make sure the file can't start with a space
3978 (bug#11517).
3979
b847032c
GM
39802012-05-21 Glenn Morris <rgm@gnu.org>
3981
3982 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3983 Scrap superfluous subshells.
3984
3858bfe7
SM
39852012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3988 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3989
d14b0029
JB
39902012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3991
3992 * calc/calc.el (calc-ensure-consistent-units): New variable.
3993
a52c0aa0
SM
3994 * calc/calc-units.el (math-consistent-units-p)
3995 (math-check-unit-consistency): New functions.
3996 (calc-quick-units, calc-convert-units):
3997 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3998 is non-nil.
d14b0029
JB
3999 (calc-extract-units): Fix typo.
4000
60c4db3a
SM
40012012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4002
77f3b62e
SM
4003 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4004
60c4db3a
SM
4005 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4006 (flyspell-default-deplacement-commands): Don't spell check after
4007 repeated window/frame switches (e.g. triggered by mouse-movement).
4008 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4009 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4010 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4011 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4012 Remove unused vars.
4013 (flyspell-get-casechars, flyspell-get-not-casechars):
4014 Simplify; Don't bother removing a ] just to add it back.
4015 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4016
d209e2fb 40172012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4018
4019 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4020 New functions.
bd7239f5 4021 (math-function-table): Add support for more C functions.
b1a10716 4022
3f1b25b5
AM
40232012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4024
090bd7cb
JB
4025 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4026 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4027 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4028
b581bb5c
SM
40292012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4032 their respective macro declarations.
4033 * skeleton.el (define-skeleton):
4034 * progmodes/compile.el (define-compilation-mode):
4035 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4036 (define-ibuffer-filter):
4037 * emacs-lisp/generic.el (define-generic-mode):
4038 * emacs-lisp/easy-mmode.el (define-minor-mode)
4039 (define-globalized-minor-mode):
4040 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4041 * emacs-lisp/byte-run.el (defsubst):
4042 * custom.el (deftheme): Add doc-string metadata.
4043
70b8ef8f
SM
40442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4047
b1198e17
SM
40482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4049
9abdc45d
SM
4050 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4051
b1198e17
SM
4052 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4053 * emacs-lisp/cl-macs.el: Idem.
4054 * emacs-lisp/cl-specs.el: Remove.
4055
4735906a
SM
40562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 Minor renaming of internal CL functions and variables.
4059 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4060 (cl--position): Rename from cl-position.
4061 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4062 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4063 (cl--random-state): Rename from *random-state*.
4064
ac348012
SM
40652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4068 parens around the arg list (bug#11499).
4069
a0a79cde
JL
40702012-05-17 Juri Linkov <juri@jurta.org>
4071
4072 * isearch.el (word-search-regexp, word-search-backward)
4073 (word-search-forward, word-search-backward-lax)
4074 (word-search-forward-lax): Move functions from search.c
4075 (bug#10145, bug#11381).
4076
65034a51
AM
40772012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4078
090bd7cb
JB
4079 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4080 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4081 Delay for otherchars as for normal word components.
65034a51 4082
1a72a195
SM
40832012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 * minibuffer.el (completion--sifn-requote): Fix last change.
4086 (minibuffer-local-must-match-filename-map):
4087 Move define-obsolete-variable-alias before its var.
4088
fdb058c2
SM
40892012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4090
c41045e6
SM
4091 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4092
036dfb8b
SM
4093 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4094 behavior.
4095 (completion--string-equal-p): New function.
4096 (completion--twq-all): Use it to get better assertion failure data.
4097
2473256d
SM
4098 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4099 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4100 (shell--requote-argument): New functions.
4101 (shell-completion-vars): Use them.
4102 (shell--parse-pcomplete-arguments): Rename from
4103 shell-parse-pcomplete-arguments.
4104 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4105 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4106 Obey comint-file-name-quote-list.
4107
fdb058c2
SM
4108 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4109 (smie-indent-keyword): Use it.
4110
51fa99f1
SM
41112012-05-14 Stefan Merten <smerten@oekonux.de>
4112
4113 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4114
e18afed7 41152012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4116
4117 * net/rlogin.el (rlogin-mode-map): Fix last change.
4118
e18afed7 41192012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4120
4121 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4122 the following \r\n using a single `process-send-string', since the
4123 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4124 with two `process-send-string's (Bug#11444).
8633b1f4 4125
e18afed7 41262012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4127
fdb058c2
SM
4128 * shell.el (shell-parse-pcomplete-arguments):
4129 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4130
2d21d7f6
WJ
41312012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4132
e18afed7 4133 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4134 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4135 (image-transform-width, image-transform-fit-width): New functions.
4136 (image-transform-properties): Use them.
4137 (image-transform-check-size): New function.
4138 (image-toggle-display-image): Use it (for testing).
4139 (image-transform-set-rotation): Reduce angle mod 360.
4140 Delete obsolete comment.
4141
7102e6d0
WJ
41422012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4143
4144 * image-mode.el: Fix scaling (bug#11399).
4145 (image-transform-resize): Doc fix.
4146 (image-transform-properties): Default scale is 1 and height should
4147 be an integer.
4148
06bc5e6e
SM
41492012-05-13 Johan Bockgård <bojohan@gnu.org>
4150
4151 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4152 than hard-coding `car', to fix misbehavior when moving forward.
4153
0ae03b6a
CY
41542012-05-13 Chong Yidong <cyd@gnu.org>
4155
4156 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4157 (tabulated-list-entries, tabulated-list-padding)
4158 (tabulated-list-sort-key): Make permanent-local.
4159
4160 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4161 (electric-buffer-list): Put electric buffer menu
4162 command descriptions in this docstring, instead of the docstring
4163 of electric-buffer-menu-mode. Code cleanups.
4164 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4165 Electric-buffer-menu-mode.
4166 (electric-buffer-update-highlight): Minor code cleanup.
4167
205a7391
MA
41682012-05-13 Michael Albinus <michael.albinus@gmx.de>
4169
4170 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4171 (Bug#11447)
4172
e5bd0a28
SM
41732012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 Move define-obsolete-variable-alias before the var's definition.
4176 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4177 * tooltip.el (tooltip-hook):
4178 * textmodes/reftex-toc.el (reftex-toc-map):
4179 * textmodes/reftex-sel.el (reftex-select-label-map)
4180 (reftex-select-bib-map):
4181 * textmodes/reftex-index.el (reftex-index-map)
4182 (reftex-index-phrases-map):
4183 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4184 * progmodes/meta-mode.el (meta-mode-map):
4185 * novice.el (disabled-command-hook):
4186 * loadhist.el (unload-hook-features-list):
4187 * frame.el (blink-cursor):
4188 * files.el (find-file-not-found-hooks, write-file-hooks)
4189 (write-contents-hooks):
4190 * emulation/tpu-edt.el (GOLD-map):
4191 * emacs-lock.el (emacs-lock-from-exiting):
4192 * emacs-lisp/generic.el (generic-font-lock-defaults):
4193 * emacs-lisp/chart.el (chart-map):
4194 * dos-fns.el (register-name-alist):
4195 * dired-x.el (dired-omit-files-p):
4196 * desktop.el (desktop-enable):
4197 * cus-edit.el (custom-mode-hook):
4198 * buff-menu.el (buffer-menu-mode-hook):
4199 * bookmark.el (bookmark-read-annotation-text-func)
4200 (bookmark-exit-hooks):
4201 * allout.el (allout-mode-deactivate-hook)
4202 (allout-exposure-change-hook, allout-structure-added-hook)
4203 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4204 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4205 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4206 comes before the corresponding variable's definition.
4207
ac59c2f6
CY
42082012-05-12 Chong Yidong <cyd@gnu.org>
4209
4210 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4211 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4212 (Buffer-menu-mode-map): Bind it.
4213 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4214
dee6c9a3
SM
42152012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4216
2171cea5
SM
4217 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4218 (prolog-upper-case-string, prolog-lower-case-string)
4219 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4220 (prolog-use-smie, prolog-smie-grammar): New vars.
4221 (prolog-smie-forward-token, prolog-smie-backward-token)
4222 (prolog-smie-rules): New funs.
4223 (prolog-comment-indent): Remove.
4224 (prolog-mode-variables): Use default comment indentation instead.
4225 Setup SMIE.
4226 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4227 (prolog-mode): Don't call them any more.
4228 (prolog-electric-colon, prolog-electric-dash)
4229 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4230
aa0382bd
SM
4231 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4232
dbacb4bd
SM
4233 * minibuffer.el (completion--twq-all): Again, allow case differences.
4234
13bdd94c
SM
4235 * term.el: Move keymap initialization code to be more idiomatic.
4236 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4237 (term-terminal-menu): Move initialization into declaration.
4238 (term-escape-char): Let the user set it in her .emacs.
4239
ff46c759
SM
4240 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4241 Provide SMIE-based indentation (not enabled by default yet).
4242 (sh-mode-map): Don't bind electric keys.
4243 Use electric-pair-mode instead of skeleton-pair.
4244 (sh-assignment-regexp): Fit within 80 columns.
4245 (sh-indent-supported): Specify actual shell name instead of boolean.
4246 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4247 (sh-maybe-here-document): Use it. Make obsolete.
4248 (sh-electric-here-document-mode) New minor mode.
4249 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4250 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4251 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4252 (sh-smie-rc-grammar, sh-use-smie): New vars.
4253 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4254 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4255 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4256 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4257 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4258 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4259 (sh-set-shell): Use smie-setup if requested.
4260
dee6c9a3
SM
4261 * term.el (term-set-escape-char): Properly set term-escape-char.
4262 See http://stackoverflow.com/questions/10524656.
4263
9f9aa044
CY
42642012-05-10 Chong Yidong <cyd@gnu.org>
4265
4266 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4267 Use url-generic-parse-url, and handle host names and Windows
4268 filenames properly.
4269 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4270 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4271 URL schemes to work on.
4272 (ffap--toggle-read-only): New function.
4273 (ffap-read-only, ffap-read-only-other-window)
4274 (ffap-read-only-other-frame): Use it.
4275 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4276 necessary for ffap-url-unwrap-remote.
4277
836d29b3
DA
42782012-05-10 Dave Abrahams <dave@boostpro.com>
4279
4280 * cus-start.el (create-lockfiles): Add it.
4281
00fd78ed
CY
42822012-05-09 Chong Yidong <cyd@gnu.org>
4283
4284 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4285 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4286
666b903b 42872012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4288
4289 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4290
666b903b 42912012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4292
4293 * ansi-color.el (ansi-color-process-output): Check for validity of
4294 comint-last-output-start before using it. This avoids a bad
4295 interaction with gdb-mi's input/output buffer.
4296
666b903b 42972012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4298
4299 * files.el (dir-locals-read-from-file):
4300 Mention dir-locals in any error message.
4301
666b903b 43022012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4303
4304 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4305 package (Bug#11410).
4306
f677562b
CY
4307 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4308 variables into description.
4309
666b903b 43102012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4311
4312 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4313 shell-delimiter-argument-list (bug#11348).
4314 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4315
b499d8d0
JB
43162012-05-09 Juanma Barranquero <lekktu@gmail.com>
4317
8f6b6da8
JB
4318 * textmodes/rst.el: Silence byte-compiler warnings.
4319 (rst-re-alist, rst-reset-section-caches): Move around.
4320 (rst-re): Use `characterp', not `char-valid-p'.
4321 (font-lock-beg, font-lock-end): Declare.
4322
4824146a
JB
4323 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4324 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4325
b499d8d0
JB
4326 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4327
ad89bb83
GM
43282012-05-08 Glenn Morris <rgm@gnu.org>
4329
4330 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4331
8bba5a75
SM
43322012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4333
49ed9c8e
SM
4334 * vc/log-edit.el: Add GNU coding standards highlighting.
4335 (log-edit-font-lock-gnu-style)
4336 (log-edit-font-lock-gnu-keywords): New vars.
4337 (log-edit-font-lock-keywords): New fun.
4338 (log-edit-mode): Don't fold case in font-lock.
4339 (log-edit-font-lock-keywords): Do not assume case-folding.
4340
07d00b56
SM
4341 * imenu.el: Misc cleanup. Make docstrings out of comments.
4342 Use lexical-binding.
4343 (imenu--index-alist, imenu--last-menubar-index-alist)
4344 (imenu-menubar-modified-tick): Use defvar-local.
4345 (imenu--split-menu): Remove unused var.
4346 (imenu--cleanup-seen): Declare as global.
4347 (imenu--cleanup): Use dolist.
4348
8bba5a75
SM
4349 * subr.el (defvar-local): Add debug spec and doc-string position.
4350
5075bdb5
GM
43512012-05-08 Glenn Morris <rgm@gnu.org>
4352
090bd7cb 4353 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4354 * language/english.el, language/georgian.el, language/greek.el:
4355 * language/japanese.el, language/khmer.el, language/korean.el:
4356 * language/lao.el, language/misc-lang.el, language/romanian.el:
4357 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4358 * language/thai.el, language/utf-8-lang.el:
4359 Remove no-byte-compile setting.
4360
5075bdb5
GM
4361 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4362
06f679a7
AH
43632012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4364
4365 * progmodes/make-mode.el (makefile-browse):
4366 Remove unnecessary interactive. (Bug#11324)
4367
03794570
GM
43682012-05-07 Glenn Morris <rgm@gnu.org>
4369
af8630f4
GM
4370 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4371
03794570
GM
4372 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4373
f0809a9d
SM
43742012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4375
28be5ce7
SM
4376 * loadup.el: Preload newcomment.el.
4377 * newcomment.el: Move autoload-only code to toplevel.
4378
f0809a9d
SM
4379 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4380 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4381 Handle new :right-align column property.
4382 (tabulated-list-print-col): Idem, plus use `display' text-property to
4383 try and preserve alignment for variable pitch fonts.
4384
1241b724
CY
43852012-05-07 Chong Yidong <cyd@gnu.org>
4386
4387 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4388 (tabulated-list-use-header-line): New var.
4389 (tabulated-list-init-header): Use it.
4390 (tabulated-list-print-fake-header): New function.
4391 (tabulated-list-print): Use it.
4392 (tabulated-list-sort-button-map): Add non-header-line commands.
4393 (tabulated-list-init-header): Add column name property to basic
4394 labels as well.
4395 (tabulated-list-col-sort): Handle non-header-line button case.
4396 (tabulated-list--sort-by-column-name): Fix a corner case.
4397
f0809a9d
SM
4398 * buff-menu.el (list-buffers--refresh):
4399 Handle Buffer-menu-use-header-line.
1241b724 4400
e5f9458f
CY
44012012-05-06 Chong Yidong <cyd@gnu.org>
4402
4403 * buff-menu.el: Convert to Tabulated List mode.
4404 (Buffer-menu-buffer+size-width): Make obsolete.
4405 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4406 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4407 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4408 documentation into docstring of buffer-menu.
4409 (Buffer-menu-toggle-files-only): Add an informative message.
4410 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4411 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4412 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4413 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4414 (Buffer-menu-execute, Buffer-menu-select)
4415 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4416 (Buffer-menu-bury): Use Tabulated List machinery.
4417 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4418 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4419 Delete.
e5f9458f
CY
4420 (list-buffers--refresh): New function.
4421 (list-buffers-noselect): Use it.
4422 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4423 (Buffer-menu--pretty-file-name): New helper functions.
4424
4425 * loadup.el: Preload tabulated-list.
4426
4427 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4428 tabulated-list-sort-column.
4429 (tabulated-list-init-header): Add the initial aligning space even
4430 if tabulated-list-padding is zero.
4431
e129292c
CS
44322012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4433
4434 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4435 whose cdr is not a cons cell correctly (bug#11038).
4436
6632d361
CY
44372012-05-06 Chong Yidong <cyd@gnu.org>
4438
e129292c
CS
4439 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4440 Accept additional plist in column descriptors.
6632d361
CY
4441 (tabulated-list-init-header): Obey it.
4442 (tabulated-list-get-entry): New function.
4443 (tabulated-list-put-tag): Use it. Use string-width instead of
4444 length.
4445 (tabulated-list--column-number): New function.
4446 (tabulated-list-print): Use it.
e129292c
CS
4447 (tabulated-list-print-col): New function.
4448 Set `tabulated-list-column-name' property on each column's text.
6632d361 4449 (tabulated-list-print-entry): Use it.
e129292c
CS
4450 (tabulated-list-delete-entry, tabulated-list-set-col):
4451 New functions.
6632d361
CY
4452 (tabulated-list-sort-column): New command (Bug#11337).
4453
3cc99f68
CY
4454 * buff-menu.el (list-buffers): Move C-x C-b binding from
4455 buff-menu.el to bindings.el.
4456
4457 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4458 :advertised-binding feature.
4459
52b61776
TN
44602012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4461
4462 * progmodes/compile.el (compilation-internal-error-properties):
4463 Calculate start position correctly when end-col is set but
4464 end-line is not (Bug#11382).
4465
ebfe2597
WJ
44662012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4467
4468 * man.el (Man-unindent): Use text-property-default-nonsticky to
4469 prevent untabify from inheriting face properties (Bug#11408).
4470
6d3f7c2f
SM
44712012-05-05 Stefan Merten <smerten@oekonux.de>
4472
4473 * textmodes/rst.el: Major merge with upstream development up to
4474 Docutils SVN r7399 / rst.el V1.2.1.
4475
4476 Clarify maintainership and authors.
4477
4478 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4479 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4480 (rst-official-version, rst-official-cvs-rev, rst-version)
4481 (rst-package-emacs-version-alist): New functions and variables
4482 for version information.
4483
4484 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4485 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4486 (rst-mode-syntax-table, rst-mode): New and corrected functions
4487 and variables representing reStructuredText features.
4488
4489 (rst-re): New function for reStructuredText regexes. Use in
4490 many places.
4491
4492 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4493 (rst-mode-map): Rebind keys.
4494
4495 (rst-mode-lazy, rst-font-lock-keywords)
4496 (rst-font-lock-extend-region)
4497 (rst-font-lock-extend-region-internal)
4498 (rst-font-lock-extend-region-extend)
4499 (rst-font-lock-find-unindented-line-limit)
4500 (rst-font-lock-find-unindented-line-match)
4501 (rst-adornment-level, rst-font-lock-adornment-level)
4502 (rst-font-lock-adornment-match)
4503 (rst-font-lock-handle-adornment-pre-match-form)
4504 (rst-font-lock-handle-adornment-matcher): Major revision of
4505 font-locking. Integrate with other code. Use `jit-lock-mode'.
4506
4507 (rst-preferred-adornments, rst-adjust-hook)
4508 (rst-new-adornment-down, rst-preferred-bullets)
4509 (rst-preferred-bullets, rst-indent, rst-indent-width)
4510 (rst-indent-field, rst-indent-literal-normal)
4511 (rst-indent-literal-minimized, rst-indent-comment): Change,
4512 extend and improve customization.
4513
4514 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4515 (rst-normalize-cursor-position, rst-get-decoration)
4516 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4517 (rst-rstrip, rst-toc-insert-find-delete-contents)
4518 (rst-shift-fill-region, rst-compute-bullet-tabs)
4519 (rst-debug-print-tabs, rst-debug-mark-found)
4520 (rst-shift-region-guts, rst-shift-region-right)
4521 (rst-shift-region-left, rst-use-char-classes)
4522 (rst-font-lock-keywords-function)
4523 (rst-font-lock-indentation-point)
4524 (rst-font-lock-find-unindented-line-begin)
4525 (rst-font-lock-find-unindented-line-end)
4526 (rst-font-lock-find-unindented-line)
4527 (rst-font-lock-adornment-point, rst-font-lock-level)
4528 (rst-adornment-level-alist): Remove functions and variables.
4529
4530 (rst-compare-adornments, rst-get-adornment-match)
4531 (rst-suggest-new-adornment, rst-get-adornments-around)
4532 (rst-adornment-complete-p, rst-get-next-adornment)
4533 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4534 (rst-straighten-adornments): Standardize function names to
4535 use "adornment" instead of "decoration". Correct callers.
4536 Similar standardizing in many places.
4537
4538 (rst-update-section, rst-adjust, rst-promote-region)
4539 (rst-enumerate-region, rst-bullet-list-region)
4540 (rst-repeat-last-character): Correct use of `interactive'.
4541
4542 (rst-classify-adornment, rst-find-all-adornments)
4543 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4544 (rst-find-leftmost-column, rst-repeat-last-character):
4545 Refactor functions.
4546
4547 (rst-find-title-line, rst-reset-section-caches)
4548 (rst-get-adornments-around, rst-adjust-adornment-work)
4549 (rst-arabic-to-roman, rst-roman-to-arabic)
4550 (rst-insert-list-pos, rst-insert-list-new-item)
4551 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4552 New functions.
4553
4554 (rst-all-sections, rst-section-hierarchy)
4555 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4556 New variables.
4557
4558 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4559 configuration instead of only buffer. Change where necessary.
4560
4561 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4562 (rst-shift-region, rst-adaptive-fill): New functions for
4563 indentation and filling.
4564
4565 (rst-comment-line-break, rst-comment-indent)
4566 (rst-comment-insert-comment, rst-comment-region)
4567 (rst-uncomment-region): New functions for handling comments.
4568
4569 (rst-compile): Quote shell arguments.
4570
4571 (rst-compile-pdf-preview, rst-compile-slides-preview):
4572 Delete temporary files after use.
4573
a43f98b3
GM
45742012-05-05 Glenn Morris <rgm@gnu.org>
4575
48176e8b
GM
4576 * calendar/cal-html.el: Optionally include holidays in the output.
4577 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4578 (cal-html-holidays): New option.
4579 (cal-html-css-default): Add holiday entry.
4580 (holiday-in-range): Autoload it.
4581 (cal-html-htmlify-entry): Add optional class argument.
4582 (cal-html-htmlify-list): Add optional holidays argument.
4583 (cal-html-insert-agenda-days): Include holidays in the output.
4584 (cal-html-one-month): Maybe include holidays.
4585
a43f98b3
GM
4586 * calendar/holidays.el (holiday-in-range):
4587 Move here from cal-tex-list-holidays.
4588 * calendar/cal-tex.el (cal-tex-list-holidays):
4589 Make it an obsolete alias for holiday-in-range. Update all callers.
4590
fef9d149 45912012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4592
4593 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4594 Nextstep.
4595
248da2f4
RW
45962012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4597
4598 * files.el (file-auto-mode-skip): New var.
4599 (set-auto-mode-1): Use it.
4600
f95e9344
SM
46012012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4602
df96ab1e
SM
4603 * repeat.el: Use lexical-binding.
4604 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4605 (repeat-undo-count): Remove.
4606 (repeat):
4607 * progmodes/octave-mod.el (octave-abbrev-start):
4608 * progmodes/f90.el (f90-abbrev-start):
4609 * face-remap.el (text-scale-adjust):
4610 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4611
5342bb06
SM
4612 * emacs-lisp/pcase.el (pcase--let*): New function.
4613 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4614 a bit more.
4615 (pcase--split-pred): Be more clever about ruling out overlap between
4616 a predicate and some constant pattern.
4617 (pcase--q1): Use `null' instead of (eq foo nil).
4618
f95e9344
SM
4619 * subr.el (setq-local, defvar-local): New macros.
4620 (kbd): Redefine as an alias.
4621 (with-selected-window): Leave unrelated frames alone.
4622 (set-temporary-overlay-map): New function.
4623
71873e2b
SM
46242012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * subr.el (user-error): New function.
4627 * window.el (switch-to-buffer):
4628 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4629 (smerge-match-conflict):
4630 * simple.el (previous-matching-history-element)
4631 (next-matching-history-element, goto-history-element, undo-more)
4632 (undo-start):
4633 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4634 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4635 (next-file, tags-loop-scan, list-tags, complete-tag):
4636 * progmodes/compile.el (compilation-loop):
4637 * mouse.el (mouse-minibuffer-check):
4638 * man.el (Man-bgproc-sentinel, Man-goto-page):
4639 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4640 (Info-history-forward, Info-follow-reference, Info-menu)
4641 (Info-extract-menu-item, Info-extract-menu-counting)
4642 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4643 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4644 (Info-next-reference, Info-prev-reference, Info-index)
4645 (Info-index-next, Info-follow-nearest-node)
4646 (Info-copy-current-node-name):
4647 * imenu.el (imenu--make-index-alist)
4648 (imenu-default-create-index-function, imenu-add-to-menubar):
4649 * files.el (basic-save-buffer, recover-file):
4650 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4651 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4652 (checkdoc-message-text, checkdoc-defun):
4653 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4654 * cus-edit.el (customize-changed-options, customize-rogue)
4655 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4656 (custom-variable-mark-to-reset-standard)
4657 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4658 (custom-file):
4659 * completion.el (check-completion-length):
4660 * comint.el (comint-search-arg)
4661 (comint-previous-matching-input-string-position)
4662 (comint-previous-matching-input)
4663 (comint-replace-by-expanded-history-before-point, comint-send-input)
4664 (comint-copy-old-input, comint-backward-matching-input)
4665 (comint-goto-process-mark, comint-set-process-mark):
4666 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4667 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4668
8a61ee22
SM
46692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4670
66408d1e
SM
4671 * dabbrev.el (dabbrev--ignore-case-p): New function.
4672 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4673 Use it.
4674
8a61ee22
SM
4675 * files.el (automount-dir-prefix): Mark as obsolete.
4676
3c74813a
GM
46772012-05-04 Glenn Morris <rgm@gnu.org>
4678
4679 * patcomp.el, play/bruce.el: Move to obsolete/.
4680
0bfcf5c5
PE
46812012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4682
4683 Fix minor Y10k bugs.
4684 * arc-mode.el (archive-unixdate):
4685 * autoinsert.el (auto-insert-alist):
4686 * calc/calc-forms.el (math-this-year):
4687 * emacs-lisp/copyright.el (copyright-current-year)
4688 (copyright-update-year, copyright):
4689 * tar-mode.el (tar-clip-time-string):
4690 * time.el (display-time-update):
4691 Don't assume years have 4 digits.
4692
78f3273a
CY
46932012-05-04 Chong Yidong <cyd@gnu.org>
4694
4695 * dos-w32.el (file-name-buffer-file-type-alist)
4696 (direct-print-region-use-command-dot-com):
4697 * ffap.el (ffap-menu-regexp):
4698 * find-file.el (ff-special-constructs):
4699 * follow.el (follow-debug):
4700 * forms.el (forms--debug):
4701 * iswitchb.el (iswitchb-all-frames):
4702 * ido.el (ido-all-frames):
4703 * emacs-lisp/timer.el (timer-max-repeats):
4704 * mail/feedmail.el (feedmail-mail-send-hook)
4705 (feedmail-mail-send-hook-queued):
4706 * mail/footnote.el (footnote-signature-separator):
4707 * mail/mailabbrev.el (mail-alias-separator-string)
4708 (mail-abbrev-mode-regexp):
4709 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4710 * progmodes/idlwave.el (idlwave-libinfo-file)
4711 (idlwave-default-completion-case-is-down)
4712 (idlwave-library-routines): Convert defvars to defcustoms.
4713
4714 * mail/rmail.el (rmail-decode-mime-charset):
4715 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4716 (idlwave-shell-fix-inserted-breaks)
4717 (idlwave-shell-activate-alt-keybindings)
4718 (idlwave-shell-use-breakpoint-glyph):
4719 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4720
f7ae6719
SM
47212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4724
47086495
WS
47252012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4726
4727 * progmodes/verilog-mode.el (font-lock-keywords):
4728 Fix mis-highligting auto. Reported by Craig Barner.
4729 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4730 defines from global name space. Reported by Dan Dever.
4731 (verilog-auto-reset, verilog-auto-reset-widths)
4732 (verilog-auto-tieoff): Support using unbased numbers for
4733 AUTORESET and AUTOTIEOFF.
4734 (verilog-submit-bug-report): Update variable list.
4735 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4736 parenthesis from not matching. Reported by Michael Rytting.
4737 (verilog-auto-template-lint): Fix hash error when linting modules
4738 with no used templates.
4739 (verilog-warn, verilog-warn-error)
4740 (verilog-warn-fatal): When non-interactive report multiple
4741 warnings before exiting. Suggested by Brad Dobbie.
4742 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4743 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4744 to report unused template errors. Reported by Brad Dobbie.
4745 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4746 nets, bug438. Reported by Vns Blore.
4747 (verilog-auto-inout-module, verilog-auto-reg)
4748 (verilog-read-decls, verilog-read-sub-decls-sig)
4749 (verilog-signals-edit-wire-reg, verilog-signals-with):
4750 Fix passing of Verilog data types in ANSI input/output ports
4751 such as "output logic" into the AUTOs. Special case "wire" and
4752 "reg" for backwards compatibility presuming Verilog 2001.
4753 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4754 (verilog-preprocess): Fix replication of preprocess output.
4755 Reported by Brad Dobbie.
4756 (verilog-auto-inst-interfaced-ports):
4757 Create verilog-auto-inst-interfaced-ports, bug429.
4758 Reported by Julian Gorfajn.
4759 (verilog-after-save-font-hook)
4760 (verilog-before-save-font-hook): New variable.
4761 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4762 (verilog-save-font-mods): Wrap disabling fontification, reported
4763 by David Rogoff.
4764 (verilog-do-indent, verilog-pretty-declarations-auto)
4765 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4766 Reported by Pierre-David Pfister.
4767 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4768 of class declarations, bug292. Reported by Kevin Heilman.
4769 (verilog-read-decls): Fix 'parameter type' not appearing in
4770 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4771 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4772 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4773 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4774 Reported by David Kravitz.
4775
47762012-05-03 Michael McNamara <mac@mail.brushroad.com>
4777
4778 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4779 assignment with tests in ifs and for loops.
4780 (verilog-extended-complete-re, verilog-complete-reg): Change so
4781 that DPI inport functions don't look like fuction declarations.
4782 (verilog-pretty-expr): Don't line up assignment
4783 operations to the test and increment in if and for loops
4784 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4785 that DPI inport functions don't look like fuction declarations.
47086495 4786
2e51d4b5
KH
47872012-05-03 Kenichi Handa <handa@m17n.org>
4788
4789 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4790 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4791 (Bug#11282).
4792
2bd785a2
SM
47932012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/bytecomp.el
4796 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4797 since cconv.el might have introduced :fun-body, internal-make-closure,
4798 and friends for bytecomp to handle (bug#11391).
4799 * custom.el (defcustom): Avoid ((λ ..) ..).
4800
99d27583
SM
48012012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4804
55a71479
JB
48052012-05-02 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * notifications.el (dbus-debug):
4808 * term/linux.el (gpm-mouse-enable):
4809 * term/screen.el (xterm-register-default-colors): Declare.
4810
7b97c764
CY
48112012-05-02 Chong Yidong <cyd@gnu.org>
4812
2bc356d7
CY
4813 * cus-start.el (gc-cons-percentage, exec-suffixes)
4814 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4815 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4816 (make-cursor-line-fully-visible, void-text-area-pointer)
4817 (font-list-limit): Add customization data.
4818
7b97c764
CY
4819 * allout.el (allout-exposure-change-functions)
4820 (allout-structure-added-functions)
4821 (allout-structure-deleted-functions)
4822 (allout-structure-shifted-functions): Rename abnormal hooks from
4823 *-hook, and convert to defcustoms.
5d3385a0
JB
4824 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4825 Convert to defcustoms.
7b97c764
CY
4826 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4827
4828 * allout-widgets.el: Hook callers changed.
4829
90207a15 48302012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4831
4832 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4833 the yanked message in preference to the default value of
4834 buffer-file-coding-system.
4835
90207a15 48362012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4837
5d3385a0
JB
4838 * window.el (display-buffer--action-function-custom-type):
4839 Fix entry.
d9558cad 4840
90207a15 48412012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4842
4843 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4844
d80ac57b
GM
48452012-05-01 Glenn Morris <rgm@gnu.org>
4846
976f7668
GM
4847 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4848
beb83b5a
GM
4849 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4850
d80ac57b
GM
4851 * cus-edit.el (custom-variable-documentation): Simplify with format.
4852
b593d6a9 48532012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4854 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4855
4856 * simple.el (suggest-key-bindings, execute-extended-command):
4857 Move from keyboard.c.
4858
782fbf2a
CY
48592012-05-01 Chong Yidong <cyd@gnu.org>
4860
4861 * follow.el: Eliminate advice.
4862 (set-process-filter, process-filter, sit-for): Advice deleted.
4863 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4864 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4865 Vars deleted.
782fbf2a
CY
4866 (follow-auto): Use a :set function.
4867 (follow-mode): Rewritten. Don't advise process filters.
4868 (follow-switch-to-current-buffer-all, follow-scroll-up)
4869 (follow-scroll-down): Assume follow-mode is bound.
4870 (follow-comint-scroll-to-bottom)
4871 (follow-align-compilation-windows): New functions.
4872 (follow--window-sorter): New function.
4873 (follow-all-followers): Use it to explicitly sort windows by their
4874 positions; don't make assumptions about next-window order.
4875 (follow-windows-start-end, follow-delete-other-windows-and-split)
4876 (follow-calc-win-start): Doc fix.
4877 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4878 vertical-motion unnecessarily.
4879 (follow-adjust-window): New function.
4880 (follow-post-command-hook): Use it.
4881 (follow-call-set-process-filter, follow-call-process-filter)
4882 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4883 (follow-stop-intercept-process-output, follow-generic-filter):
4884 Functions deleted.
4885 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4886 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4887 New functions, replacing advice on scroll-bar-* commands.
87233a14 4888 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4889
4890 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4891 (comint-postoutput-scroll-to-bottom): Use it.
4892 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4893
290af740
GM
48942012-05-01 Glenn Morris <rgm@gnu.org>
4895
4896 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4897 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4898 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4899 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4900 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4901 Remove no-byte-compile setting.
4902
6eac8dc9
SM
49032012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4906 all-completions code to not return a number in the last cdr.
4907
9cc7819c
LL
49082012-04-30 Leo Liu <sdl.web@gmail.com>
4909
4910 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4911 read-only error.
4912
c93b886f
CY
49132012-04-29 Chong Yidong <cyd@gnu.org>
4914
4915 * follow.el (follow-calc-win-end): Rewrite to handle partial
4916 screen lines correctly (Bug#8390).
4917 (follow-avoid-tail-recenter): Minor cleanup.
4918
8b6c19f4
SM
49192012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 Avoid the obsolete `assoc' package.
4922 * speedbar.el (speedbar-refresh): Avoid adelete.
4923 (speedbar-file-lists): Simplify and avoid aput.
4924 * man.el (Man--sections, Man--refpages): New vars, replacing
4925 Man-sections-alist and Man-refpages-alist.
4926 (Man-build-section-alist, Man-build-references-alist):
4927 Use them; avoid aput.
4928 (Man--last-section, Man--last-refpage): New vars.
4929 (Man-follow-manual-reference): Use them.
4930 Use the `default' arg of completing-read.
4931 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4932
c5bb7569
CY
49332012-04-27 Chong Yidong <cyd@gnu.org>
4934
d1d2e2e8
CY
4935 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4936
15cd8efd
CY
4937 * startup.el (x-apply-session-resources): New function.
4938
4939 * term/ns-win.el (ns-initialize-window-system):
4940 * term/w32-win.el (w32-initialize-window-system):
4941 * term/x-win.el (x-initialize-window-system): Use it to properly
4942 set menu-bar-mode and other vars from X resources, even if the
4943 initial frame is not a window-system frame (Bug#2299).
4944
c5bb7569
CY
4945 * subr.el (read-key): Avoid running filter function when setting
4946 up temporary tool bar entries (Bug#9922).
4947
a8e7d6d7 49482012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4949
4950 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4951 (Bug#11344)
4952
a8e7d6d7 49532012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4954
4955 * select.el (xselect--encode-string): New function, split from
4956 xselect-convert-to-string.
4957 (xselect-convert-to-string): Use it.
4958 (xselect-convert-to-filename, xselect-convert-to-os)
4959 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4960 returned strings are properly encoded (Bug#11315).
4961
a8e7d6d7 49622012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4963
4964 * simple.el (delete-active-region): Move to killing custom group.
4965
a8e7d6d7 49662012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4967
4968 * progmodes/which-func.el (which-func-current): Quote %
4969 characters for mode-line processing.
4970
578c1d4b 49712012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4972
4973 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4974 reaching eob (Bug#11286).
4975
a8e7d6d7 49762012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4977
4978 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4979 (gdb): Make it buffer-local and init to zero.
4980 (gdb-control-commands-regexp): New variable.
4981 (gdb-send): Don't wrap in "-interpreter-exec console" if
4982 gdb-control-level is positive. Increment gdb-control-level
4983 whenever the command matches gdb-control-commands-regexp, and
4984 decrement it each time the command is "end". (Bug#11279)
4985
a8e7d6d7 49862012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4987
4988 * window.el (adjust-window-trailing-edge, enlarge-window)
4989 (shrink-window, window-resize):
4990 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4991 windows (Bug#11276).
4992
b3608390
CY
49932012-04-27 Chong Yidong <cyd@gnu.org>
4994
4995 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4996 fix "missing prefix" warning. All callers changed.
b3608390 4997
797e6e88
SM
49982012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * emacs-lisp/assoc.el: Move to obsolete/.
5001
e95a67dc
SM
50022012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5003
657c21e4 5004 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5005
5006 * term/ns-win.el (ns-define-service):
5007 * progmodes/pascal.el (pascal-goto-defun):
5008 * progmodes/js.el (js--read-tab):
5009 * progmodes/etags.el (tags-lazy-completion-table):
5010 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5011 * emacs-lisp/ewoc.el (ewoc--wrap):
5012 * emacs-lisp/assoc.el (aput, adelete, amake):
5013 * doc-view.el (doc-view-convert-current-doc):
5014 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5015
cb3e7ae0
CY
50162012-04-26 Chong Yidong <cyd@gnu.org>
5017
dce04f7f
CY
5018 * image.el (image-type-from-buffer): Only return supported image
5019 type (Bug#9045).
5020
cb3e7ae0
CY
5021 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5022 value, for symmetry with diff-end-of-hunk.
5023 (diff-split-hunk, diff-find-source-location)
5024 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5025 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5026 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5027 compute the relevant hunk or file properly (Bug#6005).
5028 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5029
0d42eb3e
SM
50302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * vc/vc-mtn.el:
5033 * vc/vc-hg.el:
5034 * vc/vc-git.el:
5035 * vc/vc-dir.el:
5036 * vc/vc-cvs.el:
5037 * vc/vc-bzr.el:
5038 * vc/vc-arch.el:
5039 * vc/vc.el: Replace lexical-let by lexical-binding.
5040 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5041 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5042 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5043
f08ae1c9
CY
50442012-04-26 Chong Yidong <cyd@gnu.org>
5045
8b71081d
CY
5046 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5047 (diff-mode-shared-map): Bind it to / and [remap undo].
5048
f08ae1c9
CY
5049 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5050 (ediff-window-setup-function): Use it as the default, to set up
5051 windows based on whether the current frame is graphical (Bug#2138).
5052 (ediff-choose-window-setup-function-automatically): Make obsolete.
5053
5054 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5055
ef24141c
SM
50562012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5057
cc356a5d
SM
5058 * ffap.el: Remove old code for obsolete package.
5059 (ffap-complete-as-file-p): Remove.
5060
b4ff4f1f
SM
5061 Use completion-table-with-quoting for comint and pcomplete.
5062 * comint.el (comint--unquote&requote-argument)
5063 (comint--unquote-argument, comint--requote-argument): New functions.
5064 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5065 (comint-quote-filename): Use regexp-opt-charset.
5066 (comint--common-suffix, comint--common-quoted-suffix)
5067 (comint--table-subvert): Remove.
5068 (comint-unquote-function, comint-requote-function): New vars.
5069 (comint--complete-file-name-data): Use them with
5070 completion-table-with-quoting.
5071 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5072 * pcomplete.el (pcomplete-arg-quote-list)
5073 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5074 (pcomplete-unquote-argument-function): Default to non-nil.
5075 (pcomplete-unquote-argument): Simplify.
5076 (pcomplete--common-quoted-suffix): Remove.
5077 (pcomplete-requote-argument-function): New var.
5078 (pcomplete--common-suffix): New function.
5079 (pcomplete-completions-at-point): Use completion-table-with-quoting
5080 and completion-table-subvert.
5081
79c4eeb4
SM
5082 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5083 (minibuffer--double-dollars): Preserve properties.
5084 (completion--sifn-requote): New function.
5085 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5086
ef24141c
SM
5087 * minibuffer.el: Add support for completion of quoted/escaped data.
5088 (completion-table-with-quoting, completion-table-subvert): New funs.
5089 (completion--twq-try, completion--twq-all): New functions.
5090 (completion--nth-completion): New function.
5091 (completion-try-completion, completion-all-completions): Use it.
5092
784e7d6e
LL
50932012-04-25 Leo Liu <sdl.web@gmail.com>
5094
dd2ac746
SM
5095 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5096 Use compilation-message if available to find real filename.
784e7d6e 5097
07875ee7
CY
50982012-04-25 Chong Yidong <cyd@gnu.org>
5099
5100 * vc/diff-mode.el (diff-setup-whitespace): New function.
5101 (diff-mode): Use it.
5102
5103 * vc/diff.el (diff-sentinel):
5104 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5105 Whitespace mode variables based on diff style (Bug#8612).
5106
5055880d
LL
51072012-04-25 Leo Liu <sdl.web@gmail.com>
5108
daf75653
LL
5109 * progmodes/python.el (python-send-region): Add suffix .py to the
5110 temp file.
5111
5055880d
LL
5112 * files.el (auto-mode-alist): Use javascript-mode instead.
5113
db9b177b
AH
51142012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5115
ef24141c 5116 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5117
090bd7cb 5118 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5119 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5120 references, see Bug#9.
ef24141c 5121 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5122 when receiving a fault reply.
ef24141c 5123 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5124
090bd7cb 5125 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5126 (soap-inspect-simple-type): New function.
db9b177b 5127
090bd7cb 5128 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5129 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5130 (soap-decode-basic-type, soap-encode-basic-type):
5131 support unsignedInt and double basic types.
db9b177b 5132 (soap-resolve-references-for-simple-type)
ef24141c
SM
5133 (soap-parse-simple-type, soap-encode-simple-type): New function.
5134 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5135
090bd7cb 5136 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5137 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5138 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5139 the local name of "soapenc:Array".
5140 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5141 decoding integer, byte and anyURI xsd types.
5142
1fc6097b
CY
51432012-04-25 Chong Yidong <cyd@gnu.org>
5144
5145 * cus-edit.el (custom-buffer-create-internal): Update header text.
5146
afc6df87
EZ
51472012-04-25 Eli Zaretskii <eliz@gnu.org>
5148
5149 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5150 settings on 'system-type', not on 'window-system'. On MS-Windows,
5151 set interactive-mode on in GDB.
5152
dfbd787f
SM
51532012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5156 (ruby-syntax-propertize-regexp): Remove.
5157 (ruby-syntax-propertize-function): Split regexp into chunks.
5158 Match following code directly.
5159
85222d44
DG
51602012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5161
51a8ea2a
DG
5162 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5163 (ruby-syntax-propertize-regexp): New function.
5164 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5165 by a special keyword.
5166
85222d44
DG
5167 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5168 (ruby-syntax-general-delimiters-goto-beg)
5169 (ruby-syntax-propertize-general-delimiters): New functions.
5170 (ruby-syntax-propertize-function): Use them to handle GDL.
5171 (ruby-font-lock-keywords): Move old handling of GDL...
5172 (ruby-font-lock-syntactic-keywords): .. to here.
5173 (ruby-calculate-indent): Adjust indentation for GDL.
5174
b613912b
MA
51752012-04-24 Michael Albinus <michael.albinus@gmx.de>
5176
b5380639
MA
5177 * notifications.el (top): Remove unneeded declarations.
5178 (notifications-specification-version): Change to "1.2".
e43042fe 5179 (notifications-interface, notifications-notify-method)
b613912b
MA
5180 (notifications-close-notification-method): Fix docstring.
5181 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5182 (notifications-notify): Add :action-items, :resident and
5183 :transient hints. Change "image_data" to "image-data" and
5184 "image_path" to "image-path".
b613912b
MA
5185 (notifications-get-capabilities): New defun.
5186
257440aa
LL
51872012-04-24 Leo Liu <sdl.web@gmail.com>
5188
5189 * progmodes/python.el: Move hideshow setup to the end.
5190
b1bac16e
MR
51912012-04-24 Martin Rudalics <rudalics@gmx.at>
5192
5193 * window.el (handle-select-window): Clear echo area since this is
5194 no more done by read_char (Bug#11304).
5195
d81bd059
SM
51962012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5199 and `/ M' to filter-derived-mode.
5200 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5201 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5202 (ibuffer-mark-by-mode): Use default rather than initial-input.
5203 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5204
c4cf6d91
IA
52052012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5206
5207 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5208 (ibuffer-filter-by-derived-mode): New filter.
5209 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5210
7511ded8
CY
52112012-04-23 Andreas Politz <politza@fh-trier.de>
5212
5213 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5214
775c916b
CY
52152012-04-23 Chong Yidong <cyd@gnu.org>
5216
5217 * cus-edit.el (customize-apropos, customize-apropos-options):
5218 Disable matching of non-option variables (Bug#11176).
5219 (customize-option, customize-option-other-window)
5220 (customize-changed-options): Doc fix.
5221 (customize-apropos-options, customize-apropos-faces)
5222 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5223
5224 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5225 Fix word list splitting (Bug#11132).
46c71e23
CY
5226 (apropos-symbol, apropos-keybinding, apropos-label)
5227 (apropos-property, apropos-function-button)
5228 (apropos-variable-button, apropos-misc-button): New faces.
5229 (apropos-symbol-face, apropos-keybinding-face)
5230 (apropos-label-face, apropos-property-face, apropos-match-face):
5231 Variables removed (Bug#8396).
5232 (apropos-library-button, apropos-format-plist, apropos-print)
5233 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5234
2df41f9c
MA
52352012-04-23 Michael Albinus <michael.albinus@gmx.de>
5236
5237 * net/xesam.el (xesam-mode-map): Use let-bound map in
5238 initialization. (Bug#11292)
5239
da00640a
AM
52402012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5241
5242 Preserve ispell session localwords when switching back to
5243 original buffer.
5244
090bd7cb
JB
5245 * textmodes/ispell.el (ispell-buffer-session-localwords):
5246 New buffer-local variable to hold buffer session localwords.
ed9265fc 5247 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5248 localwords.
5249 (ispell-command-loop, ispell-change-dictionary)
5250 (ispell-buffer-local-words): Preserve session localwords when
5251 needed.
5252
090bd7cb
JB
5253 * textmodes/flyspell.el (flyspell-process-localwords)
5254 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5255
f621ccf5
AM
52562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5257
090bd7cb
JB
5258 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5259 using obsolete `translation-table-for-input'.
ef24141c
SM
5260 (ispell-word, ispell-process-line, ispell-complete-word):
5261 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5262
c2d1019e
CY
52632012-04-22 Chong Yidong <cyd@gnu.org>
5264
5265 * cus-edit.el (custom-variable-menu)
5266 (custom-variable-reset-saved, custom-face-menu)
5267 (custom-face-reset-saved): If there is no saved value, make the
5268 "reset-saved" operation bring back the default (Bug#9509).
5269 (custom-face-state): Properly detect themed faces.
5270
eeddc531
CY
5271 * faces.el (face-spec-set): Stop supporting deprecated form of
5272 third arg.
5273
dcbf5805
MA
52742012-04-22 Michael Albinus <michael.albinus@gmx.de>
5275
5276 Move functions from C to Lisp. Make non-blocking method calls
5277 the default. Implement further D-Bus standard interfaces.
5278
ef24141c
SM
5279 * net/dbus.el (dbus-message-internal): Declare function.
5280 Remove unneeded function declarations.
dcbf5805
MA
5281 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5282 (dbus-message-type-method-return, dbus-message-type-error)
5283 (dbus-message-type-signal): Declare variables. Remove local
5284 definitions.
5285 (dbus-interface-dbus, dbus-interface-peer)
5286 (dbus-interface-introspectable, dbus-interface-properties)
5287 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5288 Adapt docstring.
5289 (dbus-interface-objectmanager): New defconst.
5290 (dbus-call-method, dbus-call-method-asynchronously)
5291 (dbus-send-signal, dbus-method-return-internal)
5292 (dbus-method-error-internal, dbus-register-service)
5293 (dbus-register-signal, dbus-register-method): New defuns, moved
5294 from dbusbind.c
5295 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5296 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5297 New defuns.
dcbf5805
MA
5298 (dbus-call-method-non-blocking): Make it an obsolete function.
5299 (dbus-unregister-object, dbus-unregister-service)
5300 (dbus-handle-event, dbus-register-property)
5301 (dbus-property-handler): Obey the new structure of
5302 `bus-registered-objects'.
5303 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5304 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5305 Use `dbus-call-method'.
5306
cf20dee0
CY
53072012-04-22 Chong Yidong <cyd@gnu.org>
5308
5309 * cus-edit.el (custom-commands, custom-reset-menu)
5310 (Custom-reset-standard): Tweak labels.
5311 (custom-reset-button-menu): Change default to t.
5312 (custom-buffer-create-internal): For the custom-reset-button-menu
5313 case, put the revert button first.
5314 (custom-group-subtitle): New face.
5315 (custom-group-value-create): Align docstring to a specific column.
5316
5317 * wid-edit.el (widget-documentation-link-add): Don't handle
5318 indentation in this function.
5319 (widget-documentation-string-indent-to): New function.
5320 (widget-documentation-string-value-create): Use it.
5321
5322 * autorevert.el (auto-revert):
5323 * epg-config.el (epg):
5324 * ibuffer.el (ibuffer):
5325 * mpc.el (mpc):
5326 * ses.el (ses):
5327 * eshell/eshell.el (eshell):
5328 * net/ange-ftp.el (ange-ftp):
5329 * progmodes/ebnf2ps.el (postscript):
5330 * progmodes/flymake.el (flymake):
5331 * progmodes/prolog.el (prolog):
5332 * progmodes/verilog-mode.el (verilog-mode):
5333 * progmodes/which-func.el (which-func):
5334 * term/xterm.el (xterm):
5335 * textmodes/picture.el (picture):
5336 * textmodes/tildify.el (tildify):
5337 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5338 customization buffers.
5339
583e23bd
AM
53402012-04-22 Alan Mackenzie <acm@muc.de>
5341
5342 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5343 Adding a ) can hide the resulting (..) from searches. Fix it.
5344 Bound the backward search to the position of the existing (.
5345
7dd51bf1
JB
53462012-04-21 Juanma Barranquero <lekktu@gmail.com>
5347
5348 * progmodes/verilog-mode.el (verilog-mode): Check whether
5349 which-func-modes is t before adding verilog-mode.
5350 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5351
d64a438f
LL
53522012-04-21 Leo Liu <sdl.web@gmail.com>
5353
7dd51bf1 5354 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5355
081e8d65
MV
53562012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5357
5358 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5359 filling of the last column of a table (Bug#5635).
5360 (woman-find-next-control-line): New arg, specifying an additional
5361 regexp component for the control line.
5362 (woman2-roff-buffer): Use it.
5363 (woman-break-table): New function.
5364 (woman2-TS): Use it.
5365
53662012-04-21 Chong Yidong <cyd@gnu.org>
5367
5368 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5369 (woman-horizontal-escapes, woman-negative-vertical-space)
5370 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5371 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5372
ed571ccb
SM
53732012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * minibuffer.el (completion-file-name-table): Complete user names.
5376
39773899
LL
53772012-04-20 Leo Liu <sdl.web@gmail.com>
5378
5379 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5380 and pcase-let*.
5381
de6ff46d
CY
53822012-04-20 Chong Yidong <cyd@gnu.org>
5383
5384 * server.el (server-execute): Respect initial-buffer-choice if it
5385 is a string and there are no files to open (Bug#2825).
5386 (server-create-window-system-frame, server-create-tty-frame):
5387 Don't switch buffers here.
2d0e8e61
CY
5388 (server-process-filter): Only try to open a window system frame if
5389 compiled with graphical support (Bug#8314).
de6ff46d 5390
54071013
DN
53912012-04-20 Dan Nicolaescu <dann@gnu.org>
5392
5393 * battery.el (battery-echo-area-format): Display remaining time
5394 for sysfs backend too (Bug#11269).
5395 (battery-linux-sysfs): Fix conditional for the charge.
5396
f30d612a
CY
53972012-04-20 Chong Yidong <cyd@gnu.org>
5398
c07a4c0b 5399 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5400 (gdb-inferior-io--init-proc): New function.
5401 (gdb-init-1): Use it.
5402 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5403 responsible for allocating a new pty and hooking it to gdb when
5404 the old pty gets an EIO due to process exit.
5405 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5406 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5407 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5408
2116e93c
EZ
54092012-04-20 Eli Zaretskii <eliz@gnu.org>
5410
5411 * window.el (window-min-size, window-sizable, window-min-delta)
5412 (window-max-delta, window--resizable, window-resizable)
5413 (window-total-size, window-full-height-p, window-full-width-p)
5414 (window-in-direction, window--resize-mini-window, window-resize)
5415 (window--resize-child-windows-normal)
5416 (window--resize-child-windows, window--resize-siblings)
5417 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5418 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5419
c07a4c0b 54202012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5421
ef24141c
SM
5422 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5423 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5424 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5425 pty process (Bug#11273).
5426 (gdb-update): New arg to suppress talking to the gdb process.
5427 (gdb-done-or-error): Use it.
5428 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5429 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5430 sentinel not being called.
5431
5432 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5433
d02766ab
CY
5434 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5435
c07a4c0b 54362012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5437
5438 * net/network-stream.el (open-network-stream): Doc fix.
5439
c07a4c0b 54402012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5441
5442 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5443
c07a4c0b 54442012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5445
5446 Ensure searching for keywords is case sensitive.
5447
5448 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5449 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5450 (c-defun-name, c-mark-function, c-cpp-define-name)
5451 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5452 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5453
ef24141c
SM
5454 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5455 Bind case-fold-search to nil.
f0f6bc35 5456
c07a4c0b 54572012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5458
5459 * mail/sendmail.el (mail-bury): Call return action with the right
5460 Rmail buffer (Bug#11242).
5461
9a864fa2
CY
5462 * server.el (server-process-filter): Handle corner case where both
5463 tty and nowait options are present (Bug#11102).
5464
539aa513
EZ
54652012-04-20 Eli Zaretskii <eliz@gnu.org>
5466
5467 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5468 (top level): Put into the executable the ident-style '$Id:' tag on
5469 windows-nt as well.
539aa513 5470
cfc7d5da
SM
54712012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * electric.el (electric-indent-post-self-insert-function): Check that
5474 electric-indent-mode is enabled in current buffer.
5475
5b01685c
JB
54762012-04-19 Juanma Barranquero <lekktu@gmail.com>
5477
5478 * imenu.el (imenu-progress-message): Restore; it is "used" in
5479 erc/erc-imenu.el and net/snmp-mode.el.
5480
4d6769e1
JB
54812012-04-19 Juanma Barranquero <lekktu@gmail.com>
5482
5483 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5484 (mouse-avoidance-nudge-mouse): Remove unused binding.
5485
5486 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5487
5488 * descr-text.el (describe-char):
5489 * progmodes/python.el (python-describe-symbol):
5490 Don't call `toggle-read-only', set `buffer-read-only'.
5491
5492 * imenu.el (imenu-default-goto-function): Mark unused args.
5493 (imenu-progress-message): Remove obsolete macro; all callers changed.
5494
5495 * subr.el (keymap-canonicalize): Remove unused binding.
5496 (read-passwd): Mark unused arg.
5497
5498 * tutorial.el (tutorial--display-changes): Remove unused binding.
5499 (tutorial--save-tutorial-to): Remove unused variable.
5500
5501 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5502 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5503 (package-generate-autoloads, package-menu--generate)
5504 (package-menu--find-upgrades): Remove unused bindings.
5505
5506 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5507 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5508 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5509 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5510 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5511 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5512 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5513 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5514 (cua-delete-char-rectangle): Mark unused args.
5515 (cua-align-rectangle): Remove unused binding.
5516
5517 * mail/rmail.el (compilation--message->loc)
5518 (epa--find-coding-system-for-mime-charset): Declare.
5519
5520 * net/dbus.el (dbus-register-service): Declare.
5521 (dbus-name-owner-changed-handler): Remove unused binding.
5522
5523 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5524 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5525 (nxml-scan-backward-within): Mark unused arg.
5526 (nxml-dynamic-markup-word): Remove unused binding.
5527
5528 * mouse.el (mouse-menu-major-mode-map):
5529 * emacs-lisp/authors.el (authors-scan-change-log)
5530 (authors-add-to-author-list):
5531 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5532 * emacs-lisp/smie.el (smie-auto-fill):
5533 * mail/sendmail.el (mail-bury):
5534 * mail/unrmail.el (unrmail):
5535 * net/tls.el (open-tls-stream):
5536 * textmodes/picture.el (picture-mouse-set-point):
5537 Remove unused bindings.
5538
8c8fc5df
MA
55392012-04-19 Michael Albinus <michael.albinus@gmx.de>
5540
5541 * net/tramp.el (tramp-action-password): Let-bind
5542 `enable-recursive-minibuffers' to t.
5543
a77b0ac9
SS
55442012-04-18 Sam Steingold <sds@gnu.org>
5545
5546 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5547 instead of 'string to accommodate values like [f11].
5548 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5549 * progmodes/gdb-mi.el: Likewise.
5550
12a106a9
LL
55512012-04-18 Leo Liu <sdl.web@gmail.com>
5552
5553 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5554 current buffer.
5555 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5556 LOCAL is nil.
5557
bc6494ef
CY
55582012-04-18 Chong Yidong <cyd@gnu.org>
5559
5560 * simple.el (line-move): Use forward-line if in batch mode
5561 (Bug#11053).
5562
c09c46b2
CS
55632012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5564
5565 * files.el (after-find-file): Do not try to add a final newline if
5566 the buffer is read-only (Bug#11156).
5567
5f6530ea
RS
55682012-04-17 Richard Stallman <rms@gnu.org>
5569
5570 * mail/rmail.el (rmail-start-mail):
5571 Pass (rmail-mail-return...) for the return-action.
5572 Pass (rmail-yank-current-message...) for the yank-action.
5573 (rmail-yank-current-message): New function.
5574 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5575 (rmail-reply): Likewise.
5576 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5577
5578 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5579 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5580 buffer, not newbuf.
5581
197b6f3c
JB
55822012-04-17 Juanma Barranquero <lekktu@gmail.com>
5583
5584 * server.el (server-ensure-safe-dir): Simplify.
5585
2311d8e5 55862012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5587
2311d8e5
GM
5588 * emacs-lisp/smie.el: Provide smarter auto-filling.
5589 (smie-auto-fill): New function.
5590 (smie-setup): Use it.
98fb480e 5591
2311d8e5
GM
5592 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5593
55942012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5595
5596 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5597 (comment-indent): Use it.
5598
2311d8e5 55992012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5600
5601 * ses.el: The overall change is to add cell renaming, that is
5602 setting fancy names for cell symbols other than name matching
5603 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5604 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5605 (ses-create-cell-variable): New defun.
2311d8e5 5606 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5607 (ses-relocate-formula): Relocate formulas only for cells the
5608 symbols of which are not renamed, i.e. symbols whose names do not
5609 match regexp "\\`[A-Z]+[0-9]+\\'".
5610 (ses-relocate-all): Relocate values only for cells the symbols of
5611 which are not renamed.
5612 (ses-load): Create cells variables as the (ses-cell ...) are read,
5613 in order to check row col consistency with cell symbol name only
5614 for cells that are not renamed.
5615 (ses-replace-name-in-formula): New defun.
5616 (ses-rename-cell): New defun.
4bdf2ad2 5617
fc72b15c
PO
56182012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5619
5620 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5621 New option (bug#11118).
5622 (perl-calculate-indent): Respect it.
5623
12e10e61
GM
56242012-04-17 Glenn Morris <rgm@gnu.org>
5625
5626 * dired-aux.el (dired-mark-read-string): Doc fix.
5627
30009afd
DA
56282012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5629
5630 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5631 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5632
41f03f4d
GM
56332012-04-17 Glenn Morris <rgm@gnu.org>
5634
5635 * mouse.el (mouse-drag-track):
5636 * speedbar.el (speedbar-frame-mode):
5637 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5638
f45f90f3
LL
56392012-04-16 Leo Liu <sdl.web@gmail.com>
5640
5641 * progmodes/python.el: Trivial cleanup.
5642
94ee8db5
GM
56432012-04-16 Glenn Morris <rgm@gnu.org>
5644
121b8917
GM
5645 * vc/vc.el (vc-string-prefix-p):
5646 * vc/pcvs-util.el (cvs-string-prefix-p):
5647 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5648 * mpc.el (mpc-string-prefix-p):
5649 Make all of these into obsolete aliases for string-prefix-p.
5650 Update callers.
5651 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5652
1197ecfa
GM
5653 * textmodes/two-column.el: Move custom options to the start.
5654 (frame-width): Remove compat definition.
5655 (2C-associate-buffer, 2C-dissociate):
5656 Use with-current-buffer rather than save-excursion.
5657 (2C-dissociate): Force a mode-line update.
5658 (2C-autoscroll): Use ignore-errors.
5659
099e7202
GM
5660 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5661 Autoload trivia.
5662
bf350d6a
GM
5663 * emacs-lisp/cl-extra.el (*random-state*):
5664 Remove unnecessary declaration.
5665
0e829eab
GM
5666 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5667
e3ad7552
GM
5668 * play/cookie1.el (cookie-snarf):
5669 Give an explicit error if input file cannot be read.
5670
68892d27
GM
5671 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5672
20f0c46d
GM
5673 * progmodes/perl-mode.el (c-macro-expand):
5674 Remove unnecessary autoload (it is in loaddefs.el).
5675
5a0978ce
GM
5676 * textmodes/picture.el (picture-desired-column)
5677 (picture-update-desired-column): Convert comments to doc-strings.
5678 (picture-substitute): Remove function.
5679 (picture-mode-map): Initialize in the defvar.
5680
6b955486
GM
5681 * woman.el: Remove eval-after-load for tar-mode.
5682 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5683 (woman-tar-extract-file): Autoload it.
5684
94ee8db5
GM
5685 * frame.el (automatic-hscrolling): Make this alias obsolete.
5686
177eca34
AM
56872012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5688
090bd7cb 5689 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5690 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5691 (ispell-dictionary-base-alist): Revert to original XEmacs
5692 friendly version for default. [:alpha:] will be added in
090bd7cb 5693 `ispell-set-spellchecker-params' if needed.
177eca34 5694
c505aaeb
CY
56952012-04-16 Chong Yidong <cyd@gnu.org>
5696
b19dd9d1 5697 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5698 (imagemagick-register-types): Use it.
5699 (imagemagick-types-inhibit): Add :set function. Allow new value
5700 of t to inhibit all types.
5701
5702 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5703 so we can preload it.
5704
5705 * loadup.el (fboundp): Preload regexp-opt, needed by
5706 imagemagick-register-types.
5707
60efac0f
CY
57082012-04-15 Chong Yidong <cyd@gnu.org>
5709
5710 * frame.el (scrolling): Remove nearly unused customization group.
5711
5712 * scroll-all.el (scroll-all-mode): Move to windows group.
5713
5dd1713e
CY
57142012-04-15 Chong Yidong <cyd@gnu.org>
5715
5716 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5717
e6fd457e
CY
57182012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5721 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5722
e153c136
GM
57232012-04-15 Glenn Morris <rgm@gnu.org>
5724
5725 * simple.el (process-file-side-effects): Doc fix.
5726
e6fd457e 57272012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5728
5729 * international/mule-cmds.el (set-language-environment): Doc fix.
5730
3603c3b1
JB
57312012-04-14 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * server.el (server-auth-key, server-generate-key): Doc fixes.
5734 (server-get-auth-key): Doc fix. Use `string-match-p'.
5735 (server-start): Reflow docstring.
5736
e6de100c
LI
57372012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5738
5739 * server.el (server-generate-key): `called-interactively-p'
5740 requires a parameter.
5741
29734c21
MN
57422012-04-14 Michal Nazarewicz <mina86@mina86.com>
5743
5744 * server.el (server-auth-key): New variable.
75f1671a 5745 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5746 (server-start): Use the new variable and functions to allow
5747 setting a permanent server key (bug#9423).
5748
d65c9521
LL
57492012-04-14 Leo Liu <sdl.web@gmail.com>
5750
5751 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5752
5ae255c7
PE
57532012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5754
5755 Spelling fixes.
5756 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5757 Emacs uses American spelling.
5758
d5e6342e
JB
57592012-04-14 Juanma Barranquero <lekktu@gmail.com>
5760
5761 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5762 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5763 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5764 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5765
ab036cd7
SM
57662012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * progmodes/which-func.el (which-func-modes): Change default.
5769
35dc09a1 57702012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5771
5772 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5773 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5774
35dc09a1 57752012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5776
5777 * custom.el (custom-theme-set-variables): Doc fix.
5778
35dc09a1 57792012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5780
5781 * international/mule.el (set-auto-coding-for-load): Doc fix.
5782
35dc09a1 57832012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5784
35dc09a1
GM
5785 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5786 imenu work again for Objective C Mode. Correct the *-index values,
5787 these having been disturbed by a previous change in 2011-08.
57f845ee 5788
0de3da9f
AM
5789 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5790 Correct two search limits.
5791
35dc09a1 57922012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5793
5794 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5795
35dc09a1 57962012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5797
5798 * international/characters.el: Fix sorting.
5799
35dc09a1 58002012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5801
5802 * international/characters.el: Add more missing Latin case pairs.
5803
35dc09a1 58042012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5805
5806 * files.el (dir-locals-set-class-variables): Doc fix.
5807
35dc09a1 58082012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5809
3f1b5bf8
EZ
5810 * international/characters.el: Add set-case-syntax-pair call for
5811 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5812 counterpart. (Bug#11209)
5813
9f847f41
EZ
5814 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5815
35dc09a1 58162012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5817
5818 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5819
35dc09a1 58202012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5821
35dc09a1
GM
5822 * textmodes/ispell.el (ispell-dictionary-base-alist):
5823 Add data for Hebrew.
e2627d21 5824
35dc09a1 58252012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5826
35dc09a1
GM
5827 * net/rcirc.el (rcirc-cmd-quit):
5828 Revert 2012-03-18 change (Bug#11192).
5c14e333 5829
35dc09a1 58302012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5831
5832 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5833
35dc09a1 58342012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5835
4517fe3a
SM
5836 * minibuffer.el (completion-in-region-mode-map):
5837 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5838
b472a594
VD
58392012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5840
5841 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5842
09b95ce3
MY
58432012-04-13 Masatake YAMATO <yamato@redhat.com>
5844
5845 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5846 to allow `C-M-f' and `C-M-b' to move to the nearest path
5847 separator (bug#9511).
5848
4b63a9ca
LI
58492012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5850
5851 * avoid.el: Require cl when compiling. And also move the
5852 `provide' to the end.
5853
7b55b8bf
TV
58542012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5855
5856 * avoid.el (mouse-avoidance-banish-position): New variable.
5857 (mouse-avoidance-banish-destination): Use it (bug#10165).
5858
adedaa1f
LL
58592012-04-13 Leo Liu <sdl.web@gmail.com>
5860
5861 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5862
70e74021
KB
58632012-04-13 Ken Brown <kbrown@cornell.edu>
5864
5865 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5866 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5867 (browse-url-filename-alist): For the same reason, don't modify
5868 file:// URLs on Cygwin.
5869
e75e89ba
SM
58702012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5873 the region on shift if the binding is already shifted (bug#11221).
5874
82f289a4
GM
58752012-04-12 Glenn Morris <rgm@gnu.org>
5876
5877 * mail/mailpost.el: Move to obsolete/.
5878
d333dc4c
DA
58792012-04-12 Drew Adams <drew.adams@oracle.com>
5880
5881 * imenu.el (imenu--generic-function): Ignore invisible definitions
5882 (bug#10123).
5883
0d15b5ba
VD
58842012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5885
5886 * hexl.el (hexl-bits): New variable.
5887 (hexl-options): Mention the variable in the doc string.
75f1671a 5888 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5889 (hexl-mode): Mention the new variable.
75f1671a
JB
5890 (hexl-mode, hexl-current-address, hexl-current-address):
5891 Use the displen.
0d15b5ba
VD
5892 (hexl-ascii-start-column): New function.
5893 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5894 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5895
64a440db
AM
58962012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5897
5898 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5899 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5900 the encoding, as expected by hunspell.
5901
6decb6c2
SM
59022012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * battery.el (battery--linux-sysfs-regexp): New const.
5905 (battery-status-function): Use it. Remove yeeloong special case.
5906 (battery-yeeloong-sysfs): Remove.
5907 (battery-echo-area-format): Remove yeeloong special case.
5908
088be6fb
SM
59092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5910
6622e416
SM
5911 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5912 Reported by Noah Friedman.
5913
088be6fb
SM
5914 * subr.el (read-passwd): Use read-string.
5915
b49f886e
LMI
59162012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5917
5918 * vcursor.el (vcursor-move): Increase the priority of the overlay
5919 (bug#9663).
5920
a63067fc
DD
59212012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5922
5923 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5924 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5925
ac3cf14a
WS
59262012-04-11 William Stevenson <yhvh2000@gmail.com>
5927
5928 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5929 define-minor-mode (bug#10760).
5930
c4fc691b 59312012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5932
4d6769e1 5933 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5934 that directories matching `grep-find-ignored-files' won't be
5935 pruned (bug#10351).
5936
af23e2e5
CY
59372012-04-11 Chong Yidong <cyd@gnu.org>
5938
5939 * startup.el (command-line): Remove support for long-obsolete
5940 variable font-lock-face-attributes.
5941
ab7ce8c1
GM
59422012-04-11 Glenn Morris <rgm@gnu.org>
5943
5944 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5945
de8c03dc
SM
59462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5947
5948 * window.el (window--state-get-1): Obey window-point-insertion-type.
5949
050cc68b
LB
59502012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5951
5952 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5953 to previous function when point is on the first character of a
75f1671a 5954 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5955
a38c310c
GM
59562012-04-11 Glenn Morris <rgm@gnu.org>
5957
effed0c2
GM
5958 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5959 not just file-errors.
5960
a38c310c
GM
5961 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5962 (vc-bzr-sha1): Use internal sha1.
5963
0221e323
SM
59642012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5967
43956923
SG
59682012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5969
5970 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5971 that start in the middle of the line (bug#10496).
5972
6a8c9eaf
DN
59732012-04-10 Dan Nicolaescu <dann@gnu.org>
5974
5975 * battery.el (battery-linux-proc-acpi): Only one battery is
5976 discharged at a time, but that seems to confuse battery.el when
5977 computing `rate-type' for the battery not being discharged
5978 (bug#10332).
5979
1930bf5d
SM
59802012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5981
2a718f6f
SM
5982 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5983
599430d0
SM
5984 * international/quail.el: Use dolist and simplify.
5985 (quail-define-package, quail-update-keyboard-layout)
5986 (quail-define-rules): Use dolist.
5987 (quail-insert-kbd-layout, quail-get-translation): CSE.
5988
a2754b6c
SM
5989 * tmm.el: Use dolist, remove left over hook.
5990 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5991 Use dolist.
5992 (calendar-load-hook): Don't mess with it.
5993
1930bf5d
SM
5994 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5995 Use derived-mode-p. Run the diff asynchronously.
5996
9f67961c
LMI
59972012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5998
5999 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6000
2a8ce227
JB
60012012-04-10 Juanma Barranquero <lekktu@gmail.com>
6002
6003 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6004 (list-dynamic-libraries--loaded): New function.
6005 (list-dynamic-libraries--refresh): Use it.
6006
8f33b5f8
NW
60072012-04-10 Nathan Weizenbaum <nweiz@google.com>
6008
1930bf5d
SM
6009 * progmodes/python.el (python-fill-paragraph):
6010 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6011 disabled (bug#7018).
6012
b12f0439
L
60132012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6014
1930bf5d 6015 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6016 DOS/MS Windows for the Baltic languages. There are still plenty
6017 of texts written in this encoding/codepage (bug#6519).
b12f0439 6018
57c3bd01
GM
60192012-04-10 Glenn Morris <rgm@gnu.org>
6020
6021 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6022 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6023
6c3eab30
FA
60242012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6025
1930bf5d 6026 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6027 next-line "n" and previous-line "p" in order to make recentf more
6028 consistent with ibuffer, dired or org-mode (bug#9387).
6029
24d78a88
LMI
60302012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6031
bc72b5d9
LMI
6032 * image.el (put-image): Return the overlay created instead of the
6033 optional input string (bug#7834). Note that this may break code
6034 that is (for some reason or other) depending on `put-image'
6035 returning the string.
6036
bd2dba5a
LMI
6037 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6038
74beb59f
LMI
6039 * simple.el (zap-to-char): Allow zapping using input methods
6040 (bug#1580).
6041
24d78a88
LMI
6042 * textmodes/fill.el (fill-region): Leave point and mark where they
6043 were before filling (bug#5399).
6044
263f20cd
GM
60452012-04-09 Glenn Morris <rgm@gnu.org>
6046
6047 * version.el (emacs-bzr-get-version):
6048 Handle lightweight checkouts of local branches.
6049
58d1f797
AS
60502012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6051
263f20cd 6052 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6053
b4d3bc10
CY
60542012-04-09 Chong Yidong <cyd@gnu.org>
6055
6056 * custom.el (custom-variable-p): Return nil for non-symbol
6057 arguments instead of signaling an error.
6058 (user-variable-p): Obsolete alias for custom-variable-p.
6059
6060 * apropos.el (apropos-variable):
6061 * files-x.el (read-file-local-variable):
6062 * simple.el (set-variable):
6063 * woman.el (woman-mini-help):
6064 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6065
fd06db5d
GM
60662012-04-09 Glenn Morris <rgm@gnu.org>
6067
e5fcdb5e
GM
6068 * startup.el (normal-top-level): Don't look for leim-list.el
6069 in places where it will not be found. (Bug#910)
6070
fd06db5d
GM
6071 * international/mule-cmds.el (set-default-coding-systems):
6072 * files.el (normal-mode):
6073 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6074 This function was removed with ucs-tables.el in 2008.
6075
b39bb7e1
EZ
60762012-04-08 Eli Zaretskii <eliz@gnu.org>
6077
6078 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6079 ispell-encoding8-command to "-i", without a trailing space.
6080 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6081 separate command-line arguments, to specify the encoding, since
6082 that's how hunspell expects it.
6083
5c5b8e23
GM
60842012-04-08 Glenn Morris <rgm@gnu.org>
6085
6086 * loadup.el: Load bindings before cus-start.
6087 This reduces somewhat the number of "rogue" settings in emacs -Q.
6088
a1ed8b05
GM
60892012-04-07 Glenn Morris <rgm@gnu.org>
6090
6091 * version.el (emacs-bzr-get-version): New function.
dfae128a 6092 (emacs-bzr-version): New variable.
a1ed8b05
GM
6093 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6094 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6095
b142f158
EZ
60962012-04-07 Eli Zaretskii <eliz@gnu.org>
6097
dfae128a
GM
6098 * international/uni-bidi.el, international/uni-category.el:
6099 * international/uni-combining.el, international/uni-decimal.el:
6100 * international/uni-decomposition.el, international/uni-digit.el:
6101 * international/uni-lowercase.el, international/uni-mirrored.el:
6102 * international/uni-name.el, international/uni-numeric.el:
6103 * international/uni-titlecase.el, international/uni-uppercase.el:
6104 Update for Unicode 6.1.
b142f158 6105
9078ead6
EZ
61062012-04-07 Eli Zaretskii <eliz@gnu.org>
6107
6108 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6109
f23d2c7d
LMI
61102012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6111
6112 * window.el (shrink-window): Mention the `window-min-height'
6113 variable in the doc string.
6114
0a0a3573
BG
61152012-04-05 Bastien Guerry <bzg@altern.org>
6116
6117 * color.el (color-lighten-name): Fix typo.
6118
e5248ac9
SM
61192012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * server.el (server--on-display-p): New function.
6122 (server--on-display-p): Use it.
6123
b4243e22
GV
61242012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6125
6126 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6127 (bug#11145).
6128
305d9f44
SM
61292012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * comint.el (comint--common-quoted-suffix): Check string boundary
6132 before comparing (bug#11158).
6133 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6134
3d439cd1
CY
61352012-04-04 Chong Yidong <cyd@gnu.org>
6136
321cc491
CY
6137 * minibuffer.el (completion-extra-properties): Doc fix.
6138
3d439cd1
CY
6139 * subr.el (delayed-warnings-hook): Doc fix.
6140
2d562c0f
DU
61412012-04-04 Daiki Ueno <ueno@unixuser.org>
6142
6143 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6144 selection (Bug#11159).
6145 (epa-insert-keys): Inform that the default public key will be
6146 exported if no key is selected.
6147
4443f204
RS
61482012-04-04 Richard Stallman <rms@gnu.org>
6149
6150 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6151
529c06b6
CY
61522012-04-03 Chong Yidong <cyd@gnu.org>
6153
6154 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6155 mail-insert-file, not its obsolete alias mail-attach-file.
6156
66b907dc
MA
61572012-04-03 Michael Albinus <michael.albinus@gmx.de>
6158
6159 * notifications.el (notifications-notify): Fix docstring.
6160
c0ea195d
GM
61612012-04-02 Glenn Morris <rgm@gnu.org>
6162
6163 * emacs-lisp/authors.el (authors-aliases): Another addition.
6164
5ca64e00
MA
61652012-04-02 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6168 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6169 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6170
42ee526b
CY
61712012-04-01 Chong Yidong <cyd@gnu.org>
6172
6173 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6174 Handle root directory properly.
6175 (copy-directory): Caller changed.
6176
6177 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6178 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6179
0b021094
GM
61802012-03-31 Glenn Morris <rgm@gnu.org>
6181
40f86458
GM
6182 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6183
7019c177
GM
6184 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6185
a1daddd6
GM
6186 * calendar/calendar.el (calendar-window-list)
6187 (calendar-hide-window): Restore. (Bug#11140)
6188 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6189
0b021094
GM
6190 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6191
40311efc
TV
61922012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6193
6194 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6195 Check if file is a symlink (Bug#10489).
6196
6197 * files.el (copy-directory): Likewise.
6198
5319014e
CY
61992012-03-30 Chong Yidong <cyd@gnu.org>
6200
6201 * image.el (imagemagick-types-inhibit)
6202 (imagemagick-register-types): Doc fix.
6203
935d1290
AM
62042012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6205
090bd7cb 6206 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6207 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6208 and treats ~word as ordinary words in pipe mode.
935d1290 6209
61c6e8fd
GM
62102012-03-30 Glenn Morris <rgm@gnu.org>
6211
6212 * tutorial.el (help-with-tutorial): Ensure local variables don't
6213 happen to make the buffer read-only. (Bug#11127)
6214
81fdff00
SM
62152012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6216
6217 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6218 (perl-calculate-indent): Return `noindent' in strings.
6219
6e7a6ec0
SS
62202012-03-28 Sam Steingold <sds@gnu.org>
6221
6222 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6223 instead of the broken adhockery which does not prevent calendar
6224 buffers from being displayed at random after exit.
6225 (calendar-window-list, calendar-hide-window): Remove the broken
6226 adhockery.
6227
fee88ca0
GM
62282012-03-28 Glenn Morris <rgm@gnu.org>
6229
6230 * replace.el (query-replace-map): Doc fix.
6231
38de3354
AS
62322012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6233
6234 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6235 contents. (Bug#11109)
6236
b973155e
SM
62372012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6240 (bug#11077).
6241 (avl-tree--check, avl-tree--check-node): New funs.
6242
dcb6e7b3
MR
62432012-03-27 Martin Rudalics <rudalics@gmx.at>
6244
6245 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6246 (switch-to-prev-buffer, switch-to-next-buffer):
6247 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6248 showing a buffer already is done on the same frame.
6249
b4fa35fa
GM
62502012-03-27 Glenn Morris <rgm@gnu.org>
6251
6252 * startup.el (mail-host-address): Doc fix.
6253
f9210e18
SM
62542012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6257 than 197 variables.
6258
c0bf7753
AF
62592012-03-26 Ami Fischman <ami@fischman.org>
6260
6261 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6262
33da7b16
GM
62632012-03-26 Glenn Morris <rgm@gnu.org>
6264
02243d9d
GM
6265 * files.el (save-buffers-kill-emacs): Doc fix.
6266
33da7b16
GM
6267 * startup.el (normal-top-level, command-line, command-line-1):
6268 Give them doc strings.
6269
e5a69fd0
EZ
62702012-03-25 Eli Zaretskii <eliz@gnu.org>
6271
6272 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6273 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6274
9a69676a
CY
62752012-03-25 Chong Yidong <cyd@gnu.org>
6276
4125cb8b
CY
6277 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6278 theme if it was previously enabled before (Bug#11031).
6279
dd470960
CY
6280 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6281 spec with custom-face-get-current-spec if its :shown-value is not
6282 determined yet (Bug#9337).
4125cb8b 6283 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6284
9a69676a
CY
6285 * button.el (button-at): Minor addition to docstring.
6286
6e7e90fa
SL
62872012-03-24 Simon Leinen <simon.leinen@gmail.com>
6288
6289 * vc/vc.el (vc-merge): Fix a prompt.
6290
f06e2758
CY
62912012-03-24 Chong Yidong <cyd@gnu.org>
6292
6293 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6294 point (Bug#9623).
6295
6e7e90fa
SL
6296 * button.el (button-at): Minor addition to docstring.
6297
b9d0879b
SM
62982012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * newcomment.el (comment-choose-indent): No space after BOL.
6301
e71cebb3
SS
63022012-03-22 Sam Steingold <sds@gnu.org>
6303
6304 * window.el (switch-to-prev-buffer): Revert last patch because the
6305 bug turned out to be an advertised feature (Elisp manual 28.14).
6306
335aff35
GM
63072012-03-22 Glenn Morris <rgm@gnu.org>
6308
6309 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6310 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6311
c676576a
LMI
63122012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6313
6314 * net/network-stream.el (network-stream-open-starttls): Make error
6315 message under Windows be less misleading.
6316
126f3d39
LW
63172012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6318
6319 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6320 understands (bug#9942).
6321
64fee311
CY
63222012-03-22 Chong Yidong <cyd@gnu.org>
6323
6324 * simple.el (end-of-visible-line): Handle return value of
6325 next-single-property-change properly (Bug#9371).
6326
a640d29a
KH
63272012-03-22 Kenichi Handa <handa@m17n.org>
6328
6329 * international/quail.el (quail-insert-kbd-layout): Fix previous
6330 change. To avoid unwanted bidi reordering, use
6331 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6332
39675016
DG
63332012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6336 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6337 (ruby-beginning-of-indent): Be more careful with the difference
6338 between word-boundary and symbol boundary.
6339 (ruby-mode-syntax-table): Make : a symbol constituent.
6340
0a6934fc 63412012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6342
3d008e4f
SM
6343 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6344
0a6934fc
SM
63452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6346
af67c9d7
SM
6347 * progmodes/etags.el (tags-completion-at-point-function):
6348 Improve last fix.
6349
1acad97c
SM
6350 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6351
e298b5da
SS
63522012-03-21 Sam Steingold <sds@gnu.org>
6353
6354 * progmodes/etags.el (tags-completion-at-point-function):
6355 Avoid the error when point is inside the pattern.
6356
91d82a70
JY
63572012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6358
6359 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6360 line (Bug#10855).
6361
69188b79
CY
63622012-03-21 Drew Adams <drew.adams@oracle.com>
6363
6364 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6365
99fc91fe
AK
63662012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6367
6368 * ido.el (ido-set-current-directory, ido-read-internal)
6369 (ido-choose-completion-string, ido-completion-help): Handle nil
6370 value of ido-completion-buffer (Bug#11008).
6371
087bbb4c
SS
63722012-03-21 Sam Steingold <sds@gnu.org>
6373
6374 * window.el (switch-to-prev-buffer): Do not switch to a visible
6375 window previous buffer, just like with the frame previous buffers.
6376
fb5b8aca
CY
63772012-03-21 Chong Yidong <cyd@gnu.org>
6378
6379 * faces.el (make-face, make-empty-face, copy-face):
6380 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6381 Doc fixes.
6382
dc9924b8
SM
63832012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6386 (widget-complete): Remove broken use of it.
6387
f0bcceb9
CY
63882012-03-20 Chong Yidong <cyd@gnu.org>
6389
dc9924b8
SM
6390 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6391 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6392 characters.
6393
ee52ebf3
TH
63942012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6395
6396 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6397 to draw rectangles, not squares. (Regression introduced by revno
6398 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6399
4c5779ab
CY
64002012-03-18 Chong Yidong <cyd@gnu.org>
6401
6402 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6403 it is not yet defined (for temacs).
6404
15360934
LL
64052012-03-18 Leo Liu <sdl.web@gmail.com>
6406
dc9924b8 6407 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6408
d9a8eb66
EZ
64092012-03-17 Eli Zaretskii <eliz@gnu.org>
6410
6411 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6412 (ispell-choices-win-default-height, ispell-silently-savep)
6413 (ispell-dictionary-alist, ispell-encoding8-command)
6414 (ispell-check-version, ispell-aspell-find-dictionary)
6415 (ispell-valid-dictionary-list, ispell-words-keyword)
6416 (ispell-get-word, ispell-internal-change-dictionary)
6417 (ispell-region, ispell-skip-region-list)
6418 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6419 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6420 (ispell-message-text-end, ispell-message)
6421 (ispell-buffer-local-parsing): Doc fix.
6422
f02ff80d
J
64232012-03-13 Jambunathan K <kjambunathan@gmail.com>
6424
6425 * htmlfontify.el: Add support for code block fontification for ODT
6426 export (Bug #9914).
6427 (hfy-optimisations): Define new option
6428 `body-text-only'
6429 (hfy-fontify-buffer): Honor above setting.
6430 (hfy-begin-span, hfy-end-span): New routines factored out form
6431 `hfy-fontify-buffer'.
6432 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6433 that permit insertion of custom tags.
6434 (hfy-fontify-buffer): Use above handlers.
6435 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6436 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6437 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6438 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6439 bind a special variable `hfy-user-sheet-assoc'.
6440 (htmlfontify-string): New defun.
6441 (hfy-compile-face-map): Make sure that the last char in the
6442 buffer is correctly fontified.
6443 (hfy-face-resolve-face): Whitespace only change.
6444
9ac7a13f
EZ
64452012-03-17 Eli Zaretskii <eliz@gnu.org>
6446
6447 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6448 message more clear.
6449
e2b5bdd7
LL
64502012-03-16 Leo Liu <sdl.web@gmail.com>
6451
6452 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6453
2e492df3
AM
64542012-03-16 Alan Mackenzie <acm@muc.de>
6455
6456 Further optimise the handling of large macros.
6457
6458 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6459 limit to a call of `c-literal-limits'.
6460 (c-determine-+ve-limit): New function.
dc9924b8
SM
6461 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6462 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6463 In CASE 5B, restrict a search limit to 500.
6464 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6465
6466 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6467 Restrict macro bounds to +-500 from after-change's BEG END.
6468
50e94f0c
LL
64692012-03-16 Leo Liu <sdl.web@gmail.com>
6470
6471 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6472
6f09f6ed
AH
64732012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6474
6475 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6476 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6477
c7e73d51
GM
64782012-03-16 Glenn Morris <rgm@gnu.org>
6479
da986230
GM
6480 * view.el (view-buffer, view-buffer-other-window)
6481 (view-buffer-other-frame): Doc fixes re special mode-class.
6482
0835f01e
GM
6483 * subr.el (eval-after-load): If named feature is provided not from
6484 a file, run after-load forms. (Bug#10946)
6485
c7e73d51
GM
6486 * calendar/calendar.el (calendar-insert-at-column):
6487 Handle non-unit-width characters a bit better. (Bug#10978)
6488
3f2eafd1
CY
64892012-03-15 Chong Yidong <cyd@gnu.org>
6490
6491 * emacs-lisp/ring.el (ring-extend): New function.
6492 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6493
6494 * comint.el (comint-read-input-ring)
6495 (comint-add-to-input-history): Grow comint-input-ring lazily.
6496
103af3fe
SM
64972012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6498
663b1677
SM
6499 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6500 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6501
103af3fe
SM
6502 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6503 (imenu-add-to-menubar): Don't add a redundant index.
6504 (imenu-update-menubar): Handle a dynamically composed keymap.
6505
899cb7cb
KY
65062012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6507
6508 * mail/sendmail.el (mail-encode-header):
6509 Bind rfc2047-encode-encoded-words to nil.
6510
3809f91d
GM
65112012-03-13 Glenn Morris <rgm@gnu.org>
6512
6513 * calendar/calendar.el (calendar-string-spread):
6514 Handle non-unit-width characters a bit better. (Bug#10978)
6515
9e345a01
LL
65162012-03-13 Leo Liu <sdl.web@gmail.com>
6517
6518 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6519 directory and file as argument (Bug#10822).
6520
4a07df36
KS
65212012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6522
6523 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6524 For dynamically generated code, follow $PC.
6525 (gdb-disassembly-handler-custom): Handle no function name case.
6526
4aaa9356
TL
65272012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6528
6529 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6530 * emulation/ws-mode.el (ws-query-replace):
6531 * sort.el (sort-regexp-fields):
6532 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6533
225979da
SM
65342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * dabbrev.el: Fix cycle completion order (bug#10963).
6537 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6538 (dabbrev-completion): Don't use an obarray; provide
6539 a cycle-sort-function.
6540
e2f1fdab
LL
65412012-03-12 Leo Liu <sdl.web@gmail.com>
6542
dc9924b8 6543 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6544 (kill-do-not-save-duplicates): Doc fix.
6545
b19490ed
SM
65462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * dabbrev.el: Fix cycle completion (bug#10963).
6549 Use lexical binding and wrap to 80 columns.
6550 (dabbrev-completion): Delay computing the list of completions.
6551
4b05d722
KH
65522012-03-12 Kenichi Handa <handa@m17n.org>
6553
6554 * international/quail.el (quail-insert-kbd-layout): Surround each
6555 row by LRO and PDF instead of inserting many LRMs. Pad the left
6556 and right of each non-spacing marks. Insert invisible space
6557 between lower and upper characters to prevent composition.
6558
dbbc2e69
SM
65592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * minibuffer.el (minibuffer-complete): Don't get confused when the
6562 function is run twice via different commands (bug#10958).
6563 (complete-with-action): Fix docstring.
6564
292112ed
CY
65652012-03-12 Chong Yidong <cyd@gnu.org>
6566
5d1ac394
CY
6567 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6568 (nxml-completion-at-point-function): New function.
6569 (nxml-mode): Use it.
6570 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6571
292112ed
CY
6572 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6573 Load generated autoloads file before byte compiling (Bug#10970).
6574 (package--make-autoloads-and-compile): New helper fun.
6575
4098f8f7
CS
65762012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6577
6578 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6579
8f754691
MA
65802012-03-11 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * autorevert.el (auto-revert-handler): Ensure, that
6583 file-readable-p is applied only for local files or in
6584 auto-revert-tail-mode.
6585
e29ab36b
AS
65862012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6587
dbbc2e69
SM
6588 * server.el (server-eval-at): Handle non-tcp connections.
6589 Decode result string.
ad0bf5b6 6590
e29ab36b
AS
6591 * server.el (server-msg-size): New constant.
6592 (server-reply-print): New function.
6593 (server-eval-and-print): Use it.
6594 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6595 Handle -print-nonl.
6596
de5939ba
CS
65972012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6598
6599 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6600 (Bug#10987).
6601
0c93eabf
CY
66022012-03-11 Chong Yidong <cyd@gnu.org>
6603
397a688f
CY
6604 * simple.el (goto-line): Doc fix (Bug#9938).
6605
2cc775f9
CY
6606 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6607
0c93eabf
CY
6608 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6609 when finished (Bug#10963).
6610
c491fa41
MR
66112012-03-11 Martin Rudalics <rudalics@gmx.at>
6612
6613 * window.el (split-window-below): Fix bug in case where
6614 split-window-keep-point is nil (Bug#10971).
6615
300e8fa5
JL
66162012-03-11 Juri Linkov <juri@jurta.org>
6617
6618 * replace.el (replace-highlight): Set isearch-word to nil
6619 unconditionally. (Bug#10887)
6620
dbf6c5a1
EZ
66212012-03-10 Eli Zaretskii <eliz@gnu.org>
6622
6623 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6624 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6625 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6626 (mairix-widget-create-query): Add usage information about mairix
6627 search forms: negating words, searching for substrings, etc.
6628
b9e501de
JP
66292012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6630
6631 * international/fontset.el (font-encoding-alist): Add an entry for
6632 ksx1001 (Bug#5667).
6633
92795c91
RS
66342012-03-10 Richard Stallman <rms@gnu.org>
6635
1694e6c1
RS
6636 * mail/sendmail.el (mail-encode-header):
6637 Set rfc2047-encode-encoded-words.
6638
607e8555
RS
6639 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6640
de3bc99a
RS
6641 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6642 view buffer means not swapped.
6643 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6644 (rmail-write-region-annotate): Error if real text has disappeared.
6645
92795c91
RS
6646 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6647
699bd04e
CY
66482012-03-10 Chong Yidong <cyd@gnu.org>
6649
6650 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6651 * emulation/cua-base.el (cua--init-keymaps):
6652 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6653
570a1714
MR
66542012-03-10 Martin Rudalics <rudalics@gmx.at>
6655
dbbc2e69
SM
6656 * speedbar.el (speedbar-unhighlight-one-tag-line):
6657 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6658
82dcf4e4
CY
66592012-03-10 Chong Yidong <cyd@gnu.org>
6660
7a2c7ca7
CY
6661 * minibuffer.el (completion-in-region, completion-help-at-point):
6662 Give the completion field overlay a high priority (Bug#6830).
6663
82dcf4e4
CY
6664 * dired.el (dired-goto-file): Recognize absolute file name
6665 listings (Bug#7126).
6666 (dired-goto-file-1): New helper function.
6667 (dired-toggle-read-only): Inhibit warnings.
6668
052e28ac
MA
66692012-03-09 Michael Albinus <michael.albinus@gmx.de>
6670
75f1671a 6671 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6672 there are no properties.
6673
95d5e396
LL
66742012-03-09 Leo Liu <sdl.web@gmail.com>
6675
6676 * savehist.el (savehist-printable): Stricter check for string
6677 value (Bug#10937).
6678
3f018d6d
EZ
66792012-03-09 Eli Zaretskii <eliz@gnu.org>
6680
dbbc2e69
SM
6681 * mail/smtpmail.el (smtpmail-send-it):
6682 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6683 valid mbox format.
6684
f7fd3d79
GM
66852012-03-09 Glenn Morris <rgm@gnu.org>
6686
6687 * files.el (dir-locals-find-file):
6688 Don't check result is regular, readable.
6689 (dir-locals-read-from-file): Demote errors.
6690
6ff6e72f
EZ
66912012-03-08 Eli Zaretskii <eliz@gnu.org>
6692
dbbc2e69
SM
6693 * international/quail.el (quail-insert-kbd-layout):
6694 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6695 layout cell, to prevent their reordering by bidi display engine.
6696 For details, see the discussion in
6697 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6698
9cec7834
AM
66992012-03-08 Alan Mackenzie <acm@muc.de>
6700
6701 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6702 the starting position; make it extend the marked region when
6703 invoked repeatedly - all under appropriate circumstances.
6704 Fixes bugs #5525, #10906.
6705
9a40b8d4
GM
67062012-03-08 Glenn Morris <rgm@gnu.org>
6707
6708 * files.el (locate-dominating-file, dir-locals-find-file):
6709 Undo 2012-03-06 change.
6710
7a08ed35
EZ
67112012-03-07 Eli Zaretskii <eliz@gnu.org>
6712
dbbc2e69
SM
6713 * international/quail.el (quail-help):
6714 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6715 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6716 for the reason.
6717
5aca4f71 67182012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6719
6720 Avoid superfluous registering of signals. (Bug#10807)
6721
6722 * notifications.el (notifications-on-action-object)
6723 (notifications-on-close-object): New defvars.
6724 (notifications-on-action-signal, notifications-on-closed-signal):
6725 Unregister the signal if not needed any longer.
6726 (notifications-notify): Register `notifications-action-signal' or
6727 `notifications-closed-signal', if :on-action or :on-close has been
6728 passed as argument.
6729
78e8b10a
CY
67302012-03-07 Chong Yidong <cyd@gnu.org>
6731
6732 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6733 non-X platforms.
6734
69481eb8
GM
67352012-03-06 Glenn Morris <rgm@gnu.org>
6736
6737 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6738 (x-disown-selection-internal, x-get-selection-internal):
6739 Doc fix (add arglist signatures). (Bug#10783)
6740
133b8e11
KS
67412012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6742
6743 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6744 Handle breakpoints with no "type".
6745
99a83064
GM
67462012-03-06 Glenn Morris <rgm@gnu.org>
6747
6748 * files.el (locate-dominating-file): Add optional predicate argument.
6749 (dir-locals-find-file): Make use of above change.
6750
17798e78
TTN
67512012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6752
6753 * info.el (Info-insert-dir): Also try "dir.gz".
6754
eb182446
GM
67552012-03-06 Glenn Morris <rgm@gnu.org>
6756
8f2114ee
GM
6757 * files.el (dir-locals-find-file):
6758 Ignore non-readable or non-regular files. (Bug#10928)
6759
eb182446
GM
6760 * files.el (locate-dominating-file): Doc fix.
6761
24679323
AS
67622012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6763
6764 * calendar/calendar.el (calendar-set-mode-line):
6765 `getenv' returns a string. (Bug#10951)
6766
01d972a9
LL
67672012-03-05 Leo Liu <sdl.web@gmail.com>
6768
109aa8a9
LL
6769 * simple.el (backward-delete-char-untabify): Constrain point to
6770 field (Bug#10939).
6771
01d972a9
LL
6772 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6773
10607bea
CY
67742012-03-05 Chong Yidong <cyd@gnu.org>
6775
6776 * simple.el (count-words): If called from Lisp, return the word
6777 count, for symmetry with `count-lines'. Arglist changed.
6778 (count-words--message): Args changed. Consolidate counting code
6779 from count-words and count-words-region.
6780 (count-words-region): Caller changed.
6781 (count-lines-region): Make it an obsolete alias.
6782
5dd11cfe
TH
67832012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6784
6785 * saveplace.el (save-place-to-alist)
6786 (save-place-ignore-files-regexp): Allow value nil to disable this
6787 feature.
6788
c349f4e6
CY
67892012-03-04 Chong Yidong <cyd@gnu.org>
6790
6791 * faces.el (face-spec-reset-face): For the default face, reset the
6792 attributes to default values (Bug#10748).
6793
e627be4c
LMI
67942012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6795
6796 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6797 previous patch: Check `message-send-mail-function', and not the
6798 default function (bug#10897).
6799
ebeabff4
MA
68002012-03-04 Michael Albinus <michael.albinus@gmx.de>
6801
a41a6cf4
MA
6802 * notifications.el (notifications-on-action-signal)
6803 (notifications-on-closed-signal): Check for unique service name of
6804 incoming event. Fix error in removing entry.
ebeabff4 6805 (top): Register for signals with wildcard service name.
a41a6cf4 6806 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6807
c1ca42b4
CY
68082012-03-04 Chong Yidong <cyd@gnu.org>
6809
dc9924b8 6810 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6811
ea16568d
GM
68122012-03-04 Glenn Morris <rgm@gnu.org>
6813
6814 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6815 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6816 (expand-abbrev, define-abbrev-table): Doc fixes.
6817
fbae4637
LMI
68182012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6819
6820 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6821 `message-default-send-mail-function' and not `send-mail-function'
6822 when doing the prompting for `sendmail-query-once' before sending
6823 in Message buffers (bug#10897).
6824
a1e7225c
LMI
6825 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6826 This is inconsistent with all the other stream functions, which leave
6827 the setting up to the higher levels (if so wanted) (bug#10931).
6828
56d093a9
AM
68292012-03-02 Alan Mackenzie <acm@muc.de>
6830
6831 Depessimize the handling of very large macros.
6832
6833 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6834 (c-macro-cache-syntactic): New variables to implement a one
6835 element macro cache.
6836 (c-invalidate-macro-cache): New function.
6837 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6838 Adapt to use the new cache.
6839 (c-state-safe-place): Use better the cache of safe positions.
6840 (c-state-semi-nonlit-pos-cache)
6841 (c-state-semi-nonlit-pos-cache-limit):
6842 New variables for...
6843 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6844 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6845 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6846 Use c-state-semi-safe-place.
56d093a9 6847
dbbc2e69
SM
6848 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6849 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6850
817e5c3d
MA
68512012-03-02 Michael Albinus <michael.albinus@gmx.de>
6852
dbbc2e69
SM
6853 * jka-compr.el (jka-compr-call-process):
6854 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6855 not remote.
6856
a032a702
MA
68572012-03-01 Michael Albinus <michael.albinus@gmx.de>
6858
6859 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6860 access of FILE2, if FILE1 does not exist.
6861
99a54f21
MA
6862 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6863 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6864
6865 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6866 Add "PAGER=" to `process-environment'.
6867
f6561e1f
MM
68682012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6869
6870 * progmodes/sql.el: Bug fix
6871 (sql-get-login-ext): Save login values in globals.
6872 (sql-get-login): Use new version of `sql-get-login-ext'.
6873 (sql-interactive-mode): Set global `sql-connection' to nil.
6874 (sql-connect): Set global values for connection.
6875 (sql-product-interactive): Save global values as buffer local.
6876
2d44d9cc
LL
68772012-02-29 Leo Liu <sdl.web@gmail.com>
6878
6879 * abbrev.el (define-abbrevs): Reset sys to nil.
6880
96b49301 68812012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6882
bf7f9bc5
JB
6883 * files.el (file-equal-p): Rename from `files-equal-p'.
6884 Return nil when one or both files don't exist.
96b49301 6885 (file-subdir-of-p): Now only top directory must exists,
6886 return nil if it doesn't.
bf7f9bc5
JB
6887 (copy-directory): No need to test with `file-subdir-of-p' after
6888 creating dir.
6889 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6890 to `file-equal-p'.
96b49301 6891
44e97401
GM
68922012-02-28 Glenn Morris <rgm@gnu.org>
6893
6894 * shell.el (shell-mode):
6895 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6896 * play/landmark.el (landmark-font-lock-face-O):
6897 * play/handwrite.el (handwrite):
6898 * play/gomoku.el (gomoku-O):
6899 * net/browse-url.el (browse-url-browser-display):
6900 * international/mule.el (define-charset):
6901 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6902 * filesets.el (filesets-find-file-delay):
6903 * eshell/em-xtra.el (eshell-xtra):
6904 * eshell/em-unix.el (eshell-grep):
6905 * emulation/viper.el (viper-mode):
6906 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6907 * emacs-lisp/easymenu.el (easy-menu-define):
6908 * calendar/timeclock.el (timeclock-use-display-time):
6909 * bs.el (bs-mode):
6910 * bookmark.el (bookmark-save-flag):
6911 Doc fix (standardize possessive apostrophe usage).
6912
c98c6276
CY
69132012-02-27 Chong Yidong <cyd@gnu.org>
6914
bf7f9bc5
JB
6915 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6916 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6917
c98c6276
CY
6918 * font-lock.el (font-lock-specified-p): Rename from
6919 font-lock-spec-present. Callers changed.
6920
9c62cd04 69212012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6922
bf7f9bc5
JB
6923 * emacs-lisp/package.el (package-compute-transaction):
6924 Handle holding a package version to t in package-load-list.
8ac9e529 6925
530739c9
MA
69262012-02-26 Michael Albinus <michael.albinus@gmx.de>
6927
6928 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6929 (tramp-get-inode, tramp-get-device): Use cached values.
6930
487915d7
AM
69312012-02-26 Alan Mackenzie <acm@muc.de>
6932
6933 Check there is a font-lock specification before doing initial
6934 fontification.
6935
6936 * font-core.el (font-lock-mode): Move the conditional from
6937 :after-hook to font-lock-initial-fontify.
6938 (font-lock-default-function): Move the check for a specification
6939 to font-lock-spec-present.
6940
dc9924b8 6941 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6942 (font-lock-spec-present): New function.
6943
4fd96557
JB
69442012-02-26 Jim Blandy <jimb@red-bean.com>
6945
6946 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6947 (gdb-send): Apply it to the operand of the '-interpreter-exec
6948 console' command, so that we can pass arguments with (say) quotes
6949 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6950
9a4888c0
CY
69512012-02-26 Chong Yidong <cyd@gnu.org>
6952
07498861
CY
6953 * help-fns.el (describe-function-1): Clarify description of
6954 remapping (Bug#10844).
6955
9a4888c0
CY
6956 * files.el (files-equal-p): Doc fix.
6957 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6958 and quit the loop once a mismatch is found.
6959
ea8fb88d
JB
69602012-02-25 Juanma Barranquero <lekktu@gmail.com>
6961
6962 * bs.el (bs--show-with-configuration): Don't throw an error
6963 if the window cannot be split; otherwise, subsequent calls to
6964 bs-show fail, restoring a stale window config. (Bug#10882)
6965
525795c1
JD
69662012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6967
6968 * term/ns-win.el (global-map): Bind ns-drag-file to
6969 ns-find-file (Bug#5855, Bug#10050).
6970
f008086f
AS
69712012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6972
6973 * calendar/parse-time.el (parse-time-string): Allow extractor to
6974 return nil.
6975
a3fcfa99
MA
69762012-02-25 Michael Albinus <michael.albinus@gmx.de>
6977
91027d08
JB
6978 * net/tramp.el (tramp-file-name-for-operation):
6979 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6980
6981 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6982 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6983 Add COPY-CONTENTS argument.
a3fcfa99 6984
67b0de11
CY
69852012-02-25 Chong Yidong <cyd@gnu.org>
6986
6987 Add custom groups for VC backends, for consistency with vc-bzr.
6988
6989 * vc/vc-arch.el (vc-arch):
6990 * vc/vc-cvs.el (vc-cvs):
6991 * vc/vc-git.el (vc-git):
6992 * vc/vc-hg.el (vc-hg):
6993 * vc/vc-mtn.el (vc-mtn):
6994 * vc/vc-rcs.el (vc-rcs):
6995 * vc/vc-sccs.el (vc-sccs):
6996 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6997 All relevant defcustoms reassigned.
6998
3c9dfce6
CY
69992012-02-25 Chong Yidong <cyd@gnu.org>
7000
1339bf43
CY
7001 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7002
3c9dfce6
CY
7003 * term/x-win.el (x-initialize-window-system): Reduce default for
7004 x-selection-timeout to 5 seconds (Bug#8869).
7005
25b2e303 70062012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7007
ec70a47d
GM
7008 * files.el (files-equal-p, file-subdir-of-p): New functions.
7009 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7010 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7011 * dired-aux.el (dired-copy-file-recursive): Same.
7012 (dired-create-files): Modify destination when source is equal to
7013 dest when copying files.
53a46cd0 7014 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7015
914260cd
MA
70162012-02-24 Michael Albinus <michael.albinus@gmx.de>
7017
7018 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7019 (Bug#10874)
7020
2cb228f7
AM
70212012-02-23 Alan Mackenzie <acm@muc.de>
7022
7023 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7024 parameter "after-hook:" to allow the expansion to run code after
7025 the execution of the mode hooks.
7026
7027 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7028 from font-lock-mode-internal.
2cb228f7 7029
91027d08 7030 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7031 :after-hook.
7032
8f0fde21
SM
70332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7034
3e88618b
SM
7035 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7036 (completion--cache-all-sorted-completions): New function.
7037 (completion-all-sorted-completions): Use it.
7038 (completion--do-completion, minibuffer-force-complete):
7039 Use it to re-instate the flush hook.
7040
8f0fde21
SM
7041 * icomplete.el (icomplete-completions): Replace last fix with a better
7042 one (bug#10850).
7043
8e911f6f
DG
70442012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7045
7046 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7047 when it might call us back infinitely (bug#10797).
7048
49fe4321
GM
70492012-02-23 Glenn Morris <rgm@gnu.org>
7050
7051 * minibuffer.el (completion-category-overrides): Doc fix.
7052
b291b572
SM
70532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7056 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7057
31a9ef2e
GM
70582012-02-23 Glenn Morris <rgm@gnu.org>
7059
5e6e6794 7060 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7061 (authors-obsolete-files-regexps, authors-ignored-files)
7062 (authors-ambiguous-files, authors-renamed-files-alist):
7063 Add more entries.
7064
0bd1e074
JL
70652012-02-23 Juri Linkov <juri@jurta.org>
7066
7067 * isearch.el (isearch-occur): Sync interactive spec with occur's
7068 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7069
b617673c
JL
7070 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7071
19e9789e
JL
70722012-02-22 Juri Linkov <juri@jurta.org>
7073
7074 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7075 (ucs-insert): Doc fix. Check for hex digits in the string.
7076 Don't display `nil' in the error message. (Bug#10857)
7077
f41ce09d
AM
70782012-02-22 Alan Mackenzie <acm@muc.de>
7079
7a71b18d 7080 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7081
ac2eceee
GM
70822012-02-22 Glenn Morris <rgm@gnu.org>
7083
7084 * ffap.el (ffap-c-path):
7085 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7086
abd1f678
CY
70872012-02-22 Chong Yidong <cyd@gnu.org>
7088
7089 * custom.el (load-theme): Doc fix.
7090
f25aef2e
GM
70912012-02-22 Glenn Morris <rgm@gnu.org>
7092
7093 * dired-x.el (dired-guess-shell-alist-default):
7094 Remove escape sequences from nroff output. (Bug#172)
7095
5f8dc2ca
GM
70962012-02-21 Glenn Morris <rgm@gnu.org>
7097
6ff86ec4
GM
7098 * vc/emerge.el (emerge-defvar-local):
7099 Set `permanent-local' property rather than unused `preserved'.
7100
be3223a3 7101 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7102 (picture-mode-map): Use it. (Bug#10860)
7103 (picture-mode): Doc fix.
7104
3fe58f4f
JB
71052012-02-21 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * newcomment.el (uncomment-region-default): Remove unused binding.
7108
f9a998c3
GM
71092012-02-21 Glenn Morris <rgm@gnu.org>
7110
7111 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7112 (picture-self-insert, picture-tab-chars): Doc fix.
7113 (picture-mode-map): Fix C-a, C-e.
7114
c6029348
GM
71152012-02-20 Glenn Morris <rgm@gnu.org>
7116
7117 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7118
ab1ce9d7
LL
71192012-02-20 Leo Liu <sdl.web@gmail.com>
7120
7121 * icomplete.el (icomplete-completions): Check FROM arg before
7122 passing to substring (Bug#10850).
7123
0fd40f89
CY
71242012-02-19 Chong Yidong <cyd@gnu.org>
7125
7126 * comint.el: Require ansi-color.
7127 (comint-output-filter-functions): Add ansi-color-process-output.
7128
7129 * ansi-color.el: Don't set comint-output-filter-functions; it is
7130 now in the initial value defined in comint.el.
7131 (ansi-color-apply-face-function): New variable.
7132 (ansi-color-apply-on-region): Use it.
7133 (ansi-color-apply-overlay-face): New function.
7134
7135 * shell.el (shell): No need to require ansi-color.
7136 (shell-mode): Use ansi-color-apply-face-function to highlight
7137 color escapes using font-lock-face property (Bug#10835).
7138
20af2394
CY
71392012-02-19 Chong Yidong <cyd@gnu.org>
7140
7141 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7142 mode-line formats (Bug#10839).
7143
e23a3fbe
GM
71442012-02-18 Glenn Morris <rgm@gnu.org>
7145
b474519e
GM
7146 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7147
7148 * mail/undigest.el (unforward-rmail-message): Doc fix.
7149
e23a3fbe
GM
7150 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7151
57939ff4
EZ
71522012-02-18 Eli Zaretskii <eliz@gnu.org>
7153
7154 * international/characters.el (script-list): Sync with the latest
7155 Unicode Character Database.
7156
0c23686e
AS
71572012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7158
7159 * international/titdic-cnv.el: Remove duplicate coding tag.
7160 * language/cham.el: Likewise.
7161 * language/tai-viet.el: Likewise.
7162
6818b449
GM
71632012-02-18 Glenn Morris <rgm@gnu.org>
7164
7165 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7166 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7167 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7168 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7169 * calendar/holidays.el (holiday-bahai-holidays)
7170 (calendar-holidays, list-holidays):
7171 Use utf-8 Bahá'í in doc-strings, menus, etc.
7172
0311a3fc
TH
71732012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7174
7175 * saveplace.el (save-place-ignore-files-regexp): New variable
7176 allowing for excluding files from saving their location of point.
7177 The default value matches the temporary commit message editing
7178 files from Git, SVN, Bazaar, and Mercurial.
7179 (save-place-to-alist): Use it.
7180
d209e2fb 71812012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7182 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7183
7184 * newcomment.el (uncomment-region-default): Don't leave extra space
7185 when an arg is provided (bug#8150).
7186
ee0ce425
TZ
71872012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7188
eb864a71 7189 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7190
95ddf442
GM
71912012-02-17 Glenn Morris <rgm@gnu.org>
7192
7193 * net/socks.el: Require network-stream. (Bug#10599)
7194
48dd1e39 71952012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7196
7197 * international/charprop.el:
7198 * international/uni-name.el:
7199 * international/uni-old-name.el:
7200 * international/uni-comment.el: Regenerate.
7201
d68cd087
GM
72022012-02-16 Glenn Morris <rgm@gnu.org>
7203
7204 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7205 Interactively in calendar buffer, give an error if not on a date.
7206
13932042
GM
72072012-02-15 Glenn Morris <rgm@gnu.org>
7208
7209 * shell.el (shell-delimiter-argument-list):
7210 Revert 2011-02-17 change. (Bug#8027)
7211
c3a70e2b
CY
72122012-02-15 Chong Yidong <cyd@gnu.org>
7213
60236b0d
CY
7214 * minibuffer.el (completion-at-point-functions): Doc fix.
7215
c3a70e2b
CY
7216 * custom.el (defcustom): Doc fix; note use of defvar.
7217
9f26dc24
GM
72182012-02-15 Glenn Morris <rgm@gnu.org>
7219
7220 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7221 Doc fixes.
7222
6546b134
GM
72232012-02-14 Glenn Morris <rgm@gnu.org>
7224
7225 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7226
d29b2b4c
LI
72272012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7228
7229 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7230 way the ports list is computed.
835bdcba
LI
7231 (smtpmail-query-smtp-server): Prompt the user for a port number if
7232 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7233
08dcdbc9
TZ
72342012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7235
7236 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7237
2605051a
GM
72382012-02-13 Glenn Morris <rgm@gnu.org>
7239
7240 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7241
7ee99f32
TZ
72422012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7243
7244 * net/gnutls.el (gnutls-trustfiles): New variable.
7245 (gnutls-negotiate): Use it.
7246
5f0af64f
LI
72472012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7248
7249 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7250 does its stuff if Gnus is running.
7251
c14fcc95
AM
72522012-02-13 Alan Mackenzie <acm@muc.de>
7253
7254 Fix a loop in c-set-fl-decl-start.
7255
7a71b18d 7256 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7257 c-backward-syntactic-ws actually moves backwards.
7258
142b4d90
LL
72592012-02-13 Leo Liu <sdl.web@gmail.com>
7260
7261 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7262 beginning so that all \C-o chars are removed.
7263
fa9958a6
TZ
72642012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7265
dc9924b8 7266 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7267
0bc5886a
AM
72682012-02-12 Alan Mackenzie <acm@muc.de>
7269
7270 Fix infinite loop with long macros.
4d6769e1 7271 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7272
d4bd55e7
CY
72732012-02-12 Chong Yidong <cyd@gnu.org>
7274
7275 * window.el (display-buffer): Doc fix (Bug#10785).
7276
66f3fe22
GM
72772012-02-12 Glenn Morris <rgm@gnu.org>
7278
bd7da63e
GM
7279 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7280 (x-disown-selection-internal, x-get-selection-internal):
7281 Sync docs with the xselect.c versions.
7282
66f3fe22
GM
7283 * allout-widgets.el: Add missing license notice.
7284
3e0d2fa7
GM
72852012-02-11 Glenn Morris <rgm@gnu.org>
7286
cfecdf09
GM
7287 * select.el (x-get-selection-internal, x-own-selection-internal)
7288 (x-disown-selection-internal):
7289 * x-dnd.el (x-get-selection-internal): Update declarations.
7290
6d216d7f
GM
7291 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7292
2bed3f04
GM
7293 * window.el (window-sides-slots):
7294 * tool-bar.el (tool-bar-position):
7295 * term/xterm.el (xterm-extra-capabilities):
7296 * ses.el (ses-self-reference-early-detection):
7297 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7298 (verilog-auto-wire-type)
7299 (verilog-auto-delete-trailing-whitespace)
7300 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7301 (verilog-auto-tieoff-declaration):
7302 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7303 (sql-oracle-statement-starters, sql-oracle-scan-on):
7304 * progmodes/prolog.el (prolog-align-comments-flag)
7305 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7306 (prolog-left-indent-regexp, prolog-paren-indent-p)
7307 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7308 (prolog-types, prolog-mode-specificators)
7309 (prolog-determinism-specificators, prolog-directives)
7310 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7311 (prolog-electric-dot-flag)
7312 (prolog-electric-dot-full-predicate-template)
7313 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7314 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7315 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7316 (prolog-program-switches, prolog-prompt-regexp)
7317 (prolog-debug-on-string, prolog-debug-off-string)
7318 (prolog-trace-on-string, prolog-trace-off-string)
7319 (prolog-zip-on-string, prolog-zip-off-string)
7320 (prolog-use-standard-consult-compile-method-flag)
7321 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7322 (prolog-imenu-max-lines, prolog-info-predicate-index)
7323 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7324 (prolog-char-quote-workaround):
7325 * progmodes/cc-vars.el (c-defun-tactic):
7326 * net/tramp.el (tramp-encoding-command-interactive)
7327 (tramp-local-end-of-line):
7328 * net/soap-client.el (soap-client):
7329 * net/netrc.el (netrc-file):
7330 * net/gnutls.el (gnutls):
7331 * minibuffer.el (completion-category-overrides)
7332 (completion-cycle-threshold)
7333 (completion-pcm-complete-word-inserts-delimiters):
7334 * man.el (Man-name-local-regexp):
7335 * mail/feedmail.el (feedmail-display-full-frame):
7336 * international/characters.el (glyphless-char-display-control):
7337 * eshell/em-ls.el (eshell-ls-date-format):
7338 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7339 (lisp-lambda-list-keyword-parameter-indentation)
7340 (lisp-lambda-list-keyword-parameter-alignment):
7341 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7342 * dired-x.el (dired-omit-verbose):
7343 * cus-theme.el (custom-theme-allow-multiple-selections):
7344 * calc/calc.el (calc-highlight-selections-with-faces)
7345 (calc-lu-field-reference, calc-lu-power-reference)
7346 (calc-note-threshold):
7347 * battery.el (battery-mode-line-limit):
7348 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7349 (archive-7z-update):
7350 * allout.el (allout-prefixed-keybindings)
7351 (allout-unprefixed-keybindings)
7352 (allout-inhibit-auto-fill-on-headline)
7353 (allout-flattened-numbering-abbreviation):
7354 * allout-widgets.el (allout-widgets-auto-activation)
7355 (allout-widgets-icons-dark-subdir)
7356 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7357 (allout-widgets-theme-dark-background)
7358 (allout-widgets-theme-light-background)
7359 (allout-widgets-item-image-properties-emacs)
7360 (allout-widgets-item-image-properties-xemacs)
7361 (allout-widgets-run-unit-tests-on-load)
7362 (allout-widgets-time-decoration-activity)
7363 (allout-widgets-hook-error-post-time)
7364 (allout-widgets-track-decoration):
7365 Add missing :version tags to new defcustoms and defgroups.
7366
5fec1b8e
GM
7367 * progmodes/sql.el (sql-ansi-statement-starters)
7368 (sql-oracle-statement-starters): Add custom type.
7369
3e0d2fa7
GM
7370 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7371 (prolog-system-version): Give it a type.
7372
90b671e2
EZ
73732012-02-11 Eli Zaretskii <eliz@gnu.org>
7374
7375 * term/pc-win.el (x-select-text, x-selection-owner-p)
7376 (x-own-selection-internal, x-disown-selection-internal)
7377 (x-get-selection-internal): Sync doc strings and argument lists
7378 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7379
5eac0c02
LL
73802012-02-11 Leo Liu <sdl.web@gmail.com>
7381
7382 * progmodes/python.el (python-end-of-statement): Fix infinite
7383 loop. (Bug#10788)
7384
f82cb659
GM
73852012-02-10 Glenn Morris <rgm@gnu.org>
7386
7387 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7388 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7389
cc26d239
LI
73902012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7391
7392 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7393 about SMTP before checking the From header.
7394
91027d08 7395 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7396 into own function for reuse by emacsbug.el.
7397
1be3ca5a
LL
73982012-02-10 Leo Liu <sdl.web@gmail.com>
7399
7400 * subr.el (condition-case-unless-debug): Rename from
7401 condition-case-no-debug. All callers changed.
7402 (with-demoted-errors): Fix caller.
7403
7404 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7405 * nxml/rng-valid.el (rng-do-some-validation):
7406 * emacs-lisp/package.el (package-refresh-contents)
7407 (package-menu-execute):
7408 * desktop.el (desktop-create-buffer):
91027d08 7409 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7410
b011fbfe
GM
74112012-02-10 Glenn Morris <rgm@gnu.org>
7412
b2096d72
GM
7413 * textmodes/bibtex.el:
7414 Add missing :version tags for new/changed defcustoms.
7415
b011fbfe
GM
7416 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7417
4c7e65bf
LI
74182012-02-09 Lars Ingebrigtsen <larsi@rusty>
7419
7420 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7421 (smtpmail-via-smtp): Use it, or fall back on the From address.
7422 (smtpmail-send-it): Ditto.
7423
f3934f6f
SM
74242012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7427 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7428 (byte-compile-tmp-var): New const.
7429 (byte-compile-defvar): Use it to minimize .elc size.
7430 Just use `defvar' rather than simulate it (bug#10761).
7431
a075a2c5
GM
74322012-02-09 Glenn Morris <rgm@gnu.org>
7433
cf3aa21b
GM
7434 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7435
354998cd
GM
7436 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7437 Add :version tags.
7438
dc9924b8
SM
7439 * progmodes/compile.el (compilation-error-screen-columns)
7440 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7441
dab3703d
GM
7442 * vc/log-view.el (log-view-toggle-entry-display):
7443 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7444
3f88cd72
GM
7445 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7446 (report-emacs-bug-can-use-xdg-email):
7447 (report-emacs-bug-insert-to-mailer): Doc fixes.
7448 (report-emacs-bug): Message fix.
7449
d95b247d
GM
7450 * net/browse-url.el (browse-url-can-use-xdg-open)
7451 (browse-url-xdg-open): Doc fixes.
7452
a075a2c5
GM
7453 * electric.el (electric-indent-mode, electric-pair-mode)
7454 (electric-layout-rules, electric-layout-mode): Doc fixes.
7455 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7456
ffb6157e
MR
74572012-02-08 Martin Rudalics <rudalics@gmx.at>
7458
7459 * server.el (server-unselect-display): Don't inadvertently kill
7460 the current buffer. (Bug#10729)
7461
e1ac4066
GM
74622012-02-08 Glenn Morris <rgm@gnu.org>
7463
34e8a2da
GM
7464 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7465 (sql-list-table): Doc fixes.
7466
b4ac6e8c
GM
7467 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7468 Comment out (does nothing).
7469
e1ac4066
GM
7470 * completion.el (dynamic-completion-mode):
7471 * dirtrack.el (dirtrack-debug-mode):
7472 * electric.el (electric-layout-mode):
7473 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7474 * face-remap.el (text-scale-mode, buffer-face-mode):
7475 * iimage.el (iimage-mode):
7476 * image-mode.el (image-transform-mode):
7477 * minibuffer.el (completion-in-region-mode):
7478 * scroll-lock.el (scroll-lock-mode):
7479 * simple.el (next-error-follow-minor-mode):
7480 * tar-mode.el (tar-subfile-mode):
7481 * tooltip.el (tooltip-mode):
7482 * vcursor.el (vcursor-use-vcursor-map):
7483 * wid-browse.el (widget-minor-mode):
7484 * emulation/tpu-edt.el (tpu-edt-mode):
7485 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7486 * international/iso-ascii.el (iso-ascii-mode):
7487 * language/thai-util.el (thai-word-mode):
7488 * mail/supercite.el (sc-minor-mode):
7489 * net/goto-addr.el (goto-address-mode):
7490 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7491 * progmodes/cwarn.el (cwarn-mode):
7492 * progmodes/flymake.el (flymake-mode):
7493 * progmodes/glasses.el (glasses-mode):
7494 * progmodes/hideshow.el (hs-minor-mode):
7495 * progmodes/pascal.el (pascal-outline-mode):
7496 * textmodes/enriched.el (enriched-mode):
7497 * vc/smerge-mode.el (smerge-mode):
7498 Doc fixes (minor mode argument).
7499
5e0d957f
EZ
75002012-02-07 Eli Zaretskii <eliz@gnu.org>
7501
7502 * ls-lisp.el (ls-lisp-sanitize): New function.
7503 (ls-lisp-insert-directory): Use it to fix or remove any elements
7504 in file-alist with missing attributes. (Bug#4673)
7505
98d7371e
AM
75062012-02-07 Alan Mackenzie <acm@muc.de>
7507
7508 Fix spurious recognition of c-in-knr-argdecl.
7509
7510 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7511 putative K&R region.
7512
667ced3a
AM
75132012-02-07 Alan Mackenzie <acm@muc.de>
7514
eb864a71
LM
7515 * progmodes/cc-engine.el (c-forward-objc-directive):
7516 Prevent looping in "#pragma mark @implementation".
667ced3a 7517
5b77774d
MA
75182012-02-07 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * notifications.el (notifications-on-closed-signal): Make `reason'
7521 optional. (Bug#10744)
7522
af008560
GM
75232012-02-07 Glenn Morris <rgm@gnu.org>
7524
60d47423
GM
7525 * emacs-lisp/easy-mmode.el (define-minor-mode):
7526 Doc fixes for the macro and the mode it defines.
7527
dd605cc4
GM
7528 * image.el (imagemagick-types-inhibit): Doc fix.
7529
af008560
GM
7530 * cus-start.el (imagemagick-render-type): Add it.
7531
5cc59a37
LI
75322012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7533
4d6769e1
JB
7534 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7535 Set the default at load time, too, so that `font-lock-fontify-buffer'
7536 can be called without setting up the entire mode first. This fixes
7537 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7538
9a6dd747
CY
75392012-02-06 Chong Yidong <cyd@gnu.org>
7540
2d16b285
CY
7541 * simple.el (list-processes--refresh): Delete exited processes
7542 (Bug#8094).
7543
171e9b6e
CY
7544 * comint.el (comint-next-prompt): next-single-char-property-change
7545 and prev-single-char-property-change never return nil (Bug#8657).
7546
9a6dd747
CY
7547 * custom.el (defcustom): Doc fix (Bug#9711).
7548
aa4589a7
CY
75492012-02-05 Chong Yidong <cyd@gnu.org>
7550
5c2a252f
CY
7551 * cus-edit.el (custom-variable-reset-backup): Quote the value
7552 before storing it in the customized-value property (Bug#6712).
4aab9006 7553 (custom-display): Add a customization type tag.
983b9602 7554 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7555
aa4589a7
CY
7556 * wid-edit.el (widget-field-value-get): New optional arg to
7557 suppress trailing whitespace truncation.
7558 (character): Use it (Bug#2689).
7559
1ff980ae
AS
75602012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7561
7562 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7563 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7564
03988c98
CY
75652012-02-05 Chong Yidong <cyd@gnu.org>
7566
eeb6cc88
CY
7567 * cus-edit.el (custom-variable-value-create): For mismatched
7568 types, show the current value (Bug#7600).
7569
03988c98
CY
7570 * custom.el (defcustom): Doc fix.
7571
f8cdeef0
GM
75722012-02-05 Glenn Morris <rgm@gnu.org>
7573
7574 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7575
0696d255
JB
75762012-02-05 Juanma Barranquero <lekktu@gmail.com>
7577
7578 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7579 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7580 (pp-last-sexp): Use `looking-at-p'.
7581
34c99998
GM
75822012-02-04 Glenn Morris <rgm@gnu.org>
7583
8f05da42
GM
7584 * files.el (revert-buffer):
7585 Doc fix (mention revert-buffer-in-progress-p).
7586
f160676e
GM
7587 * emacs-lisp/ert-x.el (ert-simulate-command):
7588 Check deferred-action-list (which is obsolete) is bound.
7589
c7291ad9
GM
7590 * subr.el (with-wrapper-hook): Doc fixes.
7591
34c99998
GM
7592 * simple.el (filter-buffer-substring-functions)
7593 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7594
6283a7d3
LL
75952012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7596
7597 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7598 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7599
e96e3013
LL
76002012-02-04 Leo Liu <sdl.web@gmail.com>
7601
7602 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7603
8ded50f2
GM
76042012-02-04 Glenn Morris <rgm@gnu.org>
7605
82ff1d13
GM
7606 * image.el (image-extension-data): Add obsolete alias.
7607
987a0a16
GM
7608 * isearch.el (isearch-update): Doc fix.
7609
ea32ef46
GM
7610 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7611
8ded50f2
GM
7612 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7613
eea14f31
GM
76142012-02-03 Glenn Morris <rgm@gnu.org>
7615
7616 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7617 (image-animate-timeout): Doc fix.
7618
7619 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7620
12f381b7
GM
76212012-02-02 Glenn Morris <rgm@gnu.org>
7622
953cebf5
GM
7623 * server.el (server-auth-dir): Doc fix.
7624 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7625
12f381b7
GM
7626 * subr.el (run-mode-hooks): Doc fix.
7627
953a8c3b
JL
76282012-02-02 Juri Linkov <juri@jurta.org>
7629
7630 * image-mode.el (image-toggle-display-image): Remove tautological
7631 `major-mode' from the `derived-mode-p' test.
7632
c5d3843c
KH
76332012-02-02 Kenichi Handa <handa@m17n.org>
7634
9f6e692e 7635 * composite.el (compose-region): Cancel previous change.
c5d3843c 7636
159462d4 76372012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7638
7639 * composite.el (compose-region, compose-string): Signal error for
7640 a null string component (Bug#6988).
7641
9f562668
CY
76422012-02-01 Chong Yidong <cyd@gnu.org>
7643
e2cef717
CY
7644 * view.el (view-buffer-other-window, view-buffer-other-frame):
7645 Handle special modes like view-buffer (Bug#10650).
7646 (view-buffer): Simplify.
7647
9f562668
CY
7648 * frame.el (set-frame-font): Tweak meaning of third argument.
7649
9f6e692e
JB
7650 * dynamic-setting.el (font-setting-change-default-font):
7651 Use set-frame-font (Bug#9982).
9f562668 7652
781acb9f
GM
76532012-02-01 Glenn Morris <rgm@gnu.org>
7654
6035be52
GM
7655 * progmodes/compile.el (compilation-internal-error-properties):
7656 Respect compilation-first-column in the "*compilation*" buffer.
7657
781acb9f
GM
7658 * emacs-lisp/easy-mmode.el (define-minor-mode):
7659 Relax :variable's test for a named function.
7660
abbceb00
AM
76612012-01-31 Alan Mackenzie <acm@muc.de>
7662
7663 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7664 off by one error.
7665
fce3fdeb
CY
76662012-01-31 Chong Yidong <cyd@gnu.org>
7667
7668 * frame.el (set-frame-font): New arg ALL-FRAMES.
7669
7670 * menu-bar.el (menu-set-font): Use set-frame-font.
7671
7672 * faces.el (face-spec-reset-face): Don't apply unspecified
7673 attribute values to the default face.
7674
47893581
JB
76752012-01-31 Juanma Barranquero <lekktu@gmail.com>
7676
7677 * progmodes/cwarn.el (cwarn): Remove dead link.
7678 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7679 Remove * from defcustom docstrings.
7680 (turn-on-cwarn-mode): Make obsolete.
7681 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7682 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7683
e58e988a
GM
76842012-01-31 Glenn Morris <rgm@gnu.org>
7685
60dc2671 7686 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7687 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7688 Allow named functions to be used as the cdr of :variable.
e58e988a 7689
7a3f511d
GM
76902012-01-30 Glenn Morris <rgm@gnu.org>
7691
7692 * emacs-lisp/authors.el (authors-fixed-entries):
7693 Remove reference to deleted file rnewspost.el.
7694
cb882333
JB
76952012-01-29 Juanma Barranquero <lekktu@gmail.com>
7696
7697 * window.el (window-with-parameter): Remove unused variable `windows'.
7698 (window--side-check): Remove unused variable `code'.
7699 (window--resize-siblings): Remove unused variable `first'.
7700 (adjust-window-trailing-edge): Remove unused variable `failed'.
7701 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7702 Use `let', not `let*'.
7703 (balance-windows-2): Remove unused variable `found'.
7704 (window--state-put-2): Remove unused variable `splits'.
7705 (window-state-put): Remove unused variable `selected'.
7706 (same-window-p): Use `string-match-p'.
7707 (display-buffer-assq-regexp): Remove unused variable `value'.
7708 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7709 Mark argument ALIST as ignored.
7710 (pop-to-buffer): Remove unused variable `old-window'.
7711
907201af
EZ
77122012-01-29 Eli Zaretskii <eliz@gnu.org>
7713
7714 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7715 and .lzma compressed files.
7716
ea162670
CY
77172012-01-29 Chong Yidong <cyd@gnu.org>
7718
5b95ee8a
CY
7719 * frame.el (window-system-default-frame-alist): Doc fix.
7720
ea162670
CY
7721 * dynamic-setting.el (font-setting-change-default-font): Don't
7722 change the default face if SET-FONT argument is non-nil (Bug#9982).
7723
d6e6f4b1
SB
77242012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7725
7726 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7727
0f29fa41 77282012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7729
7730 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7731 breakpoints in files outside current directory (Bug#6098).
7732
db174434
CY
77332012-01-29 Chong Yidong <cyd@gnu.org>
7734
6b25e4e2
SE
7735 * progmodes/python.el: Require ansi-color at top-level.
7736
6df6ae42
JB
7737 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7738 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7739 (lisp-mode-abbrev-table): Add doc.
7740 (lisp-mode-variables): Don't set local-abbrev-table.
7741 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7742
e70ee681
RW
77432012-01-28 Roland Winkler <winkler@gnu.org>
7744
7745 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7746
ace88aa2
RW
77472012-01-28 Roland Winkler <winkler@gnu.org>
7748
7749 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7750 (bibtex-set-dialect): Use it. Either set global values of
7751 dialect-dependent variables or bind these variables buffer-locally
7752 (Bug#10254).
7753 (bibtex-mode): Call bibtex-set-dialect via
7754 hack-local-variables-hook.
eb864a71
LM
7755 (bibtex-dialect): Update docstring.
7756 Add safe-local-variable predicate.
ace88aa2
RW
7757 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7758 bibtex-set-dialect.
7759 (bibtex-mode-map): Define menu for each dialect.
7760 (bibtex-entry): Fix docstring.
7761
93376c5b
CY
77622012-01-28 Chong Yidong <cyd@gnu.org>
7763
7764 * eshell/esh-arg.el (eshell-quote-argument): New function.
7765
7766 * eshell/esh-ext.el (eshell-invoke-batch-file):
7767 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7768 first arg to eshell-parse-command (Bug#10523).
7769
4372494f
DA
77702012-01-28 Drew Adams <drew.adams@oracle.com>
7771
7772 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7773 `default-directory' is non-nil.
7774
4d4ec1f8
EZ
77752012-01-28 Eli Zaretskii <eliz@gnu.org>
7776
7777 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7778 line that displays system-configuration-options. (Bug#9924)
7779
7c188927
DA
77802012-01-28 Drew Adams <drew.adams@oracle.com>
7781
7782 * descr-text.el (describe-char): Show information about POS, in
7783 addition to information about the character at POS. Improve and
7784 update the doc string. Change "code point" to "code point in
7785 charset", to avoid confusion with the character's Unicode code
7786 point shown above that. (Bug#10129)
7787
e0da685a
EZ
77882012-01-28 Eli Zaretskii <eliz@gnu.org>
7789
7790 * descr-text.el (describe-char): Show the raw character, not only
7791 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7792 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7793 for the reasons.
7794
70550acf
PH
77952012-01-28 Phil Hagelberg <phil@hagelb.org>
7796
eb864a71
LM
7797 * emacs-lisp/package.el (package-install):
7798 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7799
0ce8e868
CY
78002012-01-28 Chong Yidong <cyd@gnu.org>
7801
cb882333
JB
7802 * emacs-lisp/package.el (package-maybe-load-descriptor):
7803 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7804 (package-maybe-load-descriptor): Use it.
7805 (package-download-transaction): Fully load required packages
7806 inside the loop, so that `require' calls work (Bug#10593).
7807 (package-install): No need to call package-initialize now.
7808
2e7f3bea
CY
78092012-01-28 Chong Yidong <cyd@gnu.org>
7810
6e9bad14
CY
7811 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7812
f823b8ca
CY
7813 * tooltip.el (tooltip-mode): Doc fix.
7814 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7815
2680c309
CY
7816 * frame.el (set-cursor-color): Doc fix (Bug#352).
7817
d7a9e63b
CY
7818 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7819 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7820
2e7f3bea
CY
7821 * cus-edit.el (custom-buffer-create-internal): Fix search button
7822 action (Bug#10542).
2ae01800 7823 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7824
fc4f7a23
EW
78252012-01-27 Eduard Wiebe <usenet@pusto.de>
7826
7827 * dired.el (dired-mark-files-regexp):
7828 Include any subdirectory components. (Bug#10445)
7829
7dd37071
ML
78302012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7831
7832 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7833 Handle [host]:port syntax. (Bug#10533)
7834
a268160b
AH
78352012-01-27 Alex Harsanyi <harsanyi@mac.com>
7836
7837 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7838
e43273ef
GM
78392012-01-26 Glenn Morris <rgm@gnu.org>
7840
7841 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7842 * term.el (term-raw-escape-map): Use Control-X-prefix.
7843 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7844
1edf595d
MR
78452012-01-25 Martin Rudalics <rudalics@gmx.at>
7846
7847 * window.el (window-state-get, window--state-get-1): Don't deal
7848 with fixed-sizeness of windows. Simplify code.
7849
fa8eafef
JC
78502012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7851
6df6ae42
JB
7852 * window.el (window--state-get-1, window--state-put-2):
7853 Don't save and restore the mark.
fa8eafef 7854
0b21c100
CY
78552012-01-25 Chong Yidong <cyd@gnu.org>
7856
7857 * custom.el (custom-variable-p): Doc fix.
7858
5ae1a6c8
GM
78592012-01-25 Glenn Morris <rgm@gnu.org>
7860
40047858
GM
7861 * dired.el (dired-goto-file): Handle some of the more common
7862 characters that `ls -b' escapes. (Bug#10596)
7863
5ddce96c
GM
7864 * progmodes/compile.el (compilation-next-error-function):
7865 Respect compilation-first-column in the "*compilation*" buffer.
7866 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7867
5ae1a6c8
GM
7868 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7869
b559f1a9
GM
78702012-01-24 Glenn Morris <rgm@gnu.org>
7871
7872 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7873
6725d21a
JD
78742012-01-24 Julien Danjou <julien@danjou.info>
7875
7876 * color.el (color-rgb-to-hsl): Fix value computing.
7877 (color-hue-to-rgb): New function.
7878 (color-hsl-to-rgb): New function.
7879 (color-clamp, color-saturate-hsl, color-saturate-name)
7880 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7881 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7882
70df4bbe
GM
78832012-01-24 Glenn Morris <rgm@gnu.org>
7884
7885 * vc/vc-rcs.el (vc-rcs-create-tag):
7886 * vc/vc-sccs.el (vc-sccs-create-tag):
7887 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7888
802a2ae2
ML
78892012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7890
7891 * eshell/esh-util.el (eshell-read-hosts-file):
7892 Skip comment lines. (Bug#10549)
7893
d7128bb1
ML
7894 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7895
d1a5c3b4
JB
78962012-01-23 Juanma Barranquero <lekktu@gmail.com>
7897
2724d9c7
JB
7898 * subr.el (display-delayed-warnings): Doc fix.
7899 (collapse-delayed-warnings): New function to collapse identical
7900 adjacent warnings.
7901 (delayed-warnings-hook): Add it.
d1a5c3b4 7902
a5509865
MA
79032012-01-22 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7906
a5509865
MA
7907 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7908 (tramp-default-user-alist): Don't add "pscp".
7909 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7910 property "login-as", if set. (Bug#10530)
7911
cc6d5805
MA
79122012-01-21 Michael Albinus <michael.albinus@gmx.de>
7913
7914 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7915 "plink1" and "psftp". (Bug#10530)
7916
79172012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7918
7919 * international/mule-cmds.el (prefer-coding-system): Show a
7920 warning message if the default value of file-name-coding-system
7921 was not changed.
7922
f0960428
JC
79232012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7924
cb882333
JB
7925 * windmove.el (windmove-reference-loc):
7926 Fix windmove-reference-loc miscalculation.
f0960428 7927
dd6f2a63
JB
79282012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7929
7930 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7931 default unit.
7932
7b447e9b
GM
79332012-01-21 Glenn Morris <rgm@gnu.org>
7934
117a9ea1
GM
7935 * international/mule.el (auto-coding-alist): Add .tbz.
7936
7b447e9b
GM
7937 * files.el (local-enable-local-variables): Doc fix.
7938 (inhibit-local-variables-regexps): Rename from
7939 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7940 Doc fix. Add some extensions from auto-coding-alist.
7941 (inhibit-local-variables-suffixes):
7942 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7943 (inhibit-local-variables-p):
7944 New function, extracted from set-auto-mode-1.
7945 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7946 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7947 (hack-local-variables): Doc fix. Make the mode-only case
7948 respect enable-local-variables and friends.
7949 Respect inhibit-local-variables-regexps for file-locals, but
7950 not for directory-locals.
7951 (set-visited-file-name):
7952 Take account of inhibit-local-variables-regexps.
7953 Whether it applies may change as the file name is changed.
7954 * jka-cmpr-hook.el (jka-compr-install):
7955 * jka-compr.el (jka-compr-uninstall):
7956 Update for inhibit-first-line-modes-suffixes name change.
7957
dd6e3cdd
MR
79582012-01-20 Martin Rudalics <rudalics@gmx.at>
7959
7960 * help-macro.el (make-help-screen): Temporarily restore original
7961 binding for minor-mode-map-alist (Bug#10454).
7962
0d0deb38
JD
79632012-01-19 Julien Danjou <julien@danjou.info>
7964
7965 * color.el (color-name-to-rgb): Use the white color to find the max
7966 color component value and return correctly computed values.
7967 (color-name-to-rgb): Add missing float conversion for max value.
7968
34a02f46
MR
79692012-01-19 Martin Rudalics <rudalics@gmx.at>
7970
7971 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7972 special state value for window-persistent-parameters.
7973 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7974 (window--state-put-2): Reset all window parameters to nil before
7975 assigning values of persistent parameters.
7976
606c44c4
AM
79772012-01-18 Alan Mackenzie <acm@muc.de>
7978
7979 Eliminate sluggishness and hangs in fontification of "semicolon
7980 deserts".
7981
cb882333
JB
7982 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7983 Change value 10000 -> 3000.
606c44c4
AM
7984 (c-state-safe-place): Reformulate so it doesn't stack up an
7985 infinite number of wrong entries in c-state-nonlit-pos-cache.
7986 (c-determine-limit-get-base, c-determine-limit): New functions to
7987 determine backward search limits disregarding literals.
7988 (c-find-decl-spots): Amend commenting.
7989 (c-cheap-inside-bracelist-p): New function which detects "={".
7990
7991 * progmodes/cc-fonts.el
7992 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7993 backward search.
7994 (c-font-lock-declarations): Fix an occurrence of point being
7995 undefined. Check additionally for point being in a bracelist or
7996 near a macro invocation without a semicolon so as to avoid a
7997 fruitless time consuming search for a declarator. Give a more
7998 precise search limit for declarators using the new
7999 c-determine-limit.
8000
f3860cea
GM
80012012-01-18 Glenn Morris <rgm@gnu.org>
8002
8003 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8004 (set-auto-mode): Doc fixes.
8005
1db03b16
GM
80062012-01-17 Glenn Morris <rgm@gnu.org>
8007
0e6038be
GM
8008 * isearch.el (search-nonincremental-instead): Fix doc typo.
8009
1db03b16
GM
8010 * dired.el (dired-insert-directory): Handle newlines in directory name.
8011 (dired-build-subdir-alist): Unescape newlines in directory name.
8012
4cb0aa75
MA
80132012-01-17 Michael Albinus <michael.albinus@gmx.de>
8014
8015 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8016 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8017 (tramp-action-terminal): Use it. (Bug#10530)
8018
1d00653d
SM
80192012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8022
6a6ee00d
MR
80232012-01-16 Martin Rudalics <rudalics@gmx.at>
8024
8025 * window.el (window-state-ignored-parameters): Remove variable.
8026 (window--state-get-1): Rename argument MARKERS to IGNORE.
8027 Handle persistent window parameters. Make copy of clone-of
8028 parameter only if requested. (Bug#10348)
8029 (window--state-put-2): Install a window parameter only if it has
8030 a non-nil value or an existing parameter shall be overwritten.
8031
97912def
MA
80322012-01-15 Michael Albinus <michael.albinus@gmx.de>
8033
8034 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8035
688070a5
EZ
80362012-01-14 Eli Zaretskii <eliz@gnu.org>
8037
8038 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8039 don't pass the (nil) value of `upnode' to string-match.
8040
301afadc
CY
80412012-01-14 Chong Yidong <cyd@gnu.org>
8042
8043 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8044 Fix values recognized by the cursorBlink resource.
301afadc 8045
9e5788aa
PE
80462012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8047
8048 * epg.el (epg--make-temp-file): Avoid permission race condition
8049 when running on old Emacs versions (bug#10403).
8050
3cdb7f5a
GM
80512012-01-14 Glenn Morris <rgm@gnu.org>
8052
8053 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8054
8c82b1b4
AM
80552012-01-13 Alan Mackenzie <acm@muc.de>
8056
8057 Fix filling for when filladapt mode is enabled.
8058
8059 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8060 c-mask-paragraph, pass in `fill-paragraph' rather than
8061 `fill-region-as-paragraph'. (This is a reversion of a previous
8062 change.)
eb864a71
LM
8063 * progmodes/cc-mode.el (c-basic-common-init):
8064 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8065
e517eda4
GM
80662012-01-13 Glenn Morris <rgm@gnu.org>
8067
1498536e
GM
8068 * dired.el (dired-switches-escape-p): New function.
8069 (dired-insert-directory): Use dired-switches-escape-p.
8070 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8071
e517eda4
GM
8072 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8073
328f984d
GM
80742012-01-12 Glenn Morris <rgm@gnu.org>
8075
8076 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8077 changes in adaptive-fill-regexp. (Bug#10276)
8078
2cc769a8
AM
80792012-01-11 Alan Mackenzie <acm@muc.de>
8080
8081 Fix Emacs bug #10463 - put `widen's around the critical spots.
8082
1d00653d 8083 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8084 widen around each invocation of c-state-pp-to-literal. Remove an
8085 unused let variable.
8086
e52c37fa
GM
80872012-01-11 Glenn Morris <rgm@gnu.org>
8088
8089 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8090 Doc fix.
e52c37fa 8091
96f8741e
CY
80922012-01-10 Chong Yidong <cyd@gnu.org>
8093
1d00653d
SM
8094 * net/network-stream.el (network-stream-open-starttls):
8095 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8096 response to the capability command.
8097
b09a806e
GM
80982012-01-10 Glenn Morris <rgm@gnu.org>
8099
8100 * mail/unrmail.el (unrmail): Tweak previous change.
8101
7655cb66
CY
81022012-01-09 Chong Yidong <cyd@gnu.org>
8103
8104 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8105
9d5a8f0b
AM
81062012-01-08 Alan Mackenzie <acm@muc.de>
8107
8108 Optimise font locking in long enum definitions.
8109
8110 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8111 arm to a cond form to handle enums.
8112 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8113 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8114
9a0115ab 81152012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8116
8117 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8118 (Bug#10401)
6bb72cbd 8119
f186bb95
LMI
81202012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
29232a68
LMI
8122 * faces.el (set-face-attribute): Clarify the meaning of the nil
8123 frame (bug#10294).
8124
4e5d086d
LMI
8125 * subr.el (with-selected-frame): Mention that the selected frame
8126 is restored (bug#9980).
8127
8e66aebe
LMI
8128 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8129 (bug#9759).
8130
cd394be1 8131 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8132 (password-read): Don't autoload unused function.
8133
adf4e762
JB
81342012-01-07 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * progmodes/which-func.el (which-func-mode): Turn into a
8137 non-interactive function and mark as obsolete (bug#10428).
8138
89bd9ccd
CY
81392012-01-06 Chong Yidong <cyd@gnu.org>
8140
8141 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8142 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8143 functions, along with 1 and -1.
8144
4afee9d5
EZ
81452012-01-06 Eli Zaretskii <eliz@gnu.org>
8146
8147 * time.el (display-time-load-average)
8148 (display-time-default-load-average): Doc fixes. See the thread
8149 starting at
8150 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8151 for the details.
8152
536aea70
GM
81532012-01-06 Glenn Morris <rgm@gnu.org>
8154
665ae865
GM
8155 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8156 has no messages. (Bug#10377)
8157
c869783d
GM
8158 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8159 than Info-edit. (Bug#10385)
8160
2bb4227e
GM
8161 * time.el (display-time-load-average, display-time-next-load-average):
8162 Doc fixes.
8163
7d5944b9
GM
8164 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8165 local setting of buffer-read-only to the input buffer. (Bug#10419)
8166
536aea70
GM
8167 * calendar/calendar.el (calendar-mode):
8168 Locally set scroll-margin to 0. (Bug#10379)
8169
7dccca16
UM
81702012-01-06 Ulrich Mueller <ulm@gentoo.org>
8171
8172 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8173
afbb7930
GM
81742012-01-05 Glenn Morris <rgm@gnu.org>
8175
8176 * eshell/em-unix.el (diff-no-select): Autoload it.
8177 (eshell/diff): Use diff-no-select. (Bug#10420)
8178
04482335
CY
81792012-01-05 Chong Yidong <cyd@gnu.org>
8180
7baca3bc
CY
8181 * shell.el (shell-dynamic-complete-functions): Revert last change.
8182 (shell-command-completion-function): New function.
8183 (shell-completion-vars): Use it to implement
8184 shell-completion-execonly (Bug#10417).
8185
04482335
CY
8186 * custom.el (enable-theme): Don't set custom-safe-themes.
8187
1d00653d
SM
8188 * cus-theme.el (custom-theme-merge-theme):
8189 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8190
bb5aa5d6
MM
81912012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8192
8193 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8194 first prompt in `sql-interacive-mode'.
8195 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8196 keywords.
6df6ae42 8197 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8198 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8199 context of original buffer. Invoke `sql-login-hook'.
8200
a7183d7c
EZ
82012012-01-04 Eli Zaretskii <eliz@gnu.org>
8202
8203 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8204 letters in cite-prefix.
8205
a1eacd1e
LMI
82062012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8207
8208 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8209
787cdb34
CY
82102012-01-03 Chong Yidong <cyd@gnu.org>
8211
1d00653d
SM
8212 * shell.el (shell-dynamic-complete-functions):
8213 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8214 comint-filename-completion first (Bug#10417).
8215
30710442
RS
82162012-01-02 Richard Stallman <rms@gnu.org>
8217
8218 * battery.el (battery-status-function):
8219 Detect when to use battery-yeeloong-sysfs.
8220 (battery-echo-area-format): Add string for Yeeloong.
8221 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8222 (battery-yeeloong-sysfs): New function.
8223
f75bfc33
CY
82242012-01-02 Chong Yidong <cyd@gnu.org>
8225
8226 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8227 (dirtrack): Merge code for handling relative filenames in prompt
8228 from shell-dir-cookie-watcher.
8229 (dirtrack-debug-message): New arg to avoid excess format calls.
8230
8231 * shell.el (shell-dir-cookie-re): Variable deleted.
8232 (shell-dir-cookie-watcher): Function deleted.
8233 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8234 with dirtrack-mode.
8235
651e947e
EZ
82362012-01-01 Eli Zaretskii <eliz@gnu.org>
8237
1d00653d
SM
8238 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8239 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8240 libgnutls-26.dll.
8241
94d4c7dc
AS
82422011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8243
8244 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8245
8d43f3cd
EZ
82462011-12-31 Eli Zaretskii <eliz@gnu.org>
8247
8248 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8249 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8250
98c8795a
MA
82512011-12-29 Michael Albinus <michael.albinus@gmx.de>
8252
8253 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8254 also for alternative shells.
8255 (tramp-open-connection-setup-interactive-shell): Check, whether
8256 the shell is a busybox.
8257 (tramp-send-command): Don't suppress multiple prompts for
8258 busyboxes, it hurts.
8259
51281b32
CY
82602011-12-28 Chong Yidong <cyd@gnu.org>
8261
8262 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8263 (gdb-get-source-file): Move mode line update to
8264 gdb-get-source-file (Bug#10087).
8265
2170cb53
CY
82662011-12-25 Chong Yidong <cyd@gnu.org>
8267
8268 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8269 gud-gdb-marker-filter without taking it as an argument.
8270 (gud-gdb-run-command-fetch-lines): Caller changed.
8271 (gud-gdb-completion-function): New variable.
8272 (gud-gdb-completion-at-point): Use it.
8273 (gud-gdb-completions-1): Split from gud-gdb-completions.
8274
8275 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8276 function as separate arguments.
8277 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8278 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8279 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8280 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8281 (gdb-stopped, def-gdb-auto-update-trigger)
8282 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8283 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8284 Callers changed.
2170cb53
CY
8285 (gud-gdbmi-completions): New function.
8286 (gdb): Use it for generating the completion table.
8287
be8b11bb
AM
82882011-12-24 Alan Mackenzie <acm@muc.de>
8289
8290 Introduce a mechanism to widen the region used in context font
1d00653d 8291 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8292
1d00653d
SM
8293 * progmodes/cc-langs.el (c-before-font-lock-functions):
8294 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8295 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8296 functions to be run just before context (etc.) font locking.
8297
8298 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8299 New, functionality extracted from
be8b11bb 8300 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8301 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8302 (c-after-change): Set c-in-after-change-fontification.
8303 (c-set-fl-decl-start): Rejig its interface, so it can be called
8304 from both after-change and context fontifying.
b81d40f0
JB
8305 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8306 New functions.
8307 (c-standard-font-lock-fontify-region-function): New variable.
8308 (c-font-lock-fontify-region): New function.
be8b11bb 8309
341cf6ac
JL
83102011-12-24 Juri Linkov <juri@jurta.org>
8311
8312 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8313 (Bug#10348)
8314
bffcee0a
MA
83152011-12-23 Michael Albinus <michael.albinus@gmx.de>
8316
8317 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8318 existence of source file. (Bug#10325)
8319
cb5e207c
AM
83202011-12-23 Alan Mackenzie <acm@muc.de>
8321
8322 Fix unstable fontification inside templates.
8323
b81d40f0
JB
8324 * progmodes/cc-langs.el (c-before-font-lock-functions):
8325 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8326 additionally has c-set-fl-decl-start. The other languages (apart
8327 from AWK) have that as a single entry.
8328
b81d40f0
JB
8329 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8330 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8331 c-set-fl-decl-start.
8332
b81d40f0
JB
8333 * progmodes/cc-mode.el (c-common-init, c-after-change):
8334 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8335 (c-set-fl-decl-start): New function, extracted from
8336 c-font-lock-enclosing-decls and enhanced.
8337
60ff536c
JB
83382011-12-23 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8341
1c4757d6
JL
83422011-12-22 Juri Linkov <juri@jurta.org>
8343
8344 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8345
d031f2c7
CY
83462011-12-22 Chong Yidong <cyd@gnu.org>
8347
8348 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8349
bace743a
DA
83502011-12-21 Drew Adams <drew.adams@oracle.com>
8351
8352 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8353
728a1f2b
JC
83542011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8355
8356 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8357
0d373f73
TZ
83582011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8359
fec0aaa4
TZ
8360 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8361 highlighting and support. Fix up comments for capitalization.
8362 (cfengine-mode-debug): New var.
8363 (cfengine3-mode): Change the modeline indicator to "CFE3".
8364 (cfengine3-font-lock-keywords): Improve defun highlighting.
8365 (cfengine2-actions): Rename from `cfengine-actions'.
8366 (cfengine2-font-lock-keywords): Rename from
8367 `cfengine-font-lock-keywords'.
8368 (cfengine2-imenu-expression): Rename from
8369 `cfengine-imenu-expression'.
8370 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8371 (cfengine2-beginning-of-defun): Rename from
8372 `cfengine-beginning-of-defun'.
8373 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8374 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8375 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8376 modeline indicator to "CFE2".
8377 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8378 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8379
bc86f573
CY
83802011-12-21 Chong Yidong <cyd@gnu.org>
8381
8382 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8383 filename argument.
8384
d45ba96b
MR
83852011-12-20 Martin Rudalics <rudalics@gmx.at>
8386
8387 * window.el (window-normalize-buffer-to-display): Remove.
8388 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8389
a6198c90
CY
83902011-12-19 Chong Yidong <cyd@gnu.org>
8391
8392 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8393 Don't signal an error in a predicate function; return non-nil.
8394 (vc-dir-mark-file): Move the error here.
8395 (vc-dir-mark-unmark): If acting on the region, keep going if one
8396 of the entries cannot be marked/unmarked.
8397 (vc-dir-mark-all-files): If current entry is a directory, mark
8398 only child files, as documented.
8399
34c5fb55
VB
84002011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8401
8402 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8403 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8404 addition.
8405
c803b2b7
JD
84062011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8407
8408 * term/ns-win.el (ns-get-selection-internal)
8409 (ns-store-selection-internal): Declare.
1154d12e
JB
8410 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8411 Declare as obsolete.
8412 (ns-get-pasteboard, ns-paste-secondary):
8413 Use ns-get-selection-internal.
8414 (ns-set-pasteboard, ns-copy-including-secondary):
8415 Use ns-store-selection-internal.
c803b2b7 8416
9cff91f8 84172011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8418
8419 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8420 (vc-deduce-fileset): Doc fix.
99a289d9 8421
f16c898a
AS
84222011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8423
8424 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8425
763237c4
SS
84262011-12-13 Sam Steingold <sds@gnu.org>
8427
8428 * man.el (Man-getpage-in-background): When running under a
8429 window-system, ignore $MANWIDTH and $COLUMNS.
8430
5fc1c122
KH
84312011-12-15 Kenichi Handa <handa@m17n.org>
8432
8433 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8434 (setup-ethiopic-environment-internal): Comment out key-binding for
8435 ethio-toggle-punctuation.
8436
13d49cbb
AM
84372011-12-13 Alan Mackenzie <acm@muc.de>
8438
898169a2
AM
8439 Add the switch statement to AWK Mode.
8440
7a71b18d 8441 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8442 "default" to the keywords regexp.
8443
7a71b18d 8444 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8445 expression as the rest.
1d00653d
SM
8446 (c-nonlabel-token-key): Allow string literals for AWK.
8447 Refactor for the other modes.
898169a2 8448
13d49cbb 8449 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8450 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8451 routines. Limit backward searching in c-font-lock-enclosing.decl.
8452
8453 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8454 pp-state and literal type in addition to the limits.
1d00653d 8455 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8456 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8457 (c-slow-in-literal, c-fast-in-literal): Remove.
8458 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8459
8460 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8461 being in a literal. Add a limit for backward searching.
8462
8463 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8464 c-slow-in-literal.
8465
15e0efc7
SM
84662011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8469
454592a6
MR
84702011-12-13 Martin Rudalics <rudalics@gmx.at>
8471
8472 * window.el (delete-other-windows): Use correct frame in call to
8473 window-with-parameter.
8474
87393f26
DP
84752011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8476
8477 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8478 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8479 (makefile-gmake-statements, makefile-makepp-statements):
8480 Use it and add new makepp keywords.
8481 (makefile-makepp-font-lock-keywords): Add new patterns.
8482 (makefile-match-function-end): Match new [...] and [[...]].
8483
11636b22
JB
84842011-12-11 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * ses.el (ses-call-printer-return, ses-cell-property-get)
8487 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8488 (ses-create-cell-variable, ses-reset-header-string)
8489 (ses-cell-set-formula, ses-repair-cell-reference-all)
8490 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8491 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8492 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8493 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8494 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8495 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8496 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8497 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8498 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8499 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8500 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8501 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8502
cf018193
VB
85032011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8504
8505 * ses.el: The overall change is to add cell renaming, that is
8506 setting fancy names for cell symbols other than name matching
8507 "\\`[A-Z]+[0-9]+\\'" regexp .
8508 (ses-create-cell-variable): New defun.
8509 (ses-relocate-formula): Relocate formulas only for cells the
8510 symbols of which are not renamed, i.e. symbols whose names do not
8511 match regexp "\\`[A-Z]+[0-9]+\\'".
8512 (ses-relocate-all): Relocate values only for cells the symbols of
8513 which are not renamed.
8514 (ses-load): Create cells variables as the (ses-cell ...) are read,
8515 in order to check row col consistency with cell symbol name only
8516 for cells that are not renamed.
8517 (ses-replace-name-in-formula): New defun.
8518 (ses-rename-cell): New defun.
8519
ee957461
CY
85202011-12-11 Chong Yidong <cyd@gnu.org>
8521
8522 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8523 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8524
9a9e9ef0
MR
85252011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8526
8527 * window.el (other-window): Fix docstring.
8528
92a8eba5
EZ
85292011-12-10 Eli Zaretskii <eliz@gnu.org>
8530
8531 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8532 `from' or `to' address before taking its substring.
8533 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8534 encoded name is chopped in the middle of the encoded string, and
8535 thus displayed encoded.
8536
e152e577
JB
85372011-12-10 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8540
e5d84bfe
EZ
85412011-12-10 Eli Zaretskii <eliz@gnu.org>
8542
8543 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8544 to use texinfo-update-node and commands that call it if the
8545 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8546 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8547 (texinfo-all-menus-update, texinfo-master-menu)
8548 (texinfo-update-node, texinfo-every-node-update)
8549 (texinfo-multiple-files-update): Doc fix. Warn against updating
8550 all the @node lines.
8551 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8552 argument is numeric. Explain better in the doc string what the
8553 function really does.
8554 (texinfo-insert-master-menu-list): Improve the error message
8555 displayed if there's no menu in the Top node.
8556 (Bug#2975) See also this thread:
e5d84bfe
EZ
8557 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8558
1d84e9bb
MG
85592011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8560
8561 * speedbar.el (speedbar-supported-extension-expressions):
8562 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8563
382c953b
JB
85642011-12-09 Juanma Barranquero <lekktu@gmail.com>
8565
8566 * printing.el (pr-mode-alist):
8567 * simple.el (filter-buffer-substring-functions)
8568 (completion-list-insert-choice-function):
8569 * window.el (window-with-parameter, window-atom-root)
8570 (window-sides-slots, window-size-fixed, window-min-delta)
8571 (window-max-delta, window--resize-mini-window)
8572 (window--resize-child-windows-normal, window-tree)
8573 (delete-other-windows, quit-window, split-window)
8574 (display-buffer-record-window, special-display-buffer-names)
8575 (special-display-regexps, special-display-popup-frame)
8576 (same-window-p, split-window-sensibly)
8577 (display-buffer-overriding-action, display-buffer-alist)
8578 (display-buffer-base-action, display-buffer, switch-to-buffer)
8579 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8580 (fit-window-to-buffer, recenter-positions)
8581 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8582 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8583 and remove unneeded backslashes in docstrings.
8584
39c9faef
SM
85852011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8586
98449af8
SM
8587 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8588
39c9faef
SM
8589 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8590 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8591 end in ".mk".
8592 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8593 when reading the makefile (bug#10116).
8594
86ed9fdc
SM
85952011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8596
8597 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8598 (bug#10116).
8599
5580f89d
GM
86002011-12-06 Glenn Morris <rgm@gnu.org>
8601
8602 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8603
28d3917c
CY
86042011-12-06 Chong Yidong <cyd@gnu.org>
8605
8606 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8607
a98edce9
JB
86082011-12-06 Juanma Barranquero <lekktu@gmail.com>
8609
8610 * textmodes/table.el (table-shorten-cell): Fix typo.
8611
e65adfac
CG
86122011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8613
8614 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8615
71cc0b74
EZ
86162011-12-05 Eli Zaretskii <eliz@gnu.org>
8617
8618 * descr-text.el (describe-char): Fix display of strong
8619 right-to-left characters and directional embeddings and overrides.
8620
8621 * simple.el (what-cursor-position): Fix display of codepoints of
8622 strong right-to-left characters.
8623
315bc30d
CY
86242011-12-05 Chong Yidong <cyd@gnu.org>
8625
8626 * faces.el (read-color): Doc fix.
8627
58a70b94
GM
86282011-12-05 Glenn Morris <rgm@gnu.org>
8629
8630 * align.el (align--set-marker): Add doc-string.
8631 Don't try to move something that is not a marker. (Bug#10216)
8632
5158face
GM
86332011-12-04 Glenn Morris <rgm@gnu.org>
8634
8635 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8636 overly zealous deletion of trailing whitespace.
8637
520fca41
JB
86382011-12-04 Juanma Barranquero <lekktu@gmail.com>
8639
8640 * server.el (server-delete-client): On Windows, do not try to delete
8641 the only terminal.
8642 (server-process-filter): On Windows, treat requests for a tty frame as
8643 if they were for a GUI frame if the running server is in GUI mode.
8644
5e605a2e
GM
86452011-12-03 Glenn Morris <rgm@gnu.org>
8646
8647 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8648
5c3fe83f
SM
86492011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8650
6f5e57e7
SM
8651 * electric.el: Streamline electric-indent's hook.
8652 (electric-indent-chars): Revert to simple list.
8653 (electric-indent-functions): New var.
8654 (electric-indent-post-self-insert-function): Use it.
8655
5c3fe83f
SM
8656 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8657 there's no inferior buffer (bug#10196).
8658 (prolog-consult-compile): Don't use toggle-read-only.
8659
6bdac736
MA
86602011-12-02 Michael Albinus <michael.albinus@gmx.de>
8661
8662 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8663 interrupt. (Bug#10187)
8664
6131ba7f
SM
86652011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8666
99c79fee
SM
8667 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8668 (bug#9160).
8669
6131ba7f
SM
8670 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8671 (bug#10191).
8672
cb0a02ea
JL
86732011-12-02 Juri Linkov <juri@jurta.org>
8674
8675 * info.el (Info-search): Display "end of manual" when Isearch
8676 reaches the end of single-file Info manual. (Bug#9918)
8677
66e0570c
EZ
86782011-12-02 Eli Zaretskii <eliz@gnu.org>
8679
8680 * isearch.el (isearch-message-prefix): Run the input method part
8681 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8682
02b16839
JL
86832011-12-02 Juri Linkov <juri@jurta.org>
8684
8685 * isearch.el (isearch-occur): Use `word-search-regexp' for
8686 `isearch-word'.
8687 (isearch-search-and-update): Add condition for `isearch-word' and
8688 call `word-search-regexp'. (Bug#10145)
8689
0b950688
GM
86902011-12-01 Glenn Morris <rgm@gnu.org>
8691
8692 * eshell/em-hist.el (eshell-hist-initialize):
8693 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8694 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8695
9505c3c7
SM
86962011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8699
1bbe96b2 87002011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8701
a1beca85
SM
8702 * progmodes/verilog-mode.el (verilog-pretty-expr):
8703 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8704 verilog, such as += *= and the like.
8705 (verilog-assignment-operator-re): Regular expression to find the
8706 assigment operator in a verilog assignment.
8707 (verilog-assignment-operation-re): Regular expression to find an
8708 assignment statement for pretty-expr.
8709 (verilog-in-attribute-p): Query returns true if point is in an
8710 attribute context; used to skip these for expression line up from
8711 pretty-expr.
8712 (verilog-in-parameter-p): Query returns true if point is in an
8713 parameter definition context; used to skip these for expression
8714 line up from pretty-expr.
8715 (verilog-in-parenthesis-p): Query returns true if point is in a
8716 parenthetical expression, specifically ( ) but not [ ] or { };
8717 used by pretty-expr.
8718 (verilog-just-one-space): If there is no space, don't add one.
8719 (verilog-get-lineup-indent-2): Specifically skip just attribute
8720 contexts for expression lineup, rather than skipping all
8721 parenthetical expressions.
8722 (verilog-calculate-indent): Fix comment, and fix indent.
8723 (verilog-do-indent): Indent declarations in lists (suggested by
8724 Joachim Lechner).
8725 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8726 skeleton items.
8727 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8728 by Alain Mellan).
8729
1bbe96b2 87302011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8731
8732 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8733 parameters with embedded comments. Reported by Ray Stevens.
8734 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8735 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8736 Reported by Tim Holt.
8737 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8738 instantiated by upper module causing wrong expansion until AUTOed a
8739 second time. Reported by K C Buckenmaier.
8740 (verilog-diff-auto): Fix showing .* as a difference when
8741 `verilog-auto-star-save' off. Reported by Dan Dever.
8742 (verilog-auto-reset, verilog-read-always-signals)
8743 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8744 temporary signals in reset list if
8745 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8746 style to each signal's assignment type, bug381.
8747 Reported by Thomas Esposito.
6288f0ca
WS
8748 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8749 (verilog-uvm-statement-re): Support UVM indentation and
8750 highlighting, with old OVM keywords only.
a1beca85 8751 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8752 Support AUTOTIEOFF creating non-wire data types.
8753 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8754 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8755 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8756 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8757 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8758 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8759 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8760 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8761 non-numeric vector width. Reported by Alex Reed.
8762 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8763 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8764 (verilog-auto-delete-trailing-whitespace):
8765 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8766 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8767 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8768 Fix verilog-scan-cache corruption when running user AUTO expansion
8769 hooks that call indentation routines.
8770 (verilog-simplify-range-expression): Fix typo ignoring lower case
8771 identifiers.
8772 (verilog-delete-auto): Fix delete-autos to also remove user created
8773 automatics, as long as they start with AUTO.
8774 (verilog-batch-diff-auto, verilog-diff-auto)
8775 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8776 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8777 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8778 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8779 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8780 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8781 is disabled and its cache will get corrupt, causing AUTOS not to
8782 expand. Instead use only -quick functions.
8783 (verilog-scan-region): Fix scanning over escaped quotes.
8784 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8785 (verilog-re-search-backward-quick)
8786 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8787 related functions now ignore strings, to fix misparsing of strings
8788 with magic comments embedded in them.
a1beca85
SM
8789 (verilog-read-auto-template):
8790 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8791 Reported by Brad Dobbie.
8792 (verilog-read-auto-template):
8793 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8794 Reported by Brad Dobbie.
6288f0ca
WS
8795 (verilog-auto-inst, verilog-auto-inst-param)
8796 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8797 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8798 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8799 debugging templates without merge conflicts, bug357.
8800 Reported by Brad Dobbie.
8801 (verilog-read-auto-template):
8802 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8803 Reported by Brad Dobbie.
8804 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8805 abbrevs so user won't be asked to save.
8806 (verilog-read-auto-lisp-present): Fix to start at beginning of
8807 buffer in case called outside of verilog-auto.
8808 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8809 to "X-2". Reported by Matthew Myers.
8810 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8811 all inputs from module templates. Reported by Leith Johnson.
8812 (verilog-module-inside-filename-p): Fix locating programs as with
8813 modules.
8814 (verilog-auto-inst-port): Fix vl-width expressions when using
8815 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8816 (verilog-decls-get-regs, verilog-decls-get-signals,
8817 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8818 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8819 verilog-read-decls): Combine reg and wire structures into one var
8820 structure to represent SystemVerilog concepts.
8821 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8822 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8823 (verilog-auto-wire-type, verilog-insert-definition):
8824 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8825 SystemVerilog "logic" keyword instead of "wire"/"reg".
8826 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8827 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8828 ifdef or generate if so there's not a driver conflict).
8829 Reported by Matthew Myers.
8830 (verilog-auto-declare-nettype, verilog-insert-definition):
8831 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8832 `default_nettype none. Reported by Julian Gorfajn.
8833 (verilog-read-always-signals-recurse, verilog-read-decls)
8834 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8835 malformed end statement, bug325. Reported by Joshua Wise and
8836 Andrew Drake.
8837 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8838 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8839 when expanding .* in interfaces, bug320.
8840 Reported by Pierre-David Pfister.
6288f0ca 8841 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8842 name and open parenthesis, bug317.
8843 Reported by Pierre-David Pfister.
6288f0ca
WS
8844 (verilog-simplify-range-expression): Fix simplification of
8845 multiplications inside AUTOWIRE connections, bug303.
8846 (verilog-auto-inst-port): Support parameter expansion in
8847 multidimensional arrays.
8848 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8849 after "assert property". Reported by Julian Gorfajn.
8850 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8851 with multiplication, bug303.
8852 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8853 Reported by Jan Frode Lonnum.
8854
1bbe96b2
GM
88552011-11-30 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8858 (hfy-shell-file-name, hfy-shell):
8859 * international/fontset.el (x-decompose-font-name): Fix typos.
8860
88612011-11-29 Ken Brown <kbrown@cornell.edu>
8862
8863 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8864 (gdb-version): Remove defvar.
8865 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8866 (gdb-gud-context-command, gdb-non-stop-handler)
8867 (gdb-current-context-command, gdb-stopped): Use it.
8868 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8869 (gdb-non-stop-handler): Don't enable pretty-printing here.
8870 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8871 non-stop mode. Use the following.
8872 (gdb-check-target-async): New defun.
8873 (gud-watch, gdb-stopped): Fix whitespace.
8874 (gdb-get-source-file): Don't try to display the source file if
8875 `gdb-main-file' is nil.
8876
88772011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * align.el: Try to generate fewer markers (bug#10047).
8880 (align--set-marker): New macro.
8881 (align-region): Use it.
8882
c935221f
SM
88832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8886
e70b5064
CY
88872011-11-29 Chong Yidong <cyd@gnu.org>
8888
8889 * indent.el (indent-for-tab-command, indent-according-to-mode):
8890 Doc fix.
8891 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8892
f3af92b7
MA
88932011-11-29 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8896 aware of remote file names. (Bug#10124)
8897
ed472be9
CY
88982011-11-29 Chong Yidong <cyd@gnu.org>
8899
8900 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8901
24510c22
SM
89022011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * files.el (find-file): Don't use force-same-window (bug#10144).
8905 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8906 use pop-to-buffer if the selected window can't be used.
8907 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8908
c60c3703
EZ
89092011-11-28 Eli Zaretskii <eliz@gnu.org>
8910
8911 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8912 special-mode-map.
8913
e95def75
CY
89142011-11-28 Chong Yidong <cyd@gnu.org>
8915
8916 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8917
c3f1c606
NR
89182011-11-27 Nick Roberts <nickrob@snap.net.nz>
8919
8920 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8921 gdb-get-source-file-list on gdb-create-source-file-list.
8922
00db469c
EZ
89232011-11-26 Eli Zaretskii <eliz@gnu.org>
8924
8925 * whitespace.el (whitespace-newline): Use a different foreground
8926 color for 16-color light-background displays.
8927
4ad3bc2a
CY
89282011-11-24 Chong Yidong <cyd@gnu.org>
8929
8930 * window.el (display-buffer--special-action): Doc fix.
8931
e9fce1ac
JB
89322011-11-25 Juanma Barranquero <lekktu@gmail.com>
8933
8934 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8935 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8936 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8937 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8938 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8939 (avl-tree-stack-first):
8940 * emacs-lisp/cconv.el (cconv--analyse-use):
8941 * net/gnutls.el (gnutls-negotiate): Fix typos.
8942
cb825e5d
GM
89432011-11-24 Glenn Morris <rgm@gnu.org>
8944
3adbe224
GM
8945 * lpr.el (lpr-windows-system, lpr-lp-system):
8946 * mail/binhex.el (binhex-begin-line):
8947 * progmodes/grep.el (grep-history, grep-find-history):
8948 * textmodes/flyspell.el:
8949 * vc/pcvs-defs.el (cvs-global-menu):
8950 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8951 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8952 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8953
321decc8
GM
8954 * net/tls.el: Fix case of "GnuTLS".
8955
420b63ad
GM
8956 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8957
cb825e5d
GM
8958 * version.el (emacs-build-system): Give it a doc-string.
8959
a0649f08
JL
89602011-11-24 Juri Linkov <juri@jurta.org>
8961
8962 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8963
c0bc0fd4
GM
89642011-11-24 Glenn Morris <rgm@gnu.org>
8965
8966 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8967 if called on a non-mime message just toggle the headers. (Bug#8006)
8968
20db1522
JB
89692011-11-24 Juanma Barranquero <lekktu@gmail.com>
8970
8971 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8972 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8973 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8974 (allout-rebullet-heading, allout-open-sibtopic)
8975 (allout-toggle-current-subtree-encryption)
8976 (allout-toggle-subtree-encryption, allout-encrypt-string)
8977 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8978 (allout-distinctive-bullets-string, allout-auto-activation):
8979 * window.el (window-normalize-buffer-to-display):
8980 * progmodes/verilog-mode.el (verilog-batch-indent):
8981 * textmodes/bibtex.el (bibtex-field-braces-opt)
8982 (bibtex-field-strings-opt):
8983 * vc/cvs-status.el (cvs-tree-merge):
8984 Fix typos.
8985
7262a87c
MA
89862011-11-23 Michael Albinus <michael.albinus@gmx.de>
8987
8988 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8989 `non-essential' to t, in order to avoid remote connections.
8990
283430a1
EZ
89912011-11-23 Eli Zaretskii <eliz@gnu.org>
8992
a1beca85
SM
8993 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8994 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8995 case-insensitively.
8996
d2992a38
ML
89972011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8998
8999 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9000
50419064
GM
90012011-11-23 Glenn Morris <rgm@gnu.org>
9002
da94eca1
GM
9003 * paths.el (rmail-file-name): Reformat the doc-string so that it
9004 is picked up.
9005
9aac4de2
GM
9006 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9007 (rmail-auto-file): Ignore case in the "special" field names,
9008 as mail-fetch-field does for all others.
9009
8038d2d2
GM
9010 * mail/rmail.el (rmail-forward):
9011 * mail/rmailkwd.el (rmail-set-label):
9012 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9013 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9014
f3fe222a
GM
9015 * mail/rmail.el (rmail-current-message): Doc fix.
9016
50419064
GM
9017 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9018
28109f49
SM
90192011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9022
394c65f1
GM
90232011-11-22 Glenn Morris <rgm@gnu.org>
9024
9025 * mail/rmailmm.el (test-rmail-mime-handler)
9026 (test-rmail-mime-bulk-handler)
9027 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9028
f2a0aa3a
JL
90292011-11-21 Juri Linkov <juri@jurta.org>
9030
1154d12e
JB
9031 * calc/calc.el (calc-read-key-sequence):
9032 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9033
9c34a344
LMI
90342011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
9036 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9037 Tell the caller that the next line needs recomputation, even
9038 though it doesn't start a sexp (bug#10094).
9039
f04a3be9
SM
90402011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9043
7978747f
SM
90442011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9045
f04a3be9
SM
9046 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9047 Use force-same-window.
7978747f 9048
fe7a3057
JB
90492011-11-20 Juanma Barranquero <lekktu@gmail.com>
9050
9051 * descr-text.el (describe-char-unicode-data):
9052 * json.el (json-string-escape):
9053 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9054 (Footnote-unicode, Footnote-style-p):
9055 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9056
24901d61
CY
90572011-11-20 Chong Yidong <cyd@gnu.org>
9058
9059 * window.el (replace-buffer-in-windows): Restore interactive spec.
9060
bac7ff22
SM
90612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9062
24f3d7b9
SM
9063 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9064
bac7ff22
SM
9065 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9066 (byte-compile-global-not-obsolete-vars): New var.
9067 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9068 Use it.
9069 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9070
cd1181db
JB
90712011-11-20 Juanma Barranquero <lekktu@gmail.com>
9072
9073 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9074 * progmodes/pascal.el (electric-pascal-equal):
9075 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9076 * xml.el (xml-substitute-special): Fix typos.
9077
7fb18e9e
GM
90782011-11-20 Glenn Morris <rgm@gnu.org>
9079
9080 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9081 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9082 Doc fixes.
9083 (rmail-decode-mime-charset): Mark as obsolete.
9084
9085 * mail/rmailsum.el (rmail-message-regexp-p-1):
9086 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9087 Before using mime functions, check they are set. (Bug#10077)
9088
d5a6b3ba
JL
90892011-11-19 Juri Linkov <juri@jurta.org>
9090
9091 * info.el (Info-finder-find-node): Use `package--builtins' instead
9092 of `package-alist'. Use node names formed by the pattern "Keyword "
9093 and the keyword name.
9094
e981b61f
AS
90952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9096
1d00653d 9097 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9098
3ffbc301
JL
90992011-11-19 Juri Linkov <juri@jurta.org>
9100
9101 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9102 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9103 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9104 `old-history', `old-history-forward'. Add let-binding
9105 `window-selected'. Remove calls to `kill-buffer',
9106 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9107 before calling `Info-find-node', so `Info-find-node-2' will reread
9108 the Info file. Restore window positions only when `window-selected'
9109 is non-nil.
9110
30c62133
JL
91112011-11-19 Juri Linkov <juri@jurta.org>
9112
9113 * isearch.el (isearch-lazy-highlight-new-loop):
9114 Remove condition `(not isearch-error)'. (Bug#9918)
9115
9116 * misearch.el (multi-isearch-search-fun): Add condition
9117 `(not bound)' to ignore lazy-highlighting search.
9118 Add the search-failed message "end of multi" when the end of
9119 multi-sequence is reached. Uncapitalize the search-failed
9120 message "Repeat for next buffer".
9121
9122 * info.el (Info-search): Add the search-failed message
9123 "end of the manual" when the end of the manual is reached
9124 in Isearch mode.
9125
645ca9cf
JL
91262011-11-19 Juri Linkov <juri@jurta.org>
9127
9128 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9129 Use non-destructive `remove' instead of `delete' because
9130 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9131 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9132
df754f66
JL
91332011-11-19 Juri Linkov <juri@jurta.org>
9134
9135 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9136 to nil instead of binding `search-ring' and `regexp-search-ring'.
9137 (Bug#9185)
9138
0e23d96a
EZ
91392011-11-19 Eli Zaretskii <eliz@gnu.org>
9140
9141 * simple.el (line-move): Force movement by logical lines for any
9142 hscrolled window, not only when auto-hscroll-mode is on.
9143 (line-move-visual): Update doc string to that effect. (Bug#10076)
9144
8a6ccb66
AS
91452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9146
9147 * language/european.el (macintosh): Define as alias for mac-roman.
9148
49ae5b39
EZ
91492011-11-19 Eli Zaretskii <eliz@gnu.org>
9150
9151 * mail/rmailmm.el (rmail-mime-display-header)
9152 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9153 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9154 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9155 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9156 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9157 of a raw aref.
9158 (rmail-mime-entity-segment): To get past the tagline, move forward
9159 2 more lines, to account for the 2 empty lines that precede and
9160 follow the line with the buttons.
9161 (rmail-mime-update-tagline): Move one more line, to get past the
9162 empty line that follows the buttons in the tagline. (Bug#9520)
9163
c56cad4a
MR
91642011-11-19 Martin Rudalics <rudalics@gmx.at>
9165
9166 * window.el (window-max-delta-1, window-min-delta-1)
9167 (window-min-size-1, window-state-get-1, window-state-put-1)
9168 (window-state-put-2): Use "window--" prefix.
9169
cbe71af3
SM
91702011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9171
2ad52c60
SM
9172 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9173 (smie-warning-count): New var.
9174 (smie-set-prec2tab): Use it.
9175 (smie-bnf->prec2): Improve warnings. Add docstring.
9176 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9177 (smie-bnf--set-class): New function.
9178 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9179 corner case.
9180
6944dbc1
SM
9181 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9182 (compilation-error-properties, compilation-move-to-column):
9183 Handle compilation-first-column while in the target buffer.
9184
c400c4d7
SM
9185 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9186 Don't hardcode point-min==1.
9187
6dbe3e96
SM
9188 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9189 (eshell-rewrite-for-command): Remove workaround.
9190 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9191 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9192 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9193
cbe71af3
SM
9194 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9195
a8e1496d
GM
91962011-11-17 Glenn Morris <rgm@gnu.org>
9197
9198 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9199 Ignore buffer-local generated-autoload-file if it is the same
9200 as the global value. (Bug#10049)
9201
df85d315
JB
92022011-11-17 Juanma Barranquero <lekktu@gmail.com>
9203
9204 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9205 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9206 (reftex-toc-previous-heading, reftex-toc-max-level)
9207 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9208 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9209 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9210 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9211 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9212 (reftex-toc-rename-label, reftex-toc-visit-location)
9213 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9214 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9215 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9216 leaving "*toc*" only for references to the buffer.
9217
a0c2d0ae
MR
92182011-11-17 Martin Rudalics <rudalics@gmx.at>
9219
9220 * window.el (window-resize, delete-window, split-window):
9221 Replace window-splits by window-combination-resize.
1d00653d 9222 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9223
35c0bac8
GM
92242011-11-17 Glenn Morris <rgm@gnu.org>
9225
9226 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9227 Make bash entry derive from sh entry, not shell entry.
9228
d0c8fc8a
MA
92292011-11-16 Michael Albinus <michael.albinus@gmx.de>
9230
7262a87c
MA
9231 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9232 local file name.
9233
7877f373
JB
92342011-11-16 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * menu-bar.el (menu-bar-file-menu):
9237 * printing.el (pr-ps-utility):
9238 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9239 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9240 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9241 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9242 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9243 (icalendar--convert-cyclic-to-ical)
9244 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9245 (icalendar--convert-ical-to-diary)
9246 (icalendar--convert-recurring-to-diary)
9247 (icalendar--convert-non-recurring-all-day-to-diary)
9248 (icalendar-import-format-sample):
9249 * progmodes/idlw-shell.el (idlwave-shell-mode):
9250 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9251 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9252 (vhdl-ps-print-init): Fix typos.
9253
10649b82
KM
92542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9255
9d0cfcd6
GM
9256 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9257 FSF and collapse date sequence, obscure author/maintainer email address
9258 better, remove extra version line, track relocation of author's webpage.
10649b82 9259
9d0cfcd6
GM
9260 * progmodes/python.el (python-pdbtrack-input-prompt)
9261 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9262 regular python pdb prompts. Adjustments shamelessly taken exactly as
9263 suggested in EmacsWiki page (tiny change):
9264 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9265
58179cce
JB
92662011-11-16 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * expand.el (expand-pos, expand-index, expand-point):
9269 Remove redundant info from docstring.
9270 (expand-add-abbrevs): Doc fix.
9271 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9272 (expand-sample-perl-mode-expand-list): Fix typos.
9273
9274 * net/dbus.el (dbus-event-member-name):
9275 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9276 * term/pc-win.el (msdos-create-frame-with-faces):
9277 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9278
b6f67890
MR
92792011-11-16 Martin Rudalics <rudalics@gmx.at>
9280
9281 * window.el (split-window, window-state-get-1)
9282 (window-state-put-1, window-state-put-2): Rename occurrences of
9283 window-nest to window-combination-limit.
1d00653d 9284 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9285
ce7ddba0
CY
92862011-11-16 Chong Yidong <cyd@gnu.org>
9287
9288 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9289 regexp (Bug#10033).
9290
3ae704f4
SM
92912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9294 `completing-read' will remove *Completions* and will preserve
9295 current-buffer for us.
9296 (tmm-add-prompt): Users of *Completions* will always (re)set its
9297 major mode.
9298 (tmm-old-comp-map): Remove.
9299
6ad1cdde
GM
93002011-11-16 Glenn Morris <rgm@gnu.org>
9301
9302 * mail/rmailedit.el: Require rmailmm when compiling.
9303 (rmail-old-mime-state): New declaration.
9304 (rmail-edit-current-message): If editing a mime message,
9305 edit the "raw" message from the mbox buffer.
9306 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9307
d20faa20
GM
93082011-11-15 Glenn Morris <rgm@gnu.org>
9309
9310 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9311 which wasn't being used. Add optional arg to force given state.
9312 (rmail-mime): Add optional arg to force given state.
9313
c7015153
JB
93142011-11-15 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9317 * frame.el (display-mm-dimensions-alist):
9318 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9319 (outline-move-subtree-down):
9320 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9321 (newsticker--treeview-do-get-node):
9322 * net/quickurl.el (quickurl-list-buffer-name):
9323 * progmodes/dcl-mode.el (dcl-mode):
9324 * progmodes/gdb-mi.el (gdb-mapcar*):
9325 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9326
45261b50
GM
93272011-11-15 Glenn Morris <rgm@gnu.org>
9328
9329 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9330 in a boolean sense, so just make it a boolean, and fix the doc.
9331 (rmail-show-mime-function, rmail-mime-feature)
9332 (rmail-require-mime-maybe): Doc fixes.
9333 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9334
9335 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9336
0d26e0b6
JB
93372011-11-15 Juanma Barranquero <lekktu@gmail.com>
9338
9339 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9340 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9341 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9342 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9343
447f30f6
GM
93442011-11-15 Glenn Morris <rgm@gnu.org>
9345
672b871d
GM
9346 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9347 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9348 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9349 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9350 (rmail-mime, rmail-show-mime): Doc fixes.
9351
f6aa5bb1
GM
9352 * term/ns-win.el (mode-line-frame-identification):
9353 Leave it alone. (Bug#10051)
9354
947cd66b
GM
9355 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9356
447f30f6
GM
9357 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9358 Handle empty buffers. (Bug#9978)
9359
0b381c7e
JB
93602011-11-14 Juanma Barranquero <lekktu@gmail.com>
9361
9362 * international/mule.el (define-charset):
9363 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9364 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9365 * progmodes/verilog-mode.el (verilog-backward-token):
9366 * textmodes/ispell.el (lookup-words):
9367 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9368
71e027ac
GM
93692011-11-14 Glenn Morris <rgm@gnu.org>
9370
56632ce4
GM
9371 * progmodes/executable.el
9372 (executable-make-buffer-file-executable-if-script-p):
9373 Handle file-modes returning nil.
9374
40500957
GM
9375 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9376 message - not necessary, and causes problems. (Bug#9831)
9377
071c2340
GM
9378 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9379
d3cfca60
GM
9380 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9381
71e027ac
GM
9382 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9383 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9384 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9385
89d61221
MR
93862011-11-12 Martin Rudalics <rudalics@gmx.at>
9387
9388 * window.el (window-resize, delete-window): Use window-splits
9389 variable instead of function.
9390 (window-state-get-1, window-state-put-2, window-state-put):
9391 Don't deal with windows' splits status.
9392
98282f6f
GM
93932011-11-12 Glenn Morris <rgm@gnu.org>
9394
9395 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9396 (apropos-documentation): Doc fixes.
9397
40a8bdf6
JB
93982011-11-11 Juanma Barranquero <lekktu@gmail.com>
9399
9400 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9401 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9402
65bd19ff
SM
94032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * electric.el (electric-indent-post-self-insert-function): Make it
9406 possible for a char to only indent in some circumstances.
9407 (electric-indent-mode): Simplify.
9408
54f9154c
MR
94092011-11-11 Martin Rudalics <rudalics@gmx.at>
9410
9411 * window.el (windows-with-parameter): Remove unused function.
9412 (windows-at-side): Rename to window-at-side-list.
9413 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9414 (window-side-check, window-size-ignore, window-size-fixed-1)
9415 (window-in-direction-2): Prefix with "window--".
9416 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9417
68cbc58b
GM
94182011-11-11 Glenn Morris <rgm@gnu.org>
9419
9420 * subr.el (eval-after-load): If FILE is already loaded,
9421 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9422
b2621720
GM
94232011-11-10 Glenn Morris <rgm@gnu.org>
9424
9a4de110
GM
9425 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9426 Call svn via vc-svn-command rather than vc-do-command.
9427 (vc-svn-command): Add --non-interactive. (Bug#9993)
9428 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9429
b2621720
GM
9430 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9431 Add toggle-read-only. (Bug#7292)
9432 * files.el (toggle-read-only): Mention that it should only
9433 be used interactively. (Bug#10006)
9434
1dce7193
SM
94352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9436
d9ac1a1e
SM
9437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9438 Adjust regexp for OCaml warnings.
9439
0c325082
SM
9440 * electric.el (electric-pair-post-self-insert-function): Let user
9441 turn it off buffer-locally (bug#9932).
9442
90132c14
SM
9443 * progmodes/python.el (python-beginning-of-statement):
9444 Rewrite (bug#2703).
9445
1dce7193
SM
9446 * progmodes/compile.el: Better handle TABs (bug#9749).
9447 (compilation-internal-error-properties)
9448 (compilation-next-error-function): Obey the target buffer's
9449 compilation-error-screen-columns.
9450
c4e7c63a
JB
94512011-11-09 Juanma Barranquero <lekktu@gmail.com>
9452
9453 * progmodes/meta-mode.el: Remove obsolete comments.
9454 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9455 Fix typos in docstrings.
9456
2cffd681
MR
94572011-11-09 Martin Rudalics <rudalics@gmx.at>
9458
9459 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9460 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9461 (window--resizable): New function. Make all callers of
9462 window-resizable call window--resizable instead.
9463 (window-resizable): Rewrite in terms of window--resizable.
9464
0edcba87
GM
94652011-11-08 Glenn Morris <rgm@gnu.org>
9466
9467 * progmodes/delphi.el (delphi-mode-syntax-table):
9468 Let define-derived-mode define a proper syntax table. (Bug#9994)
9469
4b0d61e3
SM
94702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * window.el: Stay away from defsubst.
9473 (window-list-no-nils): Remove.
9474 (window-state-get-1, window-state-get): Use backquote instead.
9475
cd394be1 94762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9477
4b0d61e3 9478 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9479 Fix incorrect use of default argument in `completing-read'.
9480
e1c2c6f2
MR
94812011-11-08 Martin Rudalics <rudalics@gmx.at>
9482
9483 * window.el (display-buffer-function, special-display-function):
9484 Mention display-buffer-record-window but do not mention
9485 help-setup parameter in doc-strings.
b3f4a882 9486 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9487
105216ed
CY
94882011-11-08 Chong Yidong <cyd@gnu.org>
9489
9490 * window.el (window-total-height, window-total-width): Doc fix.
9491 (window-body-size): Move from C.
9492 (window-body-height, window-body-width): Move to C.
9493
0a9f9ab5
SM
94942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * window.el: Make special-display like display-buffer-alist (bug#9532).
9497 (display-buffer--special-action): New function, morphed
9498 from display-buffer--special.
9499 (display-buffer): Use it to handle special-display-buffers at higher
9500 priority (just after display-buffer-alist).
9501 (display-buffer-fallback-action, display-buffer--other-frame-action)
9502 (pop-to-buffer-same-window): Remove display-buffer--special.
9503
a769dd15
GM
95042011-11-07 Glenn Morris <rgm@gnu.org>
9505
9506 * calendar/cal-menu.el (cal-menu-set-date-title):
9507 Do nothing if not in a calendar. (Bug#9976)
9508
05a61ee3
SM
95092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * files.el (find-file): Always use selected-window.
9512
be7f5545
MR
95132011-11-07 Martin Rudalics <rudalics@gmx.at>
9514
9515 * window.el (window-combinations): Make WINDOW argument
9516 mandatory. Rewrite doc-string.
9517 (walk-window-subtree, window-atom-check, window-min-delta)
9518 (window-max-delta, window--resize-this-window)
9519 (window--resize-root-window-vertically, window-tree)
9520 (balance-windows, window-state-put): Rewrite doc-strings as to
9521 not mention the term "subwindow".
9522 (window--resize-subwindows-skip-p): Rename to
9523 window--resize-child-windows-skip-p.
9524 (window--resize-subwindows-normal): Rename to
9525 window--resize-child-windows-normal.
9526 (window--resize-subwindows): Rename to
9527 window--resize-child-windows.
9528 (window-or-subwindow-p): Rename to window--in-subtree-p.
9529
3c6702ef
ML
95302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9531
9532 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9533 Ensure that mbox format messages end in two newlines (Bug#9974).
9534
49745b39
CY
95352011-11-06 Chong Yidong <cyd@gnu.org>
9536
9537 * window.el (window-combination-p): Function deleted; its
9538 side-effect is not used in any existing code.
9539 (window-combinations, window-combined-p): Call window-*-child
9540 directly.
9541
24300f5f
CY
95422011-11-05 Chong Yidong <cyd@gnu.org>
9543
9544 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9545 (window-size-ignore, window-state-get): Callers changed.
9546 (window-normalize-window): Rename from window-normalize-any-window.
9547 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9548 (window-normalize-live-window): Delete.
447f16b8
CY
9549 (window-combination-p, window-combined-p, window-combinations)
9550 (walk-window-subtree, window-atom-root, window-min-size)
9551 (window-sizable, window-sizable-p, window-size-fixed-p)
9552 (window-min-delta, window-max-delta, window-resizable)
9553 (window-resizable-p, window-full-height-p, window-full-width-p)
9554 (window-current-scroll-bars, window-point-1, set-window-point-1)
9555 (window-at-side-p, window-in-direction, window-resize)
9556 (adjust-window-trailing-edge, maximize-window, minimize-window)
9557 (window-deletable-p, delete-window, delete-other-windows)
9558 (record-window-buffer, unrecord-window-buffer)
9559 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9560 (quit-window, split-window, window-state-put)
9561 (set-window-text-height, fit-window-to-buffer)
9562 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9563
89bd5ee1
EZ
95642011-11-04 Eli Zaretskii <eliz@gnu.org>
9565
53479029
EZ
9566 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9567 rfc2047-decode-string.
9568 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9569 warnings.
9570
89bd5ee1
EZ
9571 * window.el (window-body-height, window-body-width): Mention in
9572 the doc string that the return values are in frame's canonical
9573 units. (Bug#9949)
9574
bd17fdee
AM
95752011-11-03 Alan Mackenzie <acm@muc.de>
9576
9577 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9578 change in cc-engine.el.
9579
acc825c5
SM
95802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9583
1885e5b8
MR
95842011-11-02 Martin Rudalics <rudalics@gmx.at>
9585
9586 * window.el (quit-window): Call unrecord-window-buffer after
9587 showing another buffer in the window. (Bug#9937)
acc825c5 9588 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9589
ebe06da9
JB
95902011-11-02 Juanma Barranquero <lekktu@gmail.com>
9591
9592 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9593 Accept status with more than 9 shelves. (Bug#9935)
9594 Reported by Colin D Bennett <colin@gibibit.com>.
9595
4ee88440
MR
95962011-11-01 Martin Rudalics <rudalics@gmx.at>
9597
9598 * help.el (with-help-window): Don't reference
9599 temp-buffer-show-specifiers in doc-string.
9600
08e1d82c
AS
96012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9602
9603 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9604 menu-item.
9605
84bd6e9e
VJL
96062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9607
9608 * whitespace.el: New version 13.2.2.
9609 (whitespace-newline-mode): Disable properly. Reported by Sarah
9610 <EmacsWiki>.
9611
dba0634a
UJ
96122011-10-30 Ulf Jasper <ulf.jasper@web.de>
9613
9614 * net/newst-treeview.el: Remove "Time-stamp".
9615 (newsticker--group-manage-orphan-feeds): Do not call
9616 newsticker--treeview-tree-update.
db22a3c2
JB
9617 (newsticker-treeview-update, newsticker-treeview):
9618 Call newsticker--treeview-tree-update if necessary.
dba0634a 9619
3d8daefe
MR
96202011-10-30 Martin Rudalics <rudalics@gmx.at>
9621
9622 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9623 (window-iso-combinations): Remove "iso-" infix.
9624 Suggested by Chong Yidong.
3d8daefe
MR
9625 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9626 (window-max-delta-1, window-resize, window--resize-siblings)
9627 (window--resize-this-window, adjust-window-trailing-edge)
9628 (split-window, balance-windows-1)
9629 (shrink-window-if-larger-than-buffer):
9630 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9631 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9632
1bc4c3ae
SM
96332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9636 in place (bug#9907).
9637 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9638 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9639 (eshell-structure-basic-command, eshell-rewrite-while-command)
9640 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9641 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9642 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9643 (eshell-do-pipelines-synchronously, eshell-eval-command):
9644 Use backquotes and prefer setq to set.
9645 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9646 (eshell-macrop): Use functionp.
c1e2f5fa 9647 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9648
30b65d9c
CY
96492011-10-30 Chong Yidong <cyd@gnu.org>
9650
9651 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9652 instead of set-mark (Bug#9810).
9653
2d197ffb
CY
96542011-10-30 Chong Yidong <cyd@gnu.org>
9655
9656 * window.el (split-window-below, split-window-right): Rename from
9657 split-window-above-each-other and split-window-side-by-side
9658 respectively. All callers changed.
9659 (split-window-sensibly, split-window-sensibly): Use them.
9660 (split-window-keep-point): Doc fix.
9661
9662 * isearch.el: Add isearch-scroll property to split-window-below
9663 and split-window-right.
9664
9665 * follow.el (follow-mode):
9666 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9667 * progmodes/ada-xref.el (ada-gdb-application):
9668 * emulation/vip.el (vip-buffer-in-two-windows):
9669 * image-dired.el (image-dired-dired-with-window-configuration):
9670 * dired-x.el (dired-do-find-marked-files):
9671 * dired.el (dired-pop-to-buffer):
9672 * bs.el (bs--show-with-configuration):
9673 * vc/emerge.el (emerge-setup-windows):
9674 * textmodes/two-column.el (2C-two-columns):
9675 * textmodes/reftex-toc.el (reftex-toc):
9676 * progmodes/gdb-mi.el (gdb-setup-windows):
9677 * progmodes/fortran.el (fortran-window-create):
9678 * net/newst-treeview.el (newsticker--treeview-window-init):
9679 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9680 * emulation/tpu-edt.el (tpu-gold-map):
9681 * emulation/crisp.el (crisp-mode-map):
9682 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9683
38bb2ca8
CY
96842011-10-29 Chong Yidong <cyd@gnu.org>
9685
aa4de341
CY
9686 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9687
e1eb5385
CY
9688 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9689
5d2ece3c
CY
9690 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9691 forged Ispell output (Bug#7904).
9692
38bb2ca8
CY
9693 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9694
d0af9f77
SM
96952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * doc-view.el: Avoid ugly errors about not finding nil.
9698 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9699 (doc-view-dvipdf-program, doc-view-unoconv-program)
9700 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9701 Avoid nil or absolute file name as default value.
9702 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9703
52bedd34
AM
97042011-10-28 Alan Mackenzie <acm@muc.de>
9705
db22a3c2 9706 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9707
7e43cfa5
AM
97082011-10-28 Alan Mackenzie <acm@muc.de>
9709
9710 Amend the handling of c-beginning/end-of-defun in nested declaration
9711 scopes.
9712
52bedd34
AM
9713 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9714 cc-langs.el. Change it to a defcustom.
7e43cfa5 9715
52bedd34
AM
9716 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9717 cc-vars.el.
7e43cfa5 9718
d0af9f77
SM
9719 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9720 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9721
52bedd34 9722 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9723 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9724 (c-widen-to-enclosing-decl-scope): New function.
9725 (c-while-widening-to-decl-block): New macro.
9726 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9727 outward for defun boundaries, and correspondingly change symbol
9728 `respect-enclosure' to `go-outward'.
9729 (c-declaration-limits): Change algorithm to report only the "innermost"
9730 defun's boundaries.
9731
1a2ce9ee
DD
97322011-10-28 Deniz Dogan <deniz@dogan.se>
9733
9734 * net/rcirc.el (rcirc-mode): Use hard newlines.
9735
bc97a826
AM
97362011-10-28 Alan Mackenzie <acm@muc.de>
9737
9738 Amend to indent and fontify macros "which include their own semicolon"
9739 correctly, using the "virtual semicolon" mechanism.
9740
52bedd34 9741 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9742
d0af9f77 9743 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9744 Recode to scan one line at a time rather than having \n and \r
58179cce 9745 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9746 (c-forward-label): Amend for virtual semicolons.
58179cce 9747 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9748
52bedd34
AM
9749 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9750 of the new C macros.
bc97a826 9751
52bedd34 9752 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9753 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9754 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9755 (c-opt-cpp-macro-define): Make into a full language variable.
9756 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9757 AWK Mode (including \n, \r) removed, no longer needed.
9758
d0af9f77
SM
9759 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9760 Invoke c-make-macro-with-semi-re.
bc97a826 9761
52bedd34
AM
9762 * progmodes/cc-vars.el (c-macro-with-semi-re):
9763 (c-macro-names-with-semicolon): New variables.
58179cce 9764 (c-make-macro-with-semi-re): New function.
bc97a826 9765
7a6c0941
SM
97662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * vc/log-edit.el: Fill empty field rather than adding new one.
9769 (log-edit-add-field): New function.
9770 (log-edit-insert-changelog): Use it.
9771
b0c4cdcf
ML
97722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9773
9774 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9775
ee1f1da9
SM
97762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9779 (gdb--check-interpreter): New function.
9780 (gdb): Use it.
9781
51bc5f8b
GM
97822011-10-27 Glenn Morris <rgm@gnu.org>
9783
416a2c45
GM
9784 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9785 (least-positive-float, least-negative-float)
9786 (least-positive-normalized-float, least-negative-normalized-float)
9787 (float-epsilon, float-negative-epsilon):
9788 Remove unnecessary declarations.
9789
9790 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9791 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9792 (least-positive-float, least-negative-float)
9793 (least-positive-normalized-float, least-negative-normalized-float)
9794 (float-epsilon, float-negative-epsilon): Add doc-strings,
9795 based on those in cl.texi.
9796
51bc5f8b
GM
9797 * files.el (set-visited-file-name): If the major-mode changed,
9798 reload the local variables. (Bug#9796)
9799
15de15c6
CY
98002011-10-27 Chong Yidong <cyd@gnu.org>
9801
9802 * subr.el (change-major-mode-after-body-hook): New hook.
9803 (run-mode-hooks): Run it.
9804
ee1f1da9
SM
9805 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9806 Use change-major-mode-before-body-hook.
15de15c6
CY
9807
9808 * simple.el (fundamental-mode):
9809 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9810 change introducing fundamental-mode-hook.
9811
5430d399
JB
98122011-10-26 Juanma Barranquero <lekktu@gmail.com>
9813
acc825c5 9814 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9815
ad74a69e
MA
98162011-10-26 Michael Albinus <michael.albinus@gmx.de>
9817
9818 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9819 tramp.el explicitly. (Bug#7583)
ad74a69e 9820
71d4c2a5
SM
98212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * progmodes/octave-mod.el:
9824 * progmodes/octave-inf.el: Update maintainer.
9825
b1f6fa26
CY
98262011-10-26 Chong Yidong <cyd@gnu.org>
9827
9828 * subr.el (with-wrapper-hook): Rewrite doc.
9829
3f04efd6
MA
98302011-10-25 Michael Albinus <michael.albinus@gmx.de>
9831
9832 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9833 filenames "/method:foo:". (Bug#9793)
3f04efd6 9834
410488d3
SM
98352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9838 (bug#9865).
9839
c1ebb47e
GM
98402011-10-24 Glenn Morris <rgm@gnu.org>
9841
9842 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9843
7f5c46c7
MA
98442011-10-24 Michael Albinus <michael.albinus@gmx.de>
9845
9846 * notifications.el: Add the requirement of a running D-Bus session
9847 bus to the Commentary.
9848
db2440b6
JL
98492011-10-24 Juri Linkov <juri@jurta.org>
9850
9851 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9852 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9853 (Bug#9364)
9854
feecf435
JL
98552011-10-24 Juri Linkov <juri@jurta.org>
9856
9857 * info.el (Info-following-node-name-re): Add newline to the list
9858 of allowed characters for leading space. (Bug#9824)
9859
a3839de2
SM
98602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9861
acc825c5
SM
9862 * progmodes/octave-inf.el (inferior-octave-mode-map):
9863 Fix C-c C-h binding.
a3839de2
SM
9864 * progmodes/octave-mod.el (octave-help): Remove.
9865
09388e76
MA
98662011-10-23 Michael Albinus <michael.albinus@gmx.de>
9867
9868 Sync with Tramp 2.2.3.
9869
9870 * net/tramp-cache.el (top): Pacify byte-compiler using
9871 `init-file-user' and `site-run-file'.
9872
9873 * net/trampver.el: Update release number.
9874
86c60681
CY
98752011-10-23 Chong Yidong <cyd@gnu.org>
9876
9877 * files.el (toggle-read-only): Remove obsolete comment about
9878 version control.
9879
9880 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9881 for toggle-read-only. Note that this hasn't called vc-next-action
9882 since 2008-05-02, though it wasn't documented at the time.
9883
a3839de2
SM
9884 * vc/ediff-init.el (ediff-toggle-read-only-function):
9885 Use toggle-read-only.
86c60681 9886
cd5495ff
AM
98872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9888
9889 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9890 of c-parse-state.
9891
00b77525 9892 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9893 correct faulty logical expression.
cd5495ff
AM
9894 (c-parse-state-state, c-record-parse-state-state):
9895 (c-replay-parse-state-state): New defvar/defuns.
9896 (c-debug-parse-state): Use new functions.
9897
42ee24ed
MR
98982011-10-22 Martin Rudalics <rudalics@gmx.at>
9899
9900 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9901 last fix. Use window-in-direction correctly.
42ee24ed 9902
a7dee7e7
CY
99032011-10-21 Chong Yidong <cyd@gnu.org>
9904
9905 * progmodes/idlwave.el (idlwave-mode):
9906 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9907 require-final-newline; that's done in prog-mode.
9908 Suggested by Stefan Monnier.
a7dee7e7 9909
e07b9a6d
MR
99102011-10-21 Martin Rudalics <rudalics@gmx.at>
9911
9912 * mouse.el (mouse-drag-window-above)
9913 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9914 (mouse-drag-mode-line-1, mouse-drag-header-line)
9915 (mouse-drag-vertical-line-rightward-window): Remove.
9916 (mouse-drag-line): New function.
9917 (mouse-drag-mode-line, mouse-drag-header-line)
9918 (mouse-drag-vertical-line): Call mouse-drag-line.
9919 * window.el (window-at-side-p, windows-at-side): New functions.
9920
7e1361d9
UM
99212011-10-21 Ulrich Mueller <ulm@gentoo.org>
9922
9923 * tar-mode.el (tar-grind-file-mode):
9924 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9925
30fcaf3a
CY
99262011-10-21 Chong Yidong <cyd@gnu.org>
9927
9928 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9929 * progmodes/vera-mode.el (vera-mode):
9930 Use mode-require-final-newline.
30fcaf3a 9931
516eddb0
GM
99322011-10-20 Glenn Morris <rgm@gnu.org>
9933
db22a3c2 9934 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9935
10d5f513
CS
99362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9937
9938 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9939
ac6c8639
CY
99402011-10-20 Chong Yidong <cyd@gnu.org>
9941
9942 * emulation/cua-base.el (cua-mode):
9943 * mail/footnote.el (footnote-mode):
9944 * mail/mailabbrev.el (mail-abbrevs-mode):
9945 * net/xesam.el (xesam-minor-mode):
9946 * progmodes/bug-reference.el (bug-reference-mode):
9947 * progmodes/cap-words.el (capitalized-words-mode):
9948 * progmodes/compile.el (compilation-minor-mode)
9949 (compilation-shell-minor-mode):
9950 * progmodes/gud.el (gud-tooltip-mode):
9951 * progmodes/hideif.el (hide-ifdef-mode):
9952 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9953 * progmodes/subword.el (subword-mode):
9954 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9955 * progmodes/which-func.el (which-function-mode):
9956 * term/tvi970.el (tvi970-set-keypad-mode):
9957 * term/vt100.el (vt100-wide-mode):
9958 * textmodes/flyspell.el (flyspell-mode):
9959 * textmodes/ispell.el (ispell-minor-mode):
9960 * textmodes/nroff-mode.el (nroff-electric-mode):
9961 * textmodes/paragraphs.el (use-hard-newlines):
9962 * textmodes/refill.el (refill-mode):
9963 * textmodes/reftex.el (reftex-mode):
9964 * textmodes/rst.el (rst-minor-mode):
9965 * textmodes/sgml-mode.el (html-autoview-mode)
9966 (sgml-electric-tag-pair-mode):
9967 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9968 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9969 * emulation/crisp.el (crisp-mode):
9970 * emacs-lisp/eldoc.el (eldoc-mode):
9971 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9972 minor mode behavior.
9973
aa42ab43
JL
99742011-10-19 Juri Linkov <juri@jurta.org>
9975
9976 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9977 the list of hard-coded chars with escape-glyph face.
9978
89400f1d
SM
99792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9982
305c07f6
MA
99832011-10-19 Michael Albinus <michael.albinus@gmx.de>
9984
9985 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9986 running process.
9987
13754b54
GM
99882011-10-19 Glenn Morris <rgm@gnu.org>
9989
9990 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9991 Ignore ignored files. (Bug#9726)
9992
06e21633
CY
99932011-10-19 Chong Yidong <cyd@gnu.org>
9994
9995 Doc fix for minor modes, stating that an omitted argument enables
9996 the mode unconditionally when called from Lisp.
9997
9998 * abbrev.el (abbrev-mode):
9999 * allout.el (allout-mode):
10000 * autoinsert.el (auto-insert-mode):
10001 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10002 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10003 (global-auto-revert-mode):
10004 * battery.el (display-battery-mode):
10005 * composite.el (global-auto-composition-mode)
10006 (auto-composition-mode):
10007 * delsel.el (delete-selection-mode):
10008 * desktop.el (desktop-save-mode):
10009 * dired-x.el (dired-omit-mode):
10010 * dirtrack.el (dirtrack-mode):
10011 * doc-view.el (doc-view-minor-mode):
10012 * double.el (double-mode):
10013 * electric.el (electric-indent-mode, electric-pair-mode):
10014 * emacs-lock.el (emacs-lock-mode):
10015 * epa-hook.el (auto-encryption-mode):
10016 * follow.el (follow-mode):
10017 * font-core.el (font-lock-mode):
10018 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10019 * help.el (temp-buffer-resize-mode):
10020 * hilit-chg.el (highlight-changes-mode)
10021 (highlight-changes-visible-mode):
10022 * hi-lock.el (hi-lock-mode):
10023 * hl-line.el (hl-line-mode, global-hl-line-mode):
10024 * icomplete.el (icomplete-mode):
10025 * ido.el (ido-everywhere):
10026 * image-file.el (auto-image-file-mode):
10027 * image-mode.el (image-minor-mode):
10028 * iswitchb.el (iswitchb-mode):
10029 * jka-cmpr-hook.el (auto-compression-mode):
10030 * linum.el (linum-mode):
10031 * longlines.el (longlines-mode):
10032 * master.el (master-mode):
10033 * mb-depth.el (minibuffer-depth-indicate-mode):
10034 * menu-bar.el (menu-bar-mode):
10035 * minibuf-eldef.el (minibuffer-electric-default-mode):
10036 * mouse-sel.el (mouse-sel-mode):
10037 * msb.el (msb-mode):
10038 * mwheel.el (mouse-wheel-mode):
10039 * outline.el (outline-minor-mode):
10040 * paren.el (show-paren-mode):
10041 * recentf.el (recentf-mode):
10042 * reveal.el (reveal-mode, global-reveal-mode):
10043 * rfn-eshadow.el (file-name-shadow-mode):
10044 * ruler-mode.el (ruler-mode):
10045 * savehist.el (savehist-mode):
10046 * scroll-all.el (scroll-all-mode):
10047 * scroll-bar.el (scroll-bar-mode):
10048 * server.el (server-mode):
10049 * shell.el (shell-dirtrack-mode):
10050 * simple.el (auto-fill-mode, transient-mark-mode)
10051 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10052 (line-number-mode, column-number-mode, size-indication-mode)
10053 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10054 * strokes.el (strokes-mode):
10055 * time.el (display-time-mode):
10056 * t-mouse.el (gpm-mouse-mode):
10057 * tool-bar.el (tool-bar-mode):
10058 * tooltip.el (tooltip-mode):
10059 * type-break.el (type-break-mode-line-message-mode)
10060 (type-break-query-mode):
10061 * view.el (view-mode):
10062 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10063 (global-whitespace-mode, global-whitespace-newline-mode):
10064 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10065
a3839de2
SM
10066 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10067 Fix autogenerated docstring.
06e21633 10068
5214e501
JL
100692011-10-19 Juri Linkov <juri@jurta.org>
10070
10071 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10072 by checking environment variables "DESKTOP_SESSION" and
10073 "XDG_CURRENT_DESKTOP". (Bug#9779)
10074
195f8db9
JL
100752011-10-19 Juri Linkov <juri@jurta.org>
10076
10077 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10078 (browse-url-chromium-program, browse-url-chromium-arguments):
10079 New defcustoms.
10080 (browse-url-default-browser): Check for `browse-url-chromium' and
10081 call `browse-url-chromium-program'.
10082 (browse-url-chromium): New command. (Bug#9779)
10083
343a34ff
JB
100842011-10-18 Juanma Barranquero <lekktu@gmail.com>
10085
10086 * facemenu.el (list-colors-duplicates): On Windows, detect more
10087 duplicates by assuming that only colors matching "^System" are
10088 special "system colors". (Bug#9722)
10089
6978a151
SM
100902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10093 to distinguish the author from the committer.
10094
6a80b297
MA
100952011-10-18 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10098
b31a5677
JK
100992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10100
10101 * international/mule.el (sgml-html-meta-auto-coding-function):
10102 Add support for detecting encoding in HTML5 specified only as
10103 <meta charset="UTF-8">. Implementation just makes http-equiv and
10104 content-type parts from HTML4 encoding string optional. (Bug#9716)
10105
80c6d77f
GM
101062011-10-18 Glenn Morris <rgm@gnu.org>
10107
10108 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10109
08b0fee8
CY
101102011-10-18 Chong Yidong <cyd@gnu.org>
10111
10112 * faces.el (cursor): Doc fix.
10113
67e729a5
CY
101142011-10-17 Chong Yidong <cyd@gnu.org>
10115
10116 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10117
343a34ff 101182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10119
10120 * dirtrack.el (dirtrack): Support shell buffers with path
10121 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10122
0bc06380
TZ
101232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10124
10125 * json.el: Bump version to 1.3 and note change in History.
10126 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10127
8b79f3e0
SM
101282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10129
5a7c536b
SM
10130 * comint.el (comint-insert-input, comint-send-input)
10131 (comint-get-old-input-default, comint-backward-matching-input)
10132 (comint-next-prompt): Use nil instead of `input' for field property of
10133 past user input (bug#114).
10134
96a8a0df
SM
10135 * minibuffer.el (completion--replace): Inherit surrounding properties
10136 (bug#114).
10137 (minibuffer-complete-and-exit): Use it.
10138
8b79f3e0
SM
10139 * comint.el (comint--table-subvert): Quote the all-completions output
10140 (bug#9160).
10141
b8f7ff0d
MR
101422011-10-17 Martin Rudalics <rudalics@gmx.at>
10143
8b79f3e0 10144 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10145
b8f7ff0d 10146 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10147 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10148 entries and separate them from frame entries.
10149
c235b555
GM
101502011-10-15 Glenn Morris <rgm@gnu.org>
10151
10152 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10153 Doc fixes.
10154
6bbfa6e1
CY
101552011-10-15 Chong Yidong <cyd@stupidchicken.com>
10156
8b79f3e0
SM
10157 * net/network-stream.el (network-stream-open-starttls):
10158 Improve detection of failure due to lack of TLS support.
ec5c990d 10159
6bbfa6e1
CY
10160 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10161 putting the input text in front and in bold.
10162
98488977
SM
101632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10164
3d1337be
SM
10165 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10166
ee0b45e4
SM
10167 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10168 empty buffer.
10169
98488977
SM
10170 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10171 unread-command-events rather than pushing yet-another event.
10172
186f4720
EZ
101732011-10-14 Eli Zaretskii <eliz@gnu.org>
10174
10175 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10176 the explanation of the possible choices. Make the options passed
10177 to completing-read shorter.
10178
8b7a997c
AM
101792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10180
10181 * textmodes/flyspell.el (flyspell-large-region): Make sure
10182 extended character mode is used if defined (Bug#1339).
10183
12587bbb
EZ
101842011-10-13 Eli Zaretskii <eliz@gnu.org>
10185
10186 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10187 character info for LRE, LRO, RLE, and RLO characters by appending
10188 an invisible PDF.
12587bbb 10189
bad41229
SM
101902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10193 even in case of error; add debug spec; simplify data flow.
10194 (with-timeout-handler): Remove.
10195
28dbc92f
MA
101962011-10-12 Michael Albinus <michael.albinus@gmx.de>
10197
10198 Fix Bug#6019, Bug#9315.
10199
10200 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10201 complete `buffer-file-name', the local file name part could look
10202 remotely (for example on VMS).
10203
10204 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10205 `tramp-run-real-handler'.
10206 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10207 already quoted by '"'.
10208
10209 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10210 Let `file-name-handler-alist' be nil, the local file name part
10211 could look remotely (for example on VMS).
10212
e1b0b23a
SM
102132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10216 from here...
10217 (flyspell-post-command-hook): ...to here.
10218
a120bde9
SM
102192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10222 if not needed.
10223 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10224 using completion. Protect against "slow" callers.
10225 Remove the "message hack".
10226
7ce7717b
JL
102272011-10-11 Juri Linkov <juri@jurta.org>
10228
10229 * isearch.el (isearch-lazy-highlight-word): New variable.
10230 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10231 Use it. (Bug#9727)
10232
c02ee9d6
GM
102332011-10-11 Glenn Morris <rgm@gnu.org>
10234
10235 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10236 like f90-previous-statement does.
10237
93e616fd 102382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10239
1f190e73 10240 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10241 only in interactive use, to avoid error.
10242
af7b6078
SM
102432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * minibuffer.el (completion-file-name-table): Fix last change,
10246 i.e. ignore normal errors but not the other ones.
10247
0563dae9
MR
102482011-10-10 Martin Rudalics <rudalics@gmx.at>
10249
10250 * window.el (special-display-buffer-names)
10251 (special-display-regexps): Remove some remnants of earlier
10252 changes from doc-strings.
366ca7f3
MR
10253 (quit-windows-on): New function.
10254
10255 * vc/vc.el (vc-revert, vc-rollback):
10256 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10257 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10258 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10259
49677495
MR
102602011-10-09 Martin Rudalics <rudalics@gmx.at>
10261
10262 * window.el (frame-auto-hide-function): Add version tag.
10263 (Bug#9699)
10264
56f2d1e1
MA
102652011-10-09 Michael Albinus <michael.albinus@gmx.de>
10266
10267 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10268 condition.
10269
112a6592
LL
102702011-10-09 Leo Liu <sdl.web@gmail.com>
10271
10272 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10273 (Bug#9701)
10274
0812589b
GM
102752011-10-08 Glenn Morris <rgm@gnu.org>
10276
10277 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10278 before the first code statement zero indent. (Bug#9690)
10279
b2b0776e
CY
102802011-10-08 Chong Yidong <cyd@stupidchicken.com>
10281
10282 * simple.el (count-words-region): Always count in the region.
10283 Report the number of lines and characters too.
10284 (count-words): New command, which counts in the buffer if the
10285 region is inactive, as count-words-region used to.
10286 (count-words--message): New function. Handle plurals.
10287 (count-lines-region): Make it an alias for count-words-region.
10288
10289 * bindings.el (esc-map): Replace count-lines-region with
10290 count-words-region.
10291
c557cd6b
MR
102922011-10-08 Martin Rudalics <rudalics@gmx.at>
10293
10294 * window.el (window--delete): Delete dedicated frame
10295 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10296 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10297
61a57ef4 102982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10299
3a7d293b 10300 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10301
c3833279
CY
103022011-10-07 Chong Yidong <cyd@stupidchicken.com>
10303
10304 * bindings.el ([M-left],[M-right]): Bind to left-word and
10305 right-word respectively.
10306
21ce8245
GM
103072011-10-07 Glenn Morris <rgm@gnu.org>
10308
10309 * cus-start.el (debug-on-quit): Fix custom type.
10310
6d823bb2
LMI
103112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10312
0181e193
LMI
10313 * subr.el (define-key-after): Clarify that the function is not
10314 useful for non-menu keymaps.
10315
6d823bb2
LMI
10316 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10317
8e3459ce 103182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10319
21ce8245 10320 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10321 in current minibuffer (Fix bug with recursive minibuffers).
10322
a1c2d21e
CY
103232011-10-06 Chong Yidong <cyd@stupidchicken.com>
10324
10325 * progmodes/gdb-mi.el (gdb): Doc fix.
10326
5a4cf282
MR
103272011-10-05 Martin Rudalics <rudalics@gmx.at>
10328
10329 * window.el (frame-auto-hide-function): New option replacing
10330 frame-auto-delete. Suggested by Stefan Monnier.
10331 (window--delete): Call frame-auto-hide-function instead of
10332 investigating frame-auto-delete.
c96111ea
MR
10333 (window-point-1, set-window-point-1): New functions.
10334 (window-in-direction, record-window-buffer, window-state-get-1)
10335 (display-buffer-record-window): Use window-point-1 instead of
10336 window-point.
10337 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10338
9854542e
SM
103392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10340
10341 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10342
8943cfb0
GM
103432011-10-05 Glenn Morris <rgm@gnu.org>
10344
10345 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10346 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10347
647ab967
LL
103482011-10-05 Leo Liu <sdl.web@gmail.com>
10349
10350 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10351 works with buffer object.
10352
3ddfbced
SM
103532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * mpc.el (mpc-tool-bar-map): Add labels.
10356
bdfa5dd2
GM
103572011-10-04 Glenn Morris <rgm@gnu.org>
10358
10359 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10360
0e2070b5
MR
103612011-10-04 Martin Rudalics <rudalics@gmx.at>
10362
10363 * window.el (window--delete): New function.
10364 (frame-auto-delete): Resuscitate option.
10365 (bury-buffer, replace-buffer-in-windows)
10366 (quit-window): Rewrite using window--delete.
10367 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10368 Pass display-buffer-mark-dedicated to window--display-buffer-2
10369 (Bug#9639).
10370
3dc61a09
SM
103712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10372
915a9b64
SM
10373 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10374 returns a list (bug#9554). Add remote file name completion.
10375 * comint.el (comint--table-subvert): Curry and get quote&unquote
10376 functions as arguments.
10377 (comint--complete-file-name-data): Adjust call accordingly.
10378 * pcomplete.el (pcomplete--table-subvert): Remove.
10379 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10380
3dc61a09
SM
10381 * minibuffer.el (completion-table-case-fold): Use currying.
10382 (completion--styles-type, completion--cycling-threshold-type):
10383 New constants.
10384 (completion-styles, completion-category-overrides)
10385 (completion-cycle-threshold): Use them.
10386 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10387 completion-table-case-fold.
10388
8ea0a993
SB
103892011-10-03 Stephen Berman <stephen.berman@gmx.net>
10390
10391 * minibuffer.el (completion-category-overrides): Fix type of styles
10392 and add more user friendly tags (bug#9660).
10393
8c24b7f6
SM
103942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10397 (mule-input-method-string): New widget.
10398 (default-input-method, language-info-custom-alist): Use it.
10399
428fe61a
SM
104002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10401
32c1fffd
SM
10402 * pcomplete.el: Require comint.
10403 (pcomplete--common-suffix): Remove.
10404 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10405 (pcomplete--table-subvert): Sync with comint--table-subvert.
10406 (pcomplete--entries): Use comint-completion-file-name-table.
10407 * comint.el (comint-unquote-filename): Simplify.
10408 (comint-completion-file-name-table): New function (bug#9616).
10409 (comint--complete-file-name-data): Use it.
10410
428fe61a
SM
10411 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10412 (pcmpl-gnu-tar-buffer): Remove.
10413 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10414 around. Make sure pcomplete-suffix-list is only changed temporarily.
10415 Don't look inside the tar's file if it's too large.
428fe61a 10416
04c52e2f
CY
104172011-10-01 Chong Yidong <cyd@stupidchicken.com>
10418
ce3cefcc
CY
10419 * cus-edit.el (custom-mode-map):
10420 * epa.el (epa-key-list-mode-map):
10421 * man.el (Man-mode-map):
10422 * startup.el (splash-screen-keymap):
10423 * simple.el (special-mode-map): Use scroll-up-command and
10424 scroll-down-command.
10425
10426 * progmodes/idlw-help.el (idlwave-help-mode-map):
10427 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10428 * net/newst-plainview.el (newsticker-mode-map):
10429 * emulation/ws-mode.el (wordstar-mode-map):
10430 * emulation/vi.el (vi-com-map):
10431 * calc/calc-graph.el (calc-graph-show-dumb):
10432 * term/sun.el (terminal-init-sun):
10433 * term/ns-win.el (global-map):
10434 * progmodes/grep.el (grep-mode-map):
10435 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10436 * mail/rmail.el (rmail-mode-map):
10437 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10438
04c52e2f
CY
10439 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10440 custom-safe-themes as special.
10441
79adf8c8
JD
104422011-10-01 Julien Danjou <julien@danjou.info>
10443
10444 * notifications.el (notifications-notify): Fix docstring.
10445
63bd50d3
PS
104462011-10-01 Per Starbäck <per@starback.se>
10447
10448 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10449
199e4c7e
MR
104502011-09-30 Martin Rudalics <rudalics@gmx.at>
10451
10452 * startup.el (command-line-1): Fix last fix by inserting
10453 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10454 (Bug#9605) and (Bug#9636)
199e4c7e 10455
fe5f08dd
EZ
104562011-09-29 Eli Zaretskii <eliz@gnu.org>
10457
10458 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10459 window is hscrolled, move by logical lines. (Bug#9607)
10460 (line-move-visual): Update the doc string to the above effect.
10461
b5516bbd
MR
104622011-09-29 Martin Rudalics <rudalics@gmx.at>
10463
ccee00c0
MR
10464 * window.el (display-buffer-record-window): When WINDOW is the
10465 selected window use `point' instead of `window-point'. (Bug#9626)
10466
b5516bbd
MR
10467 * startup.el (command-line-1): Use insert-before-markers when
10468 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10469
b5516bbd
MR
10470 * help.el (help-window): Remove variable.
10471
52aa0014
GM
104722011-09-29 Glenn Morris <rgm@gnu.org>
10473
10474 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10475
df9a7357
JB
104762011-09-29 Juanma Barranquero <lekktu@gmail.com>
10477
10478 * descr-text.el (describe-char-categories): Accept category
10479 descriptions more than one line long.
10480
a8406c20
SM
104812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10482
88d9610c
SM
10483 * simple.el (delete-trailing-whitespace): Fix last change.
10484
a5daf810
SM
10485 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10486 Don't confuse "y => 3" as the beginning of a `y' operation.
10487
a8406c20
SM
10488 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10489 object has more than 4 slots (bug#9613).
10490
a239d4e9
JB
104912011-09-28 Juanma Barranquero <lekktu@gmail.com>
10492
10493 * subr.el (with-output-to-temp-buffer):
10494 * net/quickurl.el (quickurl, quickurl-browse-url):
10495 Fix typos in docstrings.
10496
693fbdb6
EZ
104972011-09-27 Eli Zaretskii <eliz@gnu.org>
10498
10499 * minibuffer.el (completion-styles)
10500 (completion-category-overrides): Cross reference each other in doc
10501 strings.
10502
8b457e28
GM
105032011-09-27 Glenn Morris <rgm@gnu.org>
10504
10505 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10506 to split-string. (Bug#9606)
10507
85a16208
LMI
105082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509
10510 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10511 (bug#9615).
10512
502f9ebd
CY
105132011-09-27 Chong Yidong <cyd@stupidchicken.com>
10514
10515 * emacs-lisp/package.el (list-packages): Fix echo area message.
10516
7690bdea
LL
105172011-09-27 Leo Liu <sdl.web@gmail.com>
10518
10519 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10520
e2ee6f30
MA
105212011-09-25 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * net/dbus.el (dbus-unregister-object): Don't release services for
10524 registered signals. (Bug#9581)
10525
f3f98342
TZ
105262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10527
10528 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10529 function that picks between cfengine 2 and 3 support
10530 automatically. Update docs accordingly.
10531
dd7aa8dd
KH
105322011-09-22 Kenichi Handa <handa@m17n.org>
10533
10534 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10535 ZERO.
10536 (indian-itrans-v5-table-for-tamil): New variable.
10537 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10538
3f2b07f8
KM
105392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10540
10541 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10542 that's true if the current command involved collapsing of text.
10543 It's reset to false at the beginning of the next command.
10544 (allout-post-command-business): Move the cursor to the beginning
10545 of entry if the cursor is hidden and collapsing activity just
10546 happened.
10547
371d6a61
CY
105482011-09-24 Chong Yidong <cyd@stupidchicken.com>
10549
10550 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10551 tracking (Bug#9541).
10552
2ac2721a
UJ
105532011-09-24 Ulf Jasper <ulf.jasper@web.de>
10554
10555 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10556 (newsticker-show-news): Automatically load html rendering package
10557 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10558 because w3m-fill-column is let-bound" and the error "Symbol's value
10559 as variable is void: w3m-fill-column".
2ac2721a 10560
fac7ae53
MA
105612011-09-24 Michael Albinus <michael.albinus@gmx.de>
10562
10563 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10564 Release services only if they are defined. (Bug#9581)
10565
e08b633b
RS
105662011-09-23 Richard Stallman <rms@gnu.org>
10567
e488d29c
RS
10568 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10569 distinguish start of paragraph from start of its text.
10570
19c38752
RS
10571 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10572
e08b633b
RS
10573 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10574 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10575 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10576
0a39f27e
AS
105772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10578
10579 * international/mule-diag.el (mule-diag): Insert a newline after
10580 each fontset description.
10581
db4e950d
SM
105822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 * simple.el (delete-trailing-whitespace):
10585 Document last change; simplify.
10586
eca3f3ea
PW
105872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10588
d68e189a
PW
10589 * simple.el (delete-trailing-whitespace): Also delete
10590 extra newlines at the end of the buffer.
10591
eca3f3ea
PW
10592 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10593 (picture-newline): Use forward-line so as to ignore fields.
10594
01c157cc
SM
105952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10596
10597 * subr.el (with-wrapper-hook): Fix edebug spec.
10598
022de23e
LMI
105992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10600
10601 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10602 (bug#4538).
10603
91683089
MA
106042011-09-23 Michael Albinus <michael.albinus@gmx.de>
10605
eca3f3ea
PW
10606 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10607 Fix nasty bug using wrong cached values.
91683089 10608
5bdd6fa4
AM
106092011-09-23 Alan Mackenzie <acm@muc.de>
10610
10611 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10612
97adfb97
CY
106132011-09-23 Chong Yidong <cyd@stupidchicken.com>
10614
10615 * window.el (pop-to-buffer): Ensure right window is selected if we
10616 chose another frame.
10617
d4ef2b50
EZ
106182011-09-22 Eli Zaretskii <eliz@gnu.org>
10619
10620 * simple.el (what-cursor-position): Use get-char-property-change
10621 and next-single-char-property-change, to be able to show display
10622 properties that come from overlays as well as text properties.
10623
72258fe5
CY
106242011-09-22 Chong Yidong <cyd@stupidchicken.com>
10625
10626 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10627
10628 * cmuscheme.el (run-scheme, switch-to-scheme):
10629 * cus-edit.el (customize-group, custom-buffer-create)
10630 (customize-browse):
10631 * info.el (info):
10632 * shell.el (shell):
10633 * mail/sendmail.el (mail):
10634 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10635
8f098516
RS
106362011-09-22 Richard Stallman <rms@gnu.org>
10637
10638 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10639 move back only to line beg, don't move back over blank lines.
10640
e74f1bb6
MA
106412011-09-22 Michael Albinus <michael.albinus@gmx.de>
10642
10643 * files.el (copy-directory): Set directory attributes only in case
10644 they could be retrieved from the source directory. (Bug#9565)
10645
bfeef8b6
DK
106462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10647
10648 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10649 (hs-find-block-beginning, hs-hide-level-recursive):
10650 Ignore strings as well as comments. (Bug#9502)
10651
7e423bb8
AS
106522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10653
10654 * progmodes/sql.el (sql-comint-postgres):
10655 Convert port number to a string. (Bug#9566)
10656
b4d72fcf
MR
106572011-09-22 Martin Rudalics <rudalics@gmx.at>
10658
10659 * window.el (quit-window): Undedicate window when switching to
10660 previous buffer. Reported by Thierry Volpiatto
10661 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10662 (special-display-popup-frame): When popping up a new frame reset
10663 its previous buffers to nil. Simplify code.
b4d72fcf 10664
a7b88dc6
MA
106652011-09-21 Michael Albinus <michael.albinus@gmx.de>
10666
10667 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10668 and process filter, as done also in `shell-command'.
10669
cf4eacfd
MR
106702011-09-21 Martin Rudalics <rudalics@gmx.at>
10671
eca3f3ea 10672 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10673 Call set-window-start with NOFORCE argument t.
10674 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10675 (quit-window): Reword doc-string. Handle new format of
10676 quit-restore parameter. Don't delete window if it has a
10677 previous buffer we can show instead of the present one.
10678 (display-buffer-record-window): Rewrite using a new format for
10679 the quit-restore window parameter
10680 (special-display-popup-frame, display-buffer-same-window)
10681 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10682 (display-buffer-pop-up-window, display-buffer-use-some-window):
10683 Adapt symbol passed to display-buffer-record-window.
10684 * help.el (help-window-setup): Handle new format of quit-restore
10685 parameter.
10686
8d28cb95
SM
106872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10688
94ab793f
SM
10689 * faces.el (face-list): Fix docstring (bug#9564).
10690
8d28cb95
SM
10691 * window.el (display-buffer--action-function-custom-type):
10692 Don't include internal functions in the Custom interface.
10693
3820edeb
JL
106942011-09-20 Juri Linkov <juri@jurta.org>
10695
10696 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10697 (Info-forward-node, Info-backward-node, Info-next-preorder)
10698 (Info-last-preorder): Use it. (Bug#9528)
10699
5147931d
JL
107002011-09-20 Juri Linkov <juri@jurta.org>
10701
10702 * info.el (Info-last-preorder): Visit last menu item only when
10703 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10704
cf499a1a
JD
107052011-09-20 Julien Danjou <julien@danjou.info>
10706
10707 * password-cache.el (password-cache-remove): Remove entries even if the
10708 value is nil, so that password with a nil value (negative caching) is
10709 possible to invalidate.
10710
f84e2fe2
LM
107112011-09-20 Lawrence Mitchell <wence@gmx.li>
10712
10713 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10714 all whitespace around breakpoint. (Bug#9553)
10715 (f90-find-breakpoint): Only break at whitespace inside a comment.
10716
78054a46
SM
107172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 * minibuffer.el (completion-file-name-table): Keep track of errors.
10720 (completion-table-with-predicate): Handle the case where pred1 is nil.
10721 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10722
345083b2
SM
107232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10724
e24e27be
SM
10725 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10726 (debugger-return-value): Signal an error if the debugging context does
10727 not await any return value.
10728
345083b2
SM
10729 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10730 * image-mode.el (image-toggle-display-text)
10731 (image-toggle-display-image): Stay away from evil `intangible'.
10732
08d355e3
LL
107332011-09-19 Leo Liu <sdl.web@gmail.com>
10734
10735 * replace.el (occur-revert-arguments): Make it permanent-local.
10736 (occur-mode): Don't call font-lock-defontify.
10737
f01da43f
CY
107382011-09-19 Chong Yidong <cyd@stupidchicken.com>
10739
10740 * net/ldap.el (ldap-search-internal): Don't push empty search
10741 result (Bug#9508).
10742
b6072fa6
SM
107432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10746
443d6696
MA
107472011-09-19 Michael Albinus <michael.albinus@gmx.de>
10748
10749 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10750 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10751
7cc6e154
JL
107522011-09-18 Juri Linkov <juri@jurta.org>
10753
10754 * buff-menu.el (Buffer-menu-mode-map):
10755 * dired.el (dired-mode-map):
10756 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10757 (lisp-interaction-mode-map):
10758 * emacs-lisp/package.el (package-menu-mode-map):
10759 * epa.el (epa-key-list-mode-map):
10760 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10761 (menu-bar-options-menu):
10762 * outline.el (outline-mode-menu-bar-map):
10763 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10764 * vc/vc-dir.el (vc-dir-menu-map):
10765 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10766 Capitalize non-function content words in menu item strings.
10767
10768 * dired.el (dired-mode-map): Add menu item for
10769 `image-dired-dired-toggle-marked-thumbs'.
10770
80302a81
JL
107712011-09-18 Juri Linkov <juri@jurta.org>
10772
10773 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10774 to `isearch-case-fold-search' and restore its original value
10775 after the `isearch-mode' call.
10776
46c5cf66
JL
107772011-09-18 Juri Linkov <juri@jurta.org>
10778
10779 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10780 because `zgrep' returns 1 for successful matches (bug#9226).
10781
d18b513b
JL
107822011-09-18 Juri Linkov <juri@jurta.org>
10783
10784 * info.el (Info-extract-menu-node-name): Check the second match
10785 for empty string (second test-case of bug#9528).
10786 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10787 intermediate nodes to the history (first test-case of bug#9528).
10788
72753f87
JL
107892011-09-18 Juri Linkov <juri@jurta.org>
10790
10791 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10792 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10793
c9384295
JL
107942011-09-18 Juri Linkov <juri@jurta.org>
10795
1154d12e
JB
10796 * info.el (Info-file-supports-index-cookies):
10797 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10798 outputs one more line for long file names (bug#4142).
c9384295 10799
d473dce8
CY
108002011-09-18 Chong Yidong <cyd@stupidchicken.com>
10801
10802 * newcomment.el (comment-normalize-vars): If prompting for
10803 comment-start, set comment-start-skip too (Bug#8424).
10804
2176854d
JB
108052011-09-18 Johan Bockgård <bojohan@gnu.org>
10806
10807 * icomplete.el: Fix previous fix of Bug#5849.
10808 (icomplete-mode): Don't set completion-show-inline-help.
10809 (icomplete-minibuffer-setup): Set completion-show-inline-help
10810 locally during icompletion.
10811
3aace4e4
CY
108122011-09-18 Chong Yidong <cyd@stupidchicken.com>
10813
c940224f
CY
10814 * woman.el (woman2-process-escapes): Don't delete unrecognized
10815 escapes (Bug#7843).
10816
3aace4e4
CY
10817 * files.el (inhibit-first-line-modes-regexps): Add image files.
10818 (hack-local-variables-prop-line): Return nil for malformed
10819 prop-lines (Bug#9044).
10820
710dec63
MA
108212011-09-18 Michael Albinus <michael.albinus@gmx.de>
10822
10823 * net/tramp.el (top): Don't require 'shell.
10824 (tramp-methods): Fix docstring.
10825 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10826 Return complete remote file name. Handle "smb" case.
10827 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10828 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10829
10830 * net/tramp-compat.el (top): Require 'shell.
10831
10832 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10833 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10834 `tramp-current-host'.
10835 (tramp-get-remote-tmpdir): Remove.
10836
10837 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10838 `tramp-tmpdir' entries.
10839 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10840 (tramp-smb-handle-file-attributes): Ignore errors.
10841 (tramp-smb-wait-for-output): Check also for process end.
10842
5d5ac8ec
LMI
108432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10844
10845 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10846 when sending QUIT (bug#9312).
10847
8c0f49f0
CY
108482011-09-17 Chong Yidong <cyd@stupidchicken.com>
10849
10850 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10851 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10852 occur-mode-display-occurrence.
10853 (occur-edit-mode): Add usage message.
10854 (occur-cease-edit): New command.
10855 (occur-after-change-function): Use text properties to find the
10856 position of the prefix text.
10857 (occur-engine): Set stickiness of prefix text properties.
10858
8f1383f7
GM
108592011-09-17 Glenn Morris <rgm@gnu.org>
10860
10861 * progmodes/etags.el (complete-tag):
10862 Fix call to completion-in-region. (Bug#9526)
10863
744ba0e3
JL
108642011-09-17 Juri Linkov <juri@jurta.org>
10865
10866 * textmodes/ispell.el (ispell-word): Add to the error message
10867 the word, ispell program name and current dictionary (bug#9121).
10868 (ispell-tex-arg-end): Capitalize "error" in the error message.
10869
d9bbf400
AS
108702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10871
10872 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10873 check. (Bug#4251)
10874
8da11505
JL
108752011-09-17 Juri Linkov <juri@jurta.org>
10876
10877 * window.el (window-safe-min-height, window-safe-min-width):
10878 Fix typos (followup to bug#9522).
10879
a91adc7e
SJ
108802011-09-17 Sven Joachim <svenjoac@gmx.de>
10881
10882 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10883
064f328a
EZ
108842011-09-16 Eli Zaretskii <eliz@gnu.org>
10885
10886 * simple.el (line-move): If goal-column is set, move by logical
10887 lines, not by display lines. (Bug#971)
10888 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10889 to reflect the above change.
10890
e69df516
SM
108912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * image.el (imagemagick-register-types): Use regexp-opt.
10894
cbb0f9ab
CY
108952011-09-15 Chong Yidong <cyd@stupidchicken.com>
10896
10897 * window.el (display-buffer-base-action): Rename from
10898 display-buffer-default-action. Make default value empty.
10899 (display-buffer-overriding-action): Convert to defvar.
10900 (display-buffer-fallback-action): New var.
10901
25322144
CY
109022011-09-15 Chong Yidong <cyd@stupidchicken.com>
10903
10904 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10905 declaration.
10906 (package--add-to-archive-contents): If there is a duplicate entry
10907 with an older version, remove it.
10908 (package-menu-mark-delete, package-menu-mark-install)
10909 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10910 (package-menu-mark-obsolete-for-deletion):
10911 Use package-menu-get-status instead of a regexp search.
25322144
CY
10912 (package-menu-get-status): Use tabulated-list-entry.
10913 (package-menu-mark-upgrades): New command.
d770725a 10914 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10915 (package-menu-execute): Do installation before deletion.
10916 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10917 instead of checking major-mode.
10918 (package-menu--find-upgrades): New function.
10919
7520339c
LMI
109202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10921
10922 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10923 passwords in the log buffer.
65a046c4
LMI
10924 (smtpmail-process-filter): Update the process marker so that the
10925 "broken by peer" status message is inserted in the right place.
7520339c 10926
d3c30954
SM
109272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10928
3fe48822
SM
10929 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10930 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10931 bibtex-completion-at-point-function.
10932 (bibtex-completion-at-point-function): Use them.
10933
1b8b3954
SM
10934 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10935
d3c30954
SM
10936 * mpc.el (mpc-constraints-tag-lookup): New function.
10937 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10938 also to browser "album|playlist".
10939
72779976
JL
109402011-09-14 Juri Linkov <juri@jurta.org>
10941
10942 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10943 (isearch-edit-string): Use length of `isearch-string' when
10944 `isearch-fail-pos' returns nil.
10945 (isearch-message): Remove duplicate code and call
10946 `isearch-fail-pos' with arg `t'.
10947
a0bf2bcd
CY
109482011-09-14 Chong Yidong <cyd@stupidchicken.com>
10949
17bb0a2d
CY
10950 * replace.el (occur-mode-goto-occurrence): Don't force using other
10951 window (Bug#9499).
10952
a0bf2bcd
CY
10953 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10954
f678e0b6
MR
109552011-09-14 Martin Rudalics <rudalics@gmx.at>
10956
10957 * window.el (display-buffer-window): Remove.
10958 (display-buffer-record-window): Use help-setup window parameter
10959 instead of variable display-buffer-window.
10960 (display-buffer-function, special-display-buffer-names)
10961 (special-display-function): Mention help-setup parameter instead
10962 of display-buffer-window in doc-string.
d3c30954
SM
10963 * help.el (help-window-setup): New argument help-window.
10964 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10965 Reword some messages.
10966 (with-help-window): Pass window used for displaying the buffer
10967 to help-window-setup. Don't set display-buffer-window.
10968
8e39b2e8
GM
109692011-09-13 Glenn Morris <rgm@gnu.org>
10970
10971 * emacs-lisp/debug.el (debugger-make-xrefs):
10972 Preserve point. (Bug#9462)
10973
85e9c04b
CY
109742011-09-13 Chong Yidong <cyd@stupidchicken.com>
10975
10976 * window.el (window-deletable-p): Use next-frame.
10977
1b36ed6a
MR
109782011-09-13 Martin Rudalics <rudalics@gmx.at>
10979
10980 * window.el (window-auto-delete): Remove.
10981 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10982 dedication and previous buffers.
1b36ed6a
MR
10983 (switch-to-prev-buffer): Don't delete window.
10984 (delete-windows-on): Delete a window's frame if and only if the
10985 window is dedicated.
10986 (replace-buffer-in-windows): Delete buffer's window or frame if
10987 and only if window is dedicated.
10988 (quit-window): Handle quit-restore as before last change.
4d61f28d 10989 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10990
ef8ef9fb
CY
109912011-09-13 Chong Yidong <cyd@stupidchicken.com>
10992
10993 * window.el (window-deletable-p): Never delete the last frame on a
10994 given terminal.
10995
b2cba41e
GM
109962011-09-13 Glenn Morris <rgm@gnu.org>
10997
10998 * help.el (describe-key-briefly): Copy previous standard-output change.
10999
51553db6 110002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11001
11002 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11003
b7556719
GM
110042011-09-13 Glenn Morris <rgm@gnu.org>
11005
11006 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11007 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11008
64b51947
CY
110092011-09-12 Chong Yidong <cyd@stupidchicken.com>
11010
11011 * dired-aux.el (dired-mark-read-string): Don't return default
11012 value on empty input (Bug#9361).
11013 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11014 Omit initial minibuffer contents.
11015 (dired-do-chmod): Signal an error on empty input.
11016 (dired-mark-read-string): Don't return default on empty input.
11017
11018 * files.el (file-modes-symbolic-to-number): Doc fix.
11019
393a301e
SM
110202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * international/mule-cmds.el (ucs-completions): Remove.
11023 (read-char-by-name): Use complete-with-action instead; add metadata.
11024
fa5660f9
CY
110252011-09-11 Chong Yidong <cyd@stupidchicken.com>
11026
11027 * window.el (display-buffer--action-function-custom-type)
11028 (display-buffer--action-custom-type): New vars.
11029 (display-buffer-alist, display-buffer-default-action)
11030 (display-buffer-overriding-action): Add defcustom types.
11031
4a592f66
CY
11032 * frame.el (delete-other-frames): Doc fix (Bug#276).
11033
73d56dbd
LMI
110342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11035
11036 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11037
37ac18a3
CY
110382011-09-11 Chong Yidong <cyd@stupidchicken.com>
11039
11040 Change modes that used same-window-* vars to use switch-to-buffer.
11041
11042 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11043 Use switch-to-buffer.
11044
11045 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11046 (customize-browse, custom-buffer-create-other-window):
11047 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11048
11049 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11050 (Info-prev, Info-up, Info-speedbar-goto-node)
11051 (info-display-manual): Use switch-to-buffer.
11052 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11053
11054 * mail/sendmail.el (mail): Use switch-to-buffer.
11055 (mail-recover): Use switch-to-buffer-other-window.
11056
11057 * cmuscheme.el (run-scheme, switch-to-scheme):
11058 * ielm.el (ielm):
11059 * shell.el (shell):
11060 * net/rlogin.el (rlogin):
11061 * net/telnet.el (telnet, rsh):
11062 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11063
10195bd6
AS
110642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11065
11066 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11067
b322f63a
LMI
110682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11069
39d7fed6
LMI
11070 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11071 so don't mention it (bug#9301).
ba5a81f1 11072 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11073
ee0e9f11
LMI
11074 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11075 match `x', `w32' and `ns', like the manual says (bug#9029).
11076
0b1c89c1 11077 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11078 (process-kill-buffer-query-function): Mention the buffer name in
11079 the query.
0b1c89c1 11080
77549ea8
LMI
11081 * image-mode.el (image-next-line): The line parameter is mandatory
11082 (bug#9258).
11083
803ef892
LMI
11084 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11085 which can be useful (bug#9301).
11086
12980837
LMI
11087 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11088
91054f8f
LMI
11089 * subr.el (match-string): Mention that the current buffer should
11090 be the same as the search was done in (bug#9282).
11091
b322f63a
LMI
11092 * facemenu.el: Disable the remove-* commands if the mark isn't
11093 active (bug#9162).
11094
3199b96f
CY
110952011-09-10 Chong Yidong <cyd@stupidchicken.com>
11096
11097 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11098 of display-buffer.
11099 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11100
11101 * replace.el (occur-mode-goto-occurrence)
11102 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11103 and display-buffer.
11104
11105 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11106 display-buffer.
11107
11108 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11109 special-display and same-window variables.
11110 (mail-other-window): Use switch-to-buffer-other-window.
11111 (mail-other-frame): USe switch-to-buffer-other-frame.
11112
393a301e
SM
11113 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11114 Use display-buffer-other-frame.
3199b96f
CY
11115 (gdb-display-gdb-buffer): Use pop-to-buffer.
11116
11117 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11118
11119 * progmodes/python.el: Don't set same-window-buffer-names.
11120
11121 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11122
11123 * window.el (display-buffer-alist): Add *Python*.
11124
8319e0bf
CY
111252011-09-10 Chong Yidong <cyd@stupidchicken.com>
11126
11127 * window.el (display-buffer-alist): Add entry for buffers
11128 previously handled same-window-*.
11129 (display-buffer-alist, display-buffer-default-action)
11130 (display-buffer-overriding-action): Mark as risky.
11131 (display-buffer-alist): Document action function changes.
11132 (display-buffer--same-window-action)
11133 (display-buffer--other-frame-action): New variables.
11134 (switch-to-buffer, display-buffer-other-frame): Use them.
11135 (display-buffer): Rename reuse-frame entry to reusable-frames.
11136 (display-buffer-reuse-selected-window): Function deleted.
11137 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11138 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11139 (display-buffer-special): New function.
11140 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11141 display-buffer-reuse-or-pop-window. Split off special-display
11142 part into display-buffer-special.
11143 (display-buffer-use-some-window): Don't perform any special
11144 pop-up-frames handling.
11145 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11146 (display-buffer--maybe-same-window): Rename from
0d3ff375 11147 display-buffer-maybe-same-window.
8319e0bf 11148
919a69aa
CY
11149 * info.el: Don't set same-window-regexps.
11150 (info-setup): New function.
11151 (info-other-window, info): Call it.
11152
11153 * cus-edit.el: Don't set same-window-regexps.
11154 (customize-group): New argument.
11155 (customize-group-other-window): Use it.
11156 (customize-face, customize-face-other-window): Likewise.
11157 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11158
8319e0bf
CY
11159 * net/rlogin.el:
11160 * net/telnet.el:
11161 * progmodes/gud.el: Don't set same-window-regexps.
11162
11163 * cmuscheme.el:
11164 * ielm.el:
11165 * shell.el:
11166 * mail/sendmail.el:
11167 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11168
25173000
JL
111692011-09-10 Juri Linkov <juri@jurta.org>
11170
11171 * isearch.el (isearch-edit-string): Remove obsolete mention of
11172 `C-w' (`isearch-yank-word-or-char') from docstring.
11173 (isearch-query-replace): Fix typo in docstring (bug#9466).
11174
056e44ef
JL
111752011-09-10 Juri Linkov <juri@jurta.org>
11176
11177 * paren.el (show-paren-function): Don't show escaped parens.
11178 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11179
c3760c17
EZ
111802011-09-10 Eli Zaretskii <eliz@gnu.org>
11181
11182 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11183 (mm-default-file-encoding): Remove autoload forms, they are
11184 replaced with autoload cookies in mml.el and mm-encode.el.
11185 (mail-add-attachment): New command.
11186 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11187 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11188 the doc string.
11189 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11190
fece895e
RT
111912011-09-10 Reuben Thomas <rrt@sc3d.org>
11192
e69df516
SM
11193 * simple.el (count-words-region): Use buffer if there's no region
11194 (bug#9429).
fece895e 11195
5e68ce4a
JL
111962011-09-09 Juri Linkov <juri@jurta.org>
11197
11198 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11199 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11200 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11201
0a6b9622
AM
112022011-09-09 Alan Mackenzie <acm@muc.de>
11203
11204 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11205 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11206
14a29deb
EZ
112072011-09-09 Eli Zaretskii <eliz@gnu.org>
11208
11209 Fix for Savannah bug#9392.
11210 * simple.el (mail-encode-mml): New defvar.
11211
11212 * mail/rmail.el (mail-encode-mml): Add a defvar.
11213 (rmail-enable-mime-composing): Default to t.
11214 (rmail-forward): Use MIME method of forwarding only if both
11215 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11216 Set mail-encode-mml non-nil if the MIME method was used.
11217
11218 * mail/sendmail.el (mml-to-mime): Add autoload form.
11219 (mail-encode-mml): Add a defvar.
11220 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11221 to nil.
11222 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11223 message through mml-to-mime, and reset mail-encode-mml to nil.
11224
28c45130
GM
112252011-09-09 Glenn Morris <rgm@gnu.org>
11226
11227 * woman.el (woman-if-body): When processing an .el block,
11228 do not delete the next .el block as well. (Bug#9447)
69f4b618 11229 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11230
9b1c252e
MR
112312011-09-08 Martin Rudalics <rudalics@gmx.at>
11232
11233 * window.el (window-deletable-p): Make sure window is live before
11234 invoking window-prev-buffers.
11235
567457e3
LL
112362011-09-08 Leo Liu <sdl.web@gmail.com>
11237
11238 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11239
97f05794
JL
112402011-09-08 Juri Linkov <juri@jurta.org>
11241
11242 * progmodes/compile.el (compilation-environment): Make it
11243 a defcustom (bug#8340).
11244
8b0874b5
MR
112452011-09-08 Martin Rudalics <rudalics@gmx.at>
11246
11247 * window.el (frame-auto-delete): Rename to window-auto-delete.
11248 Make it control auto-deletion of windows and/or frames.
11249 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11250 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11251 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11252 Rewrite handling of case when window/frame can be deleted.
11253 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11254 argument t. (Bug#9456)
8b0874b5 11255
4feb6e73
CY
112562011-09-07 Chong Yidong <cyd@stupidchicken.com>
11257
11258 * help-mode.el (help-mode): Restore autoload.
11259
91ab9c13
JL
112602011-09-07 Juri Linkov <juri@jurta.org>
11261
11262 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11263 `compilation-environment'. Set buffer-local
11264 `compilation-environment' to `thisenv' later after (funcall mode).
11265 (Bug#8340)
11266
11267 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11268 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11269 instead of replacing its value. (Bug#8340)
11270
0527e251
JL
112712011-09-07 Juri Linkov <juri@jurta.org>
11272
11273 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11274 based on text properties put by `grep-filter' instead of matching
11275 escape sequences.
11276 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11277 to the value of `grep-error-screen-columns' (bug#9438).
11278
249f792c
JL
112792011-09-07 Juri Linkov <juri@jurta.org>
11280
11281 * simple.el (next-error-highlight, next-error-highlight-no-select):
11282 Doc fix (bug#9432).
11283
ff7271b9
OT
112842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11285
11286 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11287 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11288
183fc730
LL
112892011-09-07 Leo Liu <sdl.web@gmail.com>
11290
11291 * net/rcirc.el (rcirc-mode): Conditionally initialize
11292 rcirc-input-ring.
11293
77694924
SM
112942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * emacs-lisp/find-func.el (find-function-C-source): Only set
11297 find-function-C-source-directory after checking that we found a source
11298 file there (bug#9440).
11299
d809b8eb
AM
113002011-09-06 Alan Mackenzie <acm@muc.de>
11301
11302 * isearch.el (isearch-other-meta-char): Wherever a key list is
11303 unread, "unread" the prefix arg, too. This fixes bug #8901.
11304
453de99f
OG
113052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11306
11307 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11308
90439906
JL
113092011-09-05 Juri Linkov <juri@jurta.org>
11310
11311 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11312
f62bd846
JL
113132011-09-05 Juri Linkov <juri@jurta.org>
11314
11315 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11316 keeping point where processing of grep matches begins, and
11317 continue to delete remaining escape sequences from the same point.
11318 (grep-filter): Make leading zero optional in "0?1;31m" because
11319 git-grep emits "\033[1;31m" escape sequences unlike expected
11320 "\033[01;31m" as GNU Grep does (bug#9408).
11321 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11322
045820ec
JL
113232011-09-05 Juri Linkov <juri@jurta.org>
11324
11325 * subr.el (y-or-n-p): Capitalize "yes".
11326
f5e29b9b
MA
113272011-09-04 Michael Albinus <michael.albinus@gmx.de>
11328
11329 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11330 `tramp-cache-unload-hook' where appropriate.
11331 (tramp-methods): Rename `tramp-remote-sh' to
11332 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11333 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11334
11335 * net/tramp-sh.el (top): Don't require 'shell.
11336 (tramp-methods): Add `tramp-remote-shell' and
11337 `tramp-remote-shell-args' entries.
11338 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11339 (tramp-sh-handle-shell-command): Remove.
11340 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11341 Use `tramp-remote-shell'.
11342
2784c434
CY
113432011-09-03 Chong Yidong <cyd@stupidchicken.com>
11344
393a301e 11345 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11346 (sendmail-query-once): Save directly to send-mail-function.
11347 Update message-send-mail-function too.
11348
11349 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11350
464cdf56
CS
113512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11352
11353 * progmodes/python.el (python-mode-map): Use correct function to
11354 start python interpreter from menu-bar (as reported by Geert
11355 Kloosterman).
11356 (inferior-python-mode-map): Fix typo.
393a301e 11357 (python-shell-map): Remove.
464cdf56 11358
d37e5c87
DD
113592011-09-03 Deniz Dogan <deniz@dogan.se>
11360
11361 * net/rcirc.el (rcirc-print): Simplify code for
11362 rcirc-scroll-show-maximum-output. There is no need to walk
11363 through all windows to find the right one.
11364
f3ada0ee
CS
113652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11366
11367 * help.el (help-return-method): Doc fix.
11368
1f3c99ca
MR
113692011-09-03 Martin Rudalics <rudalics@gmx.at>
11370
11371 * window.el (window-deletable-p): Don't return a non-nil value
11372 when there's a buffer that was shown in the window before.
11373 (Bug#9419)
393a301e
SM
11374 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11375 Set window's previous buffers to nil.
1f3c99ca 11376
a3cf097f
EZ
113772011-09-03 Eli Zaretskii <eliz@gnu.org>
11378
11379 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11380 newline before and after the tag line, so it doesn't interfere
11381 with determining the paragraph direction of bidirectional text.
11382
3d03de90
LL
113832011-09-03 Leo Liu <sdl.web@gmail.com>
11384
11385 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11386
c3313451
CY
113872011-09-02 Chong Yidong <cyd@stupidchicken.com>
11388
393a301e 11389 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11390 (pop-to-buffer): Change interactive spec. Pass second argument
11391 directly to display-buffer.
11392 (display-buffer): Fix interactive spec. Use functionp to
11393 distinguish between a function and a list of functions.
11394
11395 * abbrev.el (edit-abbrevs):
11396 * arc-mode.el (archive-extract):
11397 * autoinsert.el (auto-insert):
11398 * bookmark.el (bookmark-bmenu-list):
11399 * files.el (find-file):
11400 * view.el (view-buffer):
11401 * progmodes/compile.el (compilation-goto-locus):
11402 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11403
89894cd8
CY
114042011-09-02 Chong Yidong <cyd@stupidchicken.com>
11405
11406 * window.el (display-buffer-alist): Doc fix.
11407 (display-buffer): Add docstring. Don't treat
11408 display-buffer-default specially.
11409 (display-buffer-reuse-selected-window)
11410 (display-buffer-same-window, display-buffer-maybe-same-window)
11411 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11412 (display-buffer-pop-up-window)
11413 (display-buffer-reuse-or-pop-window)
11414 (display-buffer-use-some-window): New functions.
11415 (display-buffer-default-action): Use them.
393a301e 11416 (display-buffer-default): Delete.
89894cd8
CY
11417 (pop-to-buffer-1): Fix choice of actions.
11418
ae0bc9fb
SM
114192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * minibuffer.el (completion--insert-strings): Don't get confused by
11422 completion entries that end with an LF char.
11423
e9d90883
EZ
114242011-09-01 Eli Zaretskii <eliz@gnu.org>
11425
11426 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11427
437014c8
CY
114282011-09-01 Chong Yidong <cyd@stupidchicken.com>
11429
11430 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11431 (display-buffer-same-window, display-buffer-other-window):
11432 New functions.
437014c8
CY
11433 (pop-to-buffer-1): New function. Use the above.
11434 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11435 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11436
11437 * view.el (view-buffer-other-window, view-buffer-other-frame):
11438 Just use pop-to-buffer.
11439
a5e063d5
TV
114402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11441
11442 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11443
793d32bb
WH
114442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11445
11446 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11447
d65e4c15
RS
114482011-08-31 Richard Stallman <rms@gnu.org>
11449
11450 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11451 of the separation of rmail-view-buffer from rmail-buffer.
11452 If you say no to "replace original", the decrypt is in the
11453 view buffer. If you say yes, the decrypt goes into the
11454 rmail buffer also.
11455
f818cd2a
MR
114562011-08-31 Martin Rudalics <rudalics@gmx.at>
11457
11458 * window.el (display-buffer-window): Rewrite doc-string.
11459 (display-buffer-record-window): New function.
11460 (display-buffer-macro-specifiers)
11461 (display-buffer-even-window-sizes, display-buffer-set-height)
11462 (display-buffer-set-width, display-buffer-in-window)
11463 (display-buffer-reuse-window, display-buffer-split-specifiers)
11464 (display-buffer-side-specifiers, display-buffer-split-window-1)
11465 (display-buffer-split-window, display-buffer-split-atom-window)
11466 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11467 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11468 (display-buffer-other-window-means-other-frame)
11469 (display-buffer-normalize-special)
11470 (display-buffer-normalize-default)
11471 (display-buffer-normalize-argument)
11472 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11473 (display-buffer-normalize-specifiers, display-buffer-frame)
11474 (display-buffer-same-window, display-buffer-same-frame)
11475 (display-buffer-other-window)
11476 (display-buffer-same-frame-other-window)
11477 (display-buffer-other-frame, pop-to-buffer-same-window)
11478 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11479 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11480 (switch-to-buffer-same-frame)
11481 (switch-to-buffer-other-window-same-frame)
11482 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11483 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11484 (display-buffer-alist-set): Remove.
11485 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11486 (special-display-regexps, special-display-function):
11487 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11488 parameter.
11489 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11490 (special-display-frame-alist, special-display-popup-frame)
11491 (same-window-buffer-names, same-window-regexps, same-window-p)
11492 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11493 (split-window-preferred-function, split-height-threshold)
11494 (split-width-threshold, window-splittable-p)
11495 (split-window-sensibly, window--try-to-split-window)
11496 (window--frame-usable-p, even-window-heights)
11497 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11498 (window--display-buffer-2, display-buffer-other-frame):
11499 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11500 (display-buffer-default, display-buffer-assq-regexp): New functions.
11501 (display-buffer-alist): Rewrite doc-string.
11502 (display-buffer-default-action)
11503 (display-buffer-overriding-action): New variables.
11504 (display-buffer, switch-to-buffer): Rewrite.
11505 (pop-to-buffer): Restore Emacs 23 behavior but use
11506 window-normalize-buffer-to-display.
11507 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11508 Restore Emacs 23 behavior but use
11509 window-normalize-buffer-to-switch-to.
11510 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11511 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11512 Rewrite using Emacs 23 options.
f818cd2a 11513
5bc3b51d
MA
115142011-08-31 Michael Albinus <michael.albinus@gmx.de>
11515
11516 * net/tramp.el (tramp-root-regexp): Remove.
11517 (tramp-completion-file-name-regexp-unified)
11518 (tramp-completion-file-name-regexp-separate)
11519 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11520 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11521 (tramp-drop-volume-letter): Simplify definition.
11522 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11523
b1a4f8e1
SM
115242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11527 (bug#9356).
11528
5664fa7b
RT
115292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11530
b1a4f8e1 11531 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11532
9a45d6c3
JL
115332011-08-29 Juri Linkov <juri@jurta.org>
11534
11535 * isearch.el (isearch-done): Don't display message "Mark saved"
11536 when arg `edit' is non-nil to prevent its flicker in the echo area.
11537
fb87e0fb
CY
115382011-08-28 Chong Yidong <cyd@stupidchicken.com>
11539
11540 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11541 obsolete packages for deletion.
11542
09ac1c2a
CS
115432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11544
11545 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11546 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11547 view-mode from help-mode.
11548 (help-xref-override-view-map): Remove.
11549 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11550 view-mode is not used anymore.
11551
7a1ff57f
CY
115522011-08-28 Chong Yidong <cyd@stupidchicken.com>
11553
11554 * server.el (server-port): Doc fix.
11555
b9696605
CY
11556 * cus-theme.el (custom-theme-choose-mode): Inherit from
11557 special-mode (Bug#9124).
11558 (custom-theme-choose-mode-map): Add special-mode to parent.
11559
ef8cdf8c
AM
115602011-08-28 Alan Mackenzie <acm@muc.de>
11561
11562 * progmodes/cc-fonts.el
11563 (c-make-font-lock-BO-decl-search-function): New function.
11564 (c-basic-matchers-after - "Fontify the clauses after various
11565 keywords"): Extract the three keyword lists for the 3 erroneous
11566 constructs from the list of four, and use the new function above
11567 in place of an old one.
11568
27de4e20
DD
115692011-08-28 Deniz Dogan <deniz@dogan.se>
11570
11571 * net/rcirc.el (rcirc-insert-prev-input)
11572 (rcirc-insert-next-input): Remove unused argument.
11573
356a3681
SM
115742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11577
3fc9b218
AM
115782011-08-27 Alan Mackenzie <acm@muc.de>
11579
11580 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11581 handle function pointer parameters properly.
11582
538a061c
MR
115832011-08-27 Martin Rudalics <rudalics@gmx.at>
11584
11585 * window.el (display-buffer-reuse-window): Fix case where
11586 selected window was reused with non-nil OTHER-WINDOW argument.
11587 (Bug#9381)
11588
35b1c40c
DD
115892011-08-27 Deniz Dogan <deniz@dogan.se>
11590
11591 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11592 oftc's NickServ messages.
11593
2f6a3e79
GM
115942011-08-27 Glenn Morris <rgm@gnu.org>
11595
11596 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11597
7254299e
CY
115982011-08-26 Chong Yidong <cyd@stupidchicken.com>
11599
11600 * emacs-lisp/package.el (package-install): Call package-initialize
11601 if called interactively.
11602
f8ccf167
LL
116032011-08-26 Leo Liu <sdl.web@gmail.com>
11604
11605 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11606
3e8cd5ce
JL
116072011-08-25 Juri Linkov <juri@jurta.org>
11608
11609 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11610 `search-whitespace-regexp' (bug#9364).
11611
93eb7113
JL
116122011-08-25 Juri Linkov <juri@jurta.org>
11613
11614 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11615 `regexp-search-ring' to their global values to protect from
11616 updating by `read-from-minibuffer' (bug#9185).
11617
f65d1611
JL
116182011-08-25 Juri Linkov <juri@jurta.org>
11619
11620 * textmodes/ispell.el (ispell-command-loop): Add newline
11621 at the end of the "Use option `i'..." line.
11622
f1cf7a31
JL
116232011-08-25 Juri Linkov <juri@jurta.org>
11624
11625 * battery.el (display-battery-mode): If `battery-status-function'
11626 or `battery-mode-line-format' is nil, display the message and set
11627 `display-battery-mode' to nil (bug#9363).
11628
0c95fcf7
EZ
116292011-08-25 Eli Zaretskii <eliz@gnu.org>
11630
11631 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11632 bidi-string-mark-left-to-right; they are unnecessary now.
11633
a2ebe600
DD
116342011-08-25 Deniz Dogan <deniz@dogan.se>
11635
11636 * net/quickurl.el: Documentation typo fixes.
11637
e4ed06f1
CY
116382011-08-25 Chong Yidong <cyd@stupidchicken.com>
11639
11640 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11641
e5f1c99e
GM
116422011-08-25 Glenn Morris <rgm@gnu.org>
11643
b2948976
GM
11644 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11645
e5f1c99e
GM
11646 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11647 (smtpmail-via-smtp): Handle nil response from smtp.
11648
f22f4808
JL
116492011-08-24 Juri Linkov <juri@jurta.org>
11650
11651 * proced.el (proced-marked): Inherit from `error' instead of
11652 `font-lock-warning-face'.
11653
11654 * ibuffer.el (ibuffer-marked-face): Change default face from
11655 `font-lock-warning-face' to `warning'.
11656 (ibuffer-deletion-face): Change default face from
11657 `font-lock-type-face' to `error'.
11658
11659 * battery.el (battery-update): Use the face `error' instead of
11660 `font-lock-warning-face' (bug#6117).
11661
6a93965e
JL
116622011-08-24 Juri Linkov <juri@jurta.org>
11663
11664 * faces.el (success): Change face color from "Green3" to
11665 "ForestGreen" on light background (bug#9353).
11666
1ed43b09
CY
116672011-08-24 Chong Yidong <cyd@stupidchicken.com>
11668
5664fa7b
RT
11669 * window.el (quit-window): Rename from quit-restore-window.
11670 Use same arglist as old quit-window.
1ed43b09
CY
11671 (frame-auto-delete): Doc fix.
11672
11673 * view.el (view-mode-exit): Use quit-window.
11674
11dcdbb2
JL
116752011-08-24 Juri Linkov <juri@jurta.org>
11676
11677 * isearch.el (isearch-ring-adjust1): Start visiting previous
11678 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11679 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11680 for empty search string (when the last search string is reused
11681 automatically) to adjust the isearch ring to the last element and
11682 prepare the correct index for further M-p commands (bug#9185).
11683
de62b4df
KH
116842011-08-24 Kenichi Handa <handa@m17n.org>
11685
11686 * international/ucs-normalize.el: If decomposition property of
11687 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11688 nil.
11689 (nfd, nfkd): Likewise.
11690
963b492b
SM
116912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11692
11693 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11694 from process filters aren't reliably transmitted to the surrounding
11695 accept-process-output.
11696 (mpc-proc-check): New function.
11697 (mpc-proc-sync): Use it (bug#8293)
11698
93b6b5e1
SM
116992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11702 Add compatibility functions (bug#9313).
11703
bca633fb
EZ
117042011-08-23 Eli Zaretskii <eliz@gnu.org>
11705
b177498a
EZ
11706 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11707
6df6ae42 11708 * international/uni-bidi.el: Regenerate.
bca633fb 11709
0902a04e
KH
117102011-08-23 Kenichi Handa <handa@m17n.org>
11711
11712 * international/charprop.el:
11713 * international/uni-bidi.el:
11714 * international/uni-category.el:
11715 * international/uni-combining.el:
11716 * international/uni-comment.el:
11717 * international/uni-decimal.el:
11718 * international/uni-decomposition.el:
11719 * international/uni-digit.el:
11720 * international/uni-lowercase.el:
11721 * international/uni-mirrored.el:
11722 * international/uni-name.el:
11723 * international/uni-numeric.el:
11724 * international/uni-old-name.el:
11725 * international/uni-titlecase.el:
11726 * international/uni-uppercase.el: Regenerate.
11727
3bbf23bc
MR
117282011-08-23 Martin Rudalics <rudalics@gmx.at>
11729
11730 * help.el (help-window-setup): Fix message displayed when other
11731 window is reused. (Bug#9341)
11732
b3fd59bd
SM
117332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11734
1802e444
SM
11735 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11736 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11737
b3fd59bd
SM
11738 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11739 Mark obsolete.
11740 * shell.el (shell-parse-pcomplete-arguments): New function.
11741 (shell-completion-vars): Use it instead (bug#9160).
11742
4eb61348
SM
117432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11744
867cab74
SM
11745 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11746 strings and comments (bug#9333).
11747
4eb61348
SM
11748 * emacs-lisp/debug.el (debug-arglist): New function.
11749 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11750 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11751
262a1439
JL
117522011-08-22 Juri Linkov <juri@jurta.org>
11753
56ee679c
JL
11754 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11755 Revert regexp that highlights output switches to its old
11756 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11757
262a1439
JL
11758 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11759 to check for empty output (bug#9226).
11760
f13f86fb
CY
117612011-08-22 Chong Yidong <cyd@stupidchicken.com>
11762
11763 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11764 symbol-constituent as the default, as that stops font-lock from
11765 working properly (Bug#8843).
11766
c65c9622
LMI
117672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11768
11769 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11770 `coding-system-for-*' around the process open call to avoid
11771 auth-source side effects.
e7f2c178 11772 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11773 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11774 probe hangs.
c65c9622 11775
23a8a5ab
CY
117762011-08-21 Chong Yidong <cyd@stupidchicken.com>
11777
ff98b2dd
CY
11778 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11779
23a8a5ab
CY
11780 * emacs-lisp/find-func.el (find-function-noselect): New arg
11781 lisp-only.
11782
11783 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11784 signal an error for built-in functions (Bug#6664).
11785
f5e3c598
LMI
117862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11787
11788 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11789 (smtpmail-try-auth-methods): Use it.
11790
a3f2468a
CY
117912011-08-21 Chong Yidong <cyd@stupidchicken.com>
11792
2c34e8da
CY
11793 * font-lock.el (font-lock-fontify-region)
11794 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11795 (font-lock-default-unfontify-buffer)
11796 (font-lock-default-fontify-region)
11797 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11798
b3fd59bd
SM
11799 * progmodes/compile.el (compilation-error-properties):
11800 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11801 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11802 `ant' regexp.
ee31aabc 11803
a3f2468a
CY
11804 * net/browse-url.el (browse-url-firefox): Don't call
11805 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11806
8e999f70
GM
118072011-08-20 Glenn Morris <rgm@gnu.org>
11808
c21a496a
GM
11809 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11810
59ee0542
GM
11811 * tutorial.el (tutorial--default-keys): Update some default bindings.
11812
8e999f70
GM
11813 * files.el (hack-local-variables): Fully ignore case for "mode:".
11814
e3715033
AM
118152011-08-20 Alan Mackenzie <acm@muc.de>
11816
11817 Resolve invalid use of a regexp in regexp-opt.
11818
4d61f28d
JB
11819 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11820 detection for a java annotation.
e3715033 11821
4d61f28d 11822 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11823 detection for a java annotation.
11824
4d61f28d
JB
11825 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11826 handling for java.
e3715033
AM
11827 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11828
04ed2e9c
CY
118292011-08-20 Chong Yidong <cyd@stupidchicken.com>
11830
11831 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11832 (Bug#9274).
11833
826cee64
AM
118342011-08-20 Alan Mackenzie <acm@muc.de>
11835
58179cce 11836 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11837 such a construct. Mainly for when jit-lock etc. starts a chunk
11838 here.
11839
58179cce 11840 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11841 variable.
58179cce 11842 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11843 c-make-font-lock-search-function.
11844 (c-make-font-lock-search-function): Use the above function.
11845 (c-make-font-lock-context-search-function): New function.
11846 (c-cpp-matchers): Enhance the preprocessor expression case with
11847 the above function
11848 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11849 which takes an expression.
11850
11851 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11852
13009bd8
MR
118532011-08-20 Martin Rudalics <rudalics@gmx.at>
11854
11855 * window.el (display-buffer-reuse-window)
11856 (display-buffer-pop-up-window): Don't reuse or split a side
11857 window.
11858
9234ff7f
GM
118592011-08-19 Glenn Morris <rgm@gnu.org>
11860
11861 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11862 Downcase "Mode:". (Bug#9331)
9234ff7f 11863
f635daa1
CY
118642011-08-18 Chong Yidong <cyd@stupidchicken.com>
11865
11866 * international/characters.el: Add L and R categories.
11867
11868 * subr.el (bidi-string-mark-left-to-right): Rename from
11869 string-mark-left-to-right. Use category search.
11870
11871 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11872
bc987f8b
JL
118732011-08-18 Juri Linkov <juri@jurta.org>
11874
11875 * faces.el (error, warning, success): New faces with definitions
11876 copied from old default values of `font-lock-warning-face',
11877 `compilation-warning', `compilation-info' (bug#6117).
11878
11879 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11880
11881 * progmodes/compile.el (compilation-error): Inherit from `error'.
11882 (compilation-warning): Inherit from `warning'.
11883 (compilation-info): Inherit from `success'.
11884
11885 * dired.el (dired-marked): Inherit from `warning'.
11886 (dired-flagged): Inherit from `error'.
11887
57173b96
LMI
118882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11889
3e79eb87
LMI
11890 * mail/smtpmail.el (auth-source): Require to avoid problems with
11891 binding variables (bug#9298). Also clean up some unused
11892 autoloads.
11893
b3fd59bd
SM
11894 * net/network-stream.el (network-stream-open-starttls):
11895 Support using starttls.el without using gnutls-cli.
57173b96 11896
02b404de
JL
118972011-08-17 Juri Linkov <juri@jurta.org>
11898
11899 * progmodes/grep.el (rgrep): Handle the case when
11900 `grep-find-command' is a cons cell (bug#9278).
11901
8c9177f2
MR
119022011-08-17 Martin Rudalics <rudalics@gmx.at>
11903
11904 * window.el (display-buffer-pop-up-frame): Run frame creation
11905 function with BUFFER current (as special-display-popup-frame
11906 does). Reported by Drew Adams.
11907
3644a0ab
DU
119082011-08-17 Daiki Ueno <ueno@unixuser.org>
11909
11910 * epa-mail.el: Simplify GnuPG group expansion using
11911 epg-expand-group.
11912 (epa-mail-group-alist, epa-mail-group-modtime)
11913 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11914 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11915 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11916 Remove.
11917
5e617bc2 119182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11919
11920 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11921
9c4aeabf
AM
119222011-08-16 Alan Mackenzie <acm@muc.de>
11923
11924 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11925 Correct, to avoid the inside of macros.
11926
3a99bf64
RS
119272011-08-16 Richard Stallman <rms@gnu.org>
11928
04963aa8
RS
11929 * epa-mail.el: Handle GnuPG group definitions.
11930 (epa-mail-group-alist, epa-mail-group-modtime)
11931 (epa-mail-gnupg-conf-file): New variables.
11932 (epa-mail-parse-groups, epa-mail-sync-groups)
11933 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11934 (epa-mail-expand-recipients): New functions.
11935 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11936
177549d0
RS
11937 * mail/rmail.el (rmail-epa-decrypt): New command.
11938
fe38beef
RS
11939 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11940 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11941 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11942 (epa-decrypt-armor-in-region): Make error message clearer.
11943
934eacb9
SM
119442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11947 and "a2b" to "ab" for `prefix'.
11948
d024fb4e
CY
119492011-08-14 Chong Yidong <cyd@stupidchicken.com>
11950
11951 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11952 filter groups.
de148fee
CY
11953 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11954 Fourquet (Bug#8804).
d024fb4e 11955
62f1ca49
JB
119562011-08-12 Juanma Barranquero <lekktu@gmail.com>
11957
11958 * startup.el (argi): Declare as global variable (bug#9275).
11959
9ccaaa4b
CY
119602011-08-12 Chong Yidong <cyd@stupidchicken.com>
11961
11962 * subr.el (string-mark-left-to-right): Search the entire string
11963 for RTL script, not just the terminating character. Doc fix.
11964
a3dae87a
SM
119652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11966
6cd18349
SM
11967 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11968 New function.
11969 (js--regexp-literal, js-syntax-propertize-function): Remove.
11970 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11971 (js-mode-map): Don't rebind electric keys.
11972 (js-insert-and-indent): Remove.
11973 (js-mode): Setup electric-layout and electric-indent instead.
11974
a3dae87a
SM
11975 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11976
9d5cb631
DU
119772011-08-12 Daiki Ueno <ueno@unixuser.org>
11978
11979 * epa.el (epa-progress-callback-function): Fix the logic of
11980 displaying progress.
11981 * epa-file.el (epa-file-insert-file-contents): Make progress
11982 display more user-friendly.
11983 (epa-file-write-region): Ditto.
11984
3e26a4a2
CY
119852011-08-10 Chong Yidong <cyd@stupidchicken.com>
11986
11987 * subr.el (string-mark-left-to-right): New function.
11988
11989 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11990 Use string-mark-left-to-right.
11991 (list-buffers-noselect): Caller changed.
11992
a3dae87a
SM
11993 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11994 Use string-mark-left-to-right.
3e26a4a2
CY
11995 (tabulated-list-print): Recenter after moving point.
11996
ac8cf6e6
JL
119972011-08-10 Juri Linkov <juri@jurta.org>
11998
11999 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12000 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12001 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12002
8d96c9a4
CY
120032011-08-09 Chong Yidong <cyd@stupidchicken.com>
12004
12005 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12006 (Bug#7554).
12007
7be1c708 120082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12009
12010 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12011 character. (Bug#6594)
12012
37e11a63
CY
120132011-08-08 Chong Yidong <cyd@stupidchicken.com>
12014
839dde57
CY
12015 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12016 (image-dired--with-db-file): New macro.
12017 (image-dired-write-tags, image-dired-remove-tag)
12018 (image-dired-create-gallery-lists, image-dired-write-comments)
12019 (image-dired-get-comment, image-dired-mark-tagged-files)
12020 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12021 (image-dired-gallery-generate): Use insert-file-contents.
12022
37e11a63
CY
12023 * time.el (display-time-world-list, display-time-world-display):
12024 * time-stamp.el (time-stamp-string):
12025 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12026 set-time-zone-rule (Bug#7337).
12027
0b4946c4
DU
120282011-08-08 Daiki Ueno <ueno@unixuser.org>
12029
12030 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12031 (epg-error-to-string, epg-errors-to-string): New function.
12032 (epg-wait-for-completion): Reverse errors list.
12033 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12034 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12035 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12036 (epg-sign-keys, epg-generate-key-from-file)
12037 (epg-generate-key-from-string): Format errors by using
12038 epg-errors-to-string (bug#9255).
12039 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12040
75bfc667
JL
120412011-08-07 Juri Linkov <juri@jurta.org>
12042
12043 * faces.el (list-faces-display): Remove extra angle bracket
12044 from `help-mode-map'.
12045
12046 * info.el (Info-history-toc-nodes): Doc fix.
12047
12048 * longlines.el (longlines-mode): Doc fix.
12049
673e08bb
SM
120502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12051
4640dd88
SM
12052 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12053 of statements and in a few more cases (bug#9183).
12054
673e08bb
SM
12055 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12056 New functions.
12057 (cl-transform-lambda): Use them (bug#9239).
12058
89b3f019
MR
120592011-08-05 Martin Rudalics <rudalics@gmx.at>
12060
12061 * window.el (display-buffer-same-window)
12062 (display-buffer-same-frame, display-buffer-other-window)
12063 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12064 (pop-to-buffer-other-window)
12065 (pop-to-buffer-same-frame-other-window)
12066 (pop-to-buffer-other-frame): Make them defuns.
12067 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12068
640c8776
SM
120692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * subr.el (make-composed-keymap): Move from C. Change calling
12072 convention, and improve docstring to bring attention to a subtle point.
12073 * minibuffer.el (completing-read-default): Adjust accordingly.
12074
63648a95
MA
120752011-08-03 Michael Albinus <michael.albinus@gmx.de>
12076
12077 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12078 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12079
12080 * net/trampver.el: Update release number.
12081
b796c9b7
SM
120822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12085 "in" (bug#9190).
12086
2239d7d5
LMI
120872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
e07dd7c3
LMI
12089 * mail/sendmail.el (sendmail-query-once): Restore the current
12090 buffer after querying (bug#9074).
12091
0e6a2bd7
LMI
12092 * dired.el (dired-flagged): Use different faces for marked and
12093 flagged files (bug#6117).
12094
ce887515
LMI
12095 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12096 (bug#4433).
12097
92f2affc
LMI
12098 * ido.el (ido-mode): Switch off the message if called
12099 non-interactively.
12100
57d5aff0
LMI
12101 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12102 before 587, since it appears that that's more likely to work for
12103 more people.
12104
98cd6c18 12105 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12106 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12107 exist.
12108
b96dec83
LMI
12109 * info.el: Remove the `Info-beginning-of-buffer' function
12110 (bug#8325).
12111
b796c9b7
SM
12112 * net/network-stream.el (network-stream-open-starttls):
12113 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12114
d90e2ea0
MR
121152011-08-01 Martin Rudalics <rudalics@gmx.at>
12116
12117 * window.el (display-buffer-in-window): Don't set dedicated status
12118 of window here (Bug#9215).
12119 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12120 (display-buffer-pop-up-side-window)
b796c9b7 12121 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12122
cca09170
SM
121232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12126 before binding generated-autoload-file.
12127
027b979c
DD
121282011-08-01 Deniz Dogan <deniz@dogan.se>
12129
12130 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12131
3c7ee4f3
MA
121322011-07-30 Michael Albinus <michael.albinus@gmx.de>
12133
12134 Sync with Tramp 2.2.2.
12135
12136 * net/trampver.el: Update release number.
12137
2cc8e51a
JL
121382011-07-30 Juri Linkov <juri@jurta.org>
12139
12140 * dired-aux.el (dired-touch-initial): Remove function.
12141 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12142 current time, and `default' to the last modification time of the
12143 current marked file (bug#6887).
12144
a514d856
JM
121452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12146
12147 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12148 numeric argument to read-number (bug#9163).
a514d856 12149
8a7eddd7
MA
121502011-07-27 Michael Albinus <michael.albinus@gmx.de>
12151
12152 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12153 connection process, it could be nil.
12154
1ddd96f5
LL
121552011-07-27 Leo Liu <sdl.web@gmail.com>
12156
12157 Simplify url handling in rcirc-mode.
12158
12159 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12160 (rcirc-browse-url-at-mouse): Remove.
12161 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12162
b248a85d
AM
121632011-07-26 Alan Mackenzie <acm@muc.de>
12164
12165 Fontify bitfield declarations properly.
12166
12167 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12168 (c-symbol-chars): Now exported as a lang variable.
12169 (c-not-primitive-type-keywords): New lang variable.
12170
12171 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12172 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12173 parsed as a bitfield declaration.
b248a85d 12174
b796c9b7
SM
12175 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12176 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12177 (c-punctuation-in): New function.
12178 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12179 declarations properly.
12180
68575ab0
UJ
121812011-07-26 Ulf Jasper <ulf.jasper@web.de>
12182
12183 * calendar/icalendar.el (icalendar--all-events): Take care of
12184 multiple vcalendars in a single file.
b796c9b7 12185 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12186
0f0a88b9
DD
121872011-07-25 Deniz Dogan <deniz@dogan.se>
12188
12189 * image.el (insert-image): Clarifying docstring.
12190
0b3f36df
MA
121912011-07-24 Michael Albinus <michael.albinus@gmx.de>
12192
12193 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12194 `tramp-send-command-and-check' if there is no error.
12195 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12196
a9901f61
AM
121972011-07-22 Alan Mackenzie <acm@muc.de>
12198
12199 Prevent cc-langs.elc being loaded at run time.
12200
12201 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12202 cc-langs.
12203
4d61f28d 12204 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12205 "(require 'cc-langs)". Quote a form so it will evaluate at
12206 (cc-mode's) compilation time.
12207
11d074b2
MA
122082011-07-22 Michael Albinus <michael.albinus@gmx.de>
12209
12210 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12211 loading. (Bug#9114)
12212
938b94c8
MR
122132011-07-21 Martin Rudalics <rudalics@gmx.at>
12214
12215 * window.el (display-buffer-pop-up-window)
12216 (display-buffer-pop-up-side-window)
12217 (display-buffer-in-side-window): Call display-buffer-set-height
12218 and display-buffer-set-width after setting the new window's
b796c9b7 12219 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12220
bfa4f190
SS
122212011-07-20 Sam Steingold <sds@gnu.org>
12222
12223 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12224 (etags-tags-included-tables): Call `convert-standard-filename' on
12225 the file names contained in TAGS so that windows Emacs can handle
12226 TAGS files created by cygwin ctags.
12227
8ca42262
LMI
122282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12229
12230 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12231 which apparently didn't work.
12232
5db2afd2 122332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12234
5db2afd2
RW
12235 * proced.el (proced-send-signal): For *Marked Processes* buffer
12236 put point at beginning of buffer.
12237
92e15d10
SB
122382011-07-19 Stephen Berman <stephen.berman@gmx.net>
12239
12240 * proced.el (proced-format): Make header lines align with the text
12241 (bug#1779).
12242
1bfd59e5
LMI
122432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12244
12245 * view.el (view-buffer): Allow running in `special' modes if we're
12246 visiting a file (bug#8615).
12247
f5aae37c
MR
122482011-07-19 Martin Rudalics <rudalics@gmx.at>
12249
12250 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12251 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12252 New functions.
f5aae37c
MR
12253 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12254 more accurately.
12255
bf2c1571
AM
122562011-07-18 Alan Mackenzie <acm@muc.de>
12257
12258 Fontify declarators properly when, e.g., a jit-lock chunk begins
12259 inside a declaration.
12260
12261 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12262
b796c9b7
SM
12263 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12264 New function.
bf2c1571
AM
12265 (c-complex-decl-matchers): Insert reference to
12266 c-font-lock-enclosing-decls.
12267
12268 * progmodes/cc-engine.el (c-backward-single-comment):
12269 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12270 to nil around calls to (forward-comment -1).
12271
4e190b80
LMI
122722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12273
12dc863d
LMI
12274 * image.el (put-image): Doc typo fix.
12275
a762e966
LMI
12276 * progmodes/etags.el (tags-search): Doc typo fix.
12277
4e190b80
LMI
12278 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12279 password if we get errors 550 to 554.
12280
f019fb21
LMI
122812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282
b796c9b7 12283 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12284
81746738
LMI
12285 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12286 indentation character (bug#6380).
12287
3ee3a1b5
LMI
12288 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12289
c82f64de
LMI
12290 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12291 to clarify what the problem is (bug#4291).
12292
f019fb21
LMI
12293 * simple.el (current-kill): Clarify what
12294 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12295 (auto-fill-mode): Document `auto-fill-function' in relation to
12296 `auto-fill-mode' (bug#2470).
f019fb21 12297
0794775d
LM
122982011-07-16 Lawrence Mitchell <wence@gmx.li>
12299
12300 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12301 method if slot is read-only (bug#9035).
12302
be39b8cc
MR
123032011-07-16 Martin Rudalics <rudalics@gmx.at>
12304
b796c9b7 12305 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12306 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12307 selected before, see discussion of (Bug#8615), (Bug#6954).
12308 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12309
6ccf7859
GM
123102011-07-15 Glenn Morris <rgm@gnu.org>
12311
12312 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12313 Respect help-form.
6ccf7859 12314
87e86684
LM
123152011-07-09 Lawrence Mitchell <wence@gmx.li>
12316
12317 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12318 (gnutls-negotiate): Use it.
12319
d6066239
LMI
123202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12321
b796c9b7
SM
12322 * net/gnutls.el (gnutls-negotiate):
12323 Upcase `gnutls-algorithm-priority'.
d6066239 12324
bd23ebc0
GM
123252011-07-15 Glenn Morris <rgm@gnu.org>
12326
c65bca65
GM
12327 * jka-compr.el (jka-compr-verbose): Move from here...
12328 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12329 Add missing :version tag.
12330 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12331
478615cc
LMI
123322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12333
7b41decb
LMI
12334 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12335 (gnutls-negotiate): Use it.
12336
dbc44fcd
LMI
12337 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12338
06789f97
LMI
12339 * info.el (Info-beginning-of-buffer): New command.
12340 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12341 announcing `b' as the key (bug#8325).
ab896c37 12342 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12343
c39da690
LMI
12344 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12345
3aa5f34b
LMI
12346 * international/mule-cmds.el
12347 (describe-specified-language-support): Make the error message
12348 clearer (bug#8905).
12349
4bf0979f
LMI
12350 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12351
478615cc
LMI
12352 * isearch.el (isearch-barrier): Add a doc string, since it's
12353 mentioned in a function doc string (bug#8678).
12354
75c68aa1
MR
123552011-07-15 Martin Rudalics <rudalics@gmx.at>
12356
12357 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12358 buffer argument (Bug#9083) and self-identifying label argument.
12359
a7c33da2
GM
123602011-07-15 Glenn Morris <rgm@gnu.org>
12361
12362 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12363
2f5c6024
LMI
123642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12365
12366 * man.el (Man-fontify-manpage): Fix message when formatting the
12367 man page (bug#7929).
12368
0bb23927 123692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12370
12371 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12372 argument LRM; if non-nil, append an invisible LRM character to the
12373 buffer name.
12374 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12375 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12376 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12377 paragraph direction.
cce4b0a7 12378
621ef9ab
LMI
123792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12380
d1583c48
LMI
12381 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12382 the man page name (bug#7929).
12383
6a57fb5f
LMI
12384 * image.el (put-image): Mention the `put-image' overlay property
12385 (bug#7834).
12386
d7956b14
LMI
12387 * scroll-bar.el (set-scroll-bar-mode): Mention that
12388 `scroll-bar-mode' lists the values (bug#7772).
12389
5b2d4a66
LMI
12390 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12391 command (bug#7729).
12392
7509a874
LMI
12393 * rect.el (apply-on-rectangle): Return the point after the last
12394 operation.
12395 (string-rectangle): Go to the point after the last operation
12396 (bug#7522).
12397
4fe74b19
LMI
12398 * printing.el (pr-toggle-region): Clarify the documentation
12399 slightly (bug#7493).
12400
b796c9b7
SM
12401 * time.el (display-time-update):
12402 Allow `display-time-mail-function' to return nil (bug#7158).
12403 Fix suggested by Detlev Zundel.
ab283561 12404
fc233c9d
LMI
12405 * vc/diff.el (diff): Clarify the order the file names are read
12406 (bug#7111).
12407
43f5740b
LMI
12408 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12409 the doc string (bug#7015).
12410
f2182a76
LMI
12411 * font-lock.el (font-lock-maximum-decoration): Mention what
12412 numeric levels mean (bug#6935).
12413
621ef9ab
LMI
12414 * startup.el (initial-buffer-choice): Don't mention the `none'
12415 selection, which is against policy.
12416
adc47434
MR
124172011-07-14 Martin Rudalics <rudalics@gmx.at>
12418
b796c9b7
SM
12419 * window.el (display-buffer-normalize-special):
12420 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12421
7e5bfb8f
EZ
124222011-07-14 Eli Zaretskii <eliz@gnu.org>
12423
12424 * subr.el (version<, version<=, version=): Mention "-CVS" and
12425 "-12345" alpha version numbers.
12426
27fa387a
CY
124272011-07-14 Chong Yidong <cyd@stupidchicken.com>
12428
12429 * bindings.el: Add advertised binding for set-mark-command
12430 (Bug#5772).
12431
8bdfa064
CY
124322011-07-14 Chong Yidong <cyd@stupidchicken.com>
12433
12434 * bindings.el (mode-line-other-buffer):
12435 * bookmark.el (bookmark-bmenu-2-window):
12436 * bs.el (bs-cycle-next, bs-cycle-previous):
12437 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12438 switch-to-buffer.
12439
12440 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12441 Delete.
8bdfa064 12442
5eba16a3
JB
124432011-07-14 Juanma Barranquero <lekktu@gmail.com>
12444
12445 * follow.el (follow-debug-message, follow-redisplay):
12446 * jka-cmpr-hook.el (with-auto-compression-mode):
12447 Fix typos in docstrings.
12448
15853710
LMI
124492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12450
a28e4607
LMI
12451 * subr.el (with-silent-modifications): Clarify somewhat what the
12452 macro inhibits (bug#6525).
12453
15853710
LMI
12454 * simple.el (eval-expression): Note what it does if called
12455 interactively (bug#6495).
12456
bee0fcef
CY
124572011-07-13 Chong Yidong <cyd@stupidchicken.com>
12458
b796c9b7
SM
12459 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12460 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12461
12462 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12463 Remove switch-to-buffer.
12464
58274504
LMI
124652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12466
bd2fcc8d
LMI
12467 * files.el (make-directory): Clarify that an error will be raised
12468 if there's an error (bug#6397).
12469
0f04b32c
LMI
12470 * startup.el (initial-buffer-choice): Add `none' as a choice
12471 (bug#6234).
12472
465c5fc8
LMI
12473 * subr.el (add-hook): Clarify section about buffer-local hooks
12474 (bug#6218).
12475
58274504
LMI
12476 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12477
bead9a43
JB
124782011-07-13 Juanma Barranquero <lekktu@gmail.com>
12479
12480 * tabify.el (untabify): Preserve the current column so that point
12481 doesn't move (bug#6032).
12482
3af98a7b
LMI
124832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12484
b796c9b7
SM
12485 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12486 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12487
6240145a
GM
124882011-07-13 Glenn Morris <rgm@gnu.org>
12489
12490 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12491 (dired-insert-directory): Give a message the first time
12492 if ls is found not to support --dired.
12493
1d8c2ccc
LMI
124942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12495
12496 * simple.el (toggle-truncate-lines): Clarify what is toggled
12497 (bug#5580). Text by Drew Adams.
12498
5fc4038e
CY
124992011-07-13 Chong Yidong <cyd@stupidchicken.com>
12500
12501 * simple.el (blink-matching-open): Make the error message from the
12502 last change less verbose.
12503
bf6012e5
DN
125042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12505
12506 * font-lock.el (font-lock-comment-face): Use the high contrast
12507 "yellow" color for font-lock-comment-face on low color terminals
12508 using a dark background color (bug#4221).
12509
343c3b5a
LMI
125102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511
7e9505c5
LMI
12512 * dired.el (dired-insert-set-properties): Make the doc string
12513 reflect what it does now (bug#5325).
12514
c26fdcf5
LMI
12515 * simple.el (blink-matching-open): Say that we were unable to find
12516 the match within the limit, if we're limited (bug#5122).
12517
bb388cc5
LMI
12518 * international/mule-cmds.el (prefer-coding-system): Add an
12519 example (bug#4869).
12520
343c3b5a
LMI
12521 * progmodes/etags.el (tags-search): Document `file-list-form'
12522 (bug#4731).
12523
2a517d45
LM
125242011-07-13 Lawrence Mitchell <wence@gmx.li>
12525
12526 * net/browse-url.el (browse-url-default-browser)
12527 (browse-url-browser-function): Make the default browser choice a
12528 bit more logical (bug#4300). Also clean up the doc string.
12529
b6c78ef2
JB
125302011-07-13 Juanma Barranquero <lekktu@gmail.com>
12531
12532 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12533 binary endings (bug#4440).
12534
1c4dd947
LMI
125352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12536
a2014063
LMI
12537 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12538 which can be pretty annoying (bug#8971).
12539
9c9c2d88
LMI
12540 * jka-compr.el (jka-compr-verbose): New variable, and use
12541 throughout (bug#8971).
12542
1c4dd947
LMI
12543 * info.el (Info-find-file): Fall back on the installation
12544 directory if we can't find the info node anywhere else.
12545
a1c9f41b
SO
125462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12547
12548 * vc/vc.el (vc-revert-file):
12549 Don't set file time-stamp in the past. (Bug#5181)
12550
536f3d36
LMI
125512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552
7152b011
LMI
12553 * files.el (after-find-file): Give a better error message when
12554 trying to find a symlink that points to a file that doesn't exist
12555 (bug#4398).
12556
536f3d36
LMI
12557 * progmodes/cc-vars.el: Remove (probably) misleading comment
12558 (bug#4396).
12559
460c0fba
JB
125602011-07-12 Johan Bockgård <bojohan@gnu.org>
12561
12562 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12563
7a6bda45
CY
125642011-07-12 Chong Yidong <cyd@stupidchicken.com>
12565
12566 * mouse-sel.el: Hack restoring functionality, while keeping
12567 compatibility with 2010-07-03 changes to mouse selection.
12568 (mouse-sel-primary-overlay): New var.
12569 (mouse-sel-selection-alist): Use it.
12570 (mouse-sel-mode): Doc fix; remove points that are default features
12571 of mouse.el.
12572
c79598ef
JB
125732011-07-12 Johan Bockgård <bojohan@gnu.org>
12574
12575 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12576 Fix previous fix (bug#2490).
12577
ff8be6ef
RW
125782011-07-12 Roland Winkler <winkler@gnu.org>
12579
b796c9b7
SM
12580 * textmodes/bibtex.el (bibtex-initialize):
12581 Use pop-to-buffer-same-window.
ff8be6ef
RW
12582 (bibtex-search-entries): Fix interactive call.
12583
296ba3ee
LMI
125842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12585
f5242a02 12586 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12587 Fontise bytecomp Error lines more correctly (bug#2490).
12588 Fix suggested by Johan Bockgård.
f5242a02 12589
296ba3ee
LMI
12590 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12591
12592 * dired-x.el (dired-guess-default): Use `delete-dups'.
12593
f69fd0d2
CY
125942011-07-12 Chong Yidong <cyd@stupidchicken.com>
12595
12596 * dired.el (dired-mark-prompt):
12597 * dired-aux.el (dired-read-shell-command): Doc fix.
12598
eab5dc07
LMI
125992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12600
b796c9b7
SM
12601 * mail/sendmail.el (sendmail-query-once):
12602 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12603 emacs -Q.
12604
12605 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12606
eab5dc07
LMI
12607 * cus-edit.el (custom-file): Take an optional no-error variable.
12608 (customize-save-variable): Set the variable, and give a warning if
12609 running under "emacs -q".
12610
a1e65d42
JB
126112011-07-11 Juanma Barranquero <lekktu@gmail.com>
12612
12613 * loadhist.el (unload-feature-special-hooks):
12614 Add `auto-coding-functions', `fill-nobreak-predicate' and
12615 `find-directory-functions' (bug#5327).
12616
1d52da10
LMI
126172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12618
be958f1d
LMI
12619 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12620
5bedb26c
LMI
12621 * cus-edit.el (custom-guess-name-alist): -alist variables should
12622 use the `alist' type (bug#3120). Suggested by Drew Adams.
12623
1d52da10
LMI
12624 * printing.el: Add documentation to all the `pr-toggle-' commands.
12625
cd394be1 126262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12627
12628 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12629 backends where it makes sense (bug#2623).
12630
dcc88d8a
LMI
126312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12632
c3de9feb
LMI
12633 * dired-x.el (dired-guess-default): Remove duplicate shell command
12634 entries (bug#2028).
8a93078b 12635 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12636 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12637
dcc88d8a
LMI
12638 * subr.el (remove-duplicates): New conveniency function.
12639
505e3645
LMI
126402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12641
12642 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12643 (bug#1526).
12644
126452011-07-10 Martin Rudalics <rudalics@gmx.at>
12646
12647 * window.el (display-buffer-normalize-default): Don't invert
12648 meaning of even-window-heights. Reported by Eli Zaretskii
12649 <eliz@gnu.org>.
12650
455e4fa1
BR
126512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12652
12653 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12654
8e0bc3e9
CY
126552011-07-10 Chong Yidong <cyd@stupidchicken.com>
12656
12657 * window.el (display-buffer): Fix arguments to
12658 display-buffer-reuse-window in last change.
12659
fa7c3228
CY
12660 * faces.el (link): Use a less saturated blue on light backgrounds.
12661
12662 * startup.el (fancy-startup-text, fancy-about-text)
12663 (fancy-startup-tail): Use font-lock faces, for background safety.
12664
c0a7f300
BN
126652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12666
b796c9b7
SM
12667 * emulation/viper-cmd.el (viper-change-state-to-vi):
12668 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12669
4dc2a129
MR
126702011-07-09 Martin Rudalics <rudalics@gmx.at>
12671
12672 * window.el (display-buffer-default-specifiers): Remove.
12673 (display-buffer-macro-specifiers): Remove default specifiers.
12674 (display-buffer-alist): Default to nil.
b796c9b7 12675 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12676 (display-buffer-pop-up-window): Allow splitting internal
12677 windows. Check whether a live window was created.
12678 (display-buffer-other-window-means-other-frame)
12679 (display-buffer-normalize-arguments): Rename to
12680 display-buffer-normalize-argument and rewrite. Set the
12681 other-window specifier.
12682 (display-buffer-normalize-special): New function.
12683 (display-buffer-normalize-options): Rename to
12684 display-buffer-normalize-default and rewrite.
12685 (display-buffer-normalize-options-inhibit): Remove.
12686 (display-buffer-normalize-specifiers): Rewrite.
12687 (display-buffer): Process other-window specifier and call
12688 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12689 more faithfully.
b796c9b7 12690 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12691 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12692 (display-buffer-in-window, display-buffer-alist-set):
12693 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12694 <tassilo@member.fsf.org>.
12695
2d43b8c9
LL
126962011-07-09 Leo Liu <sdl.web@gmail.com>
12697
12698 * register.el (insert-register): Restore accidental change on
12699 2011-06-26. (Bug#9028)
12700
7f9b7c53
GM
127012011-07-09 Glenn Morris <rgm@gnu.org>
12702
12703 * subr.el (remq): Handle the empty list. (Bug#9024)
12704
f042cfd8
AS
127052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12706
12707 * mail/sendmail.el (send-mail-function): No longer delay custom
12708 initialization.
12709 * custom.el (custom-initialize-delay): Doc fix.
12710
856b2f11
SM
127112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12714
afae1d68
MA
127152011-07-08 Michael Albinus <michael.albinus@gmx.de>
12716
12717 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12718 human-friendly prompt.
12719
0757af94
SM
127202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12723 provided by a particular plugin.
12724
d760b731
LMI
127252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
12727 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12728 save customizations (with "emacs -Q"), just set the variable
12729 instead of erroring out.
12730
12731 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12732
cd79ce90
JL
127332011-07-08 Juri Linkov <juri@jurta.org>
12734
12735 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12736 (archive-zip-update-case): Use 7z if found by `executable-find'.
12737 The order of searching the available programs is the same as in
12738 `archive-zip-extract' (bug#8968).
12739
14cc04aa
CY
127402011-07-07 Chong Yidong <cyd@stupidchicken.com>
12741
12742 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12743 (menu-bar-options-menu): Tweak descriptions.
12744
0a1848ec
LMI
127452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12746
12747 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12748 menu items into verb phrases (bug#1421). Also refill to fit under
12749 80 columns.
12750
f5bd0689
CY
127512011-07-07 Chong Yidong <cyd@stupidchicken.com>
12752
538e85c6
CY
12753 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12754 (Info-read-node-name): Doc fix (Bug#1084).
12755
f5bd0689
CY
12756 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12757 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12758 (end-of-sexp, beginning-of-sexp)
12759 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12760 (forward-symbol, forward-same-syntax, word-at-point)
12761 (sentence-at-point): Doc fix (Bug#1144).
12762
56ec5115
LMI
127632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12764
f3f8e37f
LMI
12765 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12766 should cover it (bug#1281).
12767
0757af94 12768 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12769
e9fce1ac 12770 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12771 negotiation fails, then possibly try again with a non-encrypted
12772 connection (bug#9017).
12773
56ec5115
LMI
12774 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12775 be used.
12776
c2f9aec8
RS
127772011-07-07 Richard Stallman <rms@gnu.org>
12778
12779 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12780 property, and handle its changed format.
12781 Look for the correct line number.
12782 Use file's line contents (but not past first =) to find
12783 correct line in message.
12784
ef7b981d 127852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12786
12787 * international/characters.el (build-unicode-category-table):
12788 Delete it.
0757af94 12789 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12790
0757af94 12791 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12792 to src/chartab.c.
12793 (get-char-code-property): Call unicode-property-table-internal to
12794 load a file. Call get-unicode-property-internal where necessary.
12795 (put-char-code-property): Call unicode-property-table-internal to
12796 load a file. Call put-unicode-property-internal where necessary.
12797 put-unicode-property-internal where necessary.
0757af94
SM
12798 (char-code-property-description):
12799 Call unicode-property-table-internal to load a file.
c805dec0
KH
12800
12801 * international/charprop.el:
12802 * international/uni-bidi.el:
12803 * international/uni-category.el:
12804 * international/uni-combining.el:
12805 * international/uni-comment.el:
12806 * international/uni-decimal.el:
12807 * international/uni-decomposition.el:
12808 * international/uni-digit.el:
12809 * international/uni-lowercase.el:
12810 * international/uni-mirrored.el:
12811 * international/uni-name.el:
12812 * international/uni-numeric.el:
12813 * international/uni-old-name.el:
12814 * international/uni-titlecase.el:
12815 * international/uni-uppercase.el: Regenerate.
12816
12817 * loadup.el: Load international/charprop.el before
12818 international/characters.
12819
e14b388a
CY
128202011-07-07 Chong Yidong <cyd@stupidchicken.com>
12821
12822 * window.el (next-buffer, previous-buffer): Signal an error if
12823 called from a minibuffer window.
12824
12825 * bindings.el: Revert 2011-07-04 change.
12826
354cf0ba
RS
128272011-07-06 Richard Stallman <rms@gnu.org>
12828
12829 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12830 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12831 Treat markers like ints.
12832 (rmail-mime-entity): Doc fix.
12833
a48868a7
LMI
128342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12835
4906cd3d
LMI
12836 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12837 defcustom again for backwards compatibility.
12838
e0457abe
LMI
12839 * simple.el (shell-command-on-region): Fill.
12840
d67f7e1f
LMI
12841 * dired-aux.el (dired-kill-line): Add a doc string.
12842
fe204702
LMI
12843 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12844 to "\\sw\\|\\s_" (bug#358).
12845
a48868a7
LMI
12846 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12847 (dired-unmark-backward): Ditto.
12848 (dired-flag-backup-files): Ditto.
12849
12850 * dired-x.el (dired-mark-sexp): Ditto.
12851
aa8a705c
RS
128522011-07-06 Richard Stallman <rms@gnu.org>
12853
12854 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12855 (rmail-mime-entity): New arg TRUNCATED.
12856 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12857 New functions.
12858 (rmail-mime-save): Warn if entity is truncated.
12859 (rmail-mime-toggle-hidden): Likewise, for showing.
12860 (rmail-mime-process-multipart): Record when an entity is truncated.
12861
a9a936b9
RS
12862 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12863 if ENTITY is a string.
12864
1f2b92cb
LMI
128652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12866
f4f73198 12867 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12868 of faces when `M-C-x'-ing their definitions (bug#8378).
12869 Also clean up the code slightly.
f4f73198 12870
12b16734 12871 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12872 because that makes the colors go away.
12b16734 12873
f0691d22
LMI
12874 * mail/sendmail.el (send-mail-function): Change the default to
12875 `sendmail-query-once'.
9e87df06 12876 (sendmail-query-once): Add an autoload cookie.
f0691d22 12877
1f2b92cb
LMI
12878 * net/network-stream.el (network-stream-open-starttls): Try using
12879 a plain connection even if the server offered STARTTLS, and we
12880 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12881 capability. This should make smtpmail.el work in slightly more
12882 configurations.
12883
1cdd2a1b
MA
128842011-07-06 Michael Albinus <michael.albinus@gmx.de>
12885
12886 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12887 New defun.
12888 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12889
fbcc67e2
MM
128902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12891
12892 * progmodes/sql.el: Version 3.0
0757af94 12893 (sql-product-alist): Add product :completion-object,
fbcc67e2 12894 :completion-column, and :statement attributes.
0757af94 12895 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12896 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12897 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12898 ansi keywords.
12899 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12900 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12901 (sql-oracle-show-reserved-words): New function for development.
12902 (sql-product-font-lock): Simplify for source code buffers.
12903 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12904 New functions.
12905 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12906 (sql-mode-map): Add statement movement functions.
12907 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12908 New variable.
fbcc67e2
MM
12909 (sql-statement-regexp, sql-beginning-of-statement)
12910 (sql-end-of-statement, sql-signum): New functions.
0757af94 12911 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12912 (sql-show-sqli-buffer): Bug fix.
12913 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12914 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12915 with sql-interactive-mode.
12916 (sql-save-connection): Save buffer local settings.
0757af94 12917 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12918 (sql-product-interactive): Bug fix.
12919 (sql-preoutput-hold): New variable.
12920 (sql-interactive-remove-continuation-prompt): Bug fixes.
12921 (sql-debug-redirect): New variable.
12922 (sql-str-literal): New function.
12923 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12924 Redesign.
fbcc67e2
MM
12925 (sql-oracle-save-settings, sql-oracle-restore-settings)
12926 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12927 (sql-completion-object, sql-completion-column)
12928 (sql-completion-sqlbuf): New variables.
12929 (sql-build-completions-1, sql-build-completions)
12930 (sql-try-completion): New functions.
12931 (sql-read-table-name): Use them.
12932 (sql-contains-names): New buffer local variable.
12933 (sql-list-all, sql-list-table): Use it.
12934 (sql-oracle-completion-types): New variable.
12935 (sql-oracle-completion-object, sql-sqlite-completion-object)
12936 (sql-postgres-completion-object): New functions.
12937
d4eaeab1
GM
129382011-07-06 Glenn Morris <rgm@gnu.org>
12939
12940 * window.el (pop-to-buffer): Doc fix.
12941
322b7dab 129422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12943
12944 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12945
322b7dab 129462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12947
322b7dab 12948 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12949
322b7dab 12950 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12951
605dd5bf
CY
129522011-07-05 Chong Yidong <cyd@stupidchicken.com>
12953
12954 * button.el (button): Inherit from link face. Suggested by Dan
12955 Nicolaescu.
12956
7dbfa719
SM
129572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12958
3db614b0
SM
12959 * progmodes/gdb-mi.el: Fit in 80 columns.
12960 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12961 switch-to-buffer.
12962
7dbfa719
SM
12963 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12964 if imenu is simply not configured (bug#8941).
12965
919d884a
KM
129662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12967
12968 * allout.el (allout-post-undo-hook): New allout outline-change
12969 event hook to signal undo activity.
12970 (allout-post-command-business): Run allout-post-undo-hook if an
12971 undo just occurred.
7dbfa719
SM
12972 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12973 * allout-widgets.el (allout-widgets-after-undo-function):
12974 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12975 in the vicinity of an undo.
12976 (allout-widgets-mode): Include allout-widgets-after-undo-function
12977 on the new allout-post-undo-hook.
12978
450a0f09
SM
129792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12980
12981 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12982 Let define-derived-mode define it.
12983 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12984 cycles of abbrev-table inheritance (bug#8998).
12985
2de69e00
RW
129862011-07-05 Roland Winkler <winkler@gnu.org>
12987
12988 * textmodes/bibtex.el: Add support for biblatex.
12989 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12990 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12991 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12992 (bibtex-entry-alist, bibtex-field-alist): New variables.
12993 (bibtex-entry-field-alist): Obsolete alias for
12994 bibtex-BibTeX-entry-alist.
12995 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12996 (bibtex-set-dialect): New command.
12997 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12998 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12999 Bind via bibtex-set-dialect.
2de69e00
RW
13000 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13001 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13002 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13003 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13004 Define via bibtex-set-dialect.
450a0f09
SM
13005 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13006 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13007 (bibtex-vec-push, bibtex-vec-incr): New functions.
13008 (bibtex-format-entry, bibtex-field-list)
13009 (bibtex-print-help-message, bibtex-validate)
13010 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13011
2dcdbdd9
SM
130122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * progmodes/compile.el (compilation-goto-locus):
13015 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13016 * bs.el (bs-cycle-next, bs-cycle-previous):
13017 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13018 * bindings.el (mode-line-other-buffer):
13019 * autoinsert.el (auto-insert):
13020 * arc-mode.el (archive-extract):
13021 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13022
b27640fe
JB
130232011-07-05 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13026 Fix check of `emacs-lock-unlockable-modes'.
13027 Coerce true values of `emacs-lock--try-unlocking' to t.
13028
53bbe3ad
JB
130292011-07-05 Juanma Barranquero <lekktu@gmail.com>
13030
13031 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13032 * emacs-lock.el: New file.
13033
1d3cdbc7
JD
130342011-07-05 Julien Danjou <julien@danjou.info>
13035
13036 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13037 than `boundp' to check if face is set.
13038
9173deec
JB
130392011-07-05 Juanma Barranquero <lekktu@gmail.com>
13040
13041 * register.el (registerv-make):
13042 * window.el (window-min-height): Fix typos in docstrings.
13043
869795d6
JD
130442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13045
9173deec 13046 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13047 Update doc string.
13048
b768cdcd
JB
130492011-07-04 Juanma Barranquero <lekktu@gmail.com>
13050
13051 * server.el (server-execute): Catch quit and call
13052 `server-return-error' to pass the error back to emacsclient and
13053 close the connection (bug#8942).
13054
13aa217b
KM
130552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13056
13057 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13058 insecure exception for current topic. Also note that auto-saves
13059 are handled differently.
13060
5d3385a0 13061 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13062 State variables for tracking auto-save inhibition situation.
13063
13064 (allout-write-contents-hook-handler): Rename from
13065 'allout-write-file-hook-handler', and describe how it depends on
13066 write-contents-functions sensitivity to non-nil value to prevent
13067 file write.
13068
13069 (allout-auto-save-hook-handler): Remove. auto-save does not check
13070 this in individual buffers, only in the starting buffer, so this
13071 is not the right way for us to inhibit auto-save in a buffer
13072 according to its condition.
13073
13074 (allout-mode): Use new allout-write-contents-hook-handler, and
13075 only with write-contents-functions. Remove auto-save provisions -
13076 they're implemented elsewhere.
13077
13078 (allout-before-change-handler): If undo is in progress, note that
13079 for attention of allout-post-command-business.
13080
13081 (allout-post-command-business): If the command we're following was
13082 an undo, check for change in the status of encrypted items and
13083 adjust auto-save inhibitions accordingly.
13084
13085 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13086 according to whether there are or aren't any plain-text topics
13087 pending encryption.
13088
2dcdbdd9 13089 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13090 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13091 if there are plain-text topics pending encryption.
13aa217b
KM
13092
13093 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13094 buffer-saved-size and some allout state to not inhibit auto-saves
13095 if there are no longer any plain-text topics pending encryption.
13096
0757af94
SM
13097 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13098 No longer provide for exemption of the current topic.
13aa217b 13099
ac89b32c
JL
131002011-07-04 Juri Linkov <juri@jurta.org>
13101
13102 Add 7z operations to delete and save changed members (bug#8968).
13103 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13104 New defcustoms.
13105 (archive-7z-write-file-member): New function.
13106 (archive-7z-summarize): Fix the number of dashes in the
13107 listing output.
13108
8fa39615
SM
131092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13110
13111 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13112 (bug#8958).
13113
2f11b3f1
CY
131142011-07-04 Chong Yidong <cyd@stupidchicken.com>
13115
d66fef2b
CY
13116 * bindings.el: Ignore next-buffer and previous-buffer in
13117 minibuffer-local-map.
13118
2f11b3f1
CY
13119 * font-lock.el (font-lock-builtin-face): Change light background
13120 color to dark slate blue (Bug#6693).
13121
f932a347
WD
131222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13123
13124 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13125
c8af70e1
SM
131262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13129 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13130 Add switch-to-buffer.
13131
f158badc
LMI
131322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13133
13134 * isearch.el (isearch-search-fun-function): Clarify further the
13135 meaning of the function returned.
13136
6d95bd46
MA
131372011-07-04 Michael Albinus <michael.albinus@gmx.de>
13138
13139 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13140
13141 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13142 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13143 Use it.
13144 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13145 `tramp-default-remote-path' does not exist.
13146 (tramp-send-command-and-read): New optional argument NOERROR.
13147 (tramp-open-connection-setup-interactive-shell)
13148 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13149 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13150 (tramp-process-sentinel): Flush also process' connection property.
13151 (tramp-sh-handle-start-file-process): Do not set process
13152 sentinel. It is done now ...
13153 (tramp-maybe-open-connection): ... here. (Bug#8929)
13154
909e6b67
MK
131552011-07-04 MON KEY <monkey@sandpframing.com>
13156
13157 * play/animate.el (animate-string): Doc fixes and allow changing
13158 the buffer name (bug#5417).
13159
131602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13161
c8af70e1 13162 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13163
f34755dc
PE
131642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13165
396cec72
PE
13166 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13167 This is simpler and helps future-proof the code.
13168 (timer-until): Use time-subtract and float-time.
08235028 13169 (timer--time-less-p): Use time-less-p.
f34755dc 13170
56e6cc31
JB
131712011-07-04 Juanma Barranquero <lekktu@gmail.com>
13172
3abb79e5
JB
13173 * type-break.el (timep): Use the value of `float-time' to avoid a
13174 byte-compiler warning.
13175
56e6cc31
JB
13176 * server.el (server-eval-and-print): Return any result, even nil.
13177
7b9430b4
PE
131782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13179
13180 * type-break.el: Accept time formats that the builtins accept.
13181 (timep, type-break-time-difference): Accept any format that
13182 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13183 This is simpler and helps future-proof the code.
13184 (type-break-time-difference): Round rather than ignoring
13185 subseconds components.
13186
3034e9e7
LMI
131872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13188
13189 * info.el (Info-apropos-matches): Make non-interactive, since it
13190 doesn't seem to do anything useful as a command (bug#8829).
13191
1485f4c0
CY
131922011-07-03 Chong Yidong <cyd@stupidchicken.com>
13193
13194 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13195 Move from faces.el.
1485f4c0
CY
13196 (frame-default-terminal-background): New function.
13197
13198 * custom.el (custom-push-theme): Don't record faces in `changed'
13199 theme; this doesn't work correctly for per-frame face settings.
13200 (disable-theme): Use face-set-after-frame-default to reset faces.
13201 (custom--frame-color-default): New function.
13202
9fa3dd45
LMI
132032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13204
c8af70e1 13205 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13206 (bug#8769).
13207
6cbbc20c
KR
132082011-03-29 Kevin Ryde <user42@zip.com.au>
13209
13210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13211 `perl-Test2' extend to match possible "fail #N" rep count
13212 (bug#8377).
13213
c7f98048
LMI
132142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13215
65676592
LMI
13216 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13217 `smtpmail-via-smtp' now returns the error instead of nil.
13218
c7f98048
LMI
13219 * isearch.el (isearch-search-fun-function): Clarify the doc string
13220 (bug#8101).
13221
56e6cc31 132222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13223
13224 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13225 unnecessary spaces (bug#8987).
13226
2b216704
LMI
132272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
13229 * net/network-stream.el (open-network-stream): Use the
13230 :end-of-capability command thoughout.
13231
132322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13233
13234 * net/network-stream.el (open-network-stream): Add the
13235 :end-of-capability command parameter, used by pop3.el.
13236
36adf6ce
LMI
132372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13238
1ca0da0e
LMI
13239 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13240
fc00f69c
LMI
13241 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13242 for list)" (bug#6475).
13243
28fd8759 13244 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13245 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13246 an error (bug#6297).
13247
0dd8b6da
LMI
13248 * man.el (Man-reference-regexp): Allow matching possible
13249 word-wrapped references (bug#6289).
13250
ce1438d6
LMI
13251 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13252 for consistency with the other vc buffers (bug#6197).
13253 (vc-checkin): Ditto.
13254
13255 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13256
36adf6ce
LMI
13257 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13258
e83cc1f7
LMI
132592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13260
8a20ca4c
LMI
13261 * custom.el (defcustom): Clarify that :set is only used in the
13262 Customize user interface (bug#6089).
13263
83319045
LMI
13264 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13265 associated with a file, refuse to run instead of erroring out
13266 (bug#6084).
13267
a8392169
LMI
13268 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13269 the doc string, since it appears that using `fill-column' always
13270 controls the width (bug#7845).
13271
e83cc1f7
LMI
13272 * simple.el (shell-command-on-region): Say where the error output
13273 went if `shell-command-default-error-buffer' is set (bug#6857).
13274
e47ca23b
KM
132752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13276
13277 * allout.el (allout-yank-processing): Adjust cursor position for
13278 backwards-deleted space.
13279
13280 (allout-rebullet-heading): Register changes with
13281 allout-exposure-changed-hook, so the modified topic is properly
13282 decorated.
13283
5cf56143
LMI
132842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13285
08549772
LMI
13286 * minibuffer.el (completion-in-region): Document PREDICATE
13287 (bug#7136).
13288
48e96771
LMI
13289 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13290 of keyword/argument pairs (bug#6904).
13291
c8af70e1
SM
13292 * replace.el (multi-occur):
13293 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13294
e17d05e2
LMI
132952011-07-02 Drew Adams <drew.adams@oracle.com>
13296
13297 * dired.el (dired-mark-if): Make the message about whether it's
13298 marking or unmarking clearer (bug#8523).
13299
063b0e45
LMI
133002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13301
13302 * disp-table.el (display-table-print-array): New function.
13303 (describe-display-table): Use it to print the vectors more pretty
13304 (Bug#8859).
13305
28545e04
MR
133062011-07-02 Martin Rudalics <rudalics@gmx.at>
13307
13308 * window.el (window-state-get-1): Don't assign clone numbers.
13309 Add clone-of item to list of window parameters.
13310 (window-state-put-2): Don't process clone numbers.
13311 (display-buffer-alist): Fix doc-string.
13312
3349e122
SM
133132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * subr.el (remq): Don't allocate if it's not needed.
13316 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13317 (keymap--merge-bindings): New functions.
13318 (keymap-canonicalize): Use them to refine the canonicalization.
13319 * minibuffer.el (minibuffer-local-completion-map)
13320 (minibuffer-local-must-match-map): Move initialization from C.
13321 (minibuffer-local-filename-completion-map): Move initialization from C;
13322 don't inherit from anything here.
13323 (minibuffer-local-filename-must-match-map): Make obsolete.
13324 (completing-read-default): Use make-composed-keymap to combine
13325 minibuffer-local-filename-completion-map with either
13326 minibuffer-local-must-match-map or
13327 minibuffer-local-filename-completion-map.
13328
d224ac83
GM
133292011-07-01 Glenn Morris <rgm@gnu.org>
13330
3de63bf8
GM
13331 * type-break.el (type-break-time-sum): Use dolist.
13332
d224ac83
GM
13333 * textmodes/flyspell.el (flyspell-word-search-backward):
13334 Replace CL function.
13335
1a1e3f32
SM
133362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13337
fe3f64d5
SM
13338 * mouse.el (mouse--strip-first-event): New function.
13339 (function-key-map): Use it to map fringe clicks to normal clicks
13340 by default.
13341
eb604e34
SM
13342 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13343 (vc-bzr-revision-completion-table): Add support for annotate and date.
13344
1a1e3f32
SM
13345 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13346 inherit from parent.
13347
5bd35902
LMI
133482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
ace6c69c 13350 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13351 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13352
191e2bed
LMI
13353 * dired.el (dired-mode): Fix up the doc string as suggested by
13354 Drew Adams (bug#8817).
13355
5bd35902
LMI
13356 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13357 cookie, since the manual says that it should be possible to add
13358 this function to `find-file-hook' (bug#8709).
13359
eee8207a
TZ
133602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13361
13362 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13363 here. Noted Ted Zlatanov as the maintainer.
13364 (cfengine-common-settings, cfengine-common-syntax): New functions
13365 to set up common things between `cfengine-mode' and
13366 `cfengine3-mode'.
13367 (cfengine3-mode): New mode.
13368 (cfengine3-defuns cfengine3-defuns-regex
13369 (cfengine3-class-selector-regex cfengine3-category-regex)
13370 (cfengine3-vartypes cfengine3-font-lock-keywords)
13371 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13372 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13373
36b148cf
MA
133742011-07-01 Michael Albinus <michael.albinus@gmx.de>
13375
13376 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13377
13378 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13379
0bf4ba9a
MR
133802011-07-01 Martin Rudalics <rudalics@gmx.at>
13381
13382 * window.el (same-window-buffer-names, same-window-regexps)
13383 (same-window-p, special-display-frame-alist)
13384 (special-display-popup-frame, special-display-function)
13385 (special-display-buffer-names, special-display-regexps)
13386 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13387 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13388 (split-window-preferred-function, split-height-threshold)
13389 (split-width-threshold, even-window-heights)
13390 (display-buffer-mark-dedicated, window-splittable-p)
13391 (split-window-sensibly, window-safely-shrinkable-p):
13392 Un-obsolete.
13393 (display-buffer): Don't spread args with function specifier
13394 because special-display-popup-frame won't like it.
13395
35837f51
PE
133962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13397
d0672f86
PE
13398 Time-stamp simplifications and fixes.
13399 These improve accuracy slightly, and future-proof the code
13400 against some potential changes to current-time format.
13401
b9444d97
PE
13402 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13403 by using time-since and float-time.
13404
0ef923dc
PE
13405 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13406 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13407 + NNN microseconds".
13408
2f81380d
PE
13409 * type-break.el (type-break-time-sum): Rewrite using time-add.
13410
845b5c3e
PE
13411 * play/hanoi.el (hanoi-current-time-float): Remove.
13412 All uses replaced by float-time.
13413
ee6f1be0
PE
13414 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13415 This yields a more-accurate answer.
13416 (rng-time-to-float): Remove; no longer needed.
13417
fe955043
PE
13418 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13419
5777162a
PE
13420 * calendar/timeclock.el (timeclock-seconds-to-time):
13421 Defalias to seconds-to-time, since they're the same thing.
13422
3103f8b6 13423 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13424 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13425 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13426
0e61a35f
SM
134272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13428
13429 * window.el (bury-buffer): Don't iconify the only frame.
13430 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13431 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13432
ddd63a1e
CY
134332011-07-01 Chong Yidong <cyd@stupidchicken.com>
13434
0e61a35f
SM
13435 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13436 Add mouse-yank-primary.
ddd63a1e 13437
055f4923
TZ
134382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13439
13440 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13441
6a2fb145
SM
134422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13443
13444 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13445 (find-library-name): Use it to find relative load names when provided
13446 absolute file name (bug#8803).
13447
fd4983f2
LMI
134482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13449
887d14ad
LMI
13450 * textmodes/flyspell.el (flyspell-word): Consider words that
13451 differ only in case as potential doublons (bug#5687).
13452
c53dc7fc
LMI
13453 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13454 Remove two rather uninteresting debugging-like messages to make
13455 debbugs.el more silent.
13456
fd4983f2
LMI
13457 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13458 a password-like phrase.
13459
7a71b18d 134602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13461
13462 * progmodes/cc-guess.el: New file.
13463
6a2fb145 13464 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13465
13466 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13467 derived from `c-basic-common-init'.
13468
13469 * progmodes/cc-mode.el (top-level): Require cc-guess.
13470 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13471
1fa280a3
LM
134722011-06-30 Lawrence Mitchell <wence@gmx.li>
13473
13474 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13475
e6597158
AM
134762011-06-30 Alan Mackenzie <acm@muc.de>
13477
1fa280a3
LM
13478 * progmodes/cc-engine.el (c-guess-continued-construct):
13479 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13480 lock is disabled. Name this case as "CASE G".
13481
68ba37fb
KM
134822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13483
13484 * allout.el (allout-yank-processing): Fix injection of extra space
13485 between bullet and non-whitespace character in first topic when
13486 pasting, ensuring that the actual spacing in the pasted topic
13487 following the bullet char is preserved. This extra space was
13488 causing pasted encrypted topics to get a decrypted status even
13489 when the content was actually still encrypted. Now the decryption
13490 status from before the paste is preserved.
13491
13492 (allout-flag-region): Set all allout overlays so they evaporate
13493 when reduced to zero length (evanescent), to prevent overlay
13494 leakage.
13495
887a0b34
GM
134962011-06-30 Glenn Morris <rgm@gnu.org>
13497
94b9acce
GM
13498 * w32-fns.el (w32-charset-info-alist): Declare.
13499
1d9b46d4
GM
13500 * find-dired.el (find-grep-options): Simplify.
13501
cc232200
GM
13502 * term/ns-win.el (ns-set-resource): Declare.
13503
28e77c46
GM
13504 * ses.el (row, col): Declare dynamic variables honestly.
13505
887a0b34
GM
13506 * textmodes/reftex-parse.el (index-tags): Declare.
13507
658d8eb8
CY
135082011-06-30 Chong Yidong <cyd@stupidchicken.com>
13509
13510 * cus-edit.el (customize-push-and-save): New function.
13511
13512 * files.el (hack-local-variables-confirm): Use it.
13513
1fa280a3
LM
13514 * custom.el (load-theme): New arg NO-CONFIRM.
13515 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13516 (custom-enabled-themes): Doc fix.
13517
13518 * cus-theme.el (customize-create-theme)
13519 (custom-theme-merge-theme): Callers to load-theme changed.
13520
bb617717
LMI
135212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13522
d61bdd5d
LMI
13523 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13524 short URLs have at least one dot in them (bug #7614).
13525
bb617717
LMI
13526 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13527 nil, because using a pty is apparently too slow (bug #895).
13528
2f31f37a
LMI
135292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13530
13531 * mail/sendmail.el (sendmail-query-once): New function.
13532 (sendmail-query-once-function): New variable.
13533
3076b24e
GM
135342011-06-29 Glenn Morris <rgm@gnu.org>
13535
faf2a174
GM
13536 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13537
3076b24e
GM
13538 * ses.el (top-level): Require cl when compiling.
13539 (ses-set-localvars): Fix error statement.
13540 Call it at compile time to silence a storm of warnings.
13541
5386012d
MR
135422011-06-29 Martin Rudalics <rudalics@gmx.at>
13543
13544 * window.el (normalize-live-buffer): Rename to
13545 window-normalize-buffer.
13546 (normalize-live-frame): Rename to window-normalize-frame.
13547 (normalize-any-window): Rename to window-normalize-any-window.
13548 (normalize-live-window): Rename to window-normalize-live-window.
13549 (make-window-atom): Rename to window-make-atom.
13550 (window-resize-reset): Rename to window--resize-reset.
13551 (window-resize-reset-1): Rename to window--resize-reset-1.
13552 (resize-mini-window): Rename to window--resize-mini-window.
13553 (resize-subwindows-skip-p): Rename to
13554 window--resize-subwindows-skip-p.
13555 (resize-subwindows-normal): Rename to
13556 window--resize-subwindows-normal.
13557 (resize-subwindows): Rename to window--resize-subwindows.
13558 (resize-other-windows): Rename to window--resize-siblings.
13559 (resize-this-window): Rename to window--resize-this-window.
13560 (resize-root-window): Rename to window--resize-root-window.
13561 (resize-root-window-vertically): Rename to
13562 window--resize-root-window-vertically.
13563 (normalize-buffer-to-display): Rename to
13564 window-normalize-buffer-to-display.
13565 (normalize-buffer-to-switch-to): Rename to
13566 window-normalize-buffer-to-switch-to.
13567 Correspondingly update all callers of the functions listed
13568 above.
13569 (display-buffer-alist, display-buffer-normalize-arguments)
13570 (display-buffer-normalize-options, display-buffer)
13571 (display-buffer-alist-set): Use "function" instead of
13572 "fun-with-args".
13573
1176868d
CY
135742011-06-28 Chong Yidong <cyd@stupidchicken.com>
13575
13576 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13577 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13578 debbugs.gnu.org. Mention acknowledgment email.
13579
20a7a65f
LMI
135802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13581
13582 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13583 buffer multibyteness, since it shouldn't matter.
13584
5f45cca5
MR
135852011-06-28 Martin Rudalics <rudalics@gmx.at>
13586
13587 * window.el (display-buffer-in-side-window): Handle dedicated
13588 windows as in display-buffer-reuse-window.
13589 (display-buffer-normalize-alist): Use value of override
13590 specifier.
13591 (display-buffer-normalize-specifiers): Use value of
13592 other-window-means-other-frame specifier.
13593 (display-buffer-alist): Rewrite some texts in widgets.
13594 (display-buffer): Spread arguments when calling function
13595 specified by fun-with-args.
13596
ad85fe1f
DD
135972011-06-28 Deniz Dogan <deniz@dogan.se>
13598
1fa280a3
LM
13599 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13600 Unnest `let'.
da68c4c8 13601
ad85fe1f
DD
13602 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13603 selectors (Bug#5732).
ec49bd31 13604 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13605
a08cc025
JA
136062011-06-27 Jari Aalto <jari.aalto@cante.net>
13607
13608 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13609 (eshell-ls-date-format): New defcustom.
13610 (eshell-ls-file): Use it.
13611
e2b551c5
SM
136122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13615
8982b231
KY
136162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13617
13618 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13619 (ange-ftp-make-tmp-name): New arg.
13620 (ange-ftp-file-local-copy): Use it.
13621
36c9fa27
J
136222011-06-27 Jambunathan K <kjambunathan@gmail.com>
13623
13624 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13625 no-conversion (Bug#8870).
13626
d68443dc
MR
136272011-06-27 Martin Rudalics <rudalics@gmx.at>
13628
13629 * window.el (window-right, window-left, window-child)
13630 (window-child-count, window-last-child)
13631 (window-iso-combination-p, walk-window-tree-1)
13632 (window-atom-check-1, window-tree-1, delete-window)
13633 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13634 new naming conventions - window-vchild, window-hchild,
13635 window-next and window-prev are now called window-top-child,
13636 window-left-child, window-next-sibling and window-prev-sibling
13637 respectively.
d615d6d2
MR
13638 (resize-window-reset): Rename to window-resize-reset.
13639 (resize-window-reset-1): Rename to window-resize-reset-1.
13640 (resize-window): Rename to window-resize.
13641 (window-min-height, window-min-width)
13642 (resize-mini-window, resize-this-window, resize-root-window)
13643 (resize-root-window-vertically, adjust-window-trailing-edge)
13644 (enlarge-window, shrink-window, maximize-window)
13645 (minimize-window, delete-window, quit-restore-window)
13646 (split-window, balance-windows, balance-windows-area-adjust)
13647 (balance-windows-area, window-state-put-2)
13648 (display-buffer-even-window-sizes, display-buffer-set-height)
13649 (display-buffer-set-width, set-window-text-height)
13650 (fit-window-to-buffer): Rename all "resize-window" prefixed
13651 calls to use the "window-resize" prefix convention.
13652 (display-buffer-alist): Fix symbol for label specifier.
13653 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13654 corresponding specifier.
13655 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13656
b6458526
VB
136572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13658
13659 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13660 convention.
13661 (ses-call-printer): Does not pass an empty string to formatter when the
13662 cell is empty to keep from barking printer Calc math-format-value.
13663
d31fd9ac
RS
136642011-06-27 Richard Stallman <rms@gnu.org>
13665
43d5bf84
RS
13666 * battery.el (battery-mode-line-limit): New variable.
13667 (battery-update): Handle it.
13668
d31fd9ac
RS
13669 * mail/rmailmm.el (rmail-mime-process-multipart):
13670 Handle truncated messages.
13671
819a6054
GM
136722011-06-27 Glenn Morris <rgm@gnu.org>
13673
13674 * progmodes/flymake.el (flymake-err-line-patterns):
13675 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13676
cedc73f2
VB
136772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13678
819a6054 13679 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13680 (ses--clean-!, ses--clean-_): New functions.
13681 (ses-range): Add configurability of readout order, and conversion
13682 to Calc vector.
13683
5e5d49b6
VB
13684 * ses.el (ses-repair-cell-reference-all): New function.
13685 (ses-cell-symbol): Set macro as safe, so that it can be used in
13686 formulas.
13687
56e6cc31 13688 * ses.el: Update cycle detection algorithm.
90ca8b49 13689 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13690 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13691 (ses-set-localvars): New function.
13692 (ses-make-cell): Add property-list as a cell element.
13693 (ses-cell-property-get-fun, ses-cell-property-get)
13694 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13695 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13696 New functions.
90ca8b49
VB
13697 (ses-cell-property-set, ses-cell-property-pop)
13698 (ses-cell-property-get-handle): New macro.
13699 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13700 New aliases, used for code readability.
13701 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13702 cycle detection.
13703 (ses-self-reference-early-detection): New defcustom.
fac916bf 13704 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13705 (ses-mode): Use ses-set-localvars.
13706 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13707 before lauching the update processing.
13708 (ses-initialize-Dijkstra-attempt): New function.
13709 (ses-recalculate-cell): Update for cycle detection based on
13710 Dijkstra algorithm.
13711
2bb63e81
VB
13712 * ses.el: Fix commenting and indenting convention.
13713
c9d29fb8
SM
137142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13715
13716 * bs.el (bs-cycle-next): Complete last change.
13717
d8e4b68b
JB
137182011-06-27 Drew Adams <drew.adams@oracle.com>
13719
13720 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13721
40098786
LMI
137222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13723
c9d29fb8
SM
13724 * net/network-stream.el (network-stream-open-starttls):
13725 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13726 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13727
40098786
LMI
13728 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13729 to binary to possibly avoid line encoding issues on Windows (among
13730 other things).
13731
468d09d4
LMI
137322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13733
13734 * net/network-stream.el (open-network-stream): Return an :error
13735 saying what the problem was, if possible.
13736
13737 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13738 server.
13739
13740 * net/network-stream.el (network-stream-open-starttls): If we
13741 wanted to use STARTTLS, and the server offered it, but we weren't
13742 able to because we had no STARTTLS support, then close the connection.
13743 (open-network-stream): Return an :error element, if present.
13744
16f07dd7
CY
137452011-06-26 Chong Yidong <cyd@stupidchicken.com>
13746
88821ca0
CY
13747 * hl-line.el (hl-line-sticky-flag): Doc fix.
13748 (global-hl-line-sticky-flag): New option (Bug#8323).
13749 (global-hl-line-highlight): Obey it.
13750
16f07dd7
CY
13751 * vc/vc.el (vc-revert-show-diff): Default to t.
13752
6b5ccddf
KM
137532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13754
c9d29fb8
SM
13755 * allout-widgets.el (allout-widgets-post-command-business):
13756 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13757 undecorated when an isearch is continued past, and isearch
13758 automatically collapses them. This leads to "widget leaks", where
13759 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13760 hidden widgets can slow down cursor travel, substantially.
13761 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13762 so we're doing without this nicety.
13763
13764 (allout-widgets-tally-string): Don't try to do a hash-table-count
13765 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13766 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13767 *Messages* when allout-widgets-maintain-tally is t.
13768
355f2e07
MR
137692011-06-26 Martin Rudalics <rudalics@gmx.at>
13770
13771 * window.el (display-buffer-normalize-argument): Rename to
13772 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13773 LABEL argument. Respect special-display-function when popping up
13774 a new frame. Fix code searching for a window showing the buffer
13775 on another frame.
c9d29fb8
SM
13776 (display-buffer-normalize-specifiers):
13777 Call display-buffer-normalize-arguments.
355f2e07
MR
13778 (display-buffer-in-window): Don't undedicate the window if its
13779 buffer remains the same.
13780 Reported by Drew Adams <drew.adams@oracle.com>.
13781 (display-buffer-alist): Add choice for same-window macro
13782 specfier.
13783 (display-buffer): Mention special meaning of LABEL argument in
13784 doc-string. Fix quoting. Don't pop up a new frame even as
13785 fallback.
13786
7ca8fc42
JB
137872011-06-26 Juanma Barranquero <lekktu@gmail.com>
13788
13789 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13790 avoid deleting the current window in some cases (bug#8911).
13791
bc312254
AS
137922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13793
13794 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13795 (Bug#8934)
13796
2db18f3f
LMI
137972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13798
c9d29fb8
SM
13799 * net/network-stream.el (network-stream-open-starttls):
13800 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13801 (network-stream-open-tls): Ditto.
13802
6302e0d3
LL
138032011-06-26 Leo Liu <sdl.web@gmail.com>
13804
13805 * register.el (registerv): New struct.
13806 (registerv-make): New function.
c9d29fb8
SM
13807 (jump-to-register, describe-register-1, insert-register):
13808 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13809 struct. (Bug#8415)
13810
5fdd4046
CY
138112011-06-26 Chong Yidong <cyd@stupidchicken.com>
13812
2afef60a
CY
13813 * vc/vc.el (vc-revert-show-diff): New defcustom.
13814 (vc-diff-internal): New arg specifying diff buffer.
13815 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13816 reuse an existing *vc-diff* buffer (Bug#8927).
13817
5fdd4046
CY
13818 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13819
e93db24a
GM
138202011-06-26 Glenn Morris <rgm@gnu.org>
13821
13822 * progmodes/f90.el (f90-critical-indent): New option.
13823 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13824 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13825 (f90-mode): Doc fix.
13826 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13827 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13828 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13829 (f90-match-end): Handle block, critical.
13830
eefff499
GM
138312011-06-25 Glenn Morris <rgm@gnu.org>
13832
f6ba4cc9
GM
13833 * calendar/diary-lib.el (diary-included-files): Doc fix.
13834 (diary-include-files): New function, extracted from
13835 diary-include-other-diary-files and diary-mark-included-diary-files.
13836 (diary-include-other-diary-files, diary-mark-included-diary-files):
13837 Just call diary-include-files.
13838 (diary-mark-entries): Reset diary-included-files on first call.
13839
16712304
GM
13840 * calendar/diary-lib.el (diary-mark-entries)
13841 (diary-mark-included-diary-files):
13842 Visit included diary-files in temp buffers.
13843
5d8e0d43
GM
13844 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13845 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13846 (f90-start-block-re, f90-imenu-generic-expression)
13847 (f90-looking-at-program-block-start, f90-no-block-limit):
13848 Add support for submodules.
13849
ccf7a5d5
GM
13850 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13851 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13852
11fdef7d 138532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13854
13855 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13856 buffer-file-type before setting its value, to avoid disastrous
eefff499 13857 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13858
74f53697
JB
138592011-06-25 Juanma Barranquero <lekktu@gmail.com>
13860
13861 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13862
13863 * ses.el (ses-unload-function):
13864 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13865
13866 * proced.el (proced-unload-function):
13867 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13868
18a4ce5e
AR
138692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13870
13871 * server.el (server-create-window-system-frame): Add parameters arg.
13872 (server-process-filter): Doc fix. Handle frame-parameters.
13873
519d22cc
JB
138742011-06-25 Juanma Barranquero <lekktu@gmail.com>
13875
13876 Fix bug#8730, bug#8781.
13877
13878 * loadhist.el (unload--set-major-mode): New function.
13879 (unload-feature): Use it.
13880
13881 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13882 (python-unload-function): New function.
13883
c206f5b0
SM
138842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13887
f9ad64f3
GS
138882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13889
13890 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13891 the candidates list.
13892
7d0da90e
JB
138932011-06-24 Juanma Barranquero <lekktu@gmail.com>
13894
13895 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13896
14b4e83d
RS
138972011-06-23 Richard Stallman <rms@gnu.org>
13898
13899 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13900 (rmail-variables): Set next-error-move-function.
13901 (rmail-what-message): Take argument POS.
13902 (rmail-next-error-move): New function.
13903
273d2baf
SM
139042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13907 messages for adjacent non-terminals.
13908
56c2cc9a
RS
139092011-06-23 Richard Stallman <rms@gnu.org>
13910
13911 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13912 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13913 (rmail-start-mail): Don't specify use of rmail-mail-return;
13914 that's done by mail-bury now.
13915 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13916
d59eb518
MA
139172011-06-23 Michael Albinus <michael.albinus@gmx.de>
13918
13919 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13920 SIZE is a number.
13921
02cfc6d6
MR
139222011-06-23 Martin Rudalics <rudalics@gmx.at>
13923
13924 * window.el (get-lru-window, get-mru-window)
13925 (get-largest-window): Never return a minibuffer window.
13926 (display-buffer-pop-up-window): Fix a bug that could lead to
13927 reusing the minibuffer window.
13928 (display-buffer): Pass original specifier argument to
13929 display-buffer-function instead of the normalized one.
13930 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13931
4e323265
LL
139322011-06-22 Leo Liu <sdl.web@gmail.com>
13933
13934 * minibuffer.el (completing-read-function)
13935 (completing-read-default): Move from minibuf.c
13936
7a70468f
RS
139372011-06-22 Richard Stallman <rms@gnu.org>
13938
50718fc2
RS
13939 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13940 to Rmail even if not started by a special Rmail command.
13941
7a70468f
RS
13942 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13943 Copy the buffer currently showing just one message.
13944
297dde5a
RW
139452011-06-22 Roland Winkler <winkler@gnu.org>
13946
13947 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13948 (bibtex-clean-entry): First delete the old key so that a
13949 customized algorithm for generating the new key does not get
13950 confused by the old key.
13951 (bibtex-url): Obey regexp of first step.
13952 (bibtex-search-entries): Do not use add-to-list with local
13953 list-var.
13954
97bb1093
LMI
139552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13956
13957 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13958 stored a user name, then query for the password first, instead of
13959 waiting for SMTP to give an error message and the trying again.
13960
1c0f1a19
JD
139612011-06-22 Lawrence Mitchell <wence@gmx.li>
13962
13963 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13964 BUFFER in call-process.
13965
396f7c9d
LMI
139662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13967
13968 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13969 QUIT twice.
ddb7ffee
LMI
13970 (smtpmail-try-auth-methods): Require user name and password from
13971 auth-source.
396f7c9d 13972
8998d1b3
MR
139732011-06-22 Martin Rudalics <rudalics@gmx.at>
13974
13975 * window.el (display-buffer-default-specifiers)
13976 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13977 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13978 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13979
13980 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13981 (special-display-frame-alist, special-display-popup-frame):
13982 Remove duplicate declarations. These are now in window.el.
13983
4ea31e07
LMI
139842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13985
c9d29fb8
SM
13986 * mail/smtpmail.el (smtpmail-via-smtp):
13987 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13988 server supports it. SMTP servers that support STARTTLS commonly
13989 require it.
13990
13991 * net/network-stream.el (network-stream-open-starttls): Support
13992 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13993 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13994
95f41d9a
LMI
13995 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13996 upgrades with `open-network-stream', and rely solely on
13997 auth-source for all credentials. Big changes throughout the file,
13998 but in particular:
c9d29fb8
SM
13999 (smtpmail-auth-credentials): Remove.
14000 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14001 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14002 MAIL FROM, too.
95f41d9a 14003
c9d29fb8
SM
14004 * net/network-stream.el (network-stream-open-starttls):
14005 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14006 STARTTLS.
14007 (auth-source): Require.
14008 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14009 (network-stream-certificate): Change cert-cert to cert and
14010 cert-key to key.
4ea31e07 14011
065ec2c7
MA
140122011-06-21 Michael Albinus <michael.albinus@gmx.de>
14013
14014 * net/tramp-cache.el (top): Don't load the persistency file when
14015 "emacs -Q" has been called.
14016
cd93b359
DR
140172011-06-21 Tim Harper <timcharper@gmail.com>
14018
d8e4b68b
JB
14019 * term/ns-win.el (ns-initialize-window-system):
14020 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14021 resource to NO as it is not yet supported by the NS port.
14022
ae9c0411
JB
140232011-06-21 Juanma Barranquero <lekktu@gmail.com>
14024
14025 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14026 (list-dynamic-libraries): ...not here.
14027
7f3f739f
LL
140282011-06-21 Leo Liu <sdl.web@gmail.com>
14029
14030 * subr.el (sha1): Implement sha1 using secure-hash.
14031
327c8fb1
MR
140322011-06-21 Martin Rudalics <rudalics@gmx.at>
14033
14034 * window.el (display-buffer-alist): In default value do not
14035 enforce searching a window on any but the selected frame.
14036 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14037 (display-buffer-select-window): Remove function.
14038 (display-buffer-in-window): When a window on another frame gets
14039 reused, do not select it any more but just raise its frame if
14040 necessary (Bug#8851) and (Bug#8856).
14041 (display-buffer-normalize-options): Handle pop-up-frames related
14042 options more faithfully.
14043 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14044 window if it is on another frame.
c9d29fb8
SM
14045 (display-buffer-alist, display-buffer-default-specifiers):
14046 Don't make new frame unsplittable by default.
9e9de014
MR
14047 (display-buffer-normalize-argument): Fix doc-string typo and use
14048 'same-frame-other-window instead of 'other-window when associating
14049 with display-buffer-macro-specifiers.
327c8fb1 14050
7cf3f556
VB
140512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14052
14053 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14054 New functions.
14055 (5x5-mode-map, 5x5-mode-menu): Bind them.
14056 (5x5-draw-grid): Tweak the solver's rendering.
14057
60a406cf
SM
140582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14059
14060 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14061 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14062
d8e4b68b 140632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14064
14065 * menu-bar.el: Use function variable instead of switch-to-buffer.
14066 (menu-bar-select-buffer-function): New variable.
60a406cf 14067 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14068
478d6f95
SM
140692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14070
14071 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14072 variable's status.
14073
ca530739
JD
140742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14075
14076 * x-dnd.el (x-dnd-version-from-flags)
14077 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14078 and long as number (Bug#8899).
14079 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14080
bcd70d97
SM
140812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14082
60a406cf 14083 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14084 (completion-try-completion, completion-all-completions): Compute the
14085 metadata argument if it's missing; make it optional (bug#8795).
14086
60a406cf 14087 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14088 (widget-complete): Use new :completion-function property.
14089 (widget-completions-at-point): New function.
14090 (default): Use :completion-function instead of :complete.
60a406cf
SM
14091 (widget-default-completions): Rename from widget-default-complete;
14092 Rewrite.
bcd70d97
SM
14093 (widget-string-complete, widget-file-complete, widget-color-complete):
14094 Remove functions.
14095 (file, symbol, function, variable, coding-system, color):
14096 * international/mule-cmds.el (default-input-method, charset)
14097 (language-info-custom-alist):
14098 * cus-edit.el (face): Use new property :completions.
14099
14100 * progmodes/pascal.el (pascal-completions-at-point): New function.
14101 (pascal-mode): Use it.
14102 (pascal-mode-map): Use completion-at-point.
14103 (pascal-toggle-completions): Make obsolete.
14104 (pascal-complete-word, pascal-show-completions):
14105 * progmodes/octave-mod.el (octave-complete-symbol):
14106 Redefine as obsolete alias.
14107 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14108 Signal absence of completion info for old Octave,
14109 (inferior-octave-complete): Redefine as obsolete alias.
14110 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14111 (meta-completions-at-point): Rename from meta-complete-symbol and
14112 adapt it for use on completion-at-point-functions.
14113 (meta-common-mode): Use it.
14114 (meta-looking-at-backward, meta-match-buffer): Remove.
14115 (meta-complete-symbol): Redefine as obsolete alias.
14116 (meta-common-mode-map): Use completion-at-point.
14117 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14118 (makefile-mode-map): Use completion-at-point.
14119 (makefile-completions-at-point): Rename from makefile-complete and
14120 adapt it for use on completion-at-point-functions.
14121 (makefile-mode): Use it.
14122 (makefile-complete): Redefine as obsolete alias.
14123
aebf69c8
DD
141242011-06-20 Deniz Dogan <deniz@dogan.se>
14125
14126 * net/rcirc.el: Delete trailing whitespaces once and for all.
14127
bfbbb27d
DC
141282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14129
14130 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14131
d264a46b
CY
141322011-06-19 Chong Yidong <cyd@stupidchicken.com>
14133
4ca009e5
CY
14134 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14135
d264a46b
CY
14136 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14137
fbf5b3ce
MR
141382011-06-19 Martin Rudalics <rudalics@gmx.at>
14139
14140 * window.el (display-buffer-other-window-means-other-frame):
14141 Call display-buffer-normalize-alist.
14142 (display-buffer-normalize-specifiers-1): Rename to
14143 display-buffer-normalize-argument. New argument other-frame.
14144 Rewrite.
14145 (display-buffer-normalize-specifiers-2): Rename to
14146 display-buffer-normalize-options.
14147 (display-buffer-normalize-alist-1): New function.
14148 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14149 display-buffer-normalize-alist.
14150 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14151 (display-buffer-normalize-options-inhibit): New variable.
14152 (display-buffer-normalize-specifiers): Rewrite calling
14153 display-buffer-normalize-alist,
14154 display-buffer-normalize-argument, and
14155 display-buffer-normalize-options. Don't call the latter if
14156 display-buffer-normalize-options-inhibit is non-nil.
14157 (frame-auto-delete): New option.
14158 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14159 (window-list-no-nils, window-state-ignored-parameters)
14160 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14161 (window-state-put-1, window-state-put-2, window-state-put):
14162 New functions.
9a028c23
MR
14163 (display-buffer-normalize-options): Move special-display-p group
14164 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14165
6d10d800
CY
141662011-06-18 Chong Yidong <cyd@stupidchicken.com>
14167
6420d28b
CY
14168 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14169 groups (Bug#8776).
14170 (rx-submatch-n): New function.
14171 (rx): Document it.
14172
ddb8b596
CY
14173 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14174 (Bug#8768).
14175
14176 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14177
77080289
CY
14178 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14179
61dfb316
CY
14180 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14181 anytime existing face settings are present (Bug#8889).
14182
6d10d800
CY
14183 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14184 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14185 Remove unused argument.
14186
be3fb2b8
MR
141872011-06-18 Martin Rudalics <rudalics@gmx.at>
14188
bcd70d97
SM
14189 * window.el (display-buffer-default-specifiers):
14190 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14191 pop-up-window-min-width, and another reuse-window specifier
14192 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14193 (display-buffer-normalize-specifiers-2):
14194 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14195 pop-up-windows is unset. Add a reuse-window specifier for the
14196 case popping up a new window fails.
14197 (special-display-popup-frame): Remove double quoting.
28dec25a 14198 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14199
1c6d8c76
SM
142002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14201
14202 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14203 according to comint-completion-addsuffix.
14204
14205 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14206 (pcomplete-suffix-list): Mark as obsolete.
14207 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14208 pcomplete-seen in the closure.
14209 (pcomplete-comint-setup): Setup completion-at-point as well.
14210 (pcomplete--entries): New function.
14211 (pcomplete--env-regexp): New var.
14212 (pcomplete-entries): Rewrite to work with partial-completion and
14213 without relying on pcomplete-suffix-list.
14214 (pcomplete-pare-list): Remove, unused.
14215
25aef8b8
MR
142162011-06-17 Martin Rudalics <rudalics@gmx.at>
14217
14218 * window.el (display-buffer-alist): Set pop-up-window-min-height
14219 and pop-up-window-min-width in default value. Reported by
14220 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14221 other-window-means-other-frame.
14222 (display-buffer-macro-specifiers): Comment out entry for
14223 other-window specifier.
14224 (display-buffer-other-window-means-other-frame): New function.
14225 (display-buffer-normalize-specifiers-1): New arguments
14226 buffer-name and label. Treat other-window case specially.
14227 (display-buffer-normalize-specifiers-2): Treat other-window case
14228 specially.
14229 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14230 (display-buffer-normalize-specifiers):
14231 Call display-buffer-normalize-specifiers-3.
25aef8b8 14232
dbad4f69
MR
142332011-06-17 Martin Rudalics <rudalics@gmx.at>
14234
14235 * window.el (same-window-p): Fix two typos introduced when
14236 adding with-no-warnings.
d1067961
MR
14237 (display-buffer-normalize-specifiers-1): Don't check
14238 pop-up-frames for 'unset initialization.
14239 (display-buffer-normalize-specifiers-2): Major rewrite using
14240 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14241 (pop-up-frames, display-buffer-reuse-frames)
14242 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14243 Suggested by David Engster <deng@randomsample.de>.
14244 (even-window-heights): Initialize to 'unset.
14245 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14246 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14247 other window case.
dbad4f69 14248
9b9c9e3a
MR
142492011-06-16 Martin Rudalics <rudalics@gmx.at>
14250
bcd70d97
SM
14251 * window.el (display-buffer-normalize-specifiers-1):
14252 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14253 second argument of display-buffer (Bug#8865).
981d5c09
MR
14254 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14255 (switch-to-buffer-other-window-same-frame)
14256 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14257 Adams (Bug#8875).
9c2755e9
MR
14258 (display-buffer): Don't check noninteractive when calling
14259 display-buffer-pop-up-frame.
14260 (display-buffer-pop-up-frame): Never pop up a frame in
14261 noninteractive mode (Bug#8857).
67222e1d
MR
14262 (enlarge-window, shrink-window): Don't report an error when the
14263 window can't be resized as requested (Bug#8862).
9b9c9e3a 14264
2b75be67
SM
142652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14266
9ffdd3ba
SM
14267 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14268
cb581a67
SM
14269 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14270
2b75be67
SM
14271 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14272
8c0e3589
AM
142732011-06-15 Alan Mackenzie <acm@muc.de>
14274
cb581a67
SM
14275 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14276 for declarators, disable knr checking to speed up for normal files.
14277 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14278
b96e6cde
LMI
142792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14280
4bba86e6
LMI
14281 * net/network-stream.el (open-network-stream): Add the keyword
14282 :always-query-capabilities for the case where you want to force a
14283 `plain' network connection, but the protocol still requires the
14284 capabilitiy command (i.e., SMTP and EHLO).
14285
2b75be67 14286 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14287 consistency with other `-live-p' functions.
14288
efdcdbf8
SM
142892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * window.el (same-window-buffer-names, same-window-regexps)
14292 (special-display-frame-alist, special-display-popup-frame)
14293 (special-display-function, special-display-buffer-names)
14294 (special-display-regexps, pop-up-frame-alist)
14295 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14296 (pop-up-windows, split-window-preferred-function)
14297 (split-height-threshold, split-width-threshold, even-window-heights)
14298 (display-buffer-mark-dedicated): Don't encourage the use of
14299 display-buffer-alist from Elisp code.
14300
c5cde042
DN
143012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14302
14303 * progmodes/python.el (python-mode): Derive from prog-mode.
14304 * progmodes/ps-mode.el (ps-mode):
14305 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14306 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14307 * progmodes/ld-script.el (ld-script-mode): Likewise.
14308
baa1c9ab
MR
143092011-06-15 Martin Rudalics <rudalics@gmx.at>
14310
14311 * window.el (display-buffer-alist): Trim default value to avoid
14312 popping up a new frame (Bug#8857) or reusing an arbitrary window
14313 on another frame.
14314 (display-buffer): Do not fall back on popping up a new frame in
14315 batch mode (Bug#8857).
14316
c5dd5a51
CY
143172011-06-14 Chong Yidong <cyd@stupidchicken.com>
14318
14319 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14320 (custom-theme-summary): New function.
14321 (customize-themes): Use it.
14322
d647b7c4
GM
143232011-06-13 Glenn Morris <rgm@gnu.org>
14324
14325 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14326
9481c002
MR
143272011-06-13 Martin Rudalics <rudalics@gmx.at>
14328
357f93d2
MR
14329 * help.el (help-window): Remove variable.
14330 (help-window-point-marker, temp-buffer-max-height)
14331 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14332 (help-print-return-message): Don't set help-window.
14333 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14334 (help-window-setup-finish): Remove.
14335 (help-window-display-message, help-window-setup)
14336 (with-help-window): Major rewrite based on new
14337 display-buffer-window variable.
14338
14339 * help-mode.el (help-mode-finish): Remove help-window related
14340 code.
14341
14342 * view.el (view-exits-all-viewing-windows): Remove reference to
14343 view-return-to-alist in doc-string.
14344 (view-return-to-alist): Make obsolete.
14345 (view-buffer): Call pop-to-buffer-same-window and remove
14346 undo-window code.
14347 (view-buffer-other-window): Call pop-to-buffer-other-window and
14348 simplify code. Ignore second argument.
14349 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14350 simplify code. Ignore second argument.
14351 (view-return-to-alist-update): Make obsolete.
14352 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14353 Rewrite using quit-restore window parameters.
2b75be67
SM
14354 (view-mode-exit): Rename second argument to EXIT-ONLY.
14355 Rewrite using quit-restore-window.
357f93d2
MR
14356 (View-exit, View-exit-and-edit, View-leave, View-quit)
14357 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14358 appropriate arguments.
14359 (view-end-message): Use quit-restore window parameter.
14360
9481c002
MR
14361 * window.el (display-buffer-function): Rewrite doc-string.
14362 (display-buffer-window, display-buffer-alist): New variables.
14363 (display-buffer-split-specifiers)
14364 (display-buffer-side-specifiers)
14365 (display-buffer-macro-specifiers): New constants.
14366 (display-buffer-even-window-sizes, display-buffer-set-height)
14367 (display-buffer-set-width, display-buffer-select-window)
14368 (display-buffer-in-window, display-buffer-reuse-window)
14369 (display-buffer-split-window-1, display-buffer-split-window)
14370 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14371 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14372 (display-buffer-in-side-window, normalize-buffer-to-display)
14373 (display-buffer-normalize-specifiers-1)
14374 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14375 (display-buffer-normalize-specifiers, display-buffer-frame):
14376 New functions.
9481c002
MR
14377 (display-buffer): Major rewrite.
14378 (display-buffer-other-window, display-buffer-other-frame)
14379 (pop-to-buffer, switch-to-buffer-other-window)
14380 (switch-to-buffer-other-frame): Rewrite.
14381 (display-buffer-same-window, display-buffer-same-frame)
14382 (display-buffer-same-frame-other-window)
14383 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14384 (pop-to-buffer-other-window)
14385 (pop-to-buffer-same-frame-other-window)
14386 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14387 (switch-to-buffer-other-window-same-frame): New functions.
14388 (same-window-p, special-display-p): Rewrite disabling warnings.
14389 Make obsolete.
14390 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14391 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14392 Make obsolete
14393 (same-window-buffer-names, same-window-regexps)
14394 (special-display-frame-alist, special-display-popup-frame)
14395 (special-display-function, special-display-buffer-names)
14396 (special-display-regexps, pop-up-frame-alist)
14397 (pop-up-frame-function, split-window-preferred-function)
14398 (split-height-threshold, split-width-threshold)
14399 (even-window-heights): Make obsolete.
14400
9db51aca
GM
144012011-06-12 Glenn Morris <rgm@gnu.org>
14402
14403 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14404 Misc simplifications.
9db51aca 14405
39cffb44
MR
144062011-06-12 Martin Rudalics <rudalics@gmx.at>
14407
14408 * window.el (window-safely-shrinkable-p): Restore function which
14409 was inadvertently removed in change from 2011-06-11. Declare as
14410 obsolete.
14411
2b75be67
SM
14412 * calendar/calendar.el (calendar-generate-window):
14413 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14414 window-safely-shrinkable-p.
14415
a8955be7
GM
144162011-06-12 Glenn Morris <rgm@gnu.org>
14417
14418 * progmodes/fortran.el (fortran-mode-syntax-table):
14419 * progmodes/f90.el (f90-mode-syntax-table):
14420 Set % to punctuation. (Bug#8820)
14421 (f90-find-tag-default): Remove, no longer needed.
14422
f0d4059d
DC
144232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14424
14425 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14426
1100a63c
CY
144272011-06-11 Chong Yidong <cyd@stupidchicken.com>
14428
14429 * image.el (image-animated-p): Return animation delay in seconds.
14430 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14431 (image-animate-timeout): Remove DELAY argument. Don't assume
14432 every subimage has the same delay; get it from image-animated-p.
14433 (image-animate): Caller changed.
14434
def722bf
MA
144352011-06-11 Michael Albinus <michael.albinus@gmx.de>
14436
14437 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14438 to ignored backtrace functions.
14439
0a2bb1a9
GM
144402011-06-11 Glenn Morris <rgm@gnu.org>
14441
14442 * calendar/appt.el (appt-disp-window-function): Doc fix.
14443 (appt-check): Handle overlapping appointments. (Bug#8337)
14444
6198ccd0
MR
144452011-06-11 Martin Rudalics <rudalics@gmx.at>
14446
14447 * window.el (window-tree-1, window-tree): New functions, moving
14448 the latter to window.el.
14449 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14450 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14451 (bw-refresh-edges): Remove.
14452 (balance-windows-1, balance-windows-2): New functions.
14453 (balance-windows): Rewrite in terms of window tree functions,
14454 balance-windows-1 and balance-windows-2.
14455 (bw-adjust-window): Remove.
14456 (balance-windows-area-adjust): New function with functionality of
14457 bw-adjust-window but using resize-window.
2b75be67
SM
14458 (set-window-text-height): Rewrite doc-string.
14459 Use normalize-live-window and resize-window.
14460 (enlarge-window-horizontally, shrink-window-horizontally):
14461 Rename argument to DELTA.
6198ccd0
MR
14462 (window-buffer-height): New function.
14463 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14464 Rewrite using new window resize routines.
2b75be67
SM
14465 (kill-buffer-and-window, mouse-autoselect-window-select):
14466 Use ignore-errors instead of condition-case.
6198ccd0
MR
14467 (quit-window): Call delete-frame instead of delete-windows-on
14468 for the only buffer on frame.
14469
9397e56f
MR
144702011-06-10 Martin Rudalics <rudalics@gmx.at>
14471
14472 * loadup.el (top-level): Load window before files for the sake
14473 of replace-buffer-in-windows.
14474
14475 * files.el (read-buffer-to-switch)
14476 (switch-to-buffer-other-window)
2b75be67
SM
14477 (switch-to-buffer-other-frame, display-buffer-other-frame):
14478 Move to window.el.
9397e56f
MR
14479
14480 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14481 (previous-buffer): Move to window.el.
14482
14483 * bindings.el (unbury-buffer): Move to window.el.
14484
14485 * window.el (delete-other-windows-vertically): Move after
14486 definition of delete-other-windows.
14487 (other-window, delete-windows-on, replace-buffer-in-windows):
14488 Move here from window.c.
14489 (record-window-buffer, unrecord-window-buffer)
14490 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14491 (switch-to-next-buffer): New functions.
14492 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14493 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14494 (previous-buffer): Move here from simple.el.
14495 Call switch-to-prev-buffer.
9397e56f
MR
14496 (bury-buffer): Move here from buffer.c. Switch to previous
14497 buffer when window cannot be deleted.
14498 (unbury-buffer): Move here from bindings.el.
14499 (ctl-x-map): Move binding for other-window from window.c to
14500 here.
14501 (read-buffer-to-switch, switch-to-buffer-other-window)
14502 (switch-to-buffer-other-frame): Move here from files.el.
14503 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14504 (switch-to-buffer): Move here from buffer.c.
14505 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14506
562dd5e9
MR
145072011-06-10 Martin Rudalics <rudalics@gmx.at>
14508
14509 * window.el (window-min-height, window-min-width): Move here
14510 from window.c. Add defcustoms and rewrite doc-strings.
14511 (resize-mini-window, resize-window): New functions.
14512 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14513 Move here from window.c.
14514 (maximize-window, minimize-window): New functions.
14515 (delete-window, delete-other-windows, split-window): Move here
14516 from window.c.
14517 (window-split-min-size): New function.
14518 (split-window-keep-point): Mention split-window-above-each-other
14519 instead of split-window-vertically.
2b75be67 14520 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14521 Rename split-window-vertically to split-window-above-each-other
14522 and provide defalias for old definition.
14523 (split-window-side-by-side, split-window-horizontally):
14524 Rename split-window-horizontally to split-window-side-by-side
14525 and provide defalias for the old definition.
562dd5e9
MR
14526 (ctl-x-map): Move bindings for delete-window,
14527 delete-other-windows and enlarge-window here from window.c.
14528 Replace bindings for split-window-vertically and
14529 split-window-horizontally by bindings for
14530 split-window-above-each-other and split-window-side-by-side.
14531
14532 * cus-start.el (all): Remove entries for window-min-height and
14533 window-min-width. Add entries for window-splits and
14534 window-nest.
14535
f0da764a
GM
145362011-06-09 Glenn Morris <rgm@gnu.org>
14537
80675c21
GM
14538 * calendar/appt.el (appt-mode-line): New function.
14539 (appt-check, appt-disp-window): Use it.
14540
f0da764a
GM
14541 * files.el (hack-one-local-variable-eval-safep):
14542 Allow minor-modes with explicit +/-1 arguments.
14543
59f623b7
TZ
145442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14545
14546 * term/xterm.el (xterm): Add defgroup.
14547 (xterm-extra-capabilities): Add defcustom to supply known xterm
14548 capabilities, skip querying them, or query them (default).
14549 (terminal-init-xterm): Use it.
14550 (terminal-init-xterm-modify-other-keys): New function to set up
14551 modifyOtherKeys support to simplify `terminal-init-xterm'.
14552
9aab8e0d
MR
145532011-06-09 Martin Rudalics <rudalics@gmx.at>
14554
14555 * window.el (resize-window-reset, resize-window-reset-1)
14556 (resize-subwindows-skip-p, resize-subwindows-normal)
14557 (resize-subwindows, resize-other-windows, resize-this-window)
14558 (resize-root-window, resize-root-window-vertically)
14559 (window-deletable-p, window-or-subwindow-p)
14560 (frame-root-window-p): New functions.
14561
e8b08aee
GM
145622011-06-09 Glenn Morris <rgm@gnu.org>
14563
14564 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14565 (ange-ftp-get-files): Use it.
14566
254c37a5
AK
145672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14568
14569 * mail/sendmail.el (mail-recover-1, mail-recover):
14570 * files.el (recover-file, recover-session):
14571 Handle dired-listing-switches not being just a single short option.
14572
35d7dbd3
GM
145732011-06-09 Glenn Morris <rgm@gnu.org>
14574
14575 * calendar/appt.el (appt-display-message, appt-disp-window):
14576 Handle lists of appointments.
14577
387522b2
MR
145782011-06-08 Martin Rudalics <rudalics@gmx.at>
14579
2b75be67
SM
14580 * window.el (one-window-p): Move down in code.
14581 Rewrite doc-string.
14582 (window-current-scroll-bars): Rewrite doc-string.
14583 Normalize live window argument.
387522b2
MR
14584 (walk-windows, get-window-with-predicate, count-windows):
14585 Rewrite doc-string. Use window-list-1.
14586 (window-in-direction-2, window-in-direction, get-mru-window):
14587 New functions.
14588
d8e4b68b 145892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14590
14591 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14592 Doc fix (Bug#8713).
14593
145942011-06-08 Chong Yidong <cyd@stupidchicken.com>
14595
14596 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14597
145982011-06-08 Juanma Barranquero <lekktu@gmail.com>
14599
14600 * loadhist.el (unload-feature-special-hooks):
14601 Add `comint-output-filter-functions'.
14602
0de12c52
IK
146032011-06-08 Ivan Kanis <gnu@kanis.fr>
14604
14605 * calendar/appt.el (appt-check): Move some initializations into the let.
14606
f3d1777e
MR
146072011-06-08 Martin Rudalics <rudalics@gmx.at>
14608
14609 * window.el (window-height): Defalias to window-total-height.
14610 (window-width): Defalias to window-body-width.
14611
18af70d0
CY
146122011-06-07 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * image-mode.el (image-toggle-animation): New command.
14615 (image-mode-map): Bind it to RET.
14616 (image-mode): Update message.
14617 (image-toggle-display-image): Avoid a spurious cache flush.
14618 (image-transform-rotation): Doc fix.
14619 (image-transform-properties): Return quickly in the normal case.
14620 (image-animate-loop): Rename from image-animate-max-time.
14621
2b75be67 14622 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14623 (create-animated-image): Remove unnecessary function.
14624 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14625 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14626 (image-animate-timer): Use car-safe.
14627 (image-animate-timeout): Rename argument.
14628
190b47e6
MR
146292011-06-07 Martin Rudalics <rudalics@gmx.at>
14630
14631 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14632 window.c. Rename first argument to ALL-FRAMES.
14633 Rephrase doc-strings.
14634 (get-buffer-window-list): Rewrite using window-list-1.
14635 Rephrase doc-string.
a1511caf
MR
14636 (window-safe-min-height, window-safe-min-width): New constants.
14637 (window-size-ignore, window-min-size, window-min-size-1)
14638 (window-sizable, window-sizable-p, window-size-fixed-1)
14639 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14640 (window-max-delta-1, window-max-delta, window-resizable)
14641 (window-resizable-p, window-total-height, window-total-width)
14642 (window-body-width): New functions.
14643 (window-full-height-p, window-full-width-p): Rewrite using
14644 window-total-size.
14645 (window-body-height): Rewrite using window-body-size.
190b47e6 14646
85cc1f11
MR
146472011-06-06 Martin Rudalics <rudalics@gmx.at>
14648
14649 * window.el (window-right, window-left, window-child)
14650 (window-child-count, window-last-child, window-any-p)
14651 (normalize-live-buffer, normalize-live-frame)
14652 (normalize-any-window, normalize-live-window)
14653 (window-iso-combination-p, window-iso-combined-p)
14654 (window-iso-combinations)
14655 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14656 (windows-with-parameter, window-with-parameter)
14657 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14658 (window-atom-check, window-side-check, window-check):
14659 New functions.
85cc1f11
MR
14660 (ignore-window-parameters, window-sides, window-sides-vertical)
14661 (window-sides-slots): New variables.
14662 (window-size-fixed): Move down in code. Minor doc-string fix.
14663
e7156492
AS
146642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14665
14666 * comint.el (comint-dynamic-complete-as-filename)
14667 (comint-dynamic-complete-filename): Correctly call
14668 completion-in-region.
14669
7e821d0d
DD
146702011-06-05 Deniz Dogan <deniz@dogan.se>
14671
14672 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14673 in last change.
14674
ac09b8a1
DD
146752011-06-05 Deniz Dogan <deniz@dogan.se>
14676
14677 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14678 (rcirc): Use it to prompt for encryption.
14679
34699b85
RW
146802011-06-05 Roland Winkler <winkler@gnu.org>
14681
14682 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14683 (bibtex-search-entries): New command bound to C-c C-a.
14684 (bibtex-display-entries): New function.
14685
004dedd3
RW
146862011-06-05 Roland Winkler <winkler@gnu.org>
14687
14688 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14689 (bibtex-insert-kill): After yanking insert newline if necessary.
14690 (bibtex-initialize): Call bibtex-string-files-init only once.
14691 (bibtex-mode): Do not call easy-menu-add.
14692 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14693 (bibtex-yank): Set arg properly if nil.
14694
022fe7ce
RW
146952011-06-05 Roland Winkler <winkler@gnu.org>
14696
2b75be67
SM
14697 * textmodes/bibtex.el (bibtex-search-entry-globally):
14698 New variable.
022fe7ce
RW
14699 (bibtex-search-entry): Use it.
14700
b7c3692a
RW
147012011-06-05 Roland Winkler <winkler@gnu.org>
14702
14703 * textmodes/bibtex.el (bibtex-entry-format): New option
14704 sort-fields.
14705 (bibtex-format-entry, bibtex-reformat): Honor this option.
14706 (bibtex-parse-entry): Return fields in proper order.
14707
8eda563d
JB
147082011-06-05 Juanma Barranquero <lekktu@gmail.com>
14709
14710 * doc-view.el (doc-view-remove-if): Move computation of result out
14711 of `dolist' to silence misleading lexical-binding warning.
14712
7dbe3dbc
CY
147132011-06-04 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14716 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14717
0c33dd17
MA
147182011-06-04 Michael Albinus <michael.albinus@gmx.de>
14719
14720 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14721 "SunOS 5.10".
14722
f8f91c2b
MA
147232011-06-04 Michael Albinus <michael.albinus@gmx.de>
14724
14725 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14726 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14727 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14728 (tramp-parse-putty):
14729 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14730 (tramp-completion-function-alist-ssh)
14731 (tramp-completion-function-alist-telnet)
14732 (tramp-completion-function-alist-su)
14733 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14734 cookie.
14735
14736 * net/tramp-ftp.el:
14737 * net/tramp-sh.el:
14738 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14739 load "tramp.el" `tramp-set-completion-function'.
14740
e17d9003
SM
147412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14742
14743 * shell.el: Require and use pcomplete.
14744 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14745 (shell-completion-vars): Set pcomplete-default-completion-function.
14746
6c4cab03
DD
147472011-06-04 Deniz Dogan <deniz@dogan.se>
14748
14749 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14750 `memq' (Bug#8799).
14751
ea9fafe0
SM
147522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14753
14754 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14755
b3e945d3
JB
147562011-06-02 Juanma Barranquero <lekktu@gmail.com>
14757
14758 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14759 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14760 * vc/log-view.el (log-view-beginning-of-defun):
14761 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14762 (smerge-refine-forward, smerge-refine-chopup-region):
14763 Silence warning for unused `dotimes' counter variables.
14764
7d520089
SM
147652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14766
14767 * net/tramp.el (tramp-with-progress-reporter): Rename from
14768 with-progress-reporter. Use `declare'.
14769 * net/tramp-smb.el:
14770 * net/tramp-sh.el:
14771 * net/tramp-gvfs.el: Update all uses.
14772
a1c2400f
JB
147732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14774
14775 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14776 buffer isn't killed before making it current.
14777
2403c841
SM
147782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14779
14780 Silence various byte-compiler warnings.
14781 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14782 `access-type' and new obsolescence format.
14783 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14784 new format.
14785 (byte-compile-check-variable): New `access-type' argument.
14786 Only warn if the access-type is obsolete.
14787 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14788 (byte-compile-variable-set): Adjust callers.
14789 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14790 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14791 setting it as obsolete.
14792 * simple.el (minibuffer-completing-symbol):
14793 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14794 access as obsolete.
14795 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14796 obsolete yet.
14797 * international/quail.el (quail-mouse-choose-completion): Remove unused
14798 code referring to obsolete var.
14799 (quail-choose-completion-string): Remove.
14800 * server.el (server-clients-with, server-kill-buffer-query-function)
14801 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14802 * proced.el (proced-send-signal):
14803 * emacs-lisp/lisp.el (lisp-complete-symbol):
14804 Replace completion-annotate-function with completion-extra-properties.
14805
2462470b
SM
148062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14807
fb5b2591
SM
14808 * simple.el (goto-line): Use read-number.
14809 (overriding-map-is-bound): Remove.
14810 (saved-overriding-map): Change default.
14811 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14812 Take the map as argument.
14813 (universal-argument, negative-argument, digit-argument): Use it.
14814 (restore-overriding-map): Adjust.
14815 (do-auto-fill): Use fill-forward-paragraph.
14816 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14817
fd6fa53f
SM
14818 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14819 (minibuffer-inactive-mode): New major mode.
14820 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14821 the *Messages* buffer" hack.
14822 (mouse-popup-menubar): Don't burp if the event is a normal key.
14823
2462470b
SM
14824 Miscellaneous tweaks.
14825 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14826 lexical scoping as in subr.el's dolist and dotimes.
14827 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14828 Silence compiler warning.
14829 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14830 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14831 * international/ccl.el (ccl-compile): Trivial simplification.
14832 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14833 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14834 `printflag' argument.
14835 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14836 Purecopy the whole obsolescence data.
14837
108bf785
LL
148382011-06-01 Leo Liu <sdl.web@gmail.com>
14839
14840 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14841 improve doc-string as suggested by Marco Pessotto
14842 <melmothx@gmail.com>.
14843 (rcirc-print): Fix last change.
14844
30a23501
SM
148452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * minibuffer.el (complete-with-action): Return nil for the metadata and
14848 boundaries of non-functional tables.
14849 (completion-table-dynamic): Return nil for the metadata.
14850 (completion-table-with-terminator): Add default case, using
14851 complete-with-action.
14852 (completion--metadata): New function.
14853 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14854 to try and avoid pathological performance problems.
14855 (completion--embedded-envvar-table): Return `category' metadata.
14856
bcd54f83
LMI
148572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14858
14859 * subr.el (process-alive-p): New tiny convenience function.
14860
e227544d
SM
148612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14862
14863 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14864 content but also its previous major mode.
14865
e8296fdc
HE
148662011-05-31 Helmut Eller <eller.helmut@gmail.com>
14867
4d61f28d 14868 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14869 *Backtrace* buffer when we exit with C-M-c.
14870
620c53a6
SM
148712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14872
14873 * minibuffer.el: Add metadata method to completion tables.
14874 (completion-category-overrides): New defcustom.
14875 (completion-metadata, completion--field-metadata)
14876 (completion-metadata-get, completion--styles)
14877 (completion--cycle-threshold): New functions.
14878 (completion-try-completion, completion-all-completions):
14879 Add `metadata' argument to choose completion-styles.
14880 (completion--do-completion): Use metadata to choose cycling.
14881 (completion-all-sorted-completions): Use metadata for sorting.
14882 Remove :completion-cycle-penalty which is not needed any more.
14883 (completion--try-word-completion): Add `metadata' argument.
14884 (minibuffer-completion-help): Check metadata for annotation function
14885 and sorting.
14886 (completion-file-name-table): Return `category' metadata.
14887 (minibuffer-completing-file-name): Make obsolete.
14888 * simple.el (minibuffer-completing-symbol): Make obsolete.
14889 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14890 completion-try-completion.
14891
1257e755
SM
148922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14893
14894 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14895
3767e706
LL
148962011-05-30 Leo Liu <sdl.web@gmail.com>
14897
14898 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14899 (rcirc-print): Decode all incoming messages (bug#8744).
14900 (rcirc-decode-coding-system): Allow value nil for automatic coding
14901 system detection.
3767e706 14902
d1a5d56a
GM
149032011-06-01 Glenn Morris <rgm@gnu.org>
14904
14905 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14906
e8cbec34
CY
149072011-05-29 Chong Yidong <cyd@stupidchicken.com>
14908
14909 * image.el (image-animate-max-time): Allow nil and t values.
14910 Default to nil.
14911 (create-animated-image): Doc fix.
14912 (image-animate-start): Remove second arg; just use
14913 image-animate-max-time.
14914 (image-animate-timeout): Doc fix. Args changed.
14915
14916 * image-mode.el (image-toggle-display-image): Ensure that the
14917 image spec passed to the animate timer is the same object as in
58179cce 14918 the buffer's display property (Bug#6981).
e8cbec34
CY
14919 (image-transform-properties): Doc fix.
14920
14921 * image.el (image-animate-max-time): Default to nil.
14922
159daf87
MR
149232011-05-29 Martin Rudalics <rudalics@gmx.at>
14924
14925 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14926 entire buffer list (Bug#8184).
14927
d66c4c7c
CY
149282011-05-29 Chong Yidong <cyd@stupidchicken.com>
14929
14930 * image.el (imagemagick-types-inhibit)
14931 (imagemagick-register-types): Doc fix.
14932
80aec780
DD
149332011-05-29 Deniz Dogan <deniz@dogan.se>
14934
14935 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14936 default.
14937
1dd3c2d9
CY
149382011-05-29 Chong Yidong <cyd@stupidchicken.com>
14939
14940 * select.el: Don't perform clipboard-manager saving in hooks;
14941 leave the hooks empty.
14942
60e56523
LL
149432011-05-28 Leo Liu <sdl.web@gmail.com>
14944
14945 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14946 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14947 (occur-edit-mode): New major mode (Bug#8463).
14948 (occur-after-change-function): New function.
14949 (occur-engine): Give Occur tags a read-only property.
14950
2b1e1a22
KR
149512011-05-28 Kevin Ryde <user42@zip.com.au>
14952
14953 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14954
5d344e88
CY
149552011-05-28 Chong Yidong <cyd@stupidchicken.com>
14956
8e6ca83d
CY
14957 * bindings.el (help-echo): Make the initial non-indicator dash
14958 empty on graphical terminals (Bug#7295).
14959
5d344e88
CY
14960 * files.el (auto-mode-alist): Move config rule after the
14961 in-stripping one (Bug#8547).
14962
bfbbace7
CY
14963 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14964
fbeba6e2
CY
14965 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14966 setting (Bug#8740).
14967
60ed8c72
AA
149682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14969
4ac619f0
AA
14970 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14971 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14972 (Bug#8539).
60ed8c72 14973
23db196e
CY
149742011-05-28 Chong Yidong <cyd@stupidchicken.com>
14975
14976 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14977
5012f24c
DK
149782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14979
14980 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14981 (hs-hide-block-at-point, hs-find-block-beginning)
14982 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14983 (Bug#8279).
14984
6a639b16
GM
149852011-05-28 Glenn Morris <rgm@gnu.org>
14986
14987 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14988
d43eaf2c
CY
149892011-05-28 Chong Yidong <cyd@stupidchicken.com>
14990
5199bde1
CY
14991 * help-fns.el (describe-function-1): If the function is a derived
14992 major mode, print the parent mode.
14993
d43eaf2c
CY
14994 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14995 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14996
423428a8
SM
149972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14998
0ff8e1ba 14999 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15000 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15001 * progmodes/etags.el (tags-completion-at-point-function):
15002 * info-look.el (info-lookup-completions-at-point): Mark as
15003 non-exclusive.
15004 (info-complete): Adjust accordingly.
15005
423428a8
SM
15006 * info-look.el: Convert to lexical-binding and completion-at-point.
15007 (info-lookup-completions-at-point): New function.
15008 (info-complete): Use it and completion-in-region.
15009
b74aa22b
DA
150102011-05-28 Drew Adams <drew.adams@oracle.com>
15011
15012 * isearch.el: Let M-e start with point at the first mismatched char.
15013 (isearch-fail-pos): New function.
15014 (isearch-edit-string): Use it.
15015
66e2e71d
DK
150162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15017
15018 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15019
b1890b0f 150202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15021
15022 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15023 traversal functions for avl-trees.
15024 (avl-tree--stack): New struct.
15025 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15026 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15027 (avl-tree--do-enter): Add optional `updatefun' arg.
15028 Change return value.
eb95d01d 15029 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15030 (avl-tree--do-delete): Add `test' and `nilflag' args.
15031 Change return value.
eb95d01d
TC
15032 (avl-tree-member): Add optional `nilflag'
15033 (avl-tree-member-p): New function.
15034 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15035 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15036 (avl-tree-stack-empty-p): New functions.
15037
3769ddcf
TC
15038 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15039 avl-tree--del-balance1 and make it work both ways.
15040 (avl-tree--del-balance2): Remove.
15041 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15042 make it work both ways.
15043 (avl-tree--enter-balance2): Remove.
15044 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15045 New macros.
15046 (avl-tree--mapc, avl-tree-map): Add direction argument.
15047
eb95d01d 150482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15049
15050 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15051
a9f737ee
CY
150522011-05-27 Chong Yidong <cyd@stupidchicken.com>
15053
15054 * select.el: Support clipboard managers with built-in function
15055 x-clipboard-manager-save, via delete-frame-functions and
15056 kill-emacs-hook.
15057 (xselect-convert-to-targets): Add MULTIPLE target to list.
15058 (xselect-convert-to-save-targets): New function.
15059
c92a1e54
KH
150602011-05-27 Kenichi Handa <handa@m17n.org>
15061
15062 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15063 let-binding rfc2047-encode-encoded-words to nil.
15064
e145f188
GM
150652011-05-27 Glenn Morris <rgm@gnu.org>
15066
5ec8a862
GM
15067 * mail/emacsbug.el: Don't require url-util.
15068
4b29d9fb
GM
15069 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15070
e145f188
GM
15071 * files.el (set-auto-mode):
15072 Also respect mode: entries at the end of the file. (Bug#8586)
15073
7d15102b
GM
150742011-05-26 Glenn Morris <rgm@gnu.org>
15075
98f593b8
GM
15076 * files.el (hack-local-variables-prop-line, hack-local-variables):
15077 Downcase mode names, as seems to be traditional.
27b48e63 15078 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15079
7d15102b
GM
15080 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15081 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15082
51d5b4ec
JD
150832011-05-25 Julien Danjou <julien@danjou.info>
15084
15085 * textmodes/rst.el (rst-define-level-faces): Do not define face
15086 symbol if it is already defined.
15087
91513f63
VB
150882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15089
15090 * play/5x5.el (5x5-new-game, 5x5-randomize):
15091 Reset 5x5-solver-output to nil when a new grid is cast.
15092 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15093 these debugging traces, as defmacro breaks the compiled code.
15094
4d90d6d0
DK
150952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15096
15097 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15098
e1b90ef6
LL
150992011-05-24 Leo Liu <sdl.web@gmail.com>
15100
15101 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15102 (vc-bzr-sha1): Adapt.
15103
d8e4b68b 15104 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15105
15106 * bindings.el: Provide sha1 feature.
15107
db0406bb 151082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15109
15110 * mail/sendmail.el: Require `rfc2047'.
15111 (mail-insert-from-field): Do not perform RFC2047 encoding.
15112 (mail-encode-header): New function.
15113 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15114 buffer to the return value of select-message-coding-system.
15115 Call mail-encode-header.
b8d747b9
KH
15116
15117 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15118
db0406bb 151192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15120
4d90d6d0
DK
15121 * mail/supercite.el (sc-default-cite-frame):
15122 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15123
eb8a5e9b
GM
151242011-05-24 Glenn Morris <rgm@gnu.org>
15125
f8630703
GM
15126 * progmodes/python.el (brm-menu): Declare.
15127
8831bbed
GM
15128 * emulation/viper.el (viper-set-hooks): Declare.
15129
eb8a5e9b
GM
15130 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15131 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15132 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15133 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15134 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15135 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15136
a2a25d24
SM
151372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15138
15139 Add an :exit-function for completion-at-point.
15140
15141 * minibuffer.el (completion--done): New fun.
15142 (completion--do-completion): Use it. New arg `expect-exact'.
15143 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15144 since completion--do-completion does it for us now.
15145 (minibuffer-force-complete): Use completion--done and
15146 completion--replace. Handle sole-completion case with more care.
15147 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15148 (completion-extra-properties): New var.
15149 (completion-annotate-function): Make obsolete.
15150 (minibuffer-completion-help): Adjust accordingly.
15151 Use completion-list-insert-choice-function.
15152 (completion-at-point, completion-help-at-point):
15153 Bind completion-extra-properties.
15154 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15155 * simple.el (completion-list-insert-choice-function): New var.
15156 (completion-setup-function): Preserve it.
15157 (choose-completion): Pay attention to it, shuffle the code a bit.
15158 (choose-completion-string): New arg `insert-function'.
15159
15160 * textmodes/bibtex.el: Convert to lexical binding.
15161 (bibtex-mode-map): Use completion-at-point.
15162 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15163 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15164 (bibtex-complete): Define as obsolete alias.
15165 (bibtex-complete-internal): Remove.
15166 (bibtex-format-entry): Remove unused sub-group in regexp.
15167 * shell.el (shell--command-completion-data)
15168 (shell-environment-variable-completion):
15169 * pcomplete.el (pcomplete-completions-at-point):
15170 * comint.el (comint--complete-file-name-data): Use :exit-function
15171 instead of completion-table-with-terminator so it also works for
15172 choose-completion.
15173
e44e373d
SM
151742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15175
4f91a816
SM
15176 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15177
782fc819
SM
15178 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15179 (bug#8710).
15180
e44e373d
SM
15181 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15182
381987c3
KM
151832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15184
15185 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15186 customization variable and implement: If non-nil, auto-fill will
15187 be inhibited while on topic's header line.
15188
b776bc70
VB
151892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15190
15191 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15192 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15193 always have a solution in grid size = 5 cases.
15194 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15195 (5x5-solver-output, 5x5-log-buffer): New vars.
15196 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15197 Make these variables buffer local to achieve 5x5 multi-session-ness.
15198 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15199 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15200 (5x5-solve-suggest): New funs.
15201 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15202 randomize a grid so that we ensure that there is always a solution.
15203 (5x5-make-random-grid): Allow other movement than flipping.
15204
7de88b6e
KR
152052011-05-23 Kevin Ryde <user42@zip.com.au>
15206
15207 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15208 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15209 advice and passes PREDICATE.
15210
b1ef1257
SM
152112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15212
bbca48fe
SM
15213 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15214 byte-compile-lambda if it's actually a lambda.
15215
b1ef1257
SM
15216 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15217 Fix function quoting. Use backquote better.
15218
92a9cc65
YS
152192011-05-22 Yuanle Song <sylecn@gmail.com>
15220
15221 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15222 matching (Bug#8516).
15223
f0fb8059
JA
152242011-01-22 Jari Aalto <jari.aalto@cante.net>
15225
15226 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15227 different face (Bug#8178).
15228
d5b44c93
CY
152292011-05-22 Chong Yidong <cyd@stupidchicken.com>
15230
15231 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15232 defface (Bug#8144).
15233
79106a44
SM
152342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15235
9c848d8a
SM
15236 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15237 funcall as well (bug#8712). Warn when performing those conversions.
15238 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15239
79106a44
SM
15240 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15241
88dfa756
GM
152422011-05-22 Glenn Morris <rgm@gnu.org>
15243
15244 * files.el (hack-local-variables-prop-line): Small simplifications.
15245 (hack-local-variables, hack-local-variables-prop-line):
15246 If MODE-ONLY, return the mode, rather than just `t'.
15247
b7cf2c79
SM
152482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15251
3f1a8558
GM
152522011-05-21 Glenn Morris <rgm@gnu.org>
15253
7e4ccca3
GM
15254 * files.el (hack-local-variables-prop-line, hack-local-variables):
15255 If only interested in the mode, don't bother doing the other stuff.
15256
637d46ca
GM
15257 * image-mode.el (image-after-revert-hook):
15258 Redraw all frames on which the image is visible. (Bug#8567)
15259
973d955b
GM
15260 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15261
3f1a8558
GM
15262 * wid-edit.el (widget-checklist-match-inline):
15263 Fix 2011-04-19 change. (Bug#8649)
15264
96479927
SM
152652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15266
1dcf791f
SM
15267 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15268 Also allow singlespace after single-letter capitals followed by a dot.
15269
96479927
SM
15270 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15271 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15272
35fd0881
N
152732011-05-20 Nix <nix@esperi.org.uk>
15274
15275 * files.el (basic-save-buffer-2):
15276 Fix handling of break-hardlink-on-save with non-existent files.
15277
82745640
DD
152782011-05-19 Deniz Dogan <deniz@dogan.se>
15279
15280 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15281 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15282
4a720484
GM
152832011-05-19 Glenn Morris <rgm@gnu.org>
15284
d1f21341
GM
15285 * progmodes/f90.el (f90-type-def-re):
15286 Handle "type, bind(c)". (Bug#8691)
15287
4a720484
GM
15288 * emacs-lisp/autoload.el (batch-update-autoloads):
15289 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15290
2fb0a219
MA
152912011-05-18 Michael Albinus <michael.albinus@gmx.de>
15292
15293 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15294 property for the correct connection in case of multihops.
15295
e565dd37
GM
152962011-05-18 Glenn Morris <rgm@gnu.org>
15297
c2571358 15298 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15299 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15300
e565dd37
GM
15301 Rationalize calendar handling of day and month abbrev-arrays.
15302 * calendar/calendar.el (calendar-customized-p): New function.
15303 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15304 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15305 Add :set function.
15306 (calendar-abbrev-length, calendar-day-abbrev-array)
15307 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15308 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15309 Elements may no longer be nil.
15310 (calendar-day-name, calendar-month-name):
15311 Update for changed nature of abbrev arrays.
15312 * calendar/diary-lib.el (diary-name-pattern):
15313 Update for changed nature of abbrev arrays.
15314 (diary-mark-entries-1): Update calendar-make-alist calls.
15315 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15316 * calendar/cal-html.el (cal-html-day-abbrev-array):
15317 Simply inherit from calendar-day-abbrev-array.
15318
1d99a745
SM
153192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * progmodes/grep.el (grep-mode): Disable default
15322 compilation-directory-matcher setting (bug#8684).
15323
7c1d9aa0
MA
153242011-05-17 Michael Albinus <michael.albinus@gmx.de>
15325
15326 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15327 instead of "head" and "tail". There were problems with SunOS 5.9,
15328 and it performs better.
15329
3952e9d8
GM
153302011-05-17 Glenn Morris <rgm@gnu.org>
15331
2dd12e7f
GM
15332 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15333
e4157b9c
GM
15334 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15335 Replace obsolete function.
15336
8e249bbd
GM
15337 * shell.el (pcomplete-parse-arguments-function): Declare.
15338
3952e9d8
GM
15339 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15340 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15341 (appt-check): Doc fixes.
15342 (appt-disp-window-function, appt-delete-window-function):
15343 Remove needless special case in custom :type.
15344 (appt-display-count): Default to 0, not nil.
15345 (appt-check): Reset appt-display-count to 0, not nil.
15346
c71a0d48 153472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15348
c71a0d48
GM
15349 * progmodes/python.el (python-font-lock-keywords):
15350 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15351
31d55be9
SM
153522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15353
15354 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15355
3bfacb2f
KR
153562011-05-16 Kevin Ryde <user42@zip.com.au>
15357
15358 * info-look.el (makefile-automake-mode): New setups, looking in
15359 automake manual, then makefile-mode.
15360 (makefile-mode): Remove automake manual, have it just in
15361 makefile-automake-mode since there's various things different or
15362 not relevant to plain make.
15363 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15364 believe a hypothetical automake-mode would go to makefile-mode,
15365 not the other way around.
15366
c8e83751
CY
153672011-05-15 Chong Yidong <cyd@stupidchicken.com>
15368
5e9e35cd
CY
15369 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15370 hunk-end tags (Bug#8672).
15371
c8e83751
CY
15372 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15373 vc-annotate-show-diff-revision-at-line (Bug#8671).
15374
50b23e5a
GM
153752011-05-14 Glenn Morris <rgm@gnu.org>
15376
7210a739
GM
15377 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15378 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15379 (change-log-font-lock-keywords): Also handle multiple author lines
15380 with leading tabs. (Bug#8644)
7210a739 15381
4691905a
GM
15382 * calendar/appt.el (appt-check): Rename some local variables.
15383 Some simplification/reordering.
15384
50b23e5a
GM
15385 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15386 (feedmail-sendmail-f-doesnt-sell-me-out)
15387 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15388 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15389 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15390 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15391 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15392 (feedmail-binmail-gnulinuxish-template):
15393 Rename from feedmail-binmail-linuxish-template.
15394 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15395 Use insert-buffer-substring.
15396
215cda7c
BC
153972011-05-14 Bill Carpenter <bill@carpenter.org>
15398
15399 * mail/feedmail.el (feedmail-patch-level): Increase.
15400 (feedmail-debug): New custom group.
15401 (feedmail-confirm-outgoing-timeout)
15402 (feedmail-sendmail-f-doesnt-sell-me-out)
15403 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15404 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15405 (feedmail-sender-line, feedmail-from-line)
15406 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15407 (feedmail-spray-this-address)
215cda7c
BC
15408 (feedmail-spray-address-fiddle-plex-list)
15409 (feedmail-queue-use-send-time-for-date)
15410 (feedmail-queue-use-send-time-for-message-id)
15411 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15412 (feedmail-buffer-eating-function):
15413 Doc fixes.
15414 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15415 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15416 (feedmail-message-action-scroll-down): New functions.
15417 (feedmail-queue-directory, feedmail-queue-draft-directory):
15418 Use expand-file-name.
15419 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15420 Remove C-v help entry.
15421 (feedmail-queue-buffer-file-name): New variable.
15422 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15423 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15424 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15425 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15426 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15427 (feedmail-message-action-toggle-spray)
15428 (feedmail-run-the-queue-no-prompts)
15429 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15430 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15431 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15432 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15433 (feedmail-envelope-deducer, feedmail-fiddle-from)
15434 (feedmail-fiddle-sender, feedmail-default-date-generator)
15435 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15436 (feedmail-fiddle-spray-address)
15437 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15438 (feedmail-fiddle-list-of-fiddle-plexes)
15439 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15440 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15441 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15442 Change default. Doc fix.
15443 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15444 (feedmail-binmail-linuxish-template): New constant.
15445 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15446 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15447 (feedmail-send-it): Add debug call.
15448 Use feedmail-queue-buffer-file-name, and
15449 feedmail-send-it-immediately-wrapper.
15450 (feedmail-message-action-send): Add debug call.
15451 Use feedmail-send-it-immediately-wrapper.
15452 (feedmail-queue-express-to-queue): Add debug call.
15453 Run feedmail-queue-express-hook.
15454 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15455 (feedmail-message-action-help-blat):
15456 Rename from feedmail-queue-send-edit-prompt-help-first.
15457 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15458 Check line-endings. Handle errors better.
15459 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15460 Doc fix. Add debug call.
15461 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15462 Use feedmail-queue-send-edit-prompt-inner.
15463 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15464 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15465 from feedmail-queue-send-edit-prompt.
15466 (feedmail-queue-send-edit-prompt-help)
15467 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15468 (feedmail-tidy-up-slug): Add debug call.
15469 Respect feedmail-queue-slug-suspect-regexp.
15470 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15471 (feedmail-dump-message-to-queue): Add debug call.
15472 Expand queue-directory.
15473 (feedmail-dump-message-to-queue): Change message slightly.
15474 Use feedmail-say-chatter.
15475 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15476 (feedmail-send-it-immediately-wrapper): New function.
15477 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15478 Insert empty string rather than newline. Handle full-frame case.
15479 Use catch/throw. Use feedmail-say-chatter.
15480 (feedmail-fiddle-from): Try mail-host-address.
15481 (feedmail-default-message-id-generator): Doc fix.
15482 Bind system-time-locale. Handle missing end.
15483 (feedmail-fiddle-x-mailer): Add debug call.
15484 Handle feedmail-x-mailer-line being nil.
15485 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15486 Add debug call. Use buffer-substring-no-properties.
15487 (feedmail-say-debug, feedmail-say-chatter): New functions.
15488 (feedmail-find-eoh): Give an explicit error.
15489
42c7e61e
UJ
154902011-05-13 Ulf Jasper <ulf.jasper@web.de>
15491
c2571358 15492 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15493 family from helvetica to sans.
c2571358 15494 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15495 etc/images/newsticker.
15496
c2571358 15497 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15498 family from helvetica to sans.
15499
15500 * net/newst-plainview.el (newsticker-new-item-face)
15501 (newsticker-old-item-face, newsticker-immortal-item-face)
15502 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15503 (newsticker-statistics-face): Change default family from
42c7e61e 15504 helvetica to sans.
c2571358 15505 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15506 etc/images/newsticker.
15507
5d3385a0
JB
15508 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15509 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15510 auto-marking.
15511
8497a297
DV
155122011-05-13 Didier Verna <didier@xemacs.org>
15513
15514 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15515 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15516 TODO entries.
8497a297
DV
15517 (lisp-lambda-list-keyword-parameter-indentation)
15518 (lisp-lambda-list-keyword-parameter-alignment)
15519 (lisp-lambda-list-keyword-alignment): New customizable user options.
15520 (lisp-indent-defun-method): Improve docstring.
15521 (extended-loop-p): Fix comment.
15522 (lisp-indent-lambda-list-keywords-regexp): New variable.
15523 (lisp-indent-lambda-list): New function.
15524 (lisp-indent-259): Use it.
15525 (lisp-indent-defmethod): Support for more than one
15526 method qualifier and properly indent methods lambda-lists.
15527 (defgeneric): Provide a missing common-lisp-indent-function property.
15528
f278f87f
SM
155292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15530
15531 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15532 bounds for the empty string (bug#8667).
15533
5233edd7
GM
155342011-05-13 Glenn Morris <rgm@gnu.org>
15535
5237a44f
GM
15536 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15537
8340026c 15538 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15539 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15540
5233edd7 15541 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15542 (appt-time-msg-list): Doc fix.
a5464014 15543 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15544
92d10796
AS
155452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15546
15547 * progmodes/ld-script.el (ld-script-keywords)
15548 (ld-script-builtins): Update keywords list.
15549
914a0ae1
SM
155502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15551
c89be45f
SM
15552 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15553
914a0ae1
SM
15554 * shell.el (shell-completion-vars): New function.
15555 (shell-mode):
15556 * simple.el (read-shell-command): Use it.
15557 (blink-matching-open): No need for " [...]" in minibuffer-message.
15558
98dc3df3
GM
155592011-05-12 Glenn Morris <rgm@gnu.org>
15560
15561 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15562 (appt-check): Simplify.
15563
d2fc7e3d 155642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15565
4d61f28d 15566 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15567 literal "/dev/null".
15568
d2fc7e3d 155692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15570
15571 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15572 Fix typo.
15573
d2fc7e3d 155742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15575
3f254caa
SM
15576 * progmodes/which-func.el (which-function):
15577 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15578 which might not be defined (Bug#8260).
15579
d45885f7
GM
155802011-05-12 Glenn Morris <rgm@gnu.org>
15581
15582 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15583 Let byte-compile-initial-macro-environment always take precedence.
15584
488086f4
SM
155852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15586
15587 * net/rcirc.el: Add support for SSL/TLS connections.
15588 (rcirc-server-alist): New field `encryption'.
15589 (rcirc): Check `encryption' settings.
15590 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15591 Merge make-local-variable into `set'.
15592 (rcirc--connection-open-p): New function.
15593 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15594 the process is not a network process (e.g. running gnutls-cli).
15595 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15596 Make rcirc-(en|de)code-coding-system local here.
15597 (rcirc-mode): Merge make-local-variable into `set'.
15598 (rcirc-parent-buffer): Make permanent buffer-local.
15599 (rcirc-multiline-minor-mode): Don't do it here.
15600 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15601 there's no server buffer.
15602
7d3b9d44
GM
156032011-05-11 Glenn Morris <rgm@gnu.org>
15604
f64049c6
GM
15605 * newcomment.el (comment-kill): Prefix "unused" local.
15606
93c9df73
GM
15607 * term/w32console.el (get-screen-color): Declare.
15608
7d3b9d44
GM
15609 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15610 Handle symbol elements of byte-compile-initial-macro-environment.
15611
9e2dd53f
LL
156122011-05-10 Leo Liu <sdl.web@gmail.com>
15613
488086f4
SM
15614 * bookmark.el (bookmark-bmenu-mode-map):
15615 Bind bookmark-bmenu-search to `/'.
8b340240 15616
9e2dd53f 15617 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15618 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15619 (Footnote-unicode): New function.
15620 (footnote-style-alist): Add unicode style to the list.
15621 (footnote-style): Doc fix.
9e2dd53f 15622
79b70037
GM
156232011-05-10 Jim Meyering <meyering@redhat.com>
15624
15625 Fix doubled-word typos.
15626 * international/quail.el (quail-insert-kbd-layout): and and -> and
15627 * kermit.el: and and -> and
15628 * net/ldap.el (ldap-search-internal): to to -> to
15629 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15630 * progmodes/js.el (js-mode): and and -> and
15631 * textmodes/artist.el (artist-move-to-xy): at at -> at
15632 (artist-draw-region-trim-line-endings): if if -> if
15633 And Safetyc -> Safety.
15634 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15635
b8f82dc1 156362011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15637 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15638
15639 * files.el (hack-one-local-variable-eval-safep):
15640 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15641
4f99f44b
GM
156422011-05-10 Glenn Morris <rgm@gnu.org>
15643
15644 * calendar/diary-lib.el (diary-list-entries-hook)
15645 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15646 (diary-nongregorian-marking-hook, diary-list-entries)
15647 (diary-include-other-diary-files, diary-mark-entries)
15648 (diary-mark-included-diary-files): Doc fixes.
15649
84f29e6b
JB
156502011-05-09 Juanma Barranquero <lekktu@gmail.com>
15651
15652 * misc.el: Require tabulated-list.el during compilation.
15653
9bedd73a
CY
156542011-05-09 Chong Yidong <cyd@stupidchicken.com>
15655
488086f4
SM
15656 * progmodes/compile.el (compilation-start):
15657 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15658 (compilation-filter-hook): Doc fix.
15659
797c735c
DD
156602011-05-09 Deniz Dogan <deniz@dogan.se>
15661
15662 * wdired.el: Remove outdated installation comment. Fix usage
15663 comment.
15664
5f4b1dfe
JB
156652011-05-09 Juanma Barranquero <lekktu@gmail.com>
15666
15667 * misc.el: Implement new command `list-dynamic-libraries'.
15668 (list-dynamic-libraries--loaded-only-p): New variable.
15669 (list-dynamic-libraries--refresh): New function.
15670 (list-dynamic-libraries): New command.
15671
4c44026c
CY
156722011-05-09 Chong Yidong <cyd@stupidchicken.com>
15673
488086f4
SM
15674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15675 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15676 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15677 higher priority to avoid clobbering by gnu.
15678
027f966d
CY
156792011-05-08 Chong Yidong <cyd@stupidchicken.com>
15680
15681 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15682 if the face has existing theme settings (Bug#8454).
15683
085f5d7d
CY
156842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15685
488086f4
SM
15686 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15687 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15688
2a86a00c
RS
15689 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15690 special file names `.' and `..' (Bug#8259).
15691
d9c54a06
CY
156922011-05-08 Chong Yidong <cyd@stupidchicken.com>
15693
488086f4
SM
15694 * progmodes/grep.el (grep-mode-font-lock-keywords):
15695 Remove buffer-changing entries.
d9c54a06
CY
15696 (grep-filter): New function.
15697 (grep-mode): Add it to compilation-filter-hook.
15698
15699 * progmodes/compile.el (compilation-filter-hook)
15700 (compilation-filter-start): New defvars.
15701 (compilation-filter): Call compilation-filter-hook prior to
15702 updating the process mark.
15703
c4662635
SM
157042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15705
15706 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15707
b0512a1d
EZ
157082011-05-07 Eli Zaretskii <eliz@gnu.org>
15709
605c9376
EZ
15710 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15711 mailclient-send-it even if window-system is nil. (Bug#8595)
15712
c4662635
SM
15713 * term/w32console.el (terminal-init-w32console):
15714 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15715 background-mode. (Bug#8597)
15716
d1dc2cc2
SM
157172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15720 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15721 New functions.
15722 (defgeneric, eieio--defmethod): Use them.
15723 (eieio-defgeneric): Remove.
15724 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15725
915d1300
GM
157262011-05-07 Glenn Morris <rgm@gnu.org>
15727
a3961c3e
GM
15728 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15729 Use let rather than let*.
15730 (timeclock-find-discrep): Remove unused local.
15731
314347b9
GM
15732 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15733
915d1300
GM
15734 * calendar/appt.el (appt-time-msg-list): Doc fix.
15735
275b59b0
NF
157362011-05-06 Noah Friedman <friedman@splode.com>
15737
15738 * apropos.el (apropos-print-doc): Only use
15739 emacs-lisp-docstring-fill-column when it is bound to an integer,
15740 per that variable's documentation.
15741
6c19f744
SM
157422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15745 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15746
60f884b2
GM
157472011-05-06 Glenn Morris <rgm@gnu.org>
15748
5006e634
GM
15749 * calendar/appt.el (appt-message-warning-time): Doc fix.
15750 (appt-warning-time-regexp): New option.
15751 (appt-make-list): Respect appt-message-warning-time.
15752
548d0a63
GM
15753 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15754 New options.
15755 (diary-add-to-list): Strip comments from the displayed string.
15756 (diary-mode): Set comment-start and comment-end.
15757
60f884b2
GM
15758 * vc/diff-mode.el (smerge-refine-subst): Declare.
15759 (diff-refine-hunk): Don't require smerge-mode when compiling.
15760
989681bb
JB
157612011-05-06 Juanma Barranquero <lekktu@gmail.com>
15762
15763 * simple.el (list-processes): Return nil as the docstring says.
15764
a6bc05e1
MA
157652011-05-05 Michael Albinus <michael.albinus@gmx.de>
15766
15767 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15768 to "".
15769 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15770 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15771 determining of binary transfer. (Bug#7383)
15772
23c22e9a
MA
157732011-05-05 Michael Albinus <michael.albinus@gmx.de>
15774
c4662635
SM
15775 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15776 Fix port computation bug. (Bug#8618)
23c22e9a 15777
0bff894f
GM
157782011-05-05 Glenn Morris <rgm@gnu.org>
15779
b8296902
GM
15780 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15781
1f522ce8
GM
15782 * simple.el (shell-dynamic-complete-functions)
15783 (comint-dynamic-complete-functions): Declare.
15784
cf5bee67
GM
15785 * net/network-stream.el (gnutls-negotiate):
15786 * simple.el (tabulated-list-print): Fix declarations.
15787
15788 * progmodes/gud.el (syntax-symbol, syntax-point):
15789 Remove unnecessary and incorrect declarations.
15790
0bff894f
GM
15791 * emacs-lisp/check-declare.el (check-declare-scan):
15792 Handle byte-compile-initial-macro-environment in bytecomp.el
15793
9869b3ae
SM
157942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 Fix earlier half-done eieio-defmethod change (bug#8338).
15797 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15798 Streamline and change calling convention.
15799 (defmethod): Adjust accordingly and simplify.
15800 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15801 new eieio--defmethod.
15802 (slot-boundp): Minor CSE simplification.
15803
9c1d5ac5
MZ
158042011-05-05 Milan Zamazal <pdm@zamazal.org>
15805
15806 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15807 (glasses-make-readable): Use glasses-separate-capital-groups.
15808
455c834e
JB
158092011-05-05 Juanma Barranquero <lekktu@gmail.com>
15810
15811 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15812 (warning-series): Doc fix.
15813 (display-warning): Don't try to create the buffer if we just found it.
15814
9ed7c8cb
CY
158152011-05-04 Chong Yidong <cyd@stupidchicken.com>
15816
15817 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15818 (autoload-find-generated-file): New function.
15819 (generate-file-autoloads): Bind generated-autoload-file to
15820 buffer-file-name.
9869b3ae
SM
15821 (update-file-autoloads, update-directory-autoloads):
15822 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15823 output file (Bug#7989).
15824 (batch-update-autoloads): Doc fix.
15825
0898ca10
JB
158262011-05-04 Juanma Barranquero <lekktu@gmail.com>
15827
15828 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15829
31dfb76c
GM
158302011-05-04 Glenn Morris <rgm@gnu.org>
15831
f330b642
GM
15832 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15833 function, so it follows changes in calendar-date-style.
15834 (diary-fancy-date-matcher): New function.
15835 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15836 (diary-fancy-font-lock-fontify-region-function):
15837 Use diary-fancy-date-pattern as a function.
15838
31dfb76c
GM
15839 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15840 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15841
48e79d6a
TZ
158422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15843
15844 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15845 instead of positional arguments. Allow :keylist and :crlfiles
15846 arguments.
15847 (open-gnutls-stream): Call it.
15848
15849 * net/network-stream.el (network-stream-open-starttls): Adjust to
15850 call `gnutls-negotiate' with :process and :hostname arguments.
15851
dd5a5ee0
SM
158522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15853
ef80fc09
SM
15854 * minibuffer.el (completion--message): New function.
15855 (completion--do-completion, minibuffer-complete)
15856 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15857 (completion--do-completion): Don't ignore completion-auto-help when in
15858 icomplete-mode.
15859
dd5a5ee0
SM
15860 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15861 internal encoding (e.g. tibetan zero is not whitespace).
15862 (global-whitespace-mode): Prefer save-current-buffer.
15863 (whitespace-trailing-regexp): Remove useless save-match-data.
15864 (whitespace-empty-at-bob-regexp): Minor simplification.
15865
b7d22a83
CY
158662011-05-03 Chong Yidong <cyd@stupidchicken.com>
15867
15868 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15869
5192af46
AM
158702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15871
15872 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15873 Use `concat' to create string for insertion.
5192af46 15874
5767d190
SM
158752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15878 Avoid open-line which runs post-self-insert-hook.
15879 (bibtex-fill-entry): Remove unused `end' var.
15880
bf242939
AM
158812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15882
5767d190
SM
15883 * textmodes/ispell.el (ispell-add-per-file-word-list):
15884 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15885
25666126
LL
158862011-05-03 Leo Liu <sdl.web@gmail.com>
15887
15888 * isearch.el (isearch-yank-pop): New command.
5767d190 15889 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15890 (isearch-forward): Mention it.
15891
52d3c2d0
SM
158922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15893
1bcace58
SM
15894 * simple.el (minibuffer-complete-shell-command): Remove.
15895 (minibuffer-local-shell-command-map): Use completion-at-point.
15896 (read-shell-command): Setup completion vars here instead.
15897 (read-expression-map): Bind TAB to symbol completion.
15898
52d3c2d0
SM
15899 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15900 error directly rather via storing it into `results'.
15901
35813471
LL
159022011-05-02 Leo Liu <sdl.web@gmail.com>
15903
15904 * vc/diff.el: Fix description.
15905
e793a940
LMI
159062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15907
15908 * server.el (server-eval-at): New function.
15909
8de66e05
LMI
159102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15911
15912 * net/network-stream.el (open-network-stream): Take a :nowait
15913 parameter and pass it on to `make-network-process'.
15914 (network-stream-open-plain): Ditto.
15915
dcb79f20
AS
159162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15917
15918 * faces.el (face-spec-set-match-display): Don't match toolkit
15919 options on terminal frames.
15920
14a7fbd8
SM
159212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15922
7eabc1be
SM
15923 * progmodes/pascal.el: Use lexical binding.
15924 (pascal-mode-map): Remove author preferences.
15925
14a7fbd8
SM
15926 * pcomplete.el (pcomplete-std-complete): Don't abuse
15927 completion-at-point.
15928
50f84510
JB
159292011-04-28 Juanma Barranquero <lekktu@gmail.com>
15930
6e087a44
JB
15931 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15932 removing code that has been dead since 1991 or so.
15933
50f84510
JB
15934 * startup.el (command-line): When warning about "_emacs", use a
15935 delayed warning to allow the user to filter it out.
15936
0ba690bd
DD
159372011-04-28 Deniz Dogan <deniz@dogan.se>
15938
15939 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15940 user has not joined.
15941
08abfaad
SM
159422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15943
15944 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15945 aren't any completions at point.
15946
638f053a
JB
159472011-04-28 Juanma Barranquero <lekktu@gmail.com>
15948
15949 * subr.el (display-delayed-warnings): New function.
15950 (delayed-warnings-hook): New variable.
15951
8fff8daa
SM
159522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15953
08abfaad
SM
15954 * minibuffer.el (completion-at-point, completion-help-at-point):
15955 Don't presume that a given completion-at-point-function will always
15956 use the same calling convention.
15957
8fff8daa
SM
15958 * pcomplete.el (pcomplete-completions-at-point):
15959 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15960 pcomplete-seen is non-nil.
15961 (pcomplete-comint-setup): Also recognize the new comint/shell
15962 completion functions.
15963 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15964 pcomplete-seen is non-nil.
15965
841a1577 159662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15967
841a1577 15968 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15969 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15970 the first character in the entry. This allows for code to add its
211ec907
UJ
15971 own uid to the entry.
15972 (icalendar--convert-float-to-ical): Add export of
15973 `diary-float'-entries save for those with the optional DAY
15974 argument.
15975
2a782793
DC
159762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15977
15978 * subr.el (shell-quote-argument): Use alternate escaping strategy
15979 when we spot a variable reference in a string.
15980
0438ce91
DC
159812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15982
15983 * cus-start.el (all): Define customization for debug-on-event.
15984
841a1577 159852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15986
15987 * subr.el (shell-quote-argument): Escape correctly under Windows.
15988
d090ed6c
SM
159892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15990
15991 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15992
bfd31217
MA
159932011-04-25 Michael Albinus <michael.albinus@gmx.de>
15994
d090ed6c
SM
15995 * net/tramp.el (tramp-process-actions): Add POS argument.
15996 Delete region between POS and (pos).
bfd31217 15997
d090ed6c
SM
15998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15999 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16000 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16001
16002 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16003 position in `tramp-process-actions' call.
16004
16005 * net/trampver.el: Update release number.
16006
e92f3bd3
SM
160072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16008
850256b5
SM
16009 * custom.el (defcustom): Obey lexical-binding.
16010
e92f3bd3
SM
16011 Fix octave-inf completion problems reported by Alexander Klimov.
16012 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16013 Inherit from octave-mode-syntax-table.
16014 (inferior-octave-mode): Set info-lookup-mode.
16015 (inferior-octave-completion-at-point): New function.
16016 (inferior-octave-complete): Use it and completion-in-region.
16017 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16018 comint-filename-completion.
16019 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16020 symbol elements which shouldn't be word elements.
16021 (octave-font-lock-keywords, octave-beginning-of-defun)
16022 (octave-function-header-regexp): Adjust regexps accordingly.
16023 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16024
cd22b309
JB
160252011-04-25 Juanma Barranquero <lekktu@gmail.com>
16026
16027 * net/gnutls.el (gnutls-errorp): Declare before first use.
16028
8b492194
TZ
160292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16030
16031 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16032 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16033 default trustfile exists before going to use it. Add missing
5a5fa834 16034 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16035 Reported by Claudio Bley <claudio.bley@gmail.com>.
16036 (open-gnutls-stream): Add usage example.
16037
16038 * net/network-stream.el (network-stream-open-starttls): Give host
16039 parameter to `gnutls-negotiate'.
16040 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16041 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16042
841a1577 160432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16044
cd22b309
JB
16045 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16046 Use correct match group (bug#8438).
05842630 16047
3ba7869c
CY
160482011-04-24 Chong Yidong <cyd@stupidchicken.com>
16049
512e3ae1
CY
16050 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16051 (package-menu--generate): New arg specifying packages to show.
16052 (package-menu-refresh, package-menu-execute, list-packages):
16053 Callers changed.
16054 (package-show-package-list): New function, replacing deleted
16055 package--list-packages (renamed because it is non-internal).
16056
16057 * finder.el (finder-list-matches): Use package-show-package-list
16058 instead of deleted package--list-packages.
16059
e92f3bd3
SM
16060 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16061 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16062 (vc-annotate-mode-map): Bind it to RET.
16063
7031be6d
UR
160642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16065
16066 * progmodes/etags.el (next-file): Don't use set-buffer to change
16067 buffers (Bug#8478).
16068
4ef177aa
CY
160692011-04-24 Chong Yidong <cyd@stupidchicken.com>
16070
c8d173eb
CY
16071 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16072
4ef177aa
CY
16073 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16074 (apropos-accumulator): Doc fix.
16075 (apropos-function, apropos-macro, apropos-command)
16076 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16077 (apropos-plist): Add face property.
16078 (apropos-symbols-internal): Fix indentation.
16079 (apropos-print): Simplify help, and recognize apropos-multi-type.
16080 (apropos-print-doc): Use button-type-get to extract the button's
16081 face property. Fill docstring (Bug#8352).
16082
4ffd0d6b 160832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16084
16085 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16086
c6c32125 16087 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16088 (mpuz-mode-map): Use mapc.
c6c32125
JB
16089 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16090 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16091 Fix typos in docstrings.
16092
58d468b4
JB
16093 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16094 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16095
6470c3c6
JB
16096 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16097
4ffd0d6b 160982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16099
16100 * minibuffer.el (completion--do-completion): Avoid the "Next char
16101 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16102
3ad8bad0
CY
16103 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16104 mouse-2 into unread-command-events, it is interpreted correctly.
16105
71d73c9c 16106 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16107 (image-toggle-display): Doc fix.
71d73c9c 16108
841a1577 161092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16110
4ffd0d6b
GM
16111 * textmodes/page.el (what-page): Use line-number-at-pos to
16112 calculate line number (Bug#6825).
6e1dbaa9 16113
c2fb1b60
JB
161142011-04-22 Juanma Barranquero <lekktu@gmail.com>
16115
16116 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16117 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16118 Pass argument NO-DEFAULT to `find-tag-interactive'.
16119
e02f48d7
JB
161202011-04-22 Juanma Barranquero <lekktu@gmail.com>
16121
16122 Lexical-binding cleanup.
16123
16124 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16125 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16126 * progmodes/ada-prj.el (ada-prj-initialize-values)
16127 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16128 (ada-prj-show-value):
16129 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16130 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16131 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16132 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16133 * progmodes/bug-reference.el (bug-reference-push-button):
16134 * progmodes/fortran.el (fortran-line-length):
16135 * progmodes/glasses.el (glasses-change):
16136 * progmodes/octave-mod.el (octave-fill-paragraph):
16137 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16138 (python-pdbtrack-grub-for-buffer, python-sentinel):
16139 * progmodes/sql.el (sql-save-connection):
16140 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16141 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16142 Mark unused parameters.
16143
16144 * progmodes/compile.el (compilation--flush-directory-cache)
16145 (compilation--flush-parse, compile-internal): Mark unused parameters.
16146 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16147 (compilation-next-error-function): Remove unused variable `timestamp'.
16148
16149 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16150 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16151
16152 * progmodes/dcl-mode.el (dcl-end-of-command):
16153 Remove unused variable `start'.
16154 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16155 (dcl-option-value-basic, dcl-option-value-offset)
16156 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16157 Mark unused parameters.
16158 (dcl-save-local-variable): Remove unused variable `val'.
16159 (mode): Declare.
16160
16161 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16162 Mark unused parameters.
16163 (delphi-ignore-changes): Move before first use.
16164 (delphi-charset-token-at): Remove unused variable `start'.
16165 (delphi-else-start): Remove unused variable `if-count'.
16166 (delphi-comment-block-start, delphi-comment-block-end):
16167 Remove unused variable `kind'.
16168 (delphi-indent-line): Remove unused variable `new-point'.
16169
16170 * progmodes/ebrowse.el (ebrowse-files-list)
16171 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16172 Mark unused parameters. Don't quote `lambda'.
16173 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16174 Don't quote `lambda'.
16175 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16176 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16177 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16178 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16179 Use `ignore-errors'.
16180 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16181 (ebrowse-view/find-file-and-search-pattern)
16182 (ebrowse-view/find-member-declaration/definition):
16183 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16184 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16185 Rename parameter PREFIX-ARG to PREFIX.
16186 (ebrowse-tags-read-name): Remove unused variables `start' and
16187 `member-info'.
16188 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16189 to `tags-file'.
16190
16191 * progmodes/etags.el (local-find-tag-hook): Declare.
16192 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16193 Mark unused parameters.
16194
16195 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16196 (executable-interpret): Mark unused parameter.
16197
16198 * progmodes/flymake.el (flymake-process-sentinel)
16199 (flymake-after-change-function)
16200 (flymake-create-temp-with-folder-structure)
16201 (flymake-get-include-dirs-dot): Mark unused parameters.
16202 (flymake-safe-delete-directory): Remove unused variable `err'.
16203
16204 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16205 (speedbar-timer-fn, speedbar-line-text)
16206 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16207 (speedbar-center-buffer-smartly): Declare functions.
16208 (gdb-find-watch-expression): Remove unused variable `array'.
16209 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16210 (gdb-starting): Mark unused parameters.
16211 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16212 (gdb-table-string): Remove unused variable `res'.
16213 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16214 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16215 (gdb-display-buffer): Remove unused variable `cur-size'.
16216
16217 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16218 allow lexical-binding compilation.
16219 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16220 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16221 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16222 Mark unused parameters.
16223 (gud-gdb-marker-filter): Remove unused variable `match'.
16224 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16225 lambda expressions and funcall them, instead of using `fset'.
16226
16227 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16228 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16229
16230 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16231 variable `header-beg'; use `let'.
16232
16233 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16234 `restart', `last-sexp' and `at-do'.
16235
16236 * progmodes/js.el (js--debug): Mark unused parameter.
16237 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16238 (js--splice-into-items): Remove unused variable `item'.
16239 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16240
16241 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16242 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16243 (makefile-complete): Remove unused variable `try'.
16244 (makefile-fill-paragraph, makefile-match-function-end):
16245 Mark unused parameters.
16246
16247 * progmodes/octave-inf.el (inferior-octave-complete):
16248 Remove unused variable `proc'.
16249 (inferior-octave-output-digest): Mark unused parameter.
16250
16251 * progmodes/perl-mode.el (perl-calculate-indent):
16252 Remove unused variable `err'.
16253
16254 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16255 (prolog-indent-line): Mark unused parameters.
16256 (prolog-indent-line): Remove unused variable `beg'.
16257
16258 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16259 (reporter-dont-compact-list): Declare.
16260
16261 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16262 Remove unused variable `char'.
16263 (sh-debug): Mark unused parameter.
16264 (sh-get-indent-info): Remove unused variable `start'.
16265 (sh-calculate-indent): Remove unused variable `var'.
16266
16267 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16268 (simula-electric-keyword): Remove unused variable `null'.
16269 (simula-search-backward, simula-search-forward): Remove unused
16270 variables `begin' and `end'.
16271
16272 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16273 Remove unused variable `pos'.
16274 (vera-electric-tab, vera-comment-uncomment-region):
16275 Mark unused parameters.
16276 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16277
7ede3b65
CY
162782011-04-22 Chong Yidong <cyd@stupidchicken.com>
16279
16280 * emacs-lisp/package.el (package--builtins, package-alist)
16281 (package-load-descriptor, package-built-in-p, package-activate)
16282 (define-package, package-installed-p)
16283 (package-compute-transaction, package-buffer-info)
16284 (package--push): Doc fix. Distinguish more clearly between
16285 version strings and version lists.
16286
121656e9
JB
162872011-04-21 Juanma Barranquero <lekktu@gmail.com>
16288
16289 Lexical-binding cleanup.
16290
16291 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16292 (5x5-make-mutate-best):
16293 * play/fortune.el (fortune-in-buffer):
16294 * play/gomoku.el (gomoku-init-display):
16295 * play/solitaire.el (solitaire, solitaire-do-check):
16296 * play/tetris.el (tetris-default-update-speed-function):
16297 Mark unused parameters.
16298
16299 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16300 (bubbles--shift): Remove unused variable `char-org'.
16301 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16302 (bubbles--show-images): Remove unused variable `char'.
16303
16304 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16305 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16306 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16307 (decipher-analyze-buffer): Use ?\s.
16308 (decipher-make-checkpoint): Remove unused variable `mapping'.
16309
16310 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16311
16312 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16313 Remove unused variable `result'; use `let'.
16314
16315 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16316 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16317 (gametree-children-shown-p, gametree-compute-reduced-score):
16318 Use `ignore-errors'.
16319
16320 * play/handwrite.el (ps-lpr-switches): Declare.
16321 (handwrite): Remove unused variables `pmin' and `lastp'.
16322
16323 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16324
16325 * play/landmark.el (landmark-init-display)
16326 (landmark-update-naught-weights): Mark unused parameters.
16327 (landmark-y): Remove unused variable `noise'. Simplify.
16328 (landmark-human-plays): Remove unused variable `score'.
16329
16330 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16331 (mpuz-try-proposal): Remove unused variable `game'.
16332
16333 * play/zone.el (life-patterns): Declare.
16334
80f499c7
JB
163352011-04-20 Juanma Barranquero <lekktu@gmail.com>
16336
16337 * vc/vc.el (ediff-vc-internal): Declare function.
16338
024ff170
SM
163392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16340
c0a193ea
SM
16341 * shell.el: Use lexical-binding and std completion UI.
16342 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16343 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16344 comint-preoutput-filter-functions rather than on
16345 comint-output-filter-functions.
16346 (shell-command-completion, shell--command-completion-data)
16347 (shell-filename-completion, shell-environment-variable-completion)
16348 (shell-c-a-p-replace-by-expanded-directory): New functions.
16349 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16350 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16351 (shell-dynamic-complete-environment-variable): Use them.
16352 (shell-dynamic-complete-as-environment-variable)
16353 (shell-dynamic-complete-as-command): Remove.
16354 (shell-match-partial-variable): Match past point.
16355 * comint.el: Clean up use of completion-at-point-functions.
16356 (comint-completion-at-point): New function.
16357 (comint-mode): Use it completion-at-point-functions.
16358 (comint-dynamic-complete): Make it obsolete.
16359 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16360 (comint-c-a-p-replace-by-expanded-history): New function.
16361 (comint-dynamic-complete-functions)
16362 (comint-replace-by-expanded-history): Use it.
16363 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16364 termination strings. Try harder to avoid second try-completion.
16365 (completion-in-region-mode-map): Disable bindings that don't work yet.
16366
2dbaa080
SM
16367 * comint.el: Use lexical-binding. Require CL.
16368 (comint-dynamic-complete-functions): Use comint-filename-completion.
16369 (comint-completion-addsuffix): Tweak custom type.
16370 (comint-filename-completion, comint--common-suffix)
16371 (comint--common-quoted-suffix, comint--table-subvert)
16372 (comint--complete-file-name-data): New functions.
16373 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16374 (comint-dynamic-list-filename-completions): Use them.
16375 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16376
2dbaa080
SM
16377 * minibuffer.el (completion-in-region-mode):
16378 Keep completion-in-region-mode--predicate global.
16379 (completion-in-region--postch):
16380 Assume completion-in-region-mode--predicate is not null.
16381
c79a6f38
SM
16382 * progmodes/flymake.el (flymake-start-syntax-check-process):
16383 Obey `dir'. Simplify.
16384
024ff170
SM
16385 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16386 we're in VC after all.
16387
1c6c854e
CS
163882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16389
16390 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16391 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16392 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16393
bed7f140
SM
163942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16395
332e62ab
SM
16396 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16397 add sanity check.
16398
bed7f140
SM
16399 * obsolete/erc-hecomplete.el: Make obsolete.
16400 * obsolete/: Standardize obsolescence info in the header.
16401
f195c582
GM
164022011-04-20 Glenn Morris <rgm@gnu.org>
16403
16404 * calendar/solar.el (solar-horizontal-coordinates):
16405 Use the longitude argument rather than `calendar-longitude'.
16406 (solar-date-next-longitude): Remove unused locals.
16407
cb79b8c0
VJL
164082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16409
16410 * whitespace.el: New version 13.2.1.
16411
164122011-04-20 felix <EmacsWiki> (tiny change)
16413
d8e4b68b 16414 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16415 switching between major modes on a file.
16416
602ea69d
SM
164172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16418
16419 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16420 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16421 multi-line comments as well.
16422
06b60517
JB
164232011-04-19 Juanma Barranquero <lekktu@gmail.com>
16424
16425 Lexical-binding cleanup.
16426
16427 * arc-mode.el (archive-mode-revert):
16428 * cmuscheme.el (scheme-interactively-start-process):
16429 * custom.el (custom-initialize-delay):
16430 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16431 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16432 * emacs-lock.el (emacs-lock-clear-sentinel):
16433 * ezimage.el (defezimage):
16434 * follow.el (follow-avoid-tail-recenter):
16435 * fringe.el (set-fringe-mode-1):
16436 * generic-x.el (bat-generic-mode-compile):
16437 * help-mode.el (help-info-variable, help-do-xref)
16438 (help-mode-revert-buffer):
16439 * help.el (view-emacs-todo):
16440 * iswitchb.el (iswitchb-completion-help):
16441 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16442 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16443 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16444 * locate.el (locate-update):
16445 * longlines.el (longlines-encode-region)
16446 (longlines-after-change-function):
16447 * outline.el (outline-isearch-open-invisible):
16448 * ps-def.el (declare-function, charset-dimension, char-width)
16449 (encode-char):
16450 * ps-mule.el (ps-mule-plot-string):
16451 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16452 (recentf-edit-list-select, recentf-edit-list-validate)
16453 (recentf-open-files-action):
16454 * rect.el (delete-whitespace-rectangle-line)
16455 (rectangle-number-line-callback):
16456 * register.el (window-configuration-to-register)
16457 (frame-configuration-to-register):
16458 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16459 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16460 (xselect-convert-to-targets, xselect-convert-to-delete)
16461 (xselect-convert-to-filename, xselect-convert-to-charpos)
16462 (xselect-convert-to-lineno, xselect-convert-to-colno)
16463 (xselect-convert-to-os, xselect-convert-to-host)
16464 (xselect-convert-to-user, xselect-convert-to-class)
16465 (xselect-convert-to-name, xselect-convert-to-integer)
16466 (xselect-convert-to-atom, xselect-convert-to-identity):
16467 * subr.el (declare, ignore, process-kill-without-query)
16468 (text-clone-maintain):
16469 * terminal.el (te-get-char, te-tic-sentinel):
16470 * tool-bar.el (tool-bar-make-keymap):
16471 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16472 * type-break.el (type-break-mode, type-break-noninteractive-query):
16473 * view.el (View-back-to-mark):
16474 * wid-browse.el (widget-browse-action, widget-browse-widget)
16475 (widget-browse-widgets, widget-browse-sexp):
16476 * widget.el (define-widget-keywords):
16477 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16478 Mark unused parameters.
16479
16480 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16481 (align-areas): Remove unused variable `look'.
16482 (align-region): Remove unused variables `real-end' and `pos-list'.
16483
16484 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16485
16486 * bindings.el (mode-line-modified, mode-line-remote):
16487 Mark unused parameters.
16488 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16489
16490 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16491 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16492
16493 * comint.el (comint-history-isearch-pop-state)
16494 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16495 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16496 (comint-substitute-in-file-name): Doc fix.
16497
16498 * completion.el (cmpl-statistics-block): Mark unused parameter.
16499 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16500 (save-completions-to-file, load-completions-from-file):
16501 Remove unused local variable `e'.
16502
16503 * composite.el (compose-chars): Remove unused variable `len'.
16504 (lgstring-insert-glyph): Remove unused variable `g'.
16505 (compose-glyph-string): Remove unused variables `ascent',
16506 `descent', `lbearing' and `rbearing'.
16507 (compose-glyph-string-relative): Remove unused variables
16508 `lbearing', `rbearing' and `wadjust'.
16509 (compose-gstring-for-graphic): Remove unused variables `header',
16510 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16511 (compose-gstring-for-terminal): Remove unused variables `header'
16512 and `nchars'. Use `let', not `let*'.
16513
16514 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16515 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16516 (Custom-buffer-done, custom-buffer-create-internal)
16517 (custom-browse-visibility-action, custom-browse-group-tag-action)
16518 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16519 (widget-magic-mouse-down-action, custom-toggle-parent)
16520 (custom-add-parent-links, custom-toggle-hide-variable)
16521 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16522 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16523 (custom-face-menu-create, custom-variable-menu-create, get)
16524 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16525 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16526 (customize-apropos): Remove unused variable `tests'.
16527 (custom-group-value-create): Remove unused variable `hidden-p'.
16528 (sort-fold-case): Declare.
16529
16530 * cus-theme.el (custom-reset-standard-faces-list)
16531 (custom-reset-standard-variables-list): Declare.
16532 (customize-create-theme, custom-theme-revert, custom-theme-write)
16533 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16534 Mark unused parameters.
16535
16536 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16537
16538 * delim-col.el (delimit-columns-max): Move defvar before first use.
16539
16540 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16541 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16542
16543 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16544 (auto-insert): Declare.
16545 (desktop-restore-file-buffer): Rename desktop-* parameters;
16546 mark unused ones.
16547 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16548 (desktop-buffer): Rename desktop-* parameters.
16549
16550 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16551 (dframe-reposition-frame-xemacs, dframe-help-echo)
16552 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16553 Mark unused parameters.
16554
16555 * dired-aux.el (backup-extract-version-start, overwrite-query)
16556 (overwrite-backup-query, rename-regexp-query)
16557 (rename-non-directory-query): Declare.
16558 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16559 (dired-add-entry): Remove unused variable `orig-file-name'.
16560 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16561 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16562 `dired-copy-preserve-time' directly.
16563 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16564 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16565
16566 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16567 (dired-virtual-revert, dired-make-relative-symlink):
16568 Mark unused parameters.
16569 (manual-program): Declare.
16570 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16571 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16572 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16573
16574 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16575
16576 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16577
16578 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16579 Declare.
16580
16581 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16582
16583 * electric.el (Electric-command-loop): Rename parameter
16584 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16585
16586 * expand.el (expand-in-literal): Remove unused variable `here'.
16587
16588 * facemenu.el (facemenu-add-new-color):
16589 Remove unused variable `docstring'.
16590
16591 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16592 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16593 (face-attr-construct): Mark unused parameter. Doc fix.
16594 (read-color): Remove unused variable `hex-string'.
16595
16596 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16597 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16598 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16599 (display-buffer-other-frame): Remove unused variable `old-window'.
16600 (kill-buffer-hook): Declare.
16601 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16602 Mark unused parameters.
16603 (after-find-file): Pass 1 to `auto-save-mode', not t.
16604
16605 * files-x.el (auto-insert): Declare.
16606 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16607
16608 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16609 variable `buf'. Mark unused parameter.
06b60517
JB
16610 (find-lisp-insert-directory): Mark unused parameter.
16611
16612 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16613 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16614 (format-common-tail): Remove, unused.
16615 (format-deannotate-region): Remove unused variable `loc'.
16616 (format-annotate-region): Remove unused variable `p'.
16617 (format-annotate-single-property-change): Remove unused variables
16618 `default' and `tail'.
16619
16620 * forms.el (read-file-filter): Declare.
16621 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16622
16623 * frame.el (frame-creation-function-alist): Mark unused parameter.
16624 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16625
16626 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16627 Remove unused parameters.
16628 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16629 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16630
16631 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16632 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16633 (hfy-prepare-tag-map): Mark unused parameters.
16634 (htmlfontify-buffer): Use `called-interactively-p'.
16635
16636 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16637 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16638 (ibuffer-do-occur): Mark unused parameters.
16639 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16640 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16641
16642 * ibuffer.el: Don't quote `lambda'.
16643 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16644 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16645 Mark unused parameters.
16646
16647 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16648 (ido-completing-read): Mark unused parameters.
16649 (ido-copy-current-word): Mark unused parameters;
16650 remove unused variable `name'.
16651 (ido-sort-merged-list): Remove unused parameter `dirs'.
16652
16653 * ielm.el (ielm-input-sender): Mark unused parameter.
16654 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16655 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16656 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16657 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16658 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16659
16660 * image-dired.el (image-dired-display-thumbs): Remove unused
16661 variables `curr-file' and `count'.
16662 (image-dired-remove-tag): Remove unused variable `start'.
16663 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16664 variable `curr-file'
16665 (image-dired-rotate-original): Remove unused variable `temp-file'.
16666 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16667 Remove unused variable `file'.
16668 (image-dired-gallery-generate): Remove unused variable `curr'.
16669 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16670
16671 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16672
16673 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16674
16675 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16676
16677 * isearch.el (minibuffer-history-symbol): Declare.
16678 (isearch-edit-string): Remove unused variable `err'.
16679 (isearch-message-prefix, isearch-message-suffix):
16680 Mark unused parameters.
16681
16682 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16683
16684 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16685
16686 * makesum.el (double-column): Remove unused variable `cnt'.
16687
16688 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16689 (ido-ignore-item-temp-list): Declare.
16690
16691 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16692 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16693 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16694 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16695 `mouse-col-delta'.
16696
16697 * mouse-sel.el (mouse-extend-internal):
16698 Remove unused variable `orig-window-frame'.
16699
16700 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16701 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16702 Move declarations before first use.
16703 (pcomplete-opt): Mark unused parameters; doc fix.
16704
16705 * proced.el (proced-revert): Mark unused parameter.
16706 (proced-send-signal): Remove unused variable `err'.
16707
16708 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16709 Rename parameter PREFIX-ARG to ARG.
16710 (ps-basic-plot-string, ps-basic-plot-whitespace):
16711 Mark unused parameters.
16712
16713 * replace.el (replace-count): Define.
16714 (occur-revert-function): Mark unused parameters.
16715 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16716 (isearch-case-fold-search, isearch-string): Declare.
16717 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16718 bind `case-fold-search'. Remove unused variables `beg' and `end',
16719 and simplify.
16720 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16721 COUNT and bind `replace-count'.
16722 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16723 to COUNT.
16724
16725 * savehist.el (print-readably, print-string-length): Declare.
16726
16727 * shadowfile.el (shadow-expand-cluster-in-file-name):
16728 Remove unused variable `cluster'.
16729 (shadow-copy-file): Remove unused variable `i'.
16730 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16731 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16732 (shadow-define-literal-group, shadow-define-regexp-group)
16733 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16734
16735 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16736 (shell): Use `called-interactively-p'.
16737 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16738
16739 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16740 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16741 (delete-backward-char): Remove unused variable `ocol'.
16742 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16743 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16744 (event-apply-hyper-modifier, event-apply-shift-modifier)
16745 (event-apply-control-modifier, event-apply-meta-modifier):
16746 Mark unused parameters.
16747 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16748 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16749
16750 * speedbar.el (speedbar-ignored-directory-expressions)
16751 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16752 (speedbar-find-file, speedbar-dir-follow)
16753 (speedbar-directory-buttons-follow, speedbar-tag-find)
16754 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16755 (speedbar-buffers-line-directory, speedbar-buffer-click):
16756 Mark unused parameters.
16757 (speedbar-tag-file): Remove unused variable `mode'.
16758 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16759
16760 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16761
16762 * talk.el (talk): Remove unused variable `display'.
16763
16764 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16765 (tar-write-region-annotate): Mark unused parameter.
16766
16767 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16768 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16769 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16770 warning by another.
16771
16772 * time-stamp.el (time-stamp-string-preprocess):
16773 Remove unused variable `require-padding'.
16774
16775 * tree-widget.el (widget-glyph-enable): Declare.
16776 (tree-widget-action): Mark unused parameter.
16777
16778 * w32-fns.el (x-get-selection): Mark unused parameter.
16779 (autoload-make-program, generated-autoload-file): Declare.
16780
16781 * wdired.el (wdired-revert): Mark unused parameters.
16782 (wdired-xcase-word): Remove unused variable `err'.
16783
16784 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16785 (whitespace-help-scroll): Remove unused variable `data-help'.
16786
16787 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16788 (widget-image-insert, widget-after-change, default)
16789 (widget-default-format-handler, widget-default-notify)
16790 (widget-default-prompt-value, widget-info-link-action)
16791 (widget-url-link-action, widget-function-link-action)
16792 (widget-variable-link-action, widget-file-link-action)
16793 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16794 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16795 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16796 (widget-insert-button-action, widget-delete-button-action, visibility)
16797 (widget-documentation-link-action, widget-documentation-string-action)
16798 (widget-const-prompt-value, widget-regexp-match, symbol)
16799 (widget-coding-system-prompt-value)
16800 (widget-key-sequence-value-to-external, sexp)
16801 (widget-sexp-value-to-internal, character, vector, cons)
16802 (widget-choice-prompt-value, widget-boolean-prompt-value)
16803 (widget-color--choose-action): Mark unused parameters.
16804 (widget-item-match-inline, widget-choice-match-inline)
16805 (widget-checklist-match, widget-checklist-match-inline)
16806 (widget-group-match): Rename parameter VALUES to VALS.
16807 (widget-field-value-set): Remove unused variable `size'.
16808 (widget-color-action): Remove unused variables `value' and `start'.
16809
16810 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16811 variable `dir'. Doc fix.
06b60517
JB
16812 (windmove-find-other-window): Don't pass it.
16813
16814 * window.el (count-windows): Mark unused parameter.
16815 (bw-adjust-window): Remove unused variable `err'.
16816
16817 * woman.el (woman-file-name): Remove unused variable `default'.
16818 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16819 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16820 (global-font-lock-mode): Declare.
16821 (woman-decode-region): Mark unused parameter.
16822 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16823
16824 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16825 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16826 (x-dnd-handle-moz-url): Remove unused variable `title'.
16827 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16828
16829 * xml.el (xml-parse-tag, xml-parse-attlist):
16830 Remove unused variable `pos'.
16831
bc4f7f3d
GM
168322011-04-19 Glenn Morris <rgm@gnu.org>
16833
16834 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16835 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16836 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16837 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16838 * calendar/cal-html.el (cal-html-insert-minical):
16839 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16840 (calendar-mark-date-pattern):
16841 Prefix "unused" locals.
16842
16843 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16844 optional argument `style'.
16845
16846 * calendar/appt.el (appt-make-list):
16847 * calendar/cal-china.el (calendar-chinese-date-string):
16848 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16849 (diary-hebrew-yahrzeit):
16850 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16851 * calendar/calendar.el (calendar-generate-window):
16852 * calendar/time-date.el (time-to-days):
16853 Remove unused local variables.
16854
16a43933
CY
168552011-04-18 Chong Yidong <cyd@stupidchicken.com>
16856
16857 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16858 glyphless-char-display table.
16859 (tabulated-list-glyphless-char-display): New var.
16860
7eed1860
SS
168612011-04-18 Sam Steingold <sds@gnu.org>
16862
16863 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16864 to acknowledgments.
16865
4d2d1ccd
GM
168662011-04-17 Glenn Morris <rgm@gnu.org>
16867
16868 * calendar/diary-lib.el (diary-sexp-entry):
16869 * calendar/holidays.el (holiday-sexp):
16870 Set debug-on-error rather than the removed stack-trace-on-error.
16871
239da61d
GM
168722011-04-16 Glenn Morris <rgm@gnu.org>
16873
16874 * progmodes/f90.el: Use lexical-binding.
16875 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16876
8b05752a
SM
168772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16878
daca8ba5
SM
16879 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16880 (mail-mode): Setup mailalias completion here instead.
16881 * mail/mailalias.el: Use lexical-binding.
16882 (pattern, mailalias-done): Declare dynamic.
16883 (mail-completion-at-point-function): New function, from mail-complete.
16884 (mail-complete): Use it.
16885 (mail-completion-expand): New function.
16886 (mail-get-names): Use it.
16887 (mail-directory, mail-directory-process, mail-directory-stream):
16888 Don't use `pattern' for lexically bound arg.
16889
6f542485
SM
16890 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16891
037e7c3f
SM
16892 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16893 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16894 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16895
8b05752a
SM
16896 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16897 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16898 (byte-interactive-p): Define them again, for use when inlining
16899 old code.
16900
49093f60
JB
169012011-04-15 Juanma Barranquero <lekktu@gmail.com>
16902
16903 * loadup.el: Use `string-to-number', not `string-to-int'.
16904
b5b8e7de
SM
169052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16908 gud-gdb-complete-command.
16909 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16910 (gud-gdb-completion-at-point): New function.
16911 (gud-gdb-completions): Remove.
16912
f42efeb5
MA
169132011-04-14 Michael Albinus <michael.albinus@gmx.de>
16914
49093f60
JB
16915 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16916 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16917 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16918 whether `executable-find' is bound.
f42efeb5
MA
16919
16920 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16921
e240cc21
SM
169222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16923
16924 * minibuffer.el (completion-in-region-mode-predicate)
16925 (completion-in-region-mode--predicate): New vars.
16926 (completion-in-region, completion-in-region--postch)
16927 (completion-in-region-mode): Use them.
16928 (completion--capf-wrapper): Also return the hook function.
16929 (completion-at-point, completion-help-at-point):
16930 Adjust and provide a predicate.
c2bd2ab0
SM
16931
16932 Preserve arg names for advice of subr and lexical functions (bug#8457).
16933 * help-fns.el (help-function-arglist): Consolidate the subr and
16934 new-byte-code cases. Add argument `preserve-names' to extract names
16935 from the docstring when needed.
16936 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16937 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16938 (ad-arglist): Use help-function-arglist's new arg.
16939 (ad-definition-type): Use cond.
16940
c183f693
JB
169412011-04-13 Juanma Barranquero <lekktu@gmail.com>
16942
06641a47
JB
16943 * autorevert.el (auto-revert-handler):
16944 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16945 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16946 Don't quote lambda.
16947
c183f693
JB
16948 * image-mode.el (image-transform-set-scale):
16949 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16950
1e3b6001
G
169512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16952
16953 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16954 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16955 Upgrades via gnutls-cli are too slow to be done opportunistically.
16956
2d6af8dd
JB
169572011-04-12 Juanma Barranquero <lekktu@gmail.com>
16958
16959 * dframe.el (dframe-current-frame): Remove spurious quote.
16960
c0749a51
GM
169612011-04-12 Glenn Morris <rgm@gnu.org>
16962
088d0d61
GM
16963 * calendar/cal-tex.el (cal-tex-end-document):
16964 Try to automatically use latin1 input if needed.
16965
c0749a51
GM
16966 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16967 Don't try to cons a mark onto an empty element.
16968
5c90fde0
LL
169692011-04-11 Leo Liu <sdl.web@gmail.com>
16970
16971 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16972 buffers.
16973 (ido-kill-buffer-at-head): Support killing virtual buffers.
16974
369e974d
CY
169752011-04-10 Chong Yidong <cyd@stupidchicken.com>
16976
16977 * minibuffer.el (completion-show-inline-help): New var.
16978 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16979 (minibuffer-force-complete, minibuffer-complete-word):
16980 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16981
16982 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16983 to avoid interference from inline help (Bug#5849).
16984
37f1c930
LL
169852011-04-10 Leo Liu <sdl.web@gmail.com>
16986
099c39a4
JB
16987 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16988 Fix typo.
37f1c930 16989
a32d4040
CY
169902011-04-09 Chong Yidong <cyd@stupidchicken.com>
16991
16992 * image-mode.el (image-toggle-display-image): Signal an error if
16993 not in Image mode.
16994 (image-transform-mode, image-transform-resize)
16995 (image-transform-set-rotation): Doc fix.
daca8ba5 16996 (image-transform-set-resize): Delete.
a32d4040
CY
16997 (image-transform-set-scale, image-transform-fit-to-height)
16998 (image-transform-fit-to-width): Handle image-toggle-display-image
16999 and image-transform-resize directly.
17000
099c39a4 170012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17002
17003 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17004 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17005 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17006 (doc-view-mode-map): Add bindings for the new functions.
17007
099c39a4 170082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17009
4d61f28d 17010 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17011 Fix typo in docstring.
17012
3726838a
EZ
170132011-04-08 Eli Zaretskii <eliz@gnu.org>
17014
04f33f1e
EZ
17015 * files.el (file-size-human-readable): Produce one digit after
17016 decimal, like "ls -lh" does.
17017
17018 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17019 the file size representation.
17020
3726838a
EZ
17021 * simple.el (list-processes): If async subprocesses are not
17022 available, error out with a clear error message.
17023
cbb59342
CY
170242011-04-08 Chong Yidong <cyd@stupidchicken.com>
17025
17026 * help.el (help-form-show): New function, to be called from C.
17027 Put help-form output in a buffer named differently than *Help*.
17028
e3971c44
EZ
170292011-04-08 Eli Zaretskii <eliz@gnu.org>
17030
17031 * files.el (file-size-human-readable): New function.
17032
17033 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17034 computing the representation inline. Don't require `cl'.
17035
12544bbe
GM
170362011-04-08 Glenn Morris <rgm@gnu.org>
17037
a1de6c6a
GM
17038 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17039
3c4671f4
GM
17040 * net/browse-url.el (browse-url-firefox):
17041 Test system-type, not system-configuration.
17042
b605679c
GM
17043 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17044 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17045 Use log-edit-empty-buffer-p. (Bug#7598)
17046
56442f0c
GM
17047 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17048 (rlogin-mode-map): Initialize in the defvar.
17049 (rlogin): Use ignore-errors.
17050
12544bbe
GM
17051 * replace.el (occur-mode-map): Some fixes for menu items.
17052
eb237b0f
AH
170532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17054
17055 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17056
7d668f2c
CY
170572011-04-06 Chong Yidong <cyd@stupidchicken.com>
17058
e67a13ab
CY
17059 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17060 issuing unused warnings.
17061
17062 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17063 macro directly.
17064
7d668f2c
CY
17065 * simple.el: Lisp reimplement of list-processes. Based on an
17066 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17067 (process-menu-mode): New major mode.
17068 (list-processes--refresh, list-processes):
17069 (process-menu-visit-buffer): New functions.
17070
17071 * files.el (save-buffers-kill-emacs): Don't assume any return
17072 value of list-processes, which is undocumented anyway.
17073
a83ec3c9
CY
170742011-04-06 Chong Yidong <cyd@stupidchicken.com>
17075
17076 * emacs-lisp/tabulated-list.el: New file.
17077
e91a96fe
CY
17078 * emacs-lisp/package.el: Use Tabulated List mode.
17079 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17080 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17081 table format using Tabulated List mode variables.
17082 (package--push): New macro, replacing package-list-maybe-add.
17083 (package-menu--generate): Use package--push. Renamed from
17084 package--generate-package-list.
17085 (package-menu-refresh, list-packages): Use it.
daca8ba5 17086 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17087 Return insertion data instead of inserting it directly.
099c39a4
JB
17088 (package-menu-describe-package, package-menu-execute):
17089 Use tabulated-list-get-id.
e91a96fe
CY
17090 (package-menu-mark-delete, package-menu-mark-install)
17091 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17092 (package-menu-mark-obsolete-for-deletion):
17093 Use tabulated-list-put-tag.
e91a96fe
CY
17094 (package--list-packages, package-menu-revert)
17095 (package-menu-get-package, package-menu-get-version)
17096 (package-menu-sort-by-column): Functions deleted.
17097 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17098 (package-menu--status-predicate, package-menu--version-predicate)
17099 (package-menu--name-predicate)
17100 (package-menu--description-predicate): Handle arguments in the
17101 Tabulated List format.
17102 (package-list-packages-no-fetch): Call list-packages.
17103
3e214b50
JB
171042011-04-06 Juanma Barranquero <lekktu@gmail.com>
17105
17106 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17107 (after-find-file): Don't bind it.
3e214b50
JB
17108 (revert-buffer-in-progress-p): New variable.
17109 (revert-buffer): Bind it.
17110 Pass nil for `after-find-file-from-revert-buffer'.
17111
17112 * saveplace.el (save-place-find-file-hook): Use new variable
17113 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17114
3f0f1700
GM
171152011-04-06 Glenn Morris <rgm@gnu.org>
17116
c0274801
GM
17117 * Makefile.in (AUTOGEN_VCS): New variable.
17118 (autoloads): Use $AUTOGEN_VCS.
17119
3f0f1700
GM
17120 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17121 * calendar/calendar.el (calendar-mode-map):
17122 Check for toolkit scroll bars. (Bug#8305)
17123
41ea9e48
CY
171242011-04-05 Chong Yidong <cyd@stupidchicken.com>
17125
17126 * minibuffer.el (completion-in-region--postch)
17127 (completion-in-region-mode): Remove unnecessary messages.
17128
6194c800
JB
171292011-04-05 Juanma Barranquero <lekktu@gmail.com>
17130
33256f14
JB
17131 * font-lock.el (font-lock-refresh-defaults):
17132 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17133 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17134
6194c800
JB
17135 * info.el (Info-directory-list, Info-read-node-name-2)
17136 (Info-split-parameter-string): Doc fixes.
17137 (Info-virtual-nodes): Reflow docstring.
17138 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17139 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17140 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17141 Fix typos in docstrings.
17142 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17143 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17144 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17145 (Info-restore-desktop-buffer): Mark unused parameters.
17146 (Info-directory-find-file, Info-directory-find-node)
17147 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17148 (Info-virtual-index-find-node, Info-apropos-find-file)
17149 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17150 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17151 (Info-virtual-index): Remove unused local variable `nodename'.
17152
b87a8200 171532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17154
b87a8200
DD
17155 * net/rcirc.el: Update my e-mail address.
17156 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17157
3b2ff876
CY
171582011-04-05 Chong Yidong <cyd@stupidchicken.com>
17159
17160 * startup.el (command-line): Save the cursor's theme-face
17161 directly, instead of using face-override-spec.
17162
17163 * custom.el (load-theme): Minor optimization in assigning faces.
17164
8d17e7ca
JB
171652011-04-04 Juanma Barranquero <lekktu@gmail.com>
17166
17167 * help-fns.el (describe-variable): Complete all variables having
17168 documentation, including keywords.
17169 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17170
2fbc1934
JB
171712011-04-04 Juanma Barranquero <lekktu@gmail.com>
17172
17173 Convert to lexical-binding.
17174
17175 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17176 (bs--get-marked-string, bs--get-modified-string)
17177 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17178 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17179 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17180
17181 * ehelp.el (electric-help-execute-extended)
17182 (electric-help-ctrl-x-prefix):
17183 * hexl.el (hexl-revert-buffer-function):
17184 * linum.el (linum-after-change, linum-after-scroll):
17185 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17186
17187 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17188
74f50695
DU
171892011-04-04 Daiki Ueno <ueno@unixuser.org>
17190
17191 * epa-dired.el:
17192 * epa-mail.el:
17193 * epa-hook.el:
17194 * epa-file.el:
17195 * epa.el:
17196 * epg.el: Use lexical binding.
17197
c11325f7
CY
171982011-04-03 Chong Yidong <cyd@stupidchicken.com>
17199
0d9e9a12
CY
17200 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17201
c11325f7 17202 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17203 dictionary case for flyspell-mark-duplications-exceptions.
17204 Use regexp matching for languages.
c11325f7
CY
17205 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17206 default dictionary (Bug#7926).
17207
da91b5f2
CY
172082011-04-02 Chong Yidong <cyd@stupidchicken.com>
17209
099c39a4
JB
17210 * emacs-lisp/package.el (package--with-work-buffer):
17211 Recognize https URLs.
da91b5f2 17212
099c39a4
JB
17213 * net/network-stream.el: Move from gnus/proto-stream.el.
17214 Change prefix to network-stream throughout.
da91b5f2
CY
17215 (open-protocol-stream): Merge into open-network-stream, leaving
17216 open-protocol-stream as an alias. Handle nil BUFFER args.
17217
17218 * subr.el (open-network-stream): Move to net/network-stream.el.
17219
afa8e9f6
GM
172202011-04-02 Glenn Morris <rgm@gnu.org>
17221
1d2e369d
GM
17222 * find-dired.el (find-exec-terminator): New option.
17223 (find-ls-option): Test for -ls support.
17224 (find-ls-subdir-switches): Test for -b in find-ls-option.
17225 (find-dired, find-grep-dired): Doc fixes.
17226 (find-dired): Use find-exec-terminator.
17227
8abb7da8 17228 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17229 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17230 (find-name-arg): Remove purecopy.
8abb7da8 17231
f3ca7378
GM
17232 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17233 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17234 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17235 accordingly. Don't add the null-device if not needed.
17236
afa8e9f6
GM
17237 * files.el (save-some-buffers): Doc fix.
17238
35eae264
EZ
172392011-04-02 Eli Zaretskii <eliz@gnu.org>
17240
17241 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17242
26b51db5
JB
172432011-04-01 Juanma Barranquero <lekktu@gmail.com>
17244
17245 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17246 Use `dolist' rather than `mapcar'.
17247
7200d79c
SM
172482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17249
03408648 17250 Add lexical binding.
7200d79c 17251
03408648
SM
17252 * subr.el (apply-partially): Use new closures rather than CL.
17253 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17254 (dolist, dotimes): Use slightly different expansion for lexical code.
17255 (functionp): Move to C.
17256 (letrec): New macro.
17257 (with-wrapper-hook): Use it and apply-partially instead of CL.
17258 (eval-after-load): Preserve lexical-binding.
17259 (save-window-excursion, with-output-to-temp-buffer): Turn them
17260 into macros.
7200d79c 17261
03408648
SM
17262 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17263
17264 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17265 than the arglist.
17266 (help-add-fundoc-usage): Don't add `Not documented'.
17267 (help-function-arglist): Handle closures, subroutines, and new
17268 byte-code-functions.
17269 (help-make-usage): Remove leading underscores.
17270 (describe-function-1): Handle closures.
17271 (describe-variable): Use special-variable-p for completion.
17272
17273 * files.el (lexical-binding): Declare safe.
f488fb65 17274
03408648
SM
17275 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17276 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17277 (pcase): Add `let' pattern.
17278 Change memoization so it actually works.
17279 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17280 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17281 <let>: New case.
f488fb65 17282
03408648
SM
17283 * emacs-lisp/macroexp.el: Use lexical binding.
17284 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17285 Don't convert ' to #' without checking that it's indeed quoting
17286 a lambda.
17287
17288 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17289 Use eval-sexp-add-defvars.
03408648
SM
17290 (eval-sexp-add-defvars): New fun.
17291
17292 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17293
17294 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17295 Don't autoload.
17296 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17297 than the internal `byte-compile-lambda'.
17298 (defmethod): Don't hide code under quotes.
17299 (eieio-defmethod): New `code' argument.
17300
17301 * emacs-lisp/eieio-comp.el: Remove.
17302
17303 * emacs-lisp/edebug.el (edebug-eval-defun)
17304 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17305 (edebug-toggle): Avoid `eval'.
17306
17307 * emacs-lisp/disass.el (disassemble-internal): Handle new
17308 `closure' objects.
17309 (disassemble-1): Handle new byte codes.
17310
17311 * emacs-lisp/cl.el (pushnew): Silence warning.
17312
17313 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17314 (cl-byte-compile-throw): Remove.
17315 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17316
17317 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17318 closures.
17319
17320 * emacs-lisp/cconv.el: New file.
17321
17322 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17323 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17324 (byte-compile-initial-macro-environment):
17325 Handle declare-function here.
17326 (byte-compile--lexical-environment): New var.
17327 (byte-stack-ref, byte-stack-set, byte-discardN)
17328 (byte-discardN-preserve-tos): New lap codes.
17329 (byte-interactive-p): Don't use any more.
17330 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17331 New macros.
17332 (byte-compile-lapcode): Use them and handle new lap codes.
17333 (byte-compile-obsolete): Remove.
17334 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17335 (byte-compile-arglist-warn): Check late def of inlinable funs.
17336 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17337 since they should have been expanded by now.
17338 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17339 (byte-compile-from-buffer): Remove unused second arg.
17340 (byte-compile-preprocess): New function.
17341 (byte-compile-toplevel-file-form): New function to distinguish
17342 file-form calls from outside from file-form calls from hunk-handlers.
17343 (byte-compile-file-form): Simplify.
17344 (byte-compile-file-form-defsubst): Remove.
17345 (byte-compile-file-form-defmumble): Simplify now that
17346 byte-compile-lambda always returns a byte-code-function.
17347 (byte-compile): Preprocess.
17348 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17349 Remove, not used any more.
17350 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17351 (byte-compile-make-args-desc): New funs.
17352 (byte-compile-lambda): Handle lexical functions. Always return
17353 a byte-code-function.
17354 (byte-compile-reserved-constants): New var, to make up room for
17355 closed-over variables.
17356 (byte-compile-constants-vector): Obey it.
17357 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17358 (byte-compile-macroexpand-declare-function): New function.
17359 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17360 byte-code-functions.
17361 (byte-compile-form): Check obsolescence here.
17362 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17363 (byte-compile-variable-ref): Remove.
17364 (byte-compile-dynamic-variable-op): New fun.
17365 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17366 (byte-compile-variable-set): New funs.
17367 (byte-compile-discard): Add 2 args.
17368 (byte-compile-stack-ref, byte-compile-stack-set)
17369 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17370 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17371 macroexpand-all instead.
17372 (byte-compile-quote-form): Remove.
17373 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17374 (byte-compile-bind, byte-compile-unbind): New funs.
17375 (byte-compile-let): Handle let* and lexical binding.
17376 (byte-compile-let*): Remove.
17377 (byte-compile-catch, byte-compile-unwind-protect)
17378 (byte-compile-track-mouse, byte-compile-condition-case):
17379 Handle a new :fun-body form, used for lexical scoping.
17380 (byte-compile-save-window-excursion)
17381 (byte-compile-with-output-to-temp-buffer): Remove.
17382 (byte-compile-defun): Simplify.
17383 (byte-compile-stack-adjustment): New fun.
17384 (byte-compile-out): Use it.
17385 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17386
17387 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17388 handler any more.
17389
17390 * emacs-lisp/byte-opt.el: Use lexical binding.
17391 (byte-inline-lapcode): Remove (to bytecomp).
17392 (byte-compile-inline-expand): Pay attention to inlining to/from
17393 lexically bound code.
17394 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17395 any more.
17396 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17397 any more and don't call compiler-macros.
17398 (byte-compile-splice-in-already-compiled-code): Remove.
17399 (byte-code): Don't inline any more.
17400 (disassemble-offset): Receive `bytes' as argument rather than via
17401 dynamic scoping.
17402 (byte-compile-tag-number): Declare before first use.
17403 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17404 `return' even if make-spliceable.
17405 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17406 obsolete interactive-p.
17407 (byte-optimize-lapcode): Optimize new lap-codes.
17408 Don't trip up on new form of `byte-constant' lap code.
17409
17410 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17411
17412 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17413
17414 * custom.el (custom-initialize-default, custom-declare-variable):
17415 Use `defvar'.
17416
17417 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17418 New variables.
17419 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17420 (COMPILE_FIRST): Add macroexp and cconv.
17421 * makefile.w32-in: Mirror changes in Makefile.in.
17422
17423 * vc/cvs-status.el:
17424 * vc/diff-mode.el:
17425 * vc/log-edit.el:
17426 * vc/log-view.el:
17427 * vc/smerge-mode.el:
17428 * textmodes/bibtex-style.el:
090bd7cb 17429 * textmodes/css-mode.el:
03408648
SM
17430 * startup.el:
17431 * uniquify.el:
da91b5f2
CY
17432 * minibuffer.el:
17433 * newcomment.el:
17434 * reveal.el:
17435 * server.el:
17436 * mpc.el:
17437 * emacs-lisp/smie.el:
17438 * doc-view.el:
17439 * dired.el:
03408648
SM
17440 * abbrev.el: Use lexical binding.
17441
0f0c1f27
EZ
174422011-04-01 Eli Zaretskii <eliz@gnu.org>
17443
17444 * info.el (info-display-manual): New function.
17445
c82b2579
SM
174462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17447
17448 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17449
221ddf68
TH
174502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17451
17452 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17453 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17454
cba6e77e
GM
174552011-03-31 Glenn Morris <rgm@gnu.org>
17456
e040639f
GM
17457 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17458
cba6e77e
GM
17459 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17460
6d0f1c9e
CS
174612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17462
17463 * progmodes/python.el (python-default-interpreter)
17464 (python-python-command-args, python-jython-command-args)
17465 (python-which-shell, python-which-args, python-which-bufname)
17466 (python-file-queue, python-comint-output-filter-function)
17467 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17468 variables and functions.
17469
3e2d70fd
SM
174702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17473 (completion-in-region-mode): New minor mode.
17474 (completion-in-region): Use it.
17475 (completion-in-region--data, completion-in-region-mode-map): New vars.
17476 (completion-in-region--postch): New function.
17477 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17478 New vars.
17479 (completion--capf-wrapper): New function.
17480 (completion-at-point): Use it to track well-behavedness of
17481 hook functions.
17482 (completion-help-at-point): New command.
17483
f3e4086c
JM
174842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17485
17486 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17487 syntax class to search for whitespace on a single line
17488 (Message-ID: <4D938140.4030905@redhat.com>).
17489
eb7ffc14
LL
174902011-03-30 Leo Liu <sdl.web@gmail.com>
17491
17492 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17493 New commands.
17494 (edit-abbrevs-map): Bind them here.
17495 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17496
d806ab68
KM
174972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17498
17499 * allout.el (allout-hide-by-annotation, allout-flag-region):
17500 Reduce possibility of overlay leakage by making them volatile.
17501
17502 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17503 hash is not shared between buffers. Mode initialization is
17504 responsible for giving it a useful starting value.
17505 (allout-item-span): Reduce possibility of overlay leakage by
17506 making them volatile.
17507 (allout-widgets-count-buttons-in-region): Add diagnostic function
17508 for tracking down button overlay leaks.
17509
ea622834
LL
175102011-03-29 Leo Liu <sdl.web@gmail.com>
17511
17512 * ido.el (ido-read-internal): Use the default history var
17513 minibuffer-history if no HISTORY is specified.
17514
b62f8267
G
175152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17516
03408648
SM
17517 * net/imap.el (imap-shell-open, imap-process-connection-type):
17518 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17519 Kerberos, SSL, other subprocesses.
17520
947b6566
LL
175212011-03-28 Leo Liu <sdl.web@gmail.com>
17522
17523 * abbrev.el (abbrev-table-empty-p): New function.
17524 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17525 nonempty ones. (Bug#5937)
17526
5ffb62aa
JD
175272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17528
17529 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17530
7a097943
LL
175312011-03-27 Leo Liu <sdl.web@gmail.com>
17532
17533 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17534 for foreground and background colors.
17535 (ansi-color-make-color-map): Adapt.
17536
c5b40130
LL
175372011-03-25 Leo Liu <sdl.web@gmail.com>
17538
1f48f7d2
LL
17539 * midnight.el (midnight-time-float): Remove. Note it calculates
17540 the microsecond component incorrectly and seconds-to-time does the
17541 same job.
625897ec 17542 Remove redundant (require 'timer).
1f48f7d2 17543
c5b40130
LL
17544 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17545 (ido-completions): Remove unused arguments. (Bug#8329)
17546
d86d2721
SM
175472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17548
17549 * minibuffer.el (completion--flush-all-sorted-completions):
17550 Remove itself from hook.
17551 (completion-at-point): Let the functions perform the completion
17552 immediately and return nil or t.
17553 * comint.el (comint-dynamic-complete-functions): Now identical to
17554 completion-at-point-functions.
17555 (comint-dynamic-list-input-ring): Remove unused var `index'.
17556 (comint--match-partial-filename, comint--unquote&expand-filename):
17557 New funs, split from comint-match-partial-filename.
17558 (comint-dynamic-complete): Use completion-at-point.
17559 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17560
e8974c48
DA
175612011-03-24 Drew Adams <drew.adams@oracle.com>
17562
17563 * thingatpt.el: Support `defun'.
17564
def71b5e
LL
175652011-03-23 Leo Liu <sdl.web@gmail.com>
17566
cb5af48e
LL
17567 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17568
def71b5e
LL
17569 * help-mode.el (help-mode-finish): Tweak regexp.
17570
927c53e7
GM
175712011-03-23 Glenn Morris <rgm@gnu.org>
17572
18d05bed
GM
17573 * eshell/esh-opt.el (eshell-eval-using-options):
17574 Do not bind unused local variable `eshell-option-stub'.
17575
927c53e7
GM
17576 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17577
9d0da923
JB
175782011-03-22 Juanma Barranquero <lekktu@gmail.com>
17579
17580 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17581 keymap variable in `with-no-warnings' to avoid a warning when the
17582 keymap has been already `defconst'ed.
17583
4b978a67
LL
175842011-03-22 Leo Liu <sdl.web@gmail.com>
17585
17586 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17587 encode all chars in abbrevs; otherwise use emacs-mule or
17588 utf-8-emacs. (Bug#8308)
17589
5fd62452
JB
175902011-03-22 Juanma Barranquero <lekktu@gmail.com>
17591
0b1596c6
JB
17592 * simple.el (backward-delete-char-untabify):
17593 Avoid warning about using `delete-backward-char'.
17594
5fd62452
JB
17595 * image.el (image-type-file-name-regexps): Make it variable.
17596 `imagemagick-register-types' modifies it, and the user may want
17597 to add new extensions for known image types.
17598 (imagemagick-register-types): Throw error if not using ImageMagick.
17599
0b4e93f1
LL
176002011-03-22 Leo Liu <sdl.web@gmail.com>
17601
17602 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17603 located before rcirc-prompt-end-marker.
17604 (rcirc-complete): Error if point is not after rcirc prompt.
17605 Handle the case when table is nil.
9882e214 17606 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17607
fccee4ab
CY
176082011-03-22 Chong Yidong <cyd@stupidchicken.com>
17609
17610 * custom.el (custom--inhibit-theme-enable): Make it affect only
17611 custom-theme-set-variables and custom-theme-set-faces.
17612 (provide-theme): Ignore custom--inhibit-theme-enable.
17613 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17614 (custom-enabling-themes): Delete variable.
d86d2721
SM
17615 (enable-theme): Accept only loaded themes as arguments.
17616 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17617 (custom-enabled-themes): Forbid themes from setting this.
17618 Eliminate use of custom-enabling-themes.
17619 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17620
af896da6
LL
176212011-03-21 Leo Liu <sdl.web@gmail.com>
17622
17623 * ido.el (ido-read-internal): Add ido-selected to history instead
17624 of user input.
17625
78f64af0
SM
176262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * subr.el (deferred-action-list, deferred-action-function):
17629 Mark obsolete.
17630
b16ac1ec
LL
176312011-03-21 Leo Liu <sdl.web@gmail.com>
17632
810f7698
LL
17633 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17634 change on 2011-02-13 (bug#8309).
17635
b16ac1ec
LL
17636 * minibuffer.el (read-file-name-function): Change default value.
17637 (read-file-name--defaults): Rename from read-file-name-defaults.
17638 (read-file-name-default): Rename from read-file-name.
17639 (read-file-name): Call read-file-name-function.
17640
4e05e67e
GM
176412011-03-21 Glenn Morris <rgm@gnu.org>
17642
17643 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17644 Doc fixes.
17645
4359915b
CY
176462011-03-21 Chong Yidong <cyd@stupidchicken.com>
17647
17648 * cus-theme.el: Add missing provide statement.
17649 (customize-create-theme): Extract theme value correctly.
17650 (custom-theme-visit-theme): Autoload.
17651 (customize-create-theme): Prompt before inserting default faces.
17652
1fe275ee
JB
176532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17654
17655 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17656 units and musical notes.
17657
cd394be1 176582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17659
17660 * ido.el (ido-read-internal): Use completing-read-default.
17661 (ido-completing-read): Fix compatibility with completing-read.
17662
7d476bde
CO
176632011-03-20 Christian Ohler <ohler@gnu.org>
17664
17665 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17666 (ert-delete-all-tests): Use `called-interactively-p' rather than
17667 `interactive-p'.
17668 (ert--make-xrefs-region): Respect END.
17669
fe0fb33e
CY
176702011-03-19 Chong Yidong <cyd@stupidchicken.com>
17671
ff854b0b
CY
17672 * dired-aux.el (dired-create-directory): Signal an error if the
17673 directory already exists (Bug#8246).
17674
fe0fb33e
CY
17675 * facemenu.el (list-colors-display): Call list-faces-display
17676 inside with-help-window.
17677 (list-colors-print): Use display property to align the final
17678 column, instead of checking window-width.
17679
576bce32
EZ
176802011-03-19 Eli Zaretskii <eliz@gnu.org>
17681
4d61f28d 17682 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17683 windows-nt systems.
17684 (emerge-protect-metachars): Quote correctly for ms-dos and
17685 windows-nt systems.
17686
89c41d68 176872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17688
17689 * info.el (info-initialize): Replace all uses of `:' with
17690 path-separator for compatibility with non-Unix systems.
17691 Cache quoting of path-separator. (Bug#8258)
17692
b14e3e21 176932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17694
17695 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17696 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17697 (mouse-avoidance-mode): Fix typos in docstrings.
17698
4525ce3e
CY
176992011-03-19 Chong Yidong <cyd@stupidchicken.com>
17700
17701 * startup.el (package-subdirectory-regexp): Move from package.el.
17702 Omit \\` and \\', and let callers add them.
17703
17704 * emacs-lisp/package.el (package-strip-version)
17705 (package-load-all-descriptors): Add \\` and \\' to
17706 package-subdirectory-regexp before using it.
17707 (package-untar-buffer): New arg DIR; ensure that file untars only
17708 into this expected directory. Remove superfluous delete-region.
17709 (package-unpack): Caller changed.
17710 (package-tar-file-info): Use package-subdirectory-regexp.
17711
a904a09a 177122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17713
a904a09a
SM
17714 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17715 diff-mode-shared-map (bug#8284).
17716 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17717
177182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17719
17720 * calendar/time-date.el (format-seconds): Use assoc instead of
17721 assoc-string, since assoc-string doesn't exist in XEmacs.
17722
171fc304
JB
177232011-03-17 Juanma Barranquero <lekktu@gmail.com>
17724
17725 * custom.el (custom-known-themes): Reflow docstring.
17726 (custom-theme-load-path): Fix typo in docstring.
17727 (load-theme): Fix typo in error message.
17728 (custom-available-themes, custom-variable-theme-value):
17729 Use `let', not `let*'.
17730
d71990a1
JB
177312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17732
17733 * calc/README: Mention inclusion of musical notes.
17734
17735 * calc/calc-units.el (calc-lu-quant): Rename from
17736 `calc-logunits-quantity'.
17737 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17738 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17739 (calc-db): Rename from `calc-dblevel'.
17740 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17741 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17742 (calc-np): Rename from `calc-nplevel'.
17743 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17744 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17745 (calc-lu-plus): Rename from `calc-logunits-add'.
17746 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17747 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17748 (calc-lu-minus): Rename from `calc-logunits-sub'.
17749 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17750 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17751 (calc-lu-times): Rename from `calc-logunits-mul'.
17752 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17753 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17754 (calc-lu-divide): Rename from `calc-logunits-div'.
17755 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17756 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17757
17758 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17759 functions being autoloaded.
17760
17761 * calc/calc.el (calc-lu-power-reference): Rename from
17762 `calc-logunits-power-reference'.
17763 (calc-lu-field-reference): Rename from
17764 `calc-logunits-field-reference'.
17765
7a71b18d
GM
17766 * calc/calc-help.el (calc-l-prefix-help):
17767 Mention musical note functions.
d71990a1 17768
40c2934b
SM
177692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17770
17771 * minibuffer.el (completion-all-sorted-completions):
17772 Use :completion-cycle-penalty text property if present.
17773
b0911414
KM
177742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17775
17776 * allout.el (allout-yank-processing): Adjust for new rebulleting
17777 regime so bullet being yanked is used without prompting the user
17778 for a choice.
17779
8a05b668
JB
177802011-03-16 Juanma Barranquero <lekktu@gmail.com>
17781
17782 * startup.el (command-line): Warn the user that _emacs is deprecated.
17783
5ba5fb81
JB
177842011-03-16 Juanma Barranquero <lekktu@gmail.com>
17785
17786 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17787 (delphi-verbose, delphi-comment-face, delphi-string-face)
17788 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17789 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17790 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17791 (delphi-new-comment-line, delphi-font-lock-defaults)
17792 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17793 Fix typos in docstrings.
17794
2dab465b
KM
177952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17796
5ba5fb81 17797 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17798 Invert the roles of character and string values for INSTEAD, so a
17799 string is used for the more common case of a defaulting prompt.
17800
0adf5618
SM
178012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17802
17803 * progmodes/ruby-mode.el (ruby-backward-sexp):
17804 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17805 * play/gamegrid.el (gamegrid-make-face):
17806 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17807 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17808 * notifications.el (notifications-notify):
17809 * net/xesam.el (xesam-search-engines):
17810 * net/quickurl.el (quickurl-list-insert):
17811 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17812
d72700e5
CY
178132011-03-15 Chong Yidong <cyd@stupidchicken.com>
17814
17815 * startup.el (command-line): Update package subdirectory regexp.
17816
49c5410a
SM
178172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17818
c6eee9aa
SM
17819 * allout.el (allout-abbreviate-flattened-numbering)
17820 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17821
49c5410a
SM
17822 * subr.el (read-char-choice): Only show the cursor after the prompt,
17823 not after the answer.
17824
047b2bb9
KR
178252011-03-15 Kevin Ryde <user42@zip.com.au>
17826
17827 * help-fns.el (variable-at-point): Skip leading quotes, if any
17828 (bug#8253).
17829
0a57d256
SM
178302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17831
17832 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17833 warning message.
17834
77c992bc
MA
178352011-03-14 Michael Albinus <michael.albinus@gmx.de>
17836
17837 * shell.el (shell): When called interactively, offer to change the
17838 shell file name on remote hosts.
17839
eebc475d
TZ
178402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17841
17842 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17843 integration for LDAP parameters. The host, base, user or binddn,
17844 and secret tokens can be specified in a netrc file, for instance.
17845 This is optional because an `auth-source' parameter must be
17846 specified in the search attributes.
17847
9d05d1ba
JB
178482011-03-13 Juanma Barranquero <lekktu@gmail.com>
17849
17850 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17851
09d9db2c
GM
178522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17853
17854 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17855 into declaration. Remove redundant and harmful binding.
17856
178572011-03-12 Eli Zaretskii <eliz@gnu.org>
17858
17859 * files.el (file-ownership-preserved-p): Pass `integer' as an
17860 explicit 2nd argument to `file-attributes'. If the file's owner
17861 is the Administrators group on Windows, and the current user is
17862 Administrator, consider that a match.
17863
17864 * server.el (server-ensure-safe-dir): Consider server directory
17865 safe on MS-Windows if its owner is the Administrators group while
17866 the current Emacs user is Administrator. Use `=' to compare
17867 numerical UIDs, since they could be integers or floats.
17868
219bd536
JB
178692011-03-12 Juanma Barranquero <lekktu@gmail.com>
17870
17871 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17872
f3afd36b
MA
178732011-03-12 Michael Albinus <michael.albinus@gmx.de>
17874
17875 Sync with Tramp 2.2.1.
17876
17877 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17878
17879 * net/trampver.el: Update release number.
17880
3aaaa6f1
SM
178812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17882
94642599
SM
17883 * progmodes/compile.el (compilation--previous-directory): Fix up
17884 various nil/dead-marker mismatches (bug#8014).
17885 (compilation-directory-properties, compilation-error-properties):
17886 Don't call it at a position past the one we're about to change.
17887
3aaaa6f1
SM
17888 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17889 Disable obsolescence warnings in the file that declares it.
17890
14239447
KM
178912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17892
099c39a4
JB
17893 * allout-widgets.el (allout-widgets-tally):
17894 Initialize allout-widgets-tally as a hash table rather than nil to
17895 prevent mode-line redisplay warnings. Also, clarify the module
17896 description and fix a comment typo.
14239447 17897
135e287c
JB
178982011-03-11 Juanma Barranquero <lekktu@gmail.com>
17899
17900 * help-fns.el (describe-variable): Don't complete keywords.
17901 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17902
ffbf300e
CY
179032011-03-10 Chong Yidong <cyd@stupidchicken.com>
17904
ba08b241
CY
17905 * emacs-lisp/package.el (package-version-join): Impose a standard
17906 string representation for pre/alpha/beta version lists.
17907 (package-unpack-single): Standardize the directory name by passing
17908 it through package-version-join.
17909 (package-strip-rcs-id): Accept any version string that does not
17910 signal an error in version-to-list.
ffbf300e 17911
f346fd6b
MA
179122011-03-10 Michael Albinus <michael.albinus@gmx.de>
17913
17914 * simple.el (delete-trailing-whitespace): Return nil for the
17915 benefit of `write-file-functions'.
17916
ccb55d27
GM
179172011-03-10 Glenn Morris <rgm@gnu.org>
17918
5ceaac0c
GM
17919 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17920
02da65ff
GM
17921 * vc/vc-git.el (vc-git-program): New option.
17922 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17923 (vc-git--call): Use it.
17924
b2f603cc
GM
17925 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17926
5772caab
GM
17927 * cus-edit.el (Custom-newline): If no button at point, look
17928 for a subgroup button at start-of-line. (Bug#2298)
17929
ccb55d27
GM
17930 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17931
ec6ecaed
JD
179322011-03-10 Julien Danjou <julien@danjou.info>
17933
17934 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17935 `cursor-type' is nil.
17936
9d5aa01d
JB
179372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17938
17939 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17940
b6a5875b
KM
179412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17942
7a71b18d 17943 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17944 preserves the existing header prefix, rebulleting it if necessary,
17945 rather than replacing it. This is necessary for proper operation
17946 of cooperative addons like allout-widgets.
1154d12e
JB
17947 (allout-make-topic-prefix, allout-rebullet-heading):
17948 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17949 value as alternate bullet to be used, instead of prompting the user
17950 for a bullet character.
b6a5875b 17951
ee545c35
MA
179522011-03-09 Michael Albinus <michael.albinus@gmx.de>
17953
d86d2721
SM
17954 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17955 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17956 `tramp-default-port'.
17957
c47971d7
DD
179582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17959
17960 * net/rcirc.el (rcirc-handler-001): Remove useless
17961 with-rcirc-process-buffer.
17962 (rcirc-check-auth-status): Swap arguments to string-match.
17963
13522cb4
GM
179642011-03-09 Glenn Morris <rgm@gnu.org>
17965
0be6f4f1
GM
17966 * shell.el (shell-mode):
17967 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17968
13522cb4
GM
17969 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17970 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17971
515de2e3
CY
179722011-03-08 Chong Yidong <cyd@stupidchicken.com>
17973
17974 * emacs-lisp/package.el (package-refresh-contents)
17975 (package-menu-execute): Use condition-case-no-debug.
17976
b511b994
MA
179772011-03-08 Michael Albinus <michael.albinus@gmx.de>
17978
17979 * simple.el (shell-command-to-string): Use `process-file'.
17980
17981 * emacs-lisp/package.el (package-tar-file-info): Handle also
17982 remote files.
17983
d86d2721
SM
17984 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17985 Use `equal' for upload base check.
b511b994 17986
25bbfb31
AM
179872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17988
17989 * textmodes/texinfo.el (texinfo-environments):
17990 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17991
be996521
GM
179922011-03-08 Glenn Morris <rgm@gnu.org>
17993
e9c8529f
GM
17994 * cus-start.el (cursor-in-non-selected-windows):
17995 Fix :set quoting oddness. (Bug#8192)
17996
be996521
GM
17997 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17998 in some setf expressions. (Bug#2159)
17999
2bb5649e
CY
180002011-03-08 Chong Yidong <cyd@stupidchicken.com>
18001
18002 * custom.el (custom-available-themes): Return themes in
18003 alphabetical order.
18004
33383987 18005See ChangeLog.15 for earlier changes.
e3d51b27
MR
18006
18007;; Local Variables:
18008;; coding: utf-8
e3d51b27
MR
18009;; End:
18010
acaf905b 18011 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18012
18013 This file is part of GNU Emacs.
18014
18015 GNU Emacs is free software: you can redistribute it and/or modify
18016 it under the terms of the GNU General Public License as published by
18017 the Free Software Foundation, either version 3 of the License, or
18018 (at your option) any later version.
18019
18020 GNU Emacs is distributed in the hope that it will be useful,
18021 but WITHOUT ANY WARRANTY; without even the implied warranty of
18022 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18023 GNU General Public License for more details.
18024
18025 You should have received a copy of the GNU General Public License
18026 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.