In Fset_window_configuration install revison of reverted fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d44688e4
JL
12012-08-28 Juri Linkov <juri@jurta.org>
2
3 * info.el (Info-fontify-node): Hide empty lines at the end of
4 the node. (Bug#12272)
5
34f10d41
MR
62012-08-27 Drew Adams <drew.adams@oracle.com>
7
8 * dired.el (dired-pop-to-buffer): Make window start at beginning
9 of buffer (Bug#12281).
10
77f1f99c
CY
112012-08-26 Chong Yidong <cyd@gnu.org>
12
13 * window.el (special-display-regexps, special-display-frame-alist)
14 (special-display-buffer-names, special-display-function)
15 (display-buffer-reuse-frames): Mark as obsolete.
16
17 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
18
19 * help.el (help-print-return-message): Don't treat
20 display-buffer-reuse-frames specially.
21
d97af5a0
CY
222012-08-26 Chong Yidong <cyd@gnu.org>
23
24 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action): New
25 variable, replacing gdb-frame-parameters.
26 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
27 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
28 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
29 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
30 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
31 the functions directly with gdb-display-buffer-other-frame-action.
32 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
33 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
34 (gdb-display-stack-buffer, gdb-display-locals-buffer)
35 (gdb-display-registers-buffer): Define directly.
36 (def-gdb-display-buffer): Macro deleted.
37 (gdb-display-buffer): Remove second and third args, callers don't
38 use them. Defer to the default display-buffer behavior, apart
39 from making windows dedicated.
40 (gdb-setup-windows): Don't call display-buffer unnecessarily.
41
42 * progmodes/gud.el (gud-display-line): Just use display-buffer.
43
44 * window.el (display-buffer-pop-up-frame): Handle a
45 pop-up-frame-parameters alist entry.
46 (display-buffer): Document it.
47
dd7ffad6
CY
482012-08-26 Chong Yidong <cyd@gnu.org>
49
50 * isearch.el (search-whitespace-regexp): Make string and nil
51 values apply to both ordinary and regexp search. Allow a cons
52 cell value to distinguish between the two.
53 (isearch-whitespace-regexp, isearch-search-forward)
54 (isearch-search-backward): New functions.
55 (isearch-occur, isearch-search-fun-default, isearch-search)
56 (isearch-lazy-highlight-new-loop): Use them.
57 (isearch-forward, isearch-forward-regexp): Doc fix.
58
4c47bd1e
CY
592012-08-26 Chong Yidong <cyd@gnu.org>
60
61 * faces.el (help-argument-name): Always inherit from italic
62 (Bug#12213).
63
9aba119d
MR
642012-08-25 Martin Rudalics <rudalics@gmx.at>
65
66 * window.el (window--even-window-heights): Even heights when
67 WINDOW and the selected window form a vertical combination.
68 (display-buffer-use-some-window): Provide that window used gets
69 sized back by quit-window. (Bug#11880) and (Bug#12091)
70
ca5256ad
PE
712012-08-24 Paul Eggert <eggert@cs.ucla.edu>
72
73 Fix file time stamp problem with bzr and CVS (Bug#12001).
74 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
75 in the file's time stamp, since the version control system loses
76 that information.
77
d1c0d176
JL
782012-08-22 Juri Linkov <juri@jurta.org>
79
80 * info.el (Info-fontify-node): Hide the suffix of the
81 Info file name in the header line. (Bug#12187)
82
141562ff
GM
832012-08-22 Glenn Morris <rgm@gnu.org>
84
85 * calendar/cal-tex.el (cal-tex-weekly-common):
86 Restore leading blank page.
87
61a48e19 882012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
89
90 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
91 the region under `shift-select-mode'. (Bug#12231)
92
932012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
94
95 * progmodes/executable.el (executable-prefix): Set to "#!" instead
96 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
97 gives details on why the space is never needed.
98
ea95074e
MR
992012-08-22 Martin Rudalics <rudalics@gmx.at>
100
101 * window.el (walk-window-tree, window-with-parameter): New
102 optional argument MINIBUF to control whether these functions
103 should run on the minibuffer window.
104 (window-at-side-list): Don't operate on minibuffer window.
105 (window-in-direction): Simplify and rewrite doc-string.
842e3a93
MR
106 (window--size-ignore): Rename to window--size-ignore-p. Update
107 callers.
caceae25
MR
108 (display-buffer-in-atom-window, window--major-non-side-window)
109 (window--major-side-window, display-buffer-in-major-side-window)
110 (delete-side-window, display-buffer-in-side-window): New
111 functions.
112 (window--side-check, window-deletable-p, delete-window)
113 (delete-other-windows, split-window): Handle side windows and
114 atomic windows appropriately.
115 (window--display-buffer): Call display-buffer-record-window also
116 when the window buffer did not change.
ea95074e 117
80a51fa0
CS
1182012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
119
120 * help-fns.el (help-fns--key-bindings):
121 Abbreviate non-symbol remap targets. (Bug#12174)
122
fbb6300b
MR
1232012-08-22 Martin Rudalics <rudalics@gmx.at>
124
125 * dired.el (dired-mark-remembered): Don't clobber point.
126 (Bug#11795)
127
2b2c0794
GM
1282012-08-22 Glenn Morris <rgm@gnu.org>
129
130 * progmodes/bug-reference.el (bug-reference): New custom group.
131 (bug-reference-bug-regexp): Make it a defcustom.
132
37219830
DU
1332012-08-22 Daiki Ueno <ueno@unixuser.org>
134
135 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
136 (js-paren-indent-offset, js-square-indent-offset)
137 (js-curly-indent-offset): Add :safe (Bug#12257).
138
94e0e559
EC
1392012-08-22 Edward O'Connor <hober0@gmail.com>
140
141 * json.el (json-key-format): Add error properties.
142 (json-encode-key): New function.
143 (json-encode-hash-table, json-encode-alist, json-encode-plist):
144 Use json-encode-key.
145
da485f5e
GM
1462012-08-22 Glenn Morris <rgm@gnu.org>
147
148 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
149 (cal-tex-leftday, cal-tex-rightday): Remove functions.
150 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
151 Update for above change.
152
c6cc78b8
AS
1532012-08-21 Andreas Schwab <schwab@linux-m68k.org>
154
155 * cus-face.el (custom-face-attributes): Fix customize type for the
156 :underline attribute. (Bug#11805)
157
5481664a
MR
1582012-08-21 Martin Rudalics <rudalics@gmx.at>
159
160 * window.el (window-point-1, set-window-point-1): Remove.
161 (window-in-direction, record-window-buffer)
162 (set-window-buffer-start-and-point, split-window-below)
163 (window--state-get-1, display-buffer-record-window): Replace
164 calls to window-point-1 and set-window-point-1 by calls to
165 window-point and set-window-point respectively.
166
6d74698e
GM
1672012-08-21 Glenn Morris <rgm@gnu.org>
168
b7fa2691
GM
169 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
170 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
171 Use it.
172
52f56d5a
GM
173 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
174 (cal-tex-shortday): New function.
175 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
176 (cal-tex-cursor-filofax-daily): Use the above.
177
9f1ee09e
GM
178 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
179 New functions.
180 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
181 (cal-tex-cursor-filofax-week): Use them.
182
79858159
GM
183 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
184 New constants.
185 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
186 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
187
d346b2b4
GM
188 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
189 (cal-tex-end-document): Don't rely on buffer name.
190
b2403709
GM
191 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
192 Use cal-tex-vspace.
193 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
194 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
195 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
196 Use cal-tex-arg.
b2403709 197
1cebb5c0
GM
198 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
199 (cal-tex-cursor-week, cal-tex-cursor-week2)
200 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
201 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
202 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
203 (cal-tex-insert-preamble, cal-tex-b-document)
204 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
205 Improve cal-tex-cmd usage.
206
c68cd5d4
GM
207 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
208 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
209 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
210 (cal-tex-weekly-paper): New function.
211 (cal-tex-cursor-week, cal-tex-cursor-week2)
212 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
213 (cal-tex-cursor-day): Use it.
214
9dca4801
GM
215 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
216 (cal-tex-cursor-filofax-week): Remove leading blank page.
217
1941e134
GM
218 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
219 Add autoload cookie. For now at least, don't use color, since
220 no other cal-tex function does.
221
6d74698e
GM
222 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
223 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
224 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
225
64cde199
JL
2262012-08-21 Juri Linkov <juri@jurta.org>
227
228 * info.el (Info-file-attributes): New variable.
229 (info-insert-file-contents): Add file attributes to
230 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
231 `Info-toc-nodes' when previous modtime of the Info file is less
232 than new modtime.
233 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
234 of info.el. (Bug#12230)
235
32757648
GM
2362012-08-20 Glenn Morris <rgm@gnu.org>
237
238 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
239 * calendar/holidays.el (calendar-holiday-list):
240 Report errors with display-warning rather than beep'n'sleep.
241
a32fbbcf
MA
2422012-08-20 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/tramp.el (tramp-accept-process-output): Accept only output
245 from PROC. Otherwise, process filters and sentinels might be
246 confused. (Bug#12145)
247
a05731a0
CY
2482012-08-20 Chong Yidong <cyd@gnu.org>
249
250 * descr-text.el (describe-text-properties-1): Use overlays-in to
251 report on empty overlays (Bug#3322).
252
36e8d1eb
GM
2532012-08-20 Glenn Morris <rgm@gnu.org>
254
3d300447
GM
255 * mail/rmailout.el (rmail-output-read-file-name):
256 Trap and report errors in rmail-output-file-alist elements.
257
36e8d1eb
GM
258 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
259 since most non-font-lock faces are not also variables).
260
b96e5814
ER
2612012-08-20 Edward Reingold <reingold@iit.edu>
262
263 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
264 New function. (Bug12160)
265
7cef3569
GM
2662012-08-19 Glenn Morris <rgm@gnu.org>
267
268 * mail/rmailout.el (rmail-output-read-file-name):
269 Fix previous change (when the alist is nil or does not match).
270
17975d7f
CY
2712012-08-19 Chong Yidong <cyd@gnu.org>
272
273 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
274 (Bug#12228).
275
2170b1bd
CY
2762012-08-18 Chong Yidong <cyd@gnu.org>
277
278 * simple.el (yank-handled-properties): New defcustom.
279 (yank-excluded-properties): Add font-lock-face and category.
280 (yank): Doc fix.
281
282 * subr.el (remove-yank-excluded-properties): Obey
283 yank-handled-properties. The special handling of font-lock-face
284 and category is now done this way, instead of being hard-coded.
285 (insert-for-yank-1): Remove font-lock-face handling.
286 (yank-handle-font-lock-face-property)
287 (yank-handle-category-property): New function.
288
ee218151
GM
2892012-08-17 Glenn Morris <rgm@gnu.org>
290
291 * mail/rmailout.el (rmail-output-read-file-name):
292 Check rmail-output-file-alist against the full message body
293 in the correct rmail buffer. (Bug#12214)
294
4a6bc3fd
MA
2952012-08-17 Michael Albinus <michael.albinus@gmx.de>
296
297 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Eliminate
298 superfluous prompt. (Bug#12203)
299
383dcbf9
CY
3002012-08-17 Chong Yidong <cyd@gnu.org>
301
302 * mouse.el (mouse-appearance-menu): If x-select-font returns a
303 font spec, set the font directly (Bug#3228).
304
998c4a6a
MR
3052012-08-17 Martin Rudalics <rudalics@gmx.at>
306
307 * window.el (delete-window): Fix last fix.
308
52162052
MR
3092012-08-16 Martin Rudalics <rudalics@gmx.at>
310
311 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
312 (window-child, window-child-count, window-last-child)
313 (window-normalize-window, window-combined-p)
314 (window-combinations, window-atom-root, window-min-size)
315 (window-sizable, window-sizable-p, window-size-fixed-p)
316 (window-min-delta, window-max-delta, window--resizable)
317 (window--resizable-p, window-resizable, window-total-size)
318 (window-full-height-p, window-full-width-p, window-body-size)
319 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
320 (minimize-window, window-deletable-p, delete-window)
321 (delete-other-windows, set-window-buffer-start-and-point)
322 (next-buffer, previous-buffer, split-window, balance-windows-2)
323 (set-window-text-height, window-buffer-height)
324 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
325 (truncated-partial-width-window-p): Minor code adjustments. In
326 doc-strings state whether the argument window has to denote a
327 live, valid or any window.
52162052 328
1c308380
PS
3292012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
330
331 * progmodes/subword.el (subword-forward-function)
332 (subword-backward-function, subword-forward-regexp)
333 (subword-backward-regexp): New variables.
334 (subword-forward, subword-forward-internal, subword-backward-internal):
335 Use new variables, eg so that different "word" definitions
336 can be easily used. (Bug#11411)
337
94c9ece1
SM
3382012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
341 for composite selectors.
342 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
343 operation just because we can't find a previous revision.
344
f2045622
CY
3452012-08-15 Chong Yidong <cyd@gnu.org>
346
347 * frame.el (set-frame-font): Accept font objects.
348
582db660
SM
3492012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
352
2f29c200
WJ
3532012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
354
456e62c2
WJ
355 * man.el (Man-overstrike-face, Man-underline-face)
356 (Man-reverse-face): Remove variables.
357 (Man-overstrike, Man-underline, Man-reverse): New faces.
358 (Man-fontify-manpage): Use them instead of the variables.
359 (Man-cleanup-manpage): Comment change.
360 (Man-ansi-color-map): New variable.
361 (Man-fontify-manpage): Use it.
362 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
363
2f29c200
WJ
364 Implement ANSI SGR parameters 22-27 (bug#12146).
365 * ansi-color.el (ansi-colors): Doc fix.
366 (ansi-color-context, ansi-color-context-region): Doc fix.
367 (ansi-color--find-face): New function.
368 (ansi-color-apply, ansi-color-apply-on-region): Use it.
369 Rename the local variable `face' to `codes' since it is now a list of
370 ansi codes. Doc fix.
371 (ansi-color-get-face): Remove.
372 (ansi-color-parse-sequence): New function, derived from
373 ansi-color-get-face.
374 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
375 codes 22-27.
376
b4f5e9df
SM
3772012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * subr.el (read-passwd): Allow use from a minibuffer.
380
ba025fbd
EZ
3812012-08-14 Eli Zaretskii <eliz@gnu.org>
382
383 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
384 inside comments and strings as identifiers.
385
386 * progmodes/gud.el (gud-tooltip-print-command): Quote the
387 expression to evaluate. This allows to evaluate expressions with
388 embedded whitespace.
389 (gud-tooltip-tips): Add a blank before the newline in the
390 message-box text, for the benefit of message-box emulation on
391 MS-Windows.
392
393 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
394 messages from GDB, pop them up in a tooltip to give feedback to
395 user.
b4f5e9df
SM
396 (gdb-tooltip-print-1): Quote the expression to evaluate.
397 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
398 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
399 if the TTY name is nil or empty (which happens when communicating
400 with the inferior via pipes, e.g. on MS-Windows).
401 (gdb-internals): If GDB sends a "&\n" empty debugging message,
402 don't send that to the GUD buffer.
403
c548f821
GM
4042012-08-14 Glenn Morris <rgm@gnu.org>
405
406 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
407 Optimize away setq-default with no args, as for setq. (Bug#12195)
408
55802e4a
CY
4092012-08-14 Chong Yidong <cyd@gnu.org>
410
4abcdac8
CY
411 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
412
55802e4a
CY
413 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
414 (Bug#12085).
415
3c3cda1a
GM
4162012-08-14 Glenn Morris <rgm@gnu.org>
417
418 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
419
e1873bd0
MA
4202012-08-14 Michael Albinus <michael.albinus@gmx.de>
421
422 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
423 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
424 Use cached shell name.
425
925411b4
FEG
4262012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
427
428 * progmodes/python.el (python-shell-send-string):
3c3cda1a 429 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 430
e636fafe
DG
4312012-08-14 Dmitry Gutov <dgutov@yandex.ru>
432
433 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
434 (ruby-percent-literal-beg-re): New constant.
435 (ruby-syntax-general-delimiters-goto-beg): Rename to
436 `ruby-syntax-enclosing-percent-literal', improve literal type check.
437 (ruby-syntax-propertize-general-delimiters): Rename to
438 `ruby-syntax-propertize-percent-literal', it's a shorter and more
439 popular term. Adjust comments everywhere.
440 (ruby-syntax-propertize-percent-literal): Only propertize when not
441 inside a simple string or comment. When the literal is unclosed,
442 leave the text after it unpropertized.
f063063a
DG
443 (ruby-syntax-methods-before-regexp): New constant.
444 (ruby-syntax-propertize-function): Use it to recognize regexps.
445 Don't look at the text after regexp, just use the whitelist.
e636fafe 446
e5b19827
AS
4472012-08-14 Andreas Schwab <schwab@linux-m68k.org>
448
449 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
450 non-nil always load the compiled file if it exists. (Bug#12197)
451
a9f6f311
CY
4522012-08-14 Chong Yidong <cyd@gnu.org>
453
454 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
455 (hi-lock-set-pattern): When deciding whether to use font lock or
456 overlays, look at font-lock-mode instead of font-lock-fontified
457 (Bug#12168).
458 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
459 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
460
7d806b1e
DU
4612012-08-14 Daiki Ueno <ueno@unixuser.org>
462
463 * subr.el (internal--after-with-selected-window): Fix typo
464 (Bug#12193).
465
5beed586
FEG
4662012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
467
468 Use `completion-table-dynamic' for completion functions.
469 * progmodes/python.el
470 (python-shell-completion--do-completion-at-point)
e636fafe
DG
471 (python-shell-completion--get-completions):
472 Remove functions.
5beed586
FEG
473 (python-shell-completion-complete-at-point): New function.
474 (python-completion-complete-at-point): Use it.
475
92cb3b04
J
4762012-08-13 Jambunathan K <kjambunathan@gmail.com>
477
478 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
479 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
480
89660017
SM
4812012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
482
3c98c962
SM
483 * subr.el (function-get): Refine `autoload' arg so it can also
484 autoload functions for gv.el (bug#12191).
485 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
486 autoloads macros.
487
aa7c6dbe
SM
488 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
489 Prefer pcase-let over destructuring-bind.
490 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
491 Also, remove whitespace as we go, rather than after accumulating the
492 various places.
493
89660017
SM
494 * subr.el (internal--before-with-selected-window)
495 (internal--after-with-selected-window): Fix typo seleted->selected.
496 (with-selected-window): Adjust callers.
497 Reported by Dmitry Gutov <dgutov@yandex.ru>.
498
31cd32c9
BG
4992012-08-13 Bastien Guerry <bzg@gnu.org>
500
0fcd3d9f 501 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
502 enhancement. (Bug#12172)
503
1b15d8ad
AS
5042012-08-13 Andreas Schwab <schwab@linux-m68k.org>
505
31e54db0
AS
506 * tar-mode.el (tar-header-data-end): Only ignore size for files of
507 type 1-6.
508 (tar-header-block-summarize, tar-get-descriptor): Handle pax
509 extended headers.
510
1b15d8ad
AS
511 * files.el (hack-local-variables-filter): Remove useless eval.
512
35cb9c06
MR
5132012-08-13 Martin Rudalics <rudalics@gmx.at>
514
515 * subr.el (with-selected-window): Fix last change.
516
1439443b
SM
5172012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * subr.el (internal--before-with-seleted-window)
520 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
521 (with-selected-window): Use them, to replace dependency on
522 tty-top-frame.
1439443b 523
0d9e2599
NN
5242012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
525
526 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
527 binding for `newline'.
528 (ruby-move-to-block): When moving backward, stop at block opening,
529 not indentation.
530 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
531 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
532 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
533 `ruby-toggle-block'.
534
ba10c48c
SM
5352012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * ibuffer.el (ibuffer-do-toggle-read-only):
538 * dired.el (dired-toggle-read-only):
539 * buff-menu.el (Buffer-menu-toggle-read-only):
540 * bindings.el (mode-line-toggle-read-only):
541 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
542
9229c658
AS
5432012-08-12 Andreas Schwab <schwab@linux-m68k.org>
544
545 * descr-text.el (describe-char): Put the overlays over the
546 "displayed as" character.
547
0fd09128
JB
5482012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
549
550 * calc/calc-units.el (math-default-units-table): Give an
551 initial value.
552 (math-put-default-units): Add options to put composite units and
553 unit systems in the default units table.
554 (calc-convert-units): Send composite units to
555 `math-put-default-units' when appropriate.
556
9ff9402d 5572012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 558
fbb5e336
GM
559 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
560
7aacaf15
GM
561 * tutorial.el (help-with-tutorial):
562 * emacs-lisp/copyright.el (copyright-update-directory):
563 * emacs-lisp/autoload.el (autoload-find-generated-file)
564 (autoload-find-file): Disable local eval: (for insurance).
565
f40b9f10
GM
566 * files.el (hack-local-variables-filter): If an eval: form is not
567 known to be safe, and enable-local-variables is :safe, then ignore
568 the form totally, as is done for non-eval forms. (Bug#12155)
569
daa9f1a6
SM
5702012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
573 (rx-form): Simplify.
574
9cd80478
DG
5752012-08-09 Dmitry Gutov <dgutov@yandex.ru>
576
0d9e2599
NN
577 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
578 ?, _, and : are symbol constituents, ! is not (but kinda should be).
579 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
580 (ruby-syntax-propertize-function): Adjust for changes in
581 `ruby-syntax-propertize-heredoc'.
582
5832012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
584
9cd80478
DG
585 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
586 binding (use `M-;' instead).
9cd80478 587 (ruby-singleton-class-p): New function.
0d9e2599 588 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 589
d301b413
SM
5902012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
593
1530c98e
CY
5942012-08-10 Chong Yidong <cyd@gnu.org>
595
596 * progmodes/python.el (python-shell-get-process-name): Don't mess
597 with same-window-buffer-names.
598
599 * eshell/eshell.el (eshell-add-to-window-buffer-names)
600 (eshell-remove-from-window-buffer-names): Make obsolete.
601 (eshell-buffer-name, eshell-unload-hook): Don't use them.
602 (eshell): Just use pop-to-buffer-same-window instead.
603
e1293765
CY
6042012-08-10 Chong Yidong <cyd@gnu.org>
605
606 * bindings.el: Bind M-= back to count-words-region.
607
608 * simple.el (count-words-region): Accept a prefix arg for acting
609 on the entire buffer.
610 (count-words--buffer-message): New helper function.
611
e1894109
SM
6122012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
615 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
616 (event-start, event-end): Use posn-at-point to return a more
617 informative posn.
618 (posnp): New function.
619 * mouse.el (popup-menu-normalize-position): Use it.
620
c69f56a2
MY
6212012-08-10 Masatake YAMATO <yamato@redhat.com>
622
623 * mouse.el (popup-menu-normalize-position): New function.
624 (popup-menu): Use `popup-menu-normalize-position' to normalize
625 the form for POSITION argument.
626
627 * term/x-win.el (x-menu-bar-open):
628 Use the value returend from (posn-at-point) as position
629 passed to `popup-menu'.
630
31673780
JB
6312012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
632
633 * calc/calccomp.el (math-compose-expr): Add extra argument
634 indicating that parentheses should be put around products in
635 denominators. Give multiplication precedence over division during
636 composition.
637
dab7711b
CY
6382012-08-09 Chong Yidong <cyd@gnu.org>
639
dee4ef93
CY
640 * man.el (Man-switches, Man-sed-command, Man-awk-command)
641 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
642 (Man-untabify-command, manual-program): Convert to defcustom
643 (Bug#10429).
644
73e2bbc5
CY
645 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
646
3e861c8a
CY
647 * descr-text.el (describe-char): Don't insert extra newlines
648 (Bug#10127).
649
a9f5a649
CY
650 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
651 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
652
dab7711b
CY
653 * align.el (align-region): Delete temporary markers (Bug#10047).
654 Plus some code cleanups.
655
e0cc4efa
FEG
6562012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
657
658 * progmodes/python.el (python-pdbtrack-tracked-buffer)
659 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
660 (python-shell-internal-last-output): Use make-local-variable
661 instead of make-variable-buffer-local.
662
489af14f
FEG
6632012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
664
665 * progmodes/python.el: Enhancements to forward-sexp.
666 (python-nav-forward-sexp): Rename from
667 python-nav-forward-sexp-function.
c69f56a2
MY
668 (python-nav--forward-sexp, python-nav--backward-sexp):
669 New functions.
489af14f 670
0fc50303
JB
6712012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
672
673 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
674 modes and simplification modes.
675
5d65606a
SM
6762012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * delsel.el (delete-selection-pre-hook): Don't propagate the
679 file-supersession signals (bug#12161).
680
4250fdf5
SM
6812012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
684 (cl-map-extents): Add compatibility aliases (bug#12135).
685
d9f9b465
MA
6862012-08-08 Michael Albinus <michael.albinus@gmx.de>
687
688 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
689 tests by `ignore-error'.
690 (tramp-find-shell): Open also a new shell, when cache is already
691 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
692
ce0fcefa
JL
6932012-08-08 Juri Linkov <juri@jurta.org>
694
695 * bookmark.el: Add `defaults' property to the bookmark record.
696 (bookmark-current-buffer): Doc fix.
697 (bookmark-make-record): Add `defaults' property with default values
698 to the bookmark record.
699 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
700 with `bookmark-insert-current-bookmark'.
701 (bookmark-set): Get `defaults' property from the bookmark record
702 and use it in `read-from-minibuffer'.
703 (bookmark-insert-current-bookmark): Remove function.
704
705 * info.el (Info-bookmark-make-record): Add `defaults' property
706 with values of canonical Info node name, the current Info file
707 name and the current Info node name. (Bug#12107)
708
53fa8652
JL
7092012-08-08 Juri Linkov <juri@jurta.org>
710
711 * files.el (basic-save-buffer): Use `buffer-name' as the default
712 of `read-file-name' when buffer is not visiting a file (bug#12128).
713
242c0a95
JL
7142012-08-08 Juri Linkov <juri@jurta.org>
715
716 * info.el (Info-isearch-search): Doc fix.
717 (Info-search): Change search-failed message from "initial node" to
718 "end of node" (bug#12078).
719 (Info-isearch-search): Change `isearch-string-state' to
720 `isearch--state-string'.
721
32ac3a6b
GM
7222012-08-08 Glenn Morris <rgm@gnu.org>
723
724 * language/persian.el: Remove file.
f8c1afd5 725 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
726 * loadup.el: Remove language/persian.
727
2c2d9c9c
OF
7282012-08-08 Óscar Fuentes <ofv@wanadoo.es>
729
730 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
731
2d79ec42
FEG
7322012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
733
734 * progmodes/python.el Fixed defsubst warning.
735 (python-syntax-context) Rename from python-info-ppss-context.
736 (python-syntax-context-type): Rename from
737 python-info-ppss-context-type.
738 (python-syntax-comment-or-string-p): Rename from
739 python-info-ppss-comment-or-string-p.
740
2bd255dd
JB
7412012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
742
743 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
744
c395097f
AS
7452012-08-07 Andreas Schwab <schwab@linux-m68k.org>
746
6125983e
AS
747 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
748 a defcustom that is quoted with backquote.
749
4250fdf5
SM
750 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
751 Fix handling of interactive spec when the body uses return.
651eaf36
AS
752 (math-do-arg-check, math-define-function-body): Use backquote forms.
753 * calc/calc-ext.el (math-defcache): Likewise.
754 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
755 * allout.el (allout-new-exposure): Likewise.
756 * calc/calcalg2.el (math-tracing-integral): Likewise.
757 * info.el (Info-last-menu-item): Likewise.
758 * emulation/vip.el (vip-loop): Likewise.
759 * textmodes/artist.el (artist-funcall): Likewise.
760 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
761 Construct menu-item directly.
762
4250fdf5
SM
763 * progmodes/autoconf.el (font-lock-syntactic-keywords):
764 Don't declare.
c395097f 765
5fb50dd3
CY
7662012-08-07 Chong Yidong <cyd@gnu.org>
767
768 * simple.el (deactivate-mark): Preserve text properties when
769 saving the primary selection (Bug#8384).
770
54eea618
KR
7712012-08-07 Kevin Ryde <user42@zip.com.au>
772
773 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
774 (woman-parse-numeric-value): On a bad .IP line, issue a warning
775 and continue processing (Bug#12110).
776
638eaeb9
SM
7772012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
780 syntax-propertize-function (bug#10095).
781
ea376861
SM
7822012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
783
f91b35be
SM
784 * help-fns.el (help-fns--key-bindings, help-fns--signature)
785 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
786 describe-function-1.
787 (describe-function-1): Use them. Move compiler macro after sig.
788 (help-fns--compiler-macro): Use function-get. Assume we're already in
789 standard-output. Adjust layout to new call order.
790
ea376861
SM
791 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
792 re-binding a symbol that has a symbol-macro (bug#12119).
793
d5be7bd0
MB
7942012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
795
796 * language/persian.el: New file. (Bug#11812)
797 * loadup.el: Add language/persian.el.
798
90749b53
CY
7992012-08-06 Chong Yidong <cyd@gnu.org>
800
801 * window.el (window--maybe-raise-frame): New function.
802 (window--display-buffer): Split off from here.
803 (display-buffer-reuse-window, display-buffer-pop-up-frame)
804 (display-buffer-pop-up-window, display-buffer-use-some-window):
805 Obey an inhibit-switch-frame action alist entry.
806 (display-buffer): Update doc.
807
808 * replace.el (occur-after-change-function): Avoid losing focus by
809 using the inhibit-switch-frame display parameter (Bug#12139).
810
ba7b0154
FEG
8112012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
812
813 Make internal shell process buffer names start with space.
814 * progmodes/python.el (python-shell-make-comint): Add optional
815 argument INTERNAL.
816 (run-python-internal): Use it.
817 (python-shell-internal-get-or-create-process): Check for new
818 internal buffer names.
819
5eaeacb5
GM
8202012-08-06 Glenn Morris <rgm@gnu.org>
821
e296d94b 822 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
823 Do less getting and setting of environment variables.
824
b7ccbdc2
CY
8252012-08-05 Chong Yidong <cyd@gnu.org>
826
777fe95e
CY
827 * proced.el (proced): Add substitution string to docstring to
828 trigger autoloading of the proced library on C-h f (Bug#1768).
829
4250fdf5
SM
830 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
831 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
832
833 * imenu.el (imenu-generic-expression): Move documentation here
834 from imenu--generic-function.
835 (imenu--generic-function): Refer to imenu-generic-expression.
836
9e3b7800 8372012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
838
839 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
840 indentation declaration.
841 (viper-loop): Add indentation declaration (Bug#7025).
842
e5d9c0d1
CY
8432012-08-05 Chong Yidong <cyd@gnu.org>
844
f0422feb
CY
845 * help-fns.el (describe-variable): Add hyperlink for
846 directory-local variables files. Improve buffer-local and
847 permanent-local reporting; suggested by MON KEY (Bug#6644).
848
849 * help-mode.el (help-dir-local-var-def): New button type.
850
e5d9c0d1
CY
851 * files.el (kill-buffer-hook): Provide a defvar.
852
a4f2deaa
GM
8532012-08-05 Glenn Morris <rgm@gnu.org>
854
855 * eshell/esh-ext.el (eshell/addpath):
856 Also update eshell-path-env. (Bug#12013)
857
a9dd5754
CY
8582012-08-05 Chong Yidong <cyd@gnu.org>
859
a4f2deaa 860 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 861
d014c740
CY
862 * fringe.el (fringe-styles): Add docstring.
863 (fringe--check-mode): New function.
864 (set-fringe-mode, set-fringe-style): Use it.
865 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
866
a9dd5754
CY
867 * files.el (set-auto-mode): Fix invalid setq call.
868
7c2dc8bd
SM
8692012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * isearch.el: Misc simplification; use defstruct.
872 (isearch-mode-map): Dense maps now work like sparse ones.
873 (isearch--state): New defstruct.
874 (isearch-string-state, isearch-message-state, isearch-point-state)
875 (isearch-success-state, isearch-forward-state)
876 (isearch-other-end-state, isearch-word-state, isearch-error-state)
877 (isearch-wrapped-state, isearch-barrier-state)
878 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
879 replaced by defstruct's accessors.
880 (isearch--set-state): Rename from isearch-top-state and change
881 calling convention.
882 (isearch-push-state): Use new isearch--get-state.
883 (isearch-toggle-word): Disable regexp when enabling word.
884 (isearch-message-prefix): Remove unused arg _c-q-hack.
885 (isearch-message-suffix): Remove unused arg _ellipsis.
886
7fcc0070
AS
8872012-08-04 Andreas Schwab <schwab@linux-m68k.org>
888
889 * simple.el (list-processes--refresh): For a server use :host or
890 :local as the address.
97ad0769 891 (list-processes): Doc fix.
7fcc0070 892
00340faf
MN
8932012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
894
895 * lisp/mpc.el: Support password in host argument.
896 (mpc--proc-connect): Parse and use new password element.
897 Set mpc-proc variable instead of returning process.
898 (mpc-proc): Adjust accordingly.
899
6dad7178
EZ
9002012-08-03 Eli Zaretskii <eliz@gnu.org>
901
18949c2f
EZ
902 * whitespace.el (whitespace-display-mappings): Use Unicode
903 codepoints, instead of emacs-mule codepoints. See
904 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
905 for the details.
906
6dad7178
EZ
907 * files.el (file-truename): Don't skip symlink-chasing part on
908 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
909 Windows into the loop that recursively chases symlinks.
910 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
911 MS-DOS.
912
385b0198
CY
9132012-08-03 Chong Yidong <cyd@gnu.org>
914
6200f3c4
CY
915 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
916
385b0198
CY
917 * sort.el (sort-regexp-fields): Doc fix.
918
b9e74744
TH
9192012-08-03 Tassilo Horn <tsdh@gnu.org>
920
921 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
922 labels regex position point at the expected place.
923
41013cb4
MK
9242012-08-03 MON KEY <monkey@sandpframing.com>
925
926 * net/imap.el (imap-interactive-login, imap-authenticate)
927 (imap-mailbox-lsub, imap-mailbox-list)
928 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
929 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
930 (imap-parse-response): Doc fix.
931
0ffee616
JT
9322012-08-03 João Távora <joaotavora@gmail.com>
933
934 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
935 if sexp scanning does not move point (Bug#5734).
936
cfcc9cc8
TH
9372012-08-02 Tassilo Horn <tsdh@gnu.org>
938
939 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
940 Add listings, minted, and ctable packages.
941 (reftex-label-alist-builtin): Move listings, minted, and ctable
942 entries before LaTeX.
a01bbb84 943 (reftex-label-alist): Docfix.
cfcc9cc8 944
66ec2442
BG
9452012-08-02 Bastien Guerry <bzg@gnu.org>
946
947 * replace.el (occur): Fix docstring (bug#12122).
948
837b365b
GM
9492012-08-02 Glenn Morris <rgm@gnu.org>
950
951 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
952
e098de97
PE
9532012-08-02 Paul Eggert <eggert@cs.ucla.edu>
954
955 Obsolete alias inactivate-current-input-method-function (Bug#10150).
956 * international/mule-cmds.el: Create
957 inactivate-current-input-method-function as an obsolete alias for
958 deactivate-current-input-method-function. See Katsumi Yamaoka in
959 <http://bugs.gnu.org/10150#46>.
960
a0f95636
JB
9612012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
962
963 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
964 of nested `if's.
965
0d26d7c4
GM
9662012-08-01 Glenn Morris <rgm@gnu.org>
967
968 * progmodes/autoconf.el (autoconf-definition-regexp):
969 Add AH_TEMPLATE, adjust submatch numbering.
970 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
971 (autoconf-current-defun-function): Update for above change.
972 (autoconf-current-defun-function): First skip to end of current word.
973
b686ba06
RS
9742012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
975
976 * calendar/cal-html.el (cal-html-insert-agenda-days):
977 Fix typo. (Bug#12018)
978
0d49da68
FEG
9792012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
980
981 Shell processes: enhancements to startup and CEDET compatibility.
982 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
983 (python-shell-make-comint): accept-process-output at startup.
984 (run-python-internal): Set inferior-python-mode-hook to nil.
985 (python-shell-internal-get-or-create-process): call sit-for.
986 (python-preoutput-result): Add obsolete alias.
987 (python-shell-internal-send-string): Use it.
988 (python-shell-send-setup-code): Remove call to
989 accept-process-output.
990
f1a71c6e
AS
9912012-07-31 Andreas Schwab <schwab@linux-m68k.org>
992
993 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
994 (Bug#12108)
995
d2605269
JB
9962012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
997
998 * calc-mode.el (calc-basic-simplification-mode): Rename from
999 `calc-limited-simplification-mode'.
1000 (calc-alg-simplification-mode): New function.
d66060f8 1001 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1002
d2605269
JB
1003 * calc.el (calc-set-mode-line): Adjust mode line display for
1004 basic simplification mode.
1005
1006 * calc-help.el (calc-m-prefix-help): Update help message.
1007
1008 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1009 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1010
a3827a43
BG
10112012-07-31 Bastien Guerry <bzg@gnu.org>
1012
1013 * man.el (man): Fix comment. (bug#12101)
1014
502e3f89
MR
10152012-07-31 Martin Rudalics <rudalics@gmx.at>
1016
1017 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1018 Don't return a non-nil value when no suitable buffer was found.
1019
d7714961
FEG
10202012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1021
1022 * progmodes/python.el (run-python-internal): Disable font lock for
1023 internal shells.
1024
1f45e27e
SM
10252012-07-30 Stefan Merten <smerten@oekonux.de>
1026
1027 * rst.el: Silence `checkdoc-ispell'.
1028 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1029 (rst-official-version, rst-official-cvs-rev)
1030 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1031 (rst-mode-map): New key binding.
1032
0aee6912
PE
10332012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1034
1035 Update .PHONY listings in makefiles.
1036 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1037 autoloads, update-subdirs, updates, bzr-update, update-authors,
1038 compile-onefile, compile-calc, backup-compiled-files,
1039 compile-after-backup, compile-one-process, mh-autoloads,
1040 bootstrap-clean, distclean, maintainer-clean.
1041
9052f9f0
JB
10422012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1043
1823ac5a
JB
1044 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1045 (calc-set-mode-line): Don't display "AlgSimp ".
1046
1047 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1048 (calc-lim-simplify-mode): New function.
1049 (calc-set-simplify-mode): Default to 'alg.
1050 (calc-default-simplify-mode): Make algebraic simplifications
1051 the default.
1052
1053 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1054 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1055
8d7c7eed 1056 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1057 indicate new simplification modes.
1058
1823ac5a
JB
1059 * calc/README: Mention new default simplification mode.
1060
9052f9f0
JB
1061 * calc/calc.el (math-normalize-error): New variable.
1062 (math-normalize): Set `math-normalize-error' to t
1063 when there's an error.
1064
1065 * calc/calc-alg.el (math-simplify): Don't simplify when
1066 `math-normalize' returns an error.
1067
20ba0cb4
EZ
10682012-07-29 Eli Zaretskii <eliz@gnu.org>
1069
1070 * international/mule-cmds.el (set-locale-environment): Revert last
1071 change, since display-graphic-p returns nil when this function is
1072 called during startup. Instead...
1073
1074 * term/w32console.el (terminal-init-w32console): ...setup the
1075 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1076
a5dcc929
JL
10772012-07-29 Juri Linkov <juri@jurta.org>
1078
1079 * simple.el (goto-line): Don't display default line number in the
1080 prompt because it should be displayed by `read-number' (bug#9952).
1081 Add the current line number to the defaults of `goto-line' to
1082 allow its easier modification by users with `M-n' (bug#9201).
1083
1084 * subr.el (read-number): Support multiple default values like in
1085 other minibuffer reading functions. Replace `read' with
1086 `string-to-number' for consistency with `number-to-string'.
1087
72b255c7
PE
10882012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1089
1090 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1091 * emulation/viper-init.el (viper-deactivate-input-method-action):
1092 Rename from viper-inactivate-input-method-action.
1093 (viper-deactivate-input-method):
1094 Rename from viper-inactivate-input-method.
1095 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1096 * international/mule-cmds.el (deactivate-input-method):
1097 Rename from inactivate-input-method.
1098 Also run input-method-deactivate-hook.
1099 (deactivate-current-input-method-function):
1100 Rename from inactivate-current-input-method-function.
1101 (input-method-deactivate-hook): New hook.
1102 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1103 (inactivate-input-method): Mark obsolete.
1104
72b255c7
PE
1105 * international/quail.el (quail-activate):
1106 Also run quail-deactivate-hook.
1107 (quail-deactivate): Rename from quail-inactivate.
1108 * international/robin.el (robin-activate):
1109 Also run robin-deactivate-hook.
1110 (robin-deactivate): Rename from robin-inactivate.
1111
2549c068
CY
11122012-07-29 Chong Yidong <cyd@gnu.org>
1113
1114 * simple.el (indicate-copied-region): New function.
1115 (kill-ring-save): Split off from here.
1116
1117 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1118 (kill-rectangle): Set deactivate-mark to t on read-only error.
1119
1120 * register.el (copy-to-register, copy-rectangle-to-register):
1121 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1122 (append-to-register, prepend-to-register):
1123 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1124
1125 * simple.el (async-shell-command-buffer): New defcustom.
1126 (shell-command): Use it. (Bug#4719)
1127
01bd1b0d
EZ
11282012-07-28 Eli Zaretskii <eliz@gnu.org>
1129
1130 * international/mule-cmds.el (set-locale-environment): In a
1131 console session on MS-Windows, set up keyboard and terminal
1132 encoding from the OEM codepage, not the ANSI codepage.
1133 (Bug#12055)
1134
a55739d3
CY
11352012-07-28 Chong Yidong <cyd@gnu.org>
1136
1137 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1138 gdb-get-location.
1139
0e1a094f 11402012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1141
1142 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1143 the alist (bug#12029).
1144
20329d73
EZ
11452012-07-28 Eli Zaretskii <eliz@gnu.org>
1146
1147 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1148 (compile-always, compile-first)
1149 ($(lisp)/calendar/cal-loaddefs.el)
1150 ($(lisp)/calendar/diary-loaddefs.el)
1151 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1152 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1153 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1154 instead of on update-subdirs.
1155 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1156
345a2258
CY
11572012-07-28 Chong Yidong <cyd@gnu.org>
1158
1eee6341
CY
1159 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1160 directory if vc-deduce-backend returns nil (Bug#7350).
1161
345a2258
CY
1162 * simple.el (delete-trailing-lines): New option.
1163 (delete-trailing-whitespace): Obey it (Bug#11879).
1164
049a0936
DE
11652012-07-28 David Engster <deng@randomsample.de>
1166
1167 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1168 Explanation of new 'symbol-qnames feature in doc-strings.
1169 (xml-maybe-do-ns): Return expanded names as plain symbols if
1170 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1171 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1172
aa81af71
FEG
11732012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1174
1175 Consistent completion in inferior python with emacs -nw.
1176 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1177 binding in inferior-python-mode-map with "\t".
1178 (python-shell-completion-complete-at-point)
1179 (python-completion-complete-at-point): Remove interactive spec.
1180
e827b1eb
JB
11812012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1182
1183 * calc/calccomp.el (math-compose-expr): Undo previous change.
1184
a90dfb95
FEG
11852012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1186
4250fdf5 1187 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1188 run-python.
1189 (python-shell-make-comint): Fix pop-to-buffer call.
1190 (run-python): Autoload. New arg SHOW.
1191 (python-shell-get-or-create-process): Do not pop python process
1192 buffer.
1193
32770973 11942012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1195
1196 * notifications.el (notifications-on-action-signal)
1197 (notifications-on-closed-signal): Use also the bus address for the map.
1198 (notifications-notify, notifications-close-notification)
1199 (notifications-get-capabilities): Add optional argument BUS.
1200
86332df2
TH
12012012-07-27 Tassilo Horn <tsdh@gnu.org>
1202
4250fdf5
SM
1203 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1204 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1205 ctable macro.
1206 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1207 labels written in keyvals syntax.
1208
ca1302a4
JB
12092012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1210
1211 * calc/calccomp.el (math-compose-expr): Use parentheses when
1212 there is a product in the denominator of a fraction.
1213
f8b91036
EZ
12142012-07-26 Eli Zaretskii <eliz@gnu.org>
1215
1216 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1217 ($(lisp)/calendar/diary-loaddefs.el)
1218 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1219 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1220 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1221 rewritten while the autoload files are built at the same time,
1222 which needs to load subdirs.el.
1223
c8e5a42c
MR
12242012-07-26 Martin Rudalics <rudalics@gmx.at>
1225
1226 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1227 (mouse-drag-line): Don't exit tracking when a switch-frame or
1228 switch-window event occurs (Bug#12006).
1229
670d85ea
SM
12302012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * mouse.el (popup-menu): Fix last change.
1233
7abaf5cc
SM
12342012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 Autoload from Lisp with more care. Follow aliases when looking for
1237 function properties.
1238 * subr.el (autoloadp): New function.
1239 (symbol-file): Use it.
1240 (function-get): New function.
1241 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1242 autoload-do-load.
1243 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1244 (lisp-indent-function):
1245 * emacs-lisp/gv.el (gv-get):
1246 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1247 * emacs-lisp/byte-opt.el (byte-optimize-form):
1248 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1249 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1250 Use function-get.
1251 * emacs-lisp/cl.el: Don't propagate function properties any more.
1252
1253 * speedbar.el (speedbar-add-localized-speedbar-support):
1254 * emacs-lisp/disass.el (disassemble-internal):
1255 * desktop.el (desktop-load-file):
1256 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1257 (describe-function-1):
1258 * emacs-lisp/find-func.el (find-function-noselect):
1259 * emacs-lisp/elp.el (elp-instrument-function):
1260 * emacs-lisp/advice.el (ad-has-proper-definition):
1261 * apropos.el (apropos-safe-documentation, apropos-macrop):
1262 * emacs-lisp/debug.el (debug-on-entry):
1263 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1264 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1265 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1266
b1364986
AA
12672012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1268
1269 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1270 function, not an obsolete variable (Bug#12046).
1271
67ada220
AS
12722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1273
1274 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1275
f08088e3
CS
12762012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1277
1278 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1279 window only if it is still live (Bug#12034).
1280
8137e7b3
MR
12812012-07-25 Martin Rudalics <rudalics@gmx.at>
1282
1283 * subr.el (redirect-frame-focus): Add advertised calling
1284 convention (Bug#12030).
1285
09ae5da1
PE
12862012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1287
1288 Prefer typical American spelling for "acknowledgment".
1289 * vc/add-log.el (change-log-acknowledgment): Rename from
1290 change-log-acknowledgement, with an alias for the old name.
1291
3cc5a3a8
JB
12922012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1293
1294 * calc-alg.el (math-simplify-divide): Don't cross multiply
1295 in an equation when the lhs is a variable.
1296
b7af7f62
JD
12972012-07-24 Julien Danjou <julien@danjou.info>
1298
1299 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1300 Remove, unused.
1301
ec1b09b1
EZ
13022012-07-23 Eli Zaretskii <eliz@gnu.org>
1303
1304 * startup.el (command-line): Don't display an empty user name in
1305 the error message about non-existent home directory, when
1306 init-file-user was set to an empty string. See
1307 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1308 for the details and context.
1309
b525fd8a
VB
13102012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1311
1312 * ses.el (ses-cell-formula-aset): New macro.
1313 (ses-cell-references-aset): New macro.
1314 (ses-cell-p): New function.
1315 (ses-rename-cell): Do no longer rely on complex operations like
1316 ses-cell-set-formula or ses-set-cell to change the cell and handle
1317 the undo at the same time, but rather use lower level new macros
1318 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1319 the undo directly. Refresh the mode line.
1320
2c73e345
LL
13212012-07-21 Leo Liu <sdl.web@gmail.com>
1322
670d85ea
SM
1323 * progmodes/cc-cmds.el (c-defun-name):
1324 Use match-string-no-properties instead for consistency.
2c73e345 1325
542dfbde
LL
13262012-07-20 Leo Liu <sdl.web@gmail.com>
1327
3646bcd6
LL
1328 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1329 (Bug#7879)
1330
542dfbde
LL
1331 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1332
25721031
CY
13332012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1336 * progmodes/bug-reference.el, misearch.el: Provide themselves
1337 (bug#11915).
1338
1339 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1340 of narrowed buffer (bug#11966).
1341
316e68a7
VB
13422012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1343
1344 * ses.el (ses-rename-cell): Set new name also in reference list of
1345 cells of which the renamed cell depends.
1346
bbf0e7d9
MY
13472012-07-20 Masatake YAMATO <yamato@redhat.com>
1348
1349 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1350 to check whether menu-bar is shown or not. If not shown,
1351 show the menu-bar as a popup menu instead of using tmm.
1352 * mouse.el (popup-menu): Accept `point' as `position' argument.
1353
c28662a8
DG
13542012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1357 up inside string symbol literal (bug#11923).
1358
87ab808f
EZ
13592012-07-20 Eli Zaretskii <eliz@gnu.org>
1360
1361 * startup.el (fancy-startup-text): Read the whole tutorial, not
1362 just its first 256 bytes. Prevents gibberish in display of the
1363 tutorial title.
1364
89dea803
DA
13652012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1366
1367 Drop idle buffer compaction due to an absence of the
1368 proved efficiency.
1369 * compact.el: Remove.
1370
8a4e6db8
SS
13712012-07-19 Sam Steingold <sds@gnu.org>
1372
1373 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1374 vc-bzr-pull & vc-bzr-merge-branch.
1375 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1376 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1377 for consistency with compilation-error-regexp-alist.
1378 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1379 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1380 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1381 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1382
5db81e33
SM
13832012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/chart.el: Use lexical-binding.
1386 (chart-emacs-storage): Don't hardcode the list of entries.
1387
5b835e1d
DA
13882012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1389
1390 Next round of tweaks caused by Fgarbage_collect changes.
1391 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1392
9cd47b72
DA
13932012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1394
1395 Compact buffers when idle.
1396 * compact.el: New file.
1397
1d6fc0df
SM
13982012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * subr.el (eventp): Presume that if it looks vaguely like an event,
1401 it's an event (bug#10190).
1402
1d29cc7d
FEG
14032012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1404
1405 Enhancements to ppss related code (thanks Stefan).
1406 * progmodes/python.el (python-indent-context)
1407 (python-indent-calculate-indentation, python-indent-dedent-line)
1408 (python-indent-electric-colon, python-nav-forward-block)
1409 (python-mode-abbrev-table)
1d6fc0df 1410 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1411 for ppss context.
1412 (python-info-continuation-line-p): Cleanup.
1413 (python-info-ppss-context): Do not catch 'quote.
1414 (python-info-ppss-context-type)
1415 (python-info-ppss-comment-or-string-p): Simplify.
1416
d583cbe6
FEG
14172012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1418
1419 * progmodes/python.el: Enhancements to eldoc support.
1420 (python-info-current-symbol): New function.
1421 (python-eldoc-at-point): Use python-info-current-symbol.
1422 (python-info-current-defun): Fix cornercase on first defun scan.
1423 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1424 and signal error when no inferior python process is available.
1425
eceb6feb
DG
14262012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1427
1428 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1429 assume it's always t.
1430 (vc-git-registered): Remove caching, the function is only called
1431 once.
1432 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1433
4c8ff0fe
CY
14342012-07-18 Chong Yidong <cyd@gnu.org>
1435
19fb7186
CY
1436 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1437
9587c688
CY
1438 * simple.el (count-words): Report on narrowing (Bug#9959).
1439
0fe776a1
CY
1440 * bindings.el: Bind M-= to count-words.
1441
4c8ff0fe
CY
1442 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1443
7f5331cc
MY
14442012-07-18 Masatake YAMATO <yamato@redhat.com>
1445
1446 * progmodes/sh-script.el (sh-imenu-generic-expression):
1447 Capture a function with `function' keyword and without parentheses
1448 like "function FOO" (bug#11856).
1449
2dc2a609
TH
14502012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1451
1452 * window.el (split-window-sensibly): Make WINDOW argument
1453 optional.
1454
439f7677
CY
14552012-07-18 Chong Yidong <cyd@gnu.org>
1456
9aeb25a6
CY
1457 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1458
439f7677
CY
1459 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1460 and make C-x 8 RET exit isearch (Bug#11439).
1461
1462 * international/iso-transl.el: Move isearch-mode-map key
1463 definitions to isearch.el.
1464
12999ea8
SM
14652012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1468 (eieio-defclass): Use gv-define-setter when possible.
1469
3ab6e069
DA
14702012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1471
1472 Reflect recent changes in Fgarbage_collect.
1473 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1474 reflect new format of data returned by Fgarbage_collect.
1475
0a60bc10
FEG
14762012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1477
1478 New utility functions + python-info-ppss-context fix (Bug#11910).
1479 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1480 (python-info-ppss-comment-or-string-p): New functions.
1481 (python-info-ppss-context): Small fix for string check.
1482
6dafa0d5
JL
14832012-07-17 Juri Linkov <juri@jurta.org>
1484
1485 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1486 (dired-do-async-shell-command): Don't add `*' at the end of the
1487 command (Bug#11815).
1488 (dired-do-shell-command): Doc fix.
1489 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1490 Join the individual commands using either "&" or ";" as the
1491 separator depending on the values of these trailing characters.
1492 At the end re-add the trailing "&". (Bug#10598)
1493
1494 * simple.el (async-shell-command): Sync the interactive spec with
1495 `shell-command'. Doc fix.
1496 (shell-command): Doc fix.
1497
b19dd9d1
JL
14982012-07-17 Juri Linkov <juri@jurta.org>
1499
1500 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1501
bcdc27d7 15022012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1503
bcdc27d7 1504 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1505 * progmodes/python.el (python-nav-beginning-of-statement):
1506 Rename from python-nav-statement-start.
bcdc27d7
FEG
1507 (python-nav-end-of-statement): Rename from
1508 python-nav-statement-end.
1509 (python-nav-beginning-of-block): Rename from
1510 python-nav-block-start.
1511 (python-nav-end-of-block): Rename from python-nav-block-end.
1512
191da00e
FEG
15132012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1514
7f5331cc
MY
1515 * progmodes/python.el (python-shell-send-string-no-output):
1516 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1517 future interactions (Bug#11868).
1518
4dc7c8d5 15192012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1520
88ecaf8f
SM
1521 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1522
ef501ef0
SM
1523 * emacs-lisp/elint.el (elint-find-args-in-code):
1524 Use help-function-arglist, so as to handle lexical byte-code.
1525
aa7aaf8f
SM
1526 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1527 change (bug#11826).
1528
45fd731c
SM
15292012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1530
2143fa32
SM
1531 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1532 Avoid spuriously marking the buffer as modified because of c-is-sws.
1533
efc26dbe
SM
1534 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1535 as not-a-comment (bug#11946).
1536
f5695c9a
SM
1537 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1538 for uninterned vars.
1539
1540 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1541 Use read-event since we don't really want to read chars but bytes.
1542
45fd731c
SM
1543 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1544 $$..$$ but also $..$ using regexps (bug#11953).
1545 Use tex-verbatim for \url and \path.
1546 (tex-font-lock-keywords): Define as defconst like the others.
1547 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1548
ddfc8813
RK
15492012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1550
1551 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1552 alias for insert-char.
1553
758e556a
FEG
15542012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1555
1556 * progmodes/python.el: Simplified imenu implementation.
1557 (python-nav-jump-to-defun): Remove command.
1558 (python-mode-map): Use `imenu' instead.
1559 (python-nav-list-defun-positions-cache)
1560 (python-imenu-include-defun-type, python-imenu-make-tree)
1561 (python-imenu-subtree-root-label, python-imenu-index-alist):
1562 Remove vars.
1563 (python-nav-list-defun-positions, python-nav-read-defun)
1564 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1565 (python-imenu-make-tree, python-imenu-create-index):
1566 Remove functions.
758e556a
FEG
1567 (python-mode): Update to interact with imenu by setting
1568 `imenu-extract-index-name-function' only.
1569
032d23ab
FEG
15702012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1571
1572 * progmodes/python.el: Enhancements to navigation commands.
1573 (python-nav-backward-sentence)
1574 (python-nav-forward-sentence): Remove.
1575 (python-nav-backward-statement, python-nav-forward-statement)
1576 (python-nav-statement-start, python-nav-statement-end)
1577 (python-nav-backward-block, python-nav-forward-block)
1578 (python-nav-block-start, python-nav-block-end)
1579 (python-nav-forward-sexp-function)
1580 (python-info-current-line-comment-p)
1581 (python-info-current-line-empty-p): New functions.
1582 (python-indent-context): Use `python-nav-statement-start'.
1583
01795a1b
MA
15842012-07-16 Michael Albinus <michael.albinus@gmx.de>
1585
9328d9aa
MA
1586 * eshell/em-ls.el (eshell/ls): Use `apply'.
1587
1588 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1589 multi-hops, instead of Tramp internals.
1590
01795a1b
MA
1591 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1592
1593 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1594 when F1 and F2 are located on different hosts.
1595
63408057
CY
15962012-07-14 Chong Yidong <cyd@gnu.org>
1597
1598 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1599 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1600 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1601 (xterm-mouse--read-event-sequence-1000)
1602 (xterm-mouse--read-event-sequence-1006): New functions. For old
1603 mouse protocol, handle M-mouse-X events correctly.
1604 (xterm-mouse-event): New arg specifying mouse protocol.
1605 (turn-on-xterm-mouse-tracking-on-terminal)
1606 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1607 sequence to toggle extended coordinates on newer XTerms.
1608 This appears to be harmless on terminals which do not support this.
63408057 1609
cd276f6e
LL
16102012-07-14 Leo Liu <sdl.web@gmail.com>
1611
28ca98ac
LL
1612 Add fringe bitmap indicators for flymake. (Bug#11253)
1613 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1614 (flymake-make-overlay): New arg BITMAP.
1615 (flymake-error-bitmap, flymake-warning-bitmap)
1616 (flymake-fringe-indicator-position): New user variables.
1617
cd276f6e
LL
1618 * fringe.el: New bitmap exclamation-mark.
1619
04408072
JD
16202012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1621
1622 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1623 also (Bug#7879).
1624
b5cf7fc4
CY
16252012-07-14 Chong Yidong <cyd@gnu.org>
1626
1627 * electric.el (electric-pair-post-self-insert-function): Fix pair
1628 insertion in empty-region case (Bug#11520).
1629
be755c79
RT
16302012-07-14 Chong Yidong <cyd@gnu.org>
1631
45fd731c
SM
1632 * bindings.el: Consolidate ctl-x-r-map bindings.
1633 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1634
1635 * rect.el, register.el: Move bindings to bindings.el.
1636
16372012-07-14 Reuben Thomas <rrt@sc3d.org>
1638
1639 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1640
7f5b3198
AS
16412012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1642
1643 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1644
97662200
JB
16452012-07-13 Juanma Barranquero <lekktu@gmail.com>
1646
80185fed
JB
1647 * bindings.el (top): Use `mapc' instead of `mapcar'.
1648
97662200
JB
1649 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1650
2bb1ae55
MA
16512012-07-13 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * progmodes/sql.el (sql-comint): Suppress the check for program on
1654 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1655 (Bug#11908)
1656
dea31bd3
CY
16572012-07-13 Chong Yidong <cyd@gnu.org>
1658
1659 * bindings.el: Assign a non-nil permanent-local property to
1660 per-buffer variables which lack a default value (Bug#11930).
1661
1662 * help-fns.el (describe-variable): In the "automatically becomes
1663 local" notice, take note of permanent-local variables.
1664
b68b3337
CY
16652012-07-13 Chong Yidong <cyd@gnu.org>
1666
1667 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1668 to allow printing the message when called from Lisp.
1669
1670 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1671 Remove toggle-read-only.
1672
1673 * bs.el (bs-toggle-readonly):
45fd731c
SM
1674 * buff-menu.el (Buffer-menu-toggle-read-only):
1675 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1676
1677 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1678 Remove with-no-warnings around toggle-read-only.
1679 (ffap-read-only, ffap-read-only-other-window)
1680 (ffap-read-only-other-frame): Callers changed.
1681
1682 * help-mode.el: Don't require view package.
1683 (help-mode-finish): Set buffer-read-only instead of calling
1684 toggle-read-only.
1685
1686 * bindings.el (mode-line-toggle-read-only):
1687 * dired.el (dired-toggle-read-only):
1688 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1689 with non-nil second arg.
1690
1691 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1692 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1693 directly.
1694
56bc1586
EZ
16952012-07-12 Eli Zaretskii <eliz@gnu.org>
1696
1697 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1698 not incf.
1699
a464a6c7
SM
17002012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 More CL cleanups and reduction of use of cl.el.
1703 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1704 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1705 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1706 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1707 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1708 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1709 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1710 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1711 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1712 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1713 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1714 * eshell/em-cmpl.el, eshell/em-banner.el:
1715 * calendar/parse-time.el: Use cl-lib.
1716 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1717 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1718 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1719 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1720 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1721 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1722 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1723 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1724 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1725 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1726 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1727 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1728 `lambda' rather than with `quote'.
1729 (eshell-do-opt): Adjust accordingly.
1730 (eshell-process-option): Simplify.
1731 * eshell/esh-var.el:
1732 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1733 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1734 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1735 to `pcase--dontcare'.
1736 * emacs-lisp/cl.el (labels): Mark obsolete.
1737 (cl--letf, letf): Move to cl-lib.
1738 (cl--letf*, letf*): Remove.
1739 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1740 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1741 (cl-progv): Rewrite.
1742 (cl--letf, cl-letf): Move from cl.el.
1743 (cl-letf*): New macro.
1744 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1745
7ad4afe1
MA
17462012-07-11 Michael Albinus <michael.albinus@gmx.de>
1747
1748 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1749
9af57756
CY
17502012-07-11 Chong Yidong <cyd@gnu.org>
1751
1752 * vc/log-edit.el (log-edit-vc-backend): New variable.
1753 (log-edit): Doc fix.
1754
1755 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1756 argument of log-edit to set up all local variables.
1757 (vc-start-logentry): New optional arg specifying VC backend.
1758
1759 * vc/vc.el (vc-checkin): Use it.
1760 (vc-deduce-fileset): Handle Log Edit buffers.
1761 (vc-diff): Make first argument optional too.
1762
1763 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1764
8477cc7a
MA
17652012-07-10 Michael Albinus <michael.albinus@gmx.de>
1766
1767 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1768 command, just in case. The function is not needed anymore.
1769 (eshell-external-command): Do not call `eshell-remote-command'.
1770
19faa8e8
SM
17712012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1772
f58e0fd5
SM
1773 Reduce use of (require 'cl).
1774 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1775 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1776 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1777 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1778 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1779 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1780 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1781 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1782 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1783 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1784 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1785 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1786 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1787 (byte-compile-unfold-bcf, byte-compile-check-variable):
1788 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1789 (byte-compile-nilconstp):
1790 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1791 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1792
2519d43a
SM
1793 * emacs-lisp/gv.el (cond): Make it a valid place.
1794 (if): Simplify slightly.
1795
19faa8e8
SM
1796 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1797 (pcase--self-quoting-p): New function.
1798 (pcase--u1): Use it.
1799
c4907a5e
GM
18002012-07-10 Glenn Morris <rgm@gnu.org>
1801
1802 * emacs-lisp/authors.el (authors-fixed-entries):
1803 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1804
c4444d16
PE
18052012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1806
1807 Rename configure.in to configure.ac (Bug#11603).
1808 * emacs-lisp/authors.el (authors-canonical-file-name):
1809 * progmodes/autoconf.el (autoconf-mode):
1810 Prefer configure.ac to configure.in.
1811
d75be97d
CY
18122012-07-08 Chong Yidong <cyd@gnu.org>
1813
01ac65bd
CY
1814 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1815 Implement the mouse-1-click-follows-link handling properly.
1816
1817 * info.el (Info-link-keymap): Use follow-link mechanism for
1818 header-line links (Bug#374).
1819
d75be97d
CY
1820 * simple.el (deactivate-mark): Do not set the primary selection
1821 if another program has acquired it (Bug#11772).
1822
87a92845 18232012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1824
1825 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1826 (woman-decode-region): Replace escaped-escapes without destroying
1827 bold or underline (Bug#11552).
87a92845 1828 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1829
621b9d6c
CY
18302012-07-07 Chong Yidong <cyd@gnu.org>
1831
1832 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1833 (interprogram-cut-function, interprogram-paste-function):
1834 Mention that we typically mean the clipboard.
621b9d6c 1835
133a11fc
GM
18362012-07-06 Glenn Morris <rgm@gnu.org>
1837
0d27a45e
GM
1838 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1839
133a11fc
GM
1840 * files.el (toggle-read-only): Restrict message to interactive use.
1841
07b151f1
MA
18422012-07-06 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1845
1846 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1847
211b896b
GM
18482012-07-06 Glenn Morris <rgm@gnu.org>
1849
50394322
GM
1850 * Makefile.in (compile-one-process): Rename from "recompile".
1851
211b896b
GM
1852 * Makefile.in (bzr-update): "compile" is the same as "recompile
1853 autoloads", but parallelizable, so use that instead.
1854
4737eec9
DG
18552012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1856
1857 * window.el (quit-window): Always restore window height when
8137e7b3 1858 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1859
226c3633 18602012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1861
1862 * simple.el (kill-whole-line): Doc tweak.
1863
226c3633 18642012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1865
1866 * files.el (file-relative-name): Compare file names
1867 case-insensitively if on MS-Windows or MS-DOS, or if
1868 read-file-name-completion-ignore-case is non-nil. Don't use
1869 case-fold-search for this purpose. (Bug#11827)
1870
4dc7c8d5
SM
18712012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1872
1873 * calendar/cal-dst.el (calendar-current-time-zone):
1874 Return calendar-current-time-zone-cache if non-nil.
1875
18762012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 18772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1878
19faa8e8
SM
1879 * calendar/cal-dst.el (calendar-current-time-zone):
1880 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1881
60198fc9
GM
18822012-07-06 Glenn Morris <rgm@gnu.org>
1883
1884 * Makefile.in (cvs-update): Remove old alias.
1885
957b3189
MA
18862012-07-05 Michael Albinus <michael.albinus@gmx.de>
1887
1888 Sync with Tramp 2.2.6-pre.
1889
1890 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1891 compatible declaration.
1892
19faa8e8
SM
1893 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1894 Protect `list-load-path-shadows' call.
957b3189
MA
1895
1896 * net/tramp-compat.el (top): Require packages, which aren't
1897 autoloaded anymore for XEmacs. Protect call of
1898 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1899 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1900 it hurts at least for SXEmacs.
1901 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1902 standard-value for `temporary-file-directory'.
1903
1904 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1905 Redirect stderr to /dev/null.
1906 (tramp-sh-handle-write-region): uid and gid can be floats.
1907 Reported by Russell Sim <russell.sim@gmail.com>.
1908 (tramp-sh-handle-vc-registered): Hide errors.
1909 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1910 and `start-file-process'.
1911 (tramp-maybe-open-connection): Check also whether `non-essential'
1912 is bound.
1913
566df3fc
CY
19142012-07-04 Chong Yidong <cyd@gnu.org>
1915
1916 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1917 (xml-parse-tag): Likewise, and avoid changing entity tables.
1918 (xml-syntax-table): Define from scratch, making sure not to give
1919 x2000 and other Unicode spaces whitespace syntax, since those are
1920 not spaces in XML.
1921 (xml-parse-fragment): Delete unused function.
1922 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1923 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1924 (xml-entity-ref, xml-pe-reference-re)
1925 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1926 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1927 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1928 (xml-entity-value-re): Use syntax references in regexps where
1929 possible; no need to define inside a let-binding.
1930 (xml-parse-dtd): Use xml-pe-reference-re.
1931 (xml-entity-or-char-ref-re): New defconst.
1932 (xml-parse-string, xml-substitute-special): Use it.
1933
30eabd7a
SM
19342012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1935
0781098a
SM
1936 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1937 (find-file--read-only): New function.
1938 (find-file-read-only, find-file-read-only-other-window)
1939 (find-file-read-only-other-frame): Use it.
1940 (insert-file-contents-literally): Don't `fset'.
1941 (get-free-disk-space): Use locate-dominating-file.
1942
b5771c0d
SM
1943 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1944 function is already compiled.
1945
30eabd7a
SM
1946 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1947
b4886f6e
MA
19482012-07-03 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1951 files on the same host.
1952
b9d82339
AS
19532012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1954
1955 * help-fns.el (describe-function-1): Only call
1956 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1957
a76e6535
CY
19582012-07-03 Chong Yidong <cyd@gnu.org>
1959
1960 * xml.el: Protect parser against XML bombs.
1961 (xml-entity-expansion-limit): New variable.
1962 (xml-parse-string, xml-substitute-special): Use it.
1963 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1964
b544fef2
GM
19652012-07-03 Glenn Morris <rgm@gnu.org>
1966
1967 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1968 Allow linking to specific messages in debbugs reports (eg 123#5).
1969
a7aef6f5
CY
19702012-07-02 Chong Yidong <cyd@gnu.org>
1971
1972 * xml.el: Fix entity and character reference expansion, allowing
1973 them to expand into markup as per XML spec.
1974 (xml-default-ns): New variable.
1975 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1976 (xml-parse-region): Make first two arguments optional.
1977 Discard text properties.
1978 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1979 All callers changed.
a7aef6f5
CY
1980 (xml-parse-tag): Call xml-parse-tag-1. For backward
1981 compatibility, this function should not modify buffer contents.
1982 (xml-parse-tag-1): Fix opening-tag regexp.
1983 (xml-parse-string): Rewrite, handling entity and character
1984 references properly.
1985 (xml--entity-replacement-text): Signal an error if a parameter
1986 entity is undefined.
1987
3df31c9f
SM
19882012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1989
2b5208f1
SM
1990 * comint.el (comint-output-filter): Filter out repeated prompts.
1991
3df31c9f
SM
1992 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1993 and file-name-absolute-p.
1994 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1995 internal calls.
1996
e3ac1281
PE
19972012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1998
1999 Spelling fixes.
2000 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2001 Rename from byte-compile--refiy-function. All uses changed.
2002
fbf2e7ad
CY
20032012-07-01 Chong Yidong <cyd@gnu.org>
2004
2005 * xml.el (xml--parse-buffer): New function. Move most of
2006 xml-parse-region here.
2007 (xml-parse-region): Copy region into a temporary buffer, since
2008 parameter entity substitution requires changing buffer contents.
2009 Use xml--parse-buffer.
2010 (xml-parse-file): Use xml--parse-buffer.
2011 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2012 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2013
9bf0aa15
GM
20142012-06-30 Glenn Morris <rgm@gnu.org>
2015
bbce2853
GM
2016 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2017
9bf0aa15
GM
2018 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2019 Remove outdated and unnecessary dbus declarations.
2020
0d23c240
EZ
20212012-06-30 Eli Zaretskii <eliz@gnu.org>
2022
2023 * emacs-lisp/timer.el (timer-until): Subtract results of
2024 float-time, instead of taking float-time of the result of
2025 time-subtract, since float-time signals an error for negative time
2026 arguments.
2027
b3218de1
CY
20282012-06-30 Chong Yidong <cyd@gnu.org>
2029
2030 * xml.el (xml-*-re): Convert defvars into defconsts, and
2031 eval-and-compile them so eval-and-compile works on derivatives.
2032 (xml--entity-replacement-text): Use eval-and-comple.
2033
a40c87a0
MA
20342012-06-30 Michael Albinus <michael.albinus@gmx.de>
2035
2036 * vc/vc-git.el (vc-git-registered): Use cache property
2037 `git-registered'.
2038 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2039 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2040 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2041
ac87de97
DG
20422012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2043
2044 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2045 removed (likely outside Emacs). (Bug#11757)
ac87de97 2046
ac10fe06
SM
20472012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2048
3df31c9f 2049 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2050
7f3fbd5d
CY
20512012-06-30 Chong Yidong <cyd@gnu.org>
2052
2053 * xml.el: Implement XML parameter entities.
2054 (xml-parameter-entity-alist): New variable.
2055 (xml-parse-region, xml-parse-fragment): Preserve previous values
2056 of xml-entity-alist and xml-parameter-entity-alist, so that
2057 repeated calls on different documents do not change them.
2058 (xml-parse-tag): Fix doctype regexp.
2059 (xml--entity-replacement-text): New function.
2060 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2061 properly requires url retrieval which is unimplemented.
2062 (xml-escape-string): Doc fix.
2063
3cfbebba
SM
20642012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2067
2af3565e
DA
20682012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2069
2070 * fringe.el (fringe-mode): Doc fix.
2071
929df0e7
MA
20722012-06-29 Michael Albinus <michael.albinus@gmx.de>
2073
2074 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2075 is non-nil.
2076 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2077 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2078
c8d3a25c 20792012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2080
c8d3a25c
GM
2081 * calendar/cal-dst.el (calendar-current-time-zone):
2082 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2083
c8d3a25c 20842012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2085
2086 * progmodes/which-func.el (which-func-format):
2087 Add mouse-face. (Bug#11698)
2088
c8d3a25c
GM
20892012-06-29 Leo Liu <sdl.web@gmail.com>
2090
2091 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2092
20932012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * minibuffer.el (minibuffer-confirm-exit-commands):
2096 Add completion-at-point (bug#11725).
2097
20982012-06-29 Glenn Morris <rgm@gnu.org>
2099
2100 * progmodes/f90.el (f90-font-lock-keywords-2):
2101 Add some preprocessor elements. (Bug#10499)
2102
21032012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2106 Use syntax-propertize (bug#11739).
2107
2badeec4
JB
21082012-06-28 Juanma Barranquero <lekktu@gmail.com>
2109
2110 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2111
ae4969c2
JD
21122012-06-28 Julien Danjou <julien@danjou.info>
2113
2114 * term.el (term-handle-colors-array): Use a set of new faces to
2115 color the terminal. Also uses :inverse-video property.
2116 (term-default-fg-color): Set to nil by default, deprecate in favor
2117 of `term-face'.
2118 (term-default-bg-color): Set to nil by default, deprecate in favor
2119 of `term-face'.
2120 (term-current-face): Use `term-face' by default.
2121 (term-bold-attribute): Variable deleted.
2122
1c9bd870
GM
21232012-06-28 Glenn Morris <rgm@gnu.org>
2124
2125 * simple.el (completion-list-mode-finish):
2126 Don't use toggle-read-only. (Since completion-list-mode has
2127 a special mode-class, it wasn't doing anything extra anyway.)
2128
c207708c
SM
21292012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 Make inlining of other-mode interpreted functions work (bug#11799).
2132 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2133 (byte-compile): Use it to fix compilation of lexical-binding closures.
2134 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2135 function, if needed.
2136
3fd56834
SM
21372012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2138
04901786
SM
2139 * help-mode.el (help-make-xrefs): Don't just withstand
2140 cyclic-variable-indirection but any error in documentation-property.
2141
1ec4b7b2
SM
2142 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2143 memory use.
2144 * bindings.el (bindings--define-key): New function.
2145 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2146 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2147 * bindings.el: Use it to purecopy define-key bindings.
2148
e309e2a5
SM
2149 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2150
d5c6faf9
SM
2151 * emacs-lisp/cl.el (flet): Mark obsolete.
2152 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2153 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2154 * progmodes/js.el (js-c-fill-paragraph):
2155 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2156 (ebrowse-switch-member-buffer-to-derived-class):
2157 * play/5x5.el (5x5-solver): Use cl-flet.
2158
6e9590e2
SM
2159 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2160 (cl--symbol-function): New macro.
2161 (cl--letf, cl--letf*): Use it.
2162
3fd56834
SM
2163 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2164 Strip "toggle-" if any.
2165
35ff222c
GM
21662012-06-27 Glenn Morris <rgm@gnu.org>
2167
1ba6038a
GM
2168 * info.el (Info-default-directory-list): Move here from paths.el.
2169 * paths.el: Remove file, which is now empty.
2170 * loadup.el: No longer load "paths".
2171
0ea0e51b
GM
2172 * custom.el (custom-initialize-delay): Doc fix.
2173
35ff222c
GM
2174 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2175 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2176 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2177 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2178 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2179 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2180 * eshell/eshell.el (eshell-defgroup): Remove alias.
2181
c89926a5
CY
21822012-06-27 Chong Yidong <cyd@gnu.org>
2183
2184 * help.el (help-enable-auto-load): New variable.
2185
2186 * help-fns.el (help-fns--autoloaded-p): New function.
2187 (describe-function-1): Refer to a function as "autoloaded" if it
2188 was autoloaded at any time in the past. Perform autoloading if
2189 help-enable-auto-load is non-nil.
2190
cc06e7e7
EZ
21912012-06-26 Eli Zaretskii <eliz@gnu.org>
2192
2193 * makefile.w32-in (compile, compile-always): Depend on
2194 update-subdirs, not on subdirs.el. Otherwise, several different
2195 sub-targets of 'bootstrap' running in parallel could
2196 simultaneously write to subdirs.el, producing a garbled file.
2197
d2c32364
SS
21982012-06-26 Sam Steingold <sds@gnu.org>
2199
2200 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2201 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2202 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2203 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2204 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2205 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2206 * textmodes/tex-mode.el: Use it.
2207 Did not touch cedet and org because they are maintained elsewhere.
2208
5cf983b2
MR
22092012-06-26 Martin Rudalics <rudalics@gmx.at>
2210
2211 * calendar/calendar.el (calendar-exit): Don't try to delete or
2212 iconify last frame. See:
2213 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2214
8c4f2952
JD
22152012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2216
2217 * server.el (server-process-filter): Remember dir in the
2218 process's `server-client-directory' properties.
2219
772b2e2c
CY
22202012-06-24 Chong Yidong <cyd@gnu.org>
2221
2222 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2223 non-tag text.
2224
711b11e1
JB
22252012-06-23 Juanma Barranquero <lekktu@gmail.com>
2226
2227 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2228
dc5d230c
SM
22292012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * help-fns.el (describe-variable): Don't croak when doc is not found.
2232 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2233 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2234 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2235 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2236 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2237 ((lambda ..) ..).
2238 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2239
136e1c1d
CY
22402012-06-23 Chong Yidong <cyd@gnu.org>
2241
e8c1cabf
CY
2242 * info.el (Info-mouse-follow-link): Accept symbol values of
2243 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2244 (Info-fontify-node): Use Info-link-keymap for all navigation
2245 buttons, with link-args property to perform the desired action.
2246 (Info-link-keymap): Doc fix.
2247 (Info-next-link-keymap, Info-prev-link-keymap)
2248 (Info-up-link-keymap): Delete now-unused keymaps.
2249
0e9e6c6a
CY
22502012-06-23 Chong Yidong <cyd@gnu.org>
2251
05e89fea
CY
2252 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2253
0e9e6c6a
CY
2254 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2255 system abbrevs.
2256
2257 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2258
e33c6771
SM
22592012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2260
b68581e2
SM
2261 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2262 (bug#11719).
2263
e33c6771
SM
2264 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2265 the requote function doesn't work properly (bug#11714).
2266
7117e105
GM
22672012-06-23 Glenn Morris <rgm@gnu.org>
2268
2269 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2270
36cec983
SM
22712012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 Further GV/CL cleanups.
2274 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2275 gv-expander.
2276 (gv--defun-declaration): New function.
2277 (defun-declarations-alist): Use it.
2278 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2279 (gv-place): Autoload.
2280 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2281 original definition of dotimes and dolist.
2282 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2283 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2284 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2285 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2286 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2287 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2288 to the function's definition.
2289 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2290 * window.el:
2291 * files.el:
2292 * faces.el:
2293 * env.el: Don't use CL.
2294
d35af63c
PE
22952012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2296
2297 Support higher-resolution time stamps (Bug#9000).
2298
2299 * calendar/time-date.el (with-decoded-time-value): New arg
2300 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2301 (encode-time-value): New optional arg PICO. New type 3.
2302 (time-to-seconds) [!float-time]: Support the new picoseconds
2303 component if it's used.
2304 (seconds-to-time, time-subtract, time-add):
2305 Support ps-resolution time stamps as well.
2306
2307 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2308 (timerp): Timer vectors now have length 9, not 8.
2309 (timer--time): Support new-style (4-part) time stamps.
2310 (timer-next-integral-multiple-of-time): Time stamps now have
2311 picosecond resolution, so take a bit more care about rounding.
2312 (timer-relative-time, timer-inc-time): New optional arg psecs.
2313 (timer-set-time-with-usecs): Set psecs to 0.
2314 (timer--activate): Check psecs component, too.
2315
2316 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2317
ac77b21a
SM
23182012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2319
f143bfe3
SM
2320 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2321 Move the non-essential binding to the post/pre-command-hook where it is
2322 more obviously correct.
2323
ac77b21a
SM
2324 * subr.el (read-passwd): Don't use a history at all.
2325 * savehist.el (savehist-save): Remove password saved accidentally
2326 because of the above bug.
2327
76386c5a
BG
23282012-06-22 Bastien Guerry <bzg@gnu.org>
2329
2330 * files.el (toggle-read-only): Display a message telling whether
2331 the buffer is read-only or not (bug#11726).
2332
2ee3d7f0
SM
23332012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/gv.el: New file.
2336 * subr.el (push, pop): Extend to generalized variables.
2337 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2338 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2339 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2340 gv-define-simple-setter, and gv-define-expander.
2341 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2342 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2343 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2344 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2345 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2346 gv-letplace.
2347 (cl-defstruct): Don't define setf-method any more.
2348 * emacs-lisp/cl.el (flet): Don't autoload.
2349 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2350 (define-setf-expander, defsetf, define-modify-macro)
2351 (cl-struct-setf-expander): Move from cl-lib.el.
2352 * emacs-lisp/syntax.el:
2353 * emacs-lisp/ewoc.el:
2354 * emacs-lisp/smie.el:
2355 * emacs-lisp/cconv.el:
2356 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2357 (timer--time): Use gv-define-simple-setter.
2358 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2359 to avoid coding-system problems in subr.el. Adjust all users.
2360 (macroexp--maxsize, macroexp-small-p): New functions.
2361 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2362 * scroll-bar.el (scroll-bar-mode):
2363 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2364 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2365 * winner.el (winner-configuration, winner-make-point-alist)
2366 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2367 * files.el (locate-file-completion-table): Avoid list*.
2368
c5695d1d
CY
23692012-06-22 Chong Yidong <cyd@gnu.org>
2370
2371 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2372 (dired-create-files): Doc fix (Bug#11329).
2373 (dired-do-copy): Doc fix (Bug#11334).
2374 (dired-mark-read-string): Doc fix (Bug#11553).
2375
2ee3d7f0
SM
2376 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2377 Doc fix (Bug#11326).
c5695d1d
CY
2378 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2379 (dired-dwim-target): Doc fix.
2380
2381 * wdired.el (wdired-mode): Doc fix.
2382
89b5595a
GM
23832012-06-22 Glenn Morris <rgm@gnu.org>
2384
575db3f1
GM
2385 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2386 (pcmpl-rpm-cache-stamp-file): New constant.
2387 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2388 (pcmpl-rpm-packages): Optionally cache list of packages.
2389
a4c8dd51
GM
2390 * pcmpl-rpm.el (pcmpl-rpm): New group.
2391 (pcmpl-rpm-query-options): New option.
2392 (pcmpl-rpm-packages): No need to inline it.
2393 Use pcmpl-rpm-query-options.
2394
89b5595a
GM
2395 * calendar/calendar.el (calendar-in-read-only-buffer):
2396 Avoid some needless mode changes.
2397
e76f0800
CY
23982012-06-21 Chong Yidong <cyd@gnu.org>
2399
2400 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2401 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2402 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2403
297a8f1d
CY
24042012-06-20 Chong Yidong <cyd@gnu.org>
2405
2406 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2407
d34c18b1
DR
24082012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2409
2410 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2411 (bug#11201).
2412
32f7f28e
CY
24132012-06-20 Chong Yidong <cyd@gnu.org>
2414
2415 * term.el (term-window-width): Handle the case of a missing right
2416 fringe (Bug#8837).
2417 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2418 (term-mode): Use define-derived-mode. Minor cleanups.
2419 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2420 (term-move-columns, term-insert-char, term-emulate-terminal)
2421 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2422
493c6688
MA
24232012-06-20 Michael Albinus <michael.albinus@gmx.de>
2424
d34c18b1
DR
2425 * net/ange-ftp.el (ange-ftp-get-passwd):
2426 Bind `enable-recursive-minibuffers'.
493c6688
MA
2427 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2428
3f06ecf4
DR
24292012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2430
2431 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2432
68f12411
GM
24332012-06-19 Glenn Morris <rgm@gnu.org>
2434
2435 * progmodes/python.el (python-mode): Derive from prog-mode.
2436
b3820318
KG
24372012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2438
2439 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2440 (edt-user-menu-bar-update-buffers): New functions.
2441 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2442
c6bf3022
CY
24432012-06-19 Chong Yidong <cyd@gnu.org>
2444
2445 * subr.el (with-selected-window): Preserve the selected window's
2446 terminal's top-frame (Bug#4702).
2447
2448 * window.el (save-selected-window): Likewise.
2449
25f09295
SM
24502012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * progmodes/python.el (python-rx-constituents): Move backquote.
2453 (python-skeleton-define, python-define-auxiliary-skeleton):
2454 Use `declare'.
2455
6b11952a
MA
24562012-06-18 Michael Albinus <michael.albinus@gmx.de>
2457
2458 * minibuffer.el (read-file-name-default): Revert the patch from
2459 2012-06-17.
2460
ee4b1330
SM
24612012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2464 (pcase--u1, pcase--q1): Don't use apply-partially.
2465
35647f79
GM
24662012-06-18 Glenn Morris <rgm@gnu.org>
2467
2468 * progmodes/python.el (python-proc, python-buffer)
2469 (python-send-receive, python-send-string): Fix obsolete versions.
2470
24b0cff0
MR
24712012-06-18 Martin Rudalics <rudalics@gmx.at>
2472
2473 * window.el (special-display-p): Completely remove stringp
2474 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2475
29855149
MA
24762012-06-17 Michael Albinus <michael.albinus@gmx.de>
2477
2478 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2479
2480 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2481
2482 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2483 * net/tramp-sh.el (tramp-maybe-open-connection):
2484 Throw if `non-essential' is non-nil.
2485
07463363
MR
24862012-06-17 Martin Rudalics <rudalics@gmx.at>
2487
2488 * window.el (special-display-p): Signal an error if BUFFER-NAME
2489 is not a string (Bug#11713).
2490
48d1354e
PE
24912012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2492
2493 * progmodes/python.el (python-info-beginning-of-backslash):
2494 Rename from python-info-beginning-of-backlash, as a spelling fix.
2495
eb4a8a9a
CY
24962012-06-17 Chong Yidong <cyd@gnu.org>
2497
2498 * term.el (term-emulate-terminal): If term-check-size is called,
2499 move point to the process mark without resetting point (Bug#4635).
2500
ddfbf826 25012012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2502
2503 * international/mule-cmds.el (mule-menu-keymap)
2504 (set-language-environment, set-locale-environment): Doc tweaks.
2505
9b0e3eba
AA
25062012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2507
2508 * cus-face.el (custom-face-attributes): Add wave-style underline
2509 attribute.
2510 * faces.el (set-face-attribute): Update docstring to describe
2511 wave-style underline attribute.
2512
771e3eae
CY
25132012-06-16 Chong Yidong <cyd@gnu.org>
2514
2515 * term/xterm.el (terminal-init-xterm): Discard input before
2516 querying background mode (Bug#10959).
2517
7ae2ea10
SM
25182012-06-16 Stefan Merten <smerten@oekonux.de>
2519
2520 * textmodes/rst.el: Added and corrected some comments.
2521 (rst-re-alist-def): Improve symbol syntax.
2522 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2523 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2524 (rst-official-version, rst-official-cvs-rev): Update version
2525 information.
7ae2ea10 2526
b6974efa
JB
25272012-06-15 Juanma Barranquero <lekktu@gmail.com>
2528
2529 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2530 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2531
8826d473
GM
25322012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2533
2534 * progmodes/python.el: New python.el merge.
2535 (python-guess-indent): Obsolete var.
2536 (python-indent-guess-indent-offset): New defcustom.
2537 (python-indent): Obsolete var.
2538 (python-indent-offset): New defcustom.
2539 (python-python-command, python-jython-command): Delete var.
2540 (python-shell-interpreter): New defcustom.
2541 (python-pdbtrack-do-tracking-p): Delete var.
2542 (python-pdbtrack-activate): New defcustom.
2543 (python-use-skeletons): Obsolete var.
2544 (python-skeleton-autoinsert): New defcustom.
2545 (inferior-python-filter-regexp, python-continuation-offset)
2546 (python-honour-comment-indentation, python-indent-string-contents)
2547 (python-jython-packages, python-mode-hook)
2548 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2549 (python-shell-prompt-alist)
2550 (python-source-modes): Delete defcustoms.
2551 (python-check-buffer-name, python-eldoc-setup-code)
2552 (python-eldoc-string-code, python-ffap-setup-code)
2553 (python-ffap-string-code, python-fill-comment-function)
2554 (python-fill-decorator-function, python-fill-paren-function)
2555 (python-fill-string-function, python-imenu-include-defun-type)
2556 (python-imenu-make-tree, python-imenu-subtree-root-label)
2557 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2558 (python-shell-compilation-regexp-alist)
2559 (python-shell-completion-module-string-code)
2560 (python-shell-completion-pdb-string-code)
2561 (python-shell-completion-setup-code)
2562 (python-shell-completion-string-code)
2563 (python-shell-enable-font-lock, python-shell-exec-path)
2564 (python-shell-extra-pythonpaths)
2565 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2566 (python-shell-process-environment)
2567 (python-shell-prompt-block-regexp)
2568 (python-shell-prompt-output-regexp)
2569 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2570 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2571 (python-shell-virtualenv-path): New defcustoms.
2572 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2573 (inferior-python-mode-syntax-table, python--prompt-regexp)
2574 (python-buffer, python-command python-python-command)
2575 (python-default-template, python-imports, python-indent-index)
2576 (python-indent-list, python-indent-list-length)
2577 (python-mode-running, python-pdbtrack-is-tracking-p)
2578 (python-preoutput-continuation, python-preoutput-leftover)
2579 (python-preoutput-result, python-preoutput-skip-next-prompt)
2580 (python-prev-dir/file, python-recursing)
2581 (python-saved-check-command, python-version-checked)
2582 (python-which-func-length-limit)
2583 (view-return-to-alist): Delete vars.
2584 (python-check-custom-command, python-dotty-syntax-table)
2585 (python-imenu-index-alist, python-indent-current-level)
2586 (python-indent-dedenters, python-indent-levels)
2587 (python-nav-beginning-of-defun-regexp)
2588 (python-nav-list-defun-positions-cache)
2589 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2590 (python-shell-internal-buffer)
2591 (python-skeleton-available): New vars.
2592 (def-python-skeleton): Delete macro.
2593 (python-skeleton-define): New macro.
2594 (python-define-auxiliary-skeleton, python-rx): New macros.
2595 (python-insert-class): Delete command.
2596 (python-skeleton-class): New command.
2597 (python-insert-def): Delete command.
2598 (python-skeleton-def): New command.
2599 (python-insert-for): Delete command.
2600 (python-skeleton-for): New command.
2601 (python-insert-if): Delete command.
2602 (python-skeleton-if): New command.
2603 (python-insert-try/except, python-insert-try/finally): Delete commands.
2604 (python-skeleton-try): New command.
2605 (python-insert-while): Delete command.
2606 (python-skeleton-while): New command.
2607 (python-backspace): Delete command.
2608 (python-indent-dedent-line-backspace): New command.
2609 (python-electric-colon): Delete command.
2610 (python-indent-electric-colon): New command.
2611 (python-guess-indent): Delete command.
2612 (python-indent-guess-indent-offset): New command.
2613 (python-shift-left): Delete command.
2614 (python-indent-shift-left): New command.
2615 (python-shift-right): Delete command.
2616 (python-indent-shift-right): New command.
2617 (python-find-function): Delete command.
2618 (python-nav-jump-to-defun): New command.
2619 (python-next-statement): Delete command.
2620 (python-nav-forward-sentence): New command.
2621 (python-previous-statement): Delete command.
2622 (python-nav-backward-sentence): New command.
2623 (python-fill-paragraph): Delete command.
2624 (python-fill-paragraph-function): New command.
2625 (python-send-buffer): Delete command.
2626 (python-shell-send-buffer): New command.
2627 (python-send-defun): Delete command.
2628 (python-shell-send-defun): New command.
2629 (python-send-region, python-send-region-and-go): Delete commands.
2630 (python-shell-send-region)
2631 (python-shell-switch-to-shell): New commands.
2632 (python-send-string): Delete command.
2633 (python-shell-send-string): New command.
2634 (python-switch-to-python): Delete command.
2635 (python-shell-switch-to-shell): New command.
2636 (python-describe-symbol): Delete command.
2637 (python-eldoc-at-point): New command.
2638 (python--set-prompt-regexp, python-args-to-list)
2639 (python-after-info-look, python-check-version)
2640 (python-check-comint-prompt, python-find-imports)
2641 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2642 (python-unload-function, python-expand-template)
2643 (python-maybe-jython, python-preoutput-filter)
2644 (python-pdbtrack-get-source-buffer)
2645 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2646 (python-pdbtrack-toggle-stack-tracking)
2647 (python-pdbtrack-track-stack-file, python-initial-text)
2648 (python-first-word, python-comment-line-p, python-send-command)
2649 (python-setup-brm, python-sentinel, python-set-proc)
2650 (python-skip-out, python-input-filter, python-outdent-p)
2651 (python-outline-level, python-backslash-continuation-line-p)
2652 (python-end-of-block, python-end-of-statement, python-mark-block)
2653 (python-beginning-of-block, python-beginning-of-statement)
2654 (python-blank-line-p, python-beginning-of-string)
2655 (python-open-block-statement-p): Delete functions.
2656 (python-indent-line, python-indent-line-1): Delete functions.
2657 (python-indent-line): New function.
2658 (python-indentation-levels): Delete function.
2659 (python-indent-calculate-levels): New function.
2660 (python-proc): Delete function.
2661 (python-shell-get-process): New function.
2662 (python-send-receive): Delete function.
2663 (python-shell-send-string-no-output): New function.
2664 (python-module-path): Delete function.
2665 (python-ffap-module-path): New function.
2666 (python-completion-at-point)
2667 (python-symbol-completions): Delete functions.
2668 (python-completion-complete-at-point): New function.
2669 (python-load-file): Delete function.
2670 (python-shell-send-file): New function.
2671 (python-calculate-indentation): Delete function.
2672 (python-indent-calculate-indentation): New function.
2673 (python-skip-comments/blanks): Delete function.
2674 (python-util-forward-comment): New function.
2675 (python-continuation-line-p): Delete function.
2676 (python-info-continuation-line-p): New function.
2677 (python-which-func, python-current-defun): Delete function.
2678 (python-info-current-defun): New function.
2679 (python-beginning-of-defun): Delete function.
2680 (python-nav-beginning-of-defun): New function.
2681 (python-close-block-statement-p)
2682 (python-block-end-p): Delete function.
2683 (python-info-closing-block): New function.
2684 (python-comint-output-filter-function)
2685 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2686 (python-fill-comment, python-fill-decorator, python-fill-paren)
2687 (python-fill-string, python-imenu-make-element-tree)
2688 (python-imenu-make-tree, python-imenu-tree-assoc)
2689 (python-indent-context, python-indent-dedent-line)
2690 (python-indent-line-function)
2691 (python-indent-post-self-insert-function)
2692 (python-indent-toggle-levels)
2693 (python-info-assignment-continuation-line-p)
2694 (python-info-beginning-of-backlash)
2695 (python-info-block-continuation-line-p)
2696 (python-info-closing-block-message)
2697 (python-info-line-ends-backslash-p)
2698 (python-info-looking-at-beginning-of-defun)
2699 (python-info-ppss-context, python-info-ppss-context-type)
2700 (python-nav-list-defun-positions, python-nav-read-defun)
2701 (python-nav-sentence-end, python-nav-sentence-start)
2702 (python-pdbtrack-comint-output-filter-function)
2703 (python-pdbtrack-set-tracked-buffer)
2704 (python-shell-calculate-exec-path)
2705 (python-shell-calculate-process-environment)
2706 (python-shell-completion--do-completion-at-point)
2707 (python-shell-completion--get-completions)
2708 (python-shell-completion-complete-at-point)
2709 (python-shell-completion-complete-or-indent)
2710 (python-shell-get-or-create-process)
2711 (python-shell-get-process-name)
2712 (python-shell-internal-get-or-create-process)
2713 (python-shell-internal-get-process-name)
2714 (python-shell-internal-send-string, python-shell-make-comint)
2715 (python-shell-parse-command, python-shell-send-setup-code)
2716 (python-skeleton-add-menu-items)
2717 (python-util-clone-local-variables, python-util-position)
2718 (run-python-internal, python-indentation-levels)
2719 (python-nav-beginning-of-defun)
2720 (python-completion-complete-at-point): New functions.
2721 (run-python): Change arguments. New API requirements.
2722
4302f5ba
SM
27232012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2724
f38ea36d
SM
2725 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2726 (bug#11649).
2727
2728 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2729 (macroexp--expand-all): Use it.
2730
4302f5ba
SM
2731 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2732 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2733 Use `cl-function' instead.
2734
33377562
JB
27352012-06-14 Juanma Barranquero <lekktu@gmail.com>
2736
2737 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2738 Suggested by Stefan Monnier while discussing bug#11657.
2739
54c5ba1a
SS
27402012-06-14 Sam Steingold <sds@gnu.org>
2741
2742 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2743
f9f1b1fe
AS
27442012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2745
2746 * play/doctor.el (doctor-doc): Remove parameter and use
2747 doctor-sent instead of sent.
2748 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2749
a81068ba
SM
27502012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2751
5a315f9c
SM
2752 * files.el: Require cl-lib.
2753 (file-name-non-special): Replace case -> cl-case.
2754
2755 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2756
a81068ba
SM
2757 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2758 mapping from #' to function*.
2759
8cca9703
CY
27602012-06-13 Chong Yidong <cyd@gnu.org>
2761
2762 * mouse.el (mouse-drag-track): Do not set the mark if the user
2763 releases the mouse without selecting anything (Bug#11588).
2764
a12ac9d7
SM
27652012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2766
ccf1dc18
SM
2767 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2768 as well (bug#11646).
2769
ef62b23d
SM
2770 * loadup.el: Count byte-code functions as well.
2771
c4c8444a
SM
2772 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2773 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2774
a12ac9d7
SM
2775 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2776 (bug#11649). Add cl-defun and cl-defmacro.
2777
87e6e64f
DA
27782012-06-13 Drew Adams <drew.adams@oracle.com>
2779
2780 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2781 Fix last change.
2782
682cefaf
MA
27832012-06-13 Michael Albinus <michael.albinus@gmx.de>
2784
2785 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2786 Otherwise, it blocks in batch mode.
2787
773e1f08
JB
27882012-06-13 Juanma Barranquero <lekktu@gmail.com>
2789
2790 * help-mode.el (bookmark-make-record-default): Declare.
2791
60057926
CY
27922012-06-13 Chong Yidong <cyd@gnu.org>
2793
2794 * emacs-lisp/package.el (list-packages): Compute a list of
2795 packages that are newly-available since the last list-packages
2796 invocation.
2797 (package-menu--new-package-list): New var.
2798 (package-menu--generate, package-menu--print-info)
2799 (package-menu--status-predicate, package-menu-mark-install):
2800 Handle new status label "new".
2801
ad4d226c
SM
28022012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2805 conversion to backquotes.
2806
f1a4e679
CY
28072012-06-12 Chong Yidong <cyd@gnu.org>
2808
2809 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2810 Rename from gud-inhibit-global-bindings.
2811
2812 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2813
2814 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2815 hook from nxml-glyph-set-hook.
2816
2817 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2818 declaration.
2819
2820 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2821
2822 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2823 Convert to defcustom.
2824
0c9e42b5
DA
28252012-06-12 Drew Adams <drew.adams@oracle.com>
2826
2827 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2828 New functions.
2829 (help-mode): Use them.
2830
09e06855
GM
28312012-06-11 Glenn Morris <rgm@gnu.org>
2832
2833 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2834 Use preprocessor face for directives.
2835 (fortran-directive-re): Doc fix.
2836
71adb94b
SM
28372012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2eb87922
SM
2839 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2840 conversion to backquotes (bug#11652).
2841
71adb94b
SM
2842 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2843 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2844 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2845 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2846 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2847 (cl-ninth, cl-tenth): Mark them as inlinable.
2848 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2849 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2850 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2851 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2852 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2853 (cl-list*, cl-adjoin): Don't put an autoload manually.
2854 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2855 (cl--compiler-macro-list*): Add autoload cookie.
2856 (cl--compiler-macro-cXXr): New function.
2eb87922 2857
71adb94b
SM
2858 * help-fns.el (help-fns--compiler-macro): New function extracted from
2859 describe-function-1; follow aliases and use `compiler-macro' property.
2860 (describe-function-1): Use it.
2861
a6674402
CY
28622012-06-11 Chong Yidong <cyd@gnu.org>
2863
2864 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2865 is uninstalled, if imagemagick is installed.
2866
bb3faf5b
SM
28672012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * emacs-lisp/cl-lib.el: Use lexical-binding.
2870 (cl-map-extents, cl-maclisp-member): Remove.
2871 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2872 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2873 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2874 * emacs-lisp/cl-extra.el: Use lexical-binding.
2875 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2876 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2877 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2878 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2879 * emacs-lisp/cl-seq.el: Use lexical-binding.
2880 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2881 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2882 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2883 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2884 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2885 CL's internals.
2886
2fe4b125
MA
28872012-06-11 Michael Albinus <michael.albinus@gmx.de>
2888
2889 Sync with Tramp 2.2.6-pre.
2890
2891 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2892 `print-length' and `print-level' to nil, in order to avoid
2893 truncation. Reported by Christopher Schmidt
2894 <christopher@ristopher.com>.
2895
2896 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2897
2898 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2899 New defmacro.
2900 (tramp-compat-copy-directory): Add optional argument
2901 COPY-CONTENTS. It is not handled yet.
2902
2903 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2904 (tramp-ftp-file-name-p): Simplify.
2905
2906 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2907 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2908 connection vector.
2909
2910 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2911 (tramp-methods): Do not use `tramp-password-end-of-line'.
2912 (tramp-completion-function-alist-putty): Handle UNIX case.
2913 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2914 (tramp-do-file-attributes-with-stat)
2915 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2916 gid as real numbers. They could run out of integer range on cygwin.
2917 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2918 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2919 (tramp-open-connection-setup-interactive-shell):
2920 Use `tramp-cleanup'. Move check for busyboxes ...
2921 (tramp-find-shell): ... here. Simplify implementation.
2922 Set "remote-shell" property also for alternative shells.
2923 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2924 If failing, a regular file would be written otherwise.
2925 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2926 (tramp-find-inline-encoding): Cache the coding commands in the
2927 process cache. Apply test command on the remote side, if defined.
2928 (tramp-find-inline-compress): Cache the compress commands in the
2929 process cache.
2930 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2931 when requested. Handle hops.
2932 (tramp-current-connection): New defvar.
87e6e64f
DA
2933 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2934 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2935 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2936 (tramp-get-inline-compress, tramp-get-inline-coding):
2937 Read connection properties from the process cache.
2fe4b125
MA
2938
2939 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2940 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2941 New defconsts.
2fe4b125
MA
2942 (tramp-smb-prompt): Extend for powershell prompt.
2943 (tramp-smb-file-name-handler-alist): Add handlers for
2944 `process-file', `shell-command' and `start-file-process'.
2945 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2946 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2947 (tramp-smb-file-name-p): Simplify.
2948 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2949 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2950 (tramp-smb-shell-quote-argument): New defuns.
2951 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2952 Implement using "tar". By this, time-stamps are preserved.
2953 (tramp-smb-handle-copy-file): Handle also the case of directories.
2954 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2955 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2956 Use `tramp-get-connection-buffer').
2fe4b125
MA
2957 (tramp-smb-handle-rename-file): Use "rename", when source and
2958 target are on the same share.
87e6e64f
DA
2959 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2960 Use `tramp-smb-server-version'.
2fe4b125
MA
2961 (tramp-smb-wait-for-output): Remove prompt.
2962
2963 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2964 (tramp-methods, tramp-rsh-end-of-line):
2965 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2966 (tramp-save-ad-hoc-proxies): New defcustom.
2967 (tramp-completion-function-alist): Adapt docstring.
2968 (tramp-default-password-end-of-line): Remove defcustom.
2969 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2970 (tramp-user-regexp, tramp-file-name-regexp-unified)
2971 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2972 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2973 (tramp-remote-file-name-spec-regexp): New defconst.
2974 (tramp-file-name-structure): Extend structure for hops.
2975 (tramp-get-method-parameter): Move up.
2976 (tramp-file-name-p, tramp-dissect-file-name)
2977 (with-parsed-tramp-file-name): Handle hops.
2978 (tramp-file-name-hop): New defun.
2979 (tramp-make-tramp-file-name): New optional arg HOP.
2980 (tramp-message-show-progress-reporter-message): New defvar.
2981 (tramp-with-progress-reporter): Use it. We cannot use
2982 `tramp-message-show-message' here, because this suppresses also
2983 error buffers.
2984 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2985 `tramp-message-show-message' is nil.
2986 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2987 (tramp-cleanup): New defun.
2988 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2989 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2990 an error unchanged.
2991 (tramp-completion-handle-file-name-all-completions): Handle hops.
2992 Fix an error when called from ido.
2993 (tramp-completion-dissect-file-name): Use better local variable
2994 name. Add hop to the vector.
2995 (tramp-handle-insert-file-contents): Use progress-reporter for the
2996 whole scenario.
2997 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2998 to `t'.
2999 (tramp-check-for-regexp): Simplify search.
3000 (tramp-enter-password): Remove it. Move implementation ...
3001 (tramp-action-password): ... here.
3002 (tramp-mode-string-to-int, tramp-local-host-p)
3003 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3004 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3005 Set tramp-autoload cookie.
2fe4b125
MA
3006
3007 * net/trampver.el: Update release number.
3008
30092012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3010 Michael Albinus <michael.albinus@gmx.de>
3011
3012 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3013 (tramp-parse-group, tramp-parse-file)
3014 (tramp-parse-shostkeys-sknownhosts): New defuns.
3015 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3016 (tramp-parse-shosts-group, tramp-parse-sconfig)
3017 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3018 (tramp-parse-sknownhosts, tramp-parse-hosts)
3019 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3020 Use them.
3021 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3022 (tramp-parse-putty-group): Don't narrow.
3023 (tramp-parse-putty): Make a loop.
3024 (tramp-file-name-handler): Catch the `suppress' signal.
3025
72834e10
CY
30262012-06-11 Chong Yidong <cyd@gnu.org>
3027
3028 * image.el (imagemagick-register-types): Put the ImageMagick entry
3029 at the end of image-type-file-name-regexps.
3030
a4712e11
JB
30312012-06-11 Johan Bockgård <bojohan@gnu.org>
3032
3033 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3034 (pcase, pcase-let*, pcase-dolist): Use them.
3035
82ad98e3
SM
30362012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * emacs-lisp/pcase.el (pcase--let*): New function.
3039 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3040 (pcase--expand): Use macroexp-let².
3041
f80efb86
SM
30422012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3045 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3046 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3047 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3048 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3049 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3050
31ca4639 30512012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3052
31ca4639
CY
3053 * mail/rmail.el (rmail-yank-current-message): Leave point at
3054 correct position. (Bug#11660)
94f0aa34 3055
31ca4639 30562012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3057
31ca4639 3058 * allout-widgets.el: Fix code header.
9e1b8ec4 3059
31ca4639 30602012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3061
f80efb86
SM
3062 * cus-edit.el (customize-changed-options-previous-release):
3063 Bump to 24.1.
31ca4639 3064
642b6d30
AS
30652012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3066
3067 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3068
4f5d2ba1
CY
30692012-06-09 Chong Yidong <cyd@gnu.org>
3070
3071 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3072
e75852fd
MR
30732012-06-09 Martin Rudalics <rudalics@gmx.at>
3074
3075 * window.el (special-display-popup-frame): Don't use
3076 window--display-buffer (Bug#11651).
3077
1e48e282
EZ
30782012-06-09 Eli Zaretskii <eliz@gnu.org>
3079
8a26b487
EZ
3080 Fix parallel builds: make sure loaddefs.el is not being written
3081 while Lisp files are compiled.
3082 (compile): Don't depend on 'mh-autoloads'.
3083 (compile-CMD, compile-SH): Depend on 'autoloads'.
3084 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3085
1e48e282
EZ
3086 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3087
6175e34b
CY
30882012-06-09 Chong Yidong <cyd@gnu.org>
3089
3090 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3091 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3092 Doc fixes (Bug#11225).
3093
d9857e53
SM
30942012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3097 a function if there's a clear indication that it has a compiler-macro.
3098 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3099 (macro-declarations-alist): Add arglist to declaration functions.
3100 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3101 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3102 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3103 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3104 Also add autoload to find the compiler macro.
3105 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3106 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3107 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3108 (cl--compiler-macro-get): New functions, replacing calls to
3109 cl-define-compiler-macro.
3110 (cl-typep) [compiler-macro]: Use macroexp-let².
3111
f81298f8 31122012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3113
3114 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3115 string properly, fixes Bug#11473.
3116
4b56d0fe
CY
31172012-06-08 Chong Yidong <cyd@gnu.org>
3118
3119 * faces.el (set-face-attribute): Doc fix.
3120 (modify-face): Don't use :bold and :italic.
3121 (error, warning, success): Tweak definitions.
3122
3123 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3124 (custom-modified, custom-set, custom-changed, custom-themed)
3125 (custom-saved, custom-button, custom-button-mouse)
3126 (custom-button-pressed, custom-state, custom-comment-tag)
3127 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3128 (custom-group-subtitle): Use new-style face specs.
3129 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3130 (custom-set-face, custom-changed-face, custom-saved-face)
3131 (custom-button-face, custom-button-pressed-face)
3132 (custom-documentation-face, custom-state-face)
3133 (custom-comment-face, custom-comment-tag-face)
3134 (custom-variable-tag-face, custom-variable-button-face)
3135 (custom-face-tag-face, custom-group-tag-face-1)
3136 (custom-group-tag-face): Remove obsolete face alias.
3137
3138 * epa.el (epa-validity-high, epa-validity-medium)
3139 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3140 (epa-field-name, epa-field-body):
3141 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3142 (font-lock-keyword-face, font-lock-builtin-face)
3143 (font-lock-function-name-face, font-lock-variable-name-face)
3144 (font-lock-type-face, font-lock-constant-face):
3145 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3146 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3147 * speedbar.el (speedbar-button-face, speedbar-file-face)
3148 (speedbar-directory-face, speedbar-tag-face)
3149 (speedbar-selected-face, speedbar-highlight-face)
3150 (speedbar-separator-face):
3151 * whitespace.el (whitespace-newline, whitespace-space)
3152 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3153 (whitespace-line, whitespace-space-before-tab)
3154 (whitespace-space-after-tab, whitespace-indentation)
3155 (whitespace-empty):
3156 * emulation/cua-base.el (cua-global-mark):
3157 * eshell/em-prompt.el (eshell-prompt):
3158 * net/newst-plainview.el (newsticker-new-item-face)
3159 (newsticker-old-item-face, newsticker-immortal-item-face)
3160 (newsticker-obsolete-item-face, newsticker-date-face)
3161 (newsticker-statistics-face, newsticker-default-face):
3162 * net/newst-reader.el (newsticker-feed-face)
3163 (newsticker-extra-face, newsticker-enclosure-face):
3164 * net/newst-treeview.el (newsticker-treeview-face)
3165 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3166 (newsticker-treeview-immortal-face)
3167 (newsticker-treeview-obsolete-face)
3168 (newsticker-treeview-selection-face):
3169 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3170 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3171 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3172 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3173 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3174 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3175 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3176 (mpuz-text):
3177 * progmodes/vera-mode.el (vera-font-lock-number)
3178 (vera-font-lock-function, vera-font-lock-interface):
3179 * textmodes/table.el (table-cell): Use new-style face specs, and
3180 don't use the old :bold and :italic attributes.
3181
3182 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3183 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3184 (ebrowse-member-class, ebrowse-progress): Likewise.
3185 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3186 (ebrowse-file-name-face, ebrowse-default-face)
3187 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3188 (ebrowse-progress-face): Remove obsolete faces.
3189
3190 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3191 Inherit from error and warning faces respectively.
3192
3193 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3194 Likewise.
f80efb86
SM
3195 (flyspell-incorrect-face, flyspell-duplicate-face):
3196 Remove obsolete aliases.
4b56d0fe 3197
03310646
MA
31982012-06-08 Michael Albinus <michael.albinus@gmx.de>
3199
3200 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3201 Avoid infloop.
3202
513749ee
SM
32032012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * startup.el (argv, argi): Make lexically scoped.
3206 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3207 * emacs-lisp/cl-macs.el: Use lexical-binding.
3208 Rename cl-bind-* to cl--bind-*.
3209 * files.el: Don't require `cl' since it doesn't use it.
3210 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3211
595ef4ad
JB
32122012-06-08 Juanma Barranquero <lekktu@gmail.com>
3213
3214 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3215 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3216 instead of calling external sort utility.
3217 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3218
e9f66fcb
EZ
32192012-06-08 Eli Zaretskii <eliz@gnu.org>
3220
3221 * descr-text.el (describe-char): Mention how to insert the
3222 character, if the current input method doesn't support it.
3223 See the discussion in this thread for the details:
3224 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3225
3d10db47
SS
32262012-06-08 Sam Steingold <sds@gnu.org>
3227
3228 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3229 XF86Back to previous-buffer.
3230 (minibuffer-local-map): Bind them to next-history-element and
3231 previous-history-element respectively.
3232 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3233 help-go-back respectively.
3234 * info.el (Info-mode-map): Bind them to Info-history-forward and
3235 Info-history-back respectively.
3236 These are the keys next to Up on the ThinkPad keyboard.
3237
de7e2b36
SM
32382012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3241 * emacs-lisp/cl-macs.el: Provide itself.
3242 (cl--labels-convert-cache): New var.
3243 (cl--labels-convert): New function.
3244 (cl-flet, cl-labels): New implementation with new semantics, relying on
3245 lexical-binding.
3246 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3247 (cl-closure-vars, cl--function-convert-cache)
3248 (cl--function-convert): Move from cl-macs.el.
3249 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3250 rename by removing the "cl-" prefix.
3251 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3252
6fa6c4ae
SM
32532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3256 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3257 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3258 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3259 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3260 (cl-hash-table-count): Add old compatibility aliases.
3261
3262 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3263 Use macroexpand-all-environment instead.
3264 (cl--old-macroexpand): New var.
3265 (cl--sm-macroexpand): New function.
3266 (cl-symbol-macrolet): Use it during macro expansion.
3267 (cl--function-convert-cache): New var.
3268 (cl--function-convert): New function, extracted from
3269 cl-macroexpand-all.
3270 (cl-lexical-let): Use it.
3271
3272 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3273 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3274 (cl-member): Remove old alias.
3275
3276 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3277 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3278 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3279 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3280 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3281 (cl-macroexpand-cmacs): Remove var.
3282 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3283 Use macroexpand-all instead.
3284
4dd1c416
SM
32852012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3288 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3289 (macroexp-copyable-p): New functions and macros.
3290 * emacs-lisp/edebug.el (edebug-unwrap):
3291 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3292 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3293 (pcase--let*): Remove.
3294 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3295 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3296 macroexp-const-p instead.
3297 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3298
3299 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3300 instead of "cl-" for internal definitions. Use macroexp-const-p.
3301 (cl-old-bc-file-form): Remove var.
3302 (cl-const-exprs-p): Remove fun.
3303 (cl-labels, cl-macrolet): Use backquote.
3304 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3305 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3306 (cl-define-setf-expander): Rename from cl-define-setf-method.
3307 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3308
3309 * international/mule-cmds.el: Don't require CL.
3310 (view-hello-file): Don't use `letf'.
3311
ed8bd4d7
SM
33122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3313
7287f2f3
SM
3314 * tmm.el (tmm-prompt): Use string-prefix-p.
3315 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3316 (tmm-add-prompt): Use minibuffer-completion-help.
3317 (tmm-delete-map): Remove.
3318
ed8bd4d7
SM
3319 * subr.el (kbd): Make it its own function.
3320
7b4cdbf4
SM
33212012-06-07 Stefan Merten <smerten@oekonux.de>
3322
3323 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3324 Silence compiler warnings. Fix versions.
ed8bd4d7 3325 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3326 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3327 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3328 (rst-package-emacs-version-alist): Correct Emacs version to
3329 represent major merge with upstream.
ed8bd4d7 3330 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3331
2b48d721
GM
33322012-06-06 Glenn Morris <rgm@gnu.org>
3333
3334 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3335 Only print environment variables if set.
3336
fa779ab0
SM
33372012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3340 (macroexp--cons): Rename from maybe-cons.
3341 (macroexp--accumulate): Rename from macroexp-accumulate.
3342 (macroexp--all-forms): Rename from macroexpand-all-forms.
3343 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3344 (macroexp--expand-all): Rename from macroexpand-all-1.
3345
628299e0
SS
33462012-06-06 Sam Steingold <sds@gnu.org>
3347
3348 * calendar/calendar.el (calendar-in-read-only-buffer):
3349 Call `special-mode' to enable the standard read-only keybindings.
3350
b7bb5838
SM
33512012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3354 with "loading" messages (bug#11635).
3355
dfb308ba
MA
33562012-06-06 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * files.el (enable-remote-dir-locals): New option.
3359 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3360
0372ee92
MA
3361 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3362 Ensure, that the temp directory is local.
3363
3364 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3365 `temporary-file-directory'.
3366
eed0bb91
MA
3367 * progmodes/python.el (python-send-region): Ensure, that the
3368 temporary file is created also in the remote case.
3369
7a58f64d
GM
33702012-06-06 Glenn Morris <rgm@gnu.org>
3371
f7dd4e98
GM
3372 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3373 (vc-rcs-update-changelog): Use it.
3374
090bd7cb 3375 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3376
7a58f64d
GM
3377 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3378 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3379 (vc-sccs-diff): Replace use of the external vcdiff script.
3380
daed4003
GM
33812012-06-05 Glenn Morris <rgm@gnu.org>
3382
3383 * ledit.el: Move to obsolete/.
3384
48c455c7
SS
33852012-06-05 Sam Steingold <sds@gnu.org>
3386
ed9265fc 3387 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3388 patch (Bug#11140).
3389
57a7d507
SM
33902012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3391
090bd7cb 3392 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3393
53aacf21
SM
3394 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3395 compiler-macro expansion.
3396
57a7d507
SM
3397 Add native compiler-macro support.
3398 * emacs-lisp/macroexp.el (macroexpand-all-1):
3399 Support compiler-macros directly. Properly follow aliases and apply
3400 the compiler macros more thoroughly.
3401 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3402 macroexpand now properly follows aliases.
3403 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3404 (cl-compiler-macroexpand): Use new prop.
3405 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3406
3407 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3408
51a5f9d8
MR
34092012-06-05 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (get-lru-window, get-mru-window, get-largest-window):
3412 New argument NOT-SELECTED to avoid picking the selected window.
3413 (window--display-buffer-1, window--display-buffer-2): Replace by
3414 new function window--display-buffer
3415 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3416 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3417 Use window--display-buffer.
51a5f9d8
MR
3418 (display-buffer-use-some-window): Remove temporary dedication
3419 hack by calling get-lru-window and get-largest-window with
3420 NOT-SELECTED argument non-nil. Call window--display-buffer.
3421
08f9f738
GM
34222012-06-05 Glenn Morris <rgm@gnu.org>
3423
3424 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3425 Replace external vcdiff script.
3426
e364a2b7
SM
34272012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3430
041df390
CY
34312012-06-04 Chong Yidong <cyd@gnu.org>
3432
e364a2b7
SM
3433 * image.el (imagemagick-types-inhibit): Revert last change.
3434 Add INFO and M.
47b36b94 3435 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3436
7c1898a7
SM
34372012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * emacs-lisp/cl-lib.el: Rename from cl.el.
3440 * emacs-lisp/cl.el: New compatibility file.
3441 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3442 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3443 to obey the "cl-" prefix.
3444 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3445
0c3461de
GM
34462012-06-03 Glenn Morris <rgm@gnu.org>
3447
1e266c88
GM
3448 * emacs-lisp/authors.el (authors-aliases): Addition.
3449
0c3461de
GM
3450 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3451 Fix :version.
3452
d8a52e15
SM
34532012-06-03 Stefan Merten <smerten@oekonux.de>
3454
3455 * textmodes/rst.el: Add comments.
3456 (rst-transition, rst-adornment): New faces.
3457 (rst-adornment-faces-alist): Make default safe to reevaluate.
3458 Fixes
3459 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3460 Improve customization tags.
3461 (rst-define-level-faces): Clarify meaning.
3462
5205d6f6
CY
34632012-06-03 Chong Yidong <cyd@gnu.org>
3464
3465 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3466 (compilation-mode-line-run, compilation-mode-line-exit):
3467 New faces.
5205d6f6
CY
3468 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3469
757ee657
JD
34702012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3471
7c1898a7
SM
3472 * progmodes/which-func.el (which-func-update-ediff-windows):
3473 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3474
5f2c76c6
CY
34752012-06-03 Chong Yidong <cyd@gnu.org>
3476
3477 * bindings.el: Remove explicit help text from format-mode-line.
3478 It is now supplied by mode-line-default-help-echo.
3479 (mode-line-front-space, mode-line-end-spaces)
3480 (mode-line-misc-info): New variables.
3481 (mode-line-modes, mode-line-position): Move the default value to
3482 the variable definition.
3483 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3484 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3485 (mode-line-modified-help-echo): New functions.
3486 (mode-line-mule-info, mode-line-modified): Use them.
3487 (mode-line-eol-desc, propertized-buffer-identification):
3488 Consistency fixes for help text.
cbe46e5f
CY
3489 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3490 set-buffer-file-coding-system (Bug#289).
3491 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3492
f2d6a3df
SM
34932012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * simple.el (execute-extended-command): Set real-this-command
3496 (bug#11506).
3497
37269466
CY
34982012-06-02 Chong Yidong <cyd@gnu.org>
3499
3500 Remove incorrect uses of "modeline" in comments, docstrings, and
3501 function/variable names (Bug#10329).
3502
3503 * cus-edit.el (mode-line):
3504 * dframe.el (dframe-mouse-hscroll):
3505 * emacs-lisp/re-builder.el:
3506 * emacs-lisp/easy-mmode.el (define-minor-mode):
3507 * frame.el (set-frame-name):
3508 * help.el (lookup-minor-mode-from-indicator):
3509 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3510 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3511 (c-toggle-hungry-state):
3512 * progmodes/antlr-mode.el (antlr-language-alist):
3513 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3514 * progmodes/vhdl-mode.el (vhdl-mode):
3515 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3516 * term/ns-win.el (ns-face-at-pos):
3517 * term/sup-mouse.el (sup-mouse-report):
3518 * textmodes/flyspell.el (flyspell-mode-line-string):
3519 * textmodes/ispell.el (ispell-highlight-face):
3520 * textmodes/reftex-global.el:
3521 * vc/vc-arch.el (vc-arch-mode-line-string):
3522 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3523 * vc/vc-git.el (vc-git-mode-line-string):
3524 * vc/vc-hooks.el (vc-display-status)
3525 (vc-default-mode-line-string):
3526 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3527
3528 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3529
3530 * dired.el (dired-sort-set-mode-line): Rename from
3531 dired-sort-set-modeline. All callers changed.
3532
3533 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3534 eshell-status-in-modeline.
3535
3536 * foldout.el (foldout-mode-line-string): Rename from
3537 foldout-modeline-string. All callers changed.
3538 (foldout-update-mode-line): Rename from foldout-update-modeline.
3539
3540 * subr.el (redraw-modeline): Make into obsolete alias.
3541
3542 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3543 timeclock-modeline-display. Make old name an alias.
3544 (timeclock-update-mode-line): Likewise. All callers changed.
3545 (timeclock-mode-line-display): No need to check before using
3546 add-hook.
3547 (timeclock-relative, timeclock-day-over-hook)
3548 (timeclock-use-elapsed, timeclock-mode-string)
3549 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3550
3551 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3552 crisp-mode-modeline-string.
3553
3554 * play/solitaire.el (solitaire-build-mode-line): Rename from
3555 solitaire-build-modeline. All callers changed.
3556
3557 * play/zone.el (zone-hiding-mode-line): Rename from
3558 zone-hiding-modeline. All callers changed.
3559 (zone): Remove unusued `modeline-hidden-level' property.
3560
3561 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3562 xscheme-modeline-initialize. All callers changed.
3563
3564 * strokes.el (strokes-lighter): Rename from
3565 strokes-modeline-string.
3566
3567 * textmodes/sgml-mode.el (html-face-tag-alist)
3568 (html-tag-face-alist): Use mode-line face instead of obsolete
3569 alias modeline.
3570
42152ee4
SM
35712012-06-02 Stefan Merten <smerten@oekonux.de>
3572
3573 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3574 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3575
95f520b5
CY
35762012-06-02 Chong Yidong <cyd@gnu.org>
3577
3578 * image.el (imagemagick-enabled-types): Rename from
3579 imagemagick-types-enable. Add many more types.
3580 (imagemagick-types-inhibit): Change default to nil.
3581 (imagemagick-filter-types): Caller changed.
3582
4a5f187a
SM
35832012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3584
03fef3e6
SM
3585 * emacs-lisp/cl-macs.el: Use backquotes.
3586 (cl-transform-function-property): Use eval-and-compile rather than
3587 abusing `require'.
3588 (defstruct): Use declare-function instead of with-no-warnings.
3589
4a5f187a
SM
3590 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3591 (byte-compile-output-docform): Re-add the print-circle bindings.
3592 (byte-compile-fix-header): Use #$ just because it's shorter.
3593 (byte-compile-output-file-form): Remove defun/defmacro.
3594
bd56924f
MR
35952012-06-01 Martin Rudalics <rudalics@gmx.at>
3596
3597 * simple.el (choose-completion): Remove now obsolete binding for
3598 owindow.
3599
046e38ce
MA
36002012-06-01 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3603 in order to avoid "Stack overflow in regexp matcher".
3604
32d72c2f
GM
36052012-05-31 Glenn Morris <rgm@gnu.org>
3606
3607 * image.el: For clarity, call imagemagick-register-types at
3608 top-level, rather than relying on a custom :initialize.
3609 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3610 (imagemagick-filter-types): New function. (Bug#7406)
3611 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3612 If disabling support, remove elements altogether rather
3613 than using an impossible regexp.
3614 (imagemagick-types-inhibit): Give it the default init function.
3615
dd41169b
SM
36162012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3617
4a5f187a
SM
3618 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3619 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3620
efc00ab1 36212012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3622
3623 * desktop.el (desktop-read): Clear previous and next buffers for
3624 all windows and bury *Messages* buffer (bug#11556).
3625
500fcedc
SM
36262012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 Add `declare' for `defun'. Align `defmacro's with it.
3629 * emacs-lisp/easy-mmode.el (define-minor-mode)
3630 (define-globalized-minor-mode): Don't autoload the var definitions.
3631 * emacs-lisp/byte-run.el: Use lexical-binding.
3632 (defun-declarations-alist, macro-declarations-alist): New vars.
3633 (defmacro, defun): Use them.
3634 (make-obsolete, define-obsolete-function-alias)
3635 (make-obsolete-variable, define-obsolete-variable-alias):
3636 Use `declare'.
3637 (macro-declaration-function): Mark obsolete.
3638 * emacs-lisp/autoload.el: Use lexical-binding.
3639 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3640
6e8a1786
AM
36412012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3642
3643 * textmodes/ispell.el (ispell-with-no-warnings):
3644 Define as a macro.
500fcedc
SM
3645 (ispell-kill-ispell, ispell-change-dictionary):
3646 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3647 `interactive-p'.
3648
61b108cc
SM
36492012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3652 (macro-declaration-function): Move var from C code.
3653 (macro-declaration-function): Define function with defalias.
3654 * emacs-lisp/macroexp.el (macroexpand-all-1):
3655 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3656 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3657 defun/defmacro any more.
3658 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3659 Provide fallback for unknown arglist.
3660 (byte-compile-arglist-warn): Change calling convention.
3661 (byte-compile-output-file-form): Move print-vars binding.
3662 (byte-compile-output-docform): Simplify accordingly.
3663 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3664 (byte-compile-defmacro-declaration): Remove.
3665 (byte-compile-file-form-defmumble): Generalize to defalias.
3666 (byte-compile-output-as-comment): Return byte-positions.
3667 Simplify callers accordingly.
3668 (byte-compile-lambda): Use `assert'.
3669 (byte-compile-defun, byte-compile-defmacro): Remove.
3670 (byte-compile-file-form-defalias):
3671 Use byte-compile-file-form-defmumble.
3672 (byte-compile-defalias-warn): Remove.
3673
6d3f7c2f
SM
36742012-05-29 Stefan Merten <smerten@oekonux.de>
3675
3676 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3677 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3678
3679 (rst-mode-abbrev-table): Merge definition.
3680 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3681 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3682
6dbaa1c7
UJ
36832012-05-29 Ulf Jasper <ulf.jasper@web.de>
3684
3685 * calendar/icalendar.el
3686 (icalendar-export-region): Export UID properly.
3687
d209e2fb 36882012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3689 * calendar/icalendar.el (icalendar-import-format):
3690 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3691 (icalendar-import-format-uid): New.
3692 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3693 Export UID.
3694
6876a58d
SM
36952012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3698 different alternative patterns.
3699 (pcase-codegen): Be more careful to preserve identity.
3700 (pcase--u1): Don't forget to mark vars as used.
3701
3702 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3703 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3704 (byte-compile-from-buffer): ...rather than here.
3705
3706 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3707 functions from byte-compile-function-environment.
3708
46b7967e
TN
37092012-05-29 Troels Nielsen <bn.troels@gmail.com>
3710
3711 * window.el (window-deletable-p): Avoid deleting the root window
3712 of a frame with an active minibuffer.
3713
69d565e2
MR
37142012-05-29 Martin Rudalics <rudalics@gmx.at>
3715
3716 * simple.el (choose-completion): Use quit-window (Bug#11567).
3717
a149fa51
CY
37182012-05-29 Chong Yidong <cyd@gnu.org>
3719
3720 * whitespace.el (whitespace-cleanup): Fix usage of
3721 whitespace-empty-at-bob-regexp (Bug#11492).
3722
2b311310
AH
37232012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3724
3725 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3726 revert (Bug#11488).
3727
b9cb2387
JL
37282012-05-29 Juri Linkov <juri@jurta.org>
3729
3730 * isearch.el (isearch-mode-map): Bind `M-s _' to
3731 `isearch-toggle-symbol'. Bind `M-s c' to
3732 `isearch-toggle-case-fold'.
3733 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3734 (isearch-forward): Add `M-s _' to the docstring.
3735 (isearch-forward-symbol, isearch-toggle-case-fold)
3736 (isearch-symbol-regexp): New functions. (Bug#11381)
3737
d5e61c1c
JL
37382012-05-29 Juri Linkov <juri@jurta.org>
3739
3740 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3741 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3742 a function, call it to get the regexp.
3743 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3744 property `isearch-message-prefix' instead of the string "word ".
3745 (isearch-search-fun-default): For the case of `isearch-word',
3746 return a lambda that calls re-search-forward/re-search-backward
3747 with a regexp returned by `word-search-regexp' or by the function
3748 in `isearch-word'.
3749
8cbd80f7
JL
37502012-05-29 Juri Linkov <juri@jurta.org>
3751
3752 * isearch.el (isearch-search-fun-default): New function.
3753 (isearch-search-fun): Move default part to the new function
3754 `isearch-search-fun-default'.
3755 (isearch-search-fun-function): Set the default value to
3756 `isearch-search-fun-default'. (Bug#11381)
3757
3758 * comint.el (comint-history-isearch-end):
3759 Use `isearch-search-fun-default'.
3760 (comint-history-isearch-search): Use `isearch-search-fun-default'
3761 and remove spacial case for `isearch-word'.
3762 (comint-history-isearch-wrap): Remove spacial case for
3763 `isearch-word'.
3764
3765 * hexl.el (hexl-isearch-search-function):
3766 Use `isearch-search-fun-default'.
3767
3768 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3769 Use `word-search-regexp' for `isearch-word'.
3770
3771 * misearch.el (multi-isearch-search-fun):
3772 Use `isearch-search-fun-default'.
3773
3774 * simple.el (minibuffer-history-isearch-search):
3775 Use `isearch-search-fun-default' and remove spacial case for
3776 `isearch-word'.
3777 (minibuffer-history-isearch-wrap): Remove spacial case for
3778 `isearch-word'.
3779
3780 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3781 Remove spacial case for `isearch-word'.
3782 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3783
85c8c5b6
AM
37842012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3785
3786 Decrease XEmacs incompatibilities.
3787 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3788 Use `string-match'.
3789 (flyspell-delete-region-overlays): Use alternative definition for
3790 XEmacs.
3791 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3792 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3793 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3794 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3795 `define-obsolete-face-alias' under XEmacs, but old method.
3796
3797 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3798 `with-no-warnings' definition or Emacs alias.
3799 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3800 (ispell-word): Do not use `region-p' if XEmacs.
3801
8cab9efc
AM
38022012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3803
3804 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3805 Check for `ispell-dictionary-base-alist' instead of full
3806 `ispell-dictionary-alist'.
3807 (ispell-init-process): Show spellchecker when starting new Ispell
3808 process.
3809
fda91268
RZ
38102012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3813 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3814
694ea8e3
JB
38152012-05-27 Juanma Barranquero <lekktu@gmail.com>
3816
3817 * version.el (motif-version-string, gtk-version-string)
3818 (ns-version-string): Declare.
3819
e4d4f539
JL
38202012-05-27 Juri Linkov <juri@jurta.org>
3821
3822 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3823 after the `eval-defun-1' specialcaseing
3824 like in `edebug-eval-defun' (bug#10181).
3825
3826 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3827 like in `eval-defun-1'.
3828
33017faf 38292012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3830
fda91268
RZ
3831 * mail/sendmail.el (mail-yank-region):
3832 Recognize rmail-yank-current-message in addition to insert-buffer.
3833 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3834 a *mail* buffer created through rmail-start-mail with sendmail as
3835 mail-user-agent.
3836
33017faf
GM
38372012-05-27 Chong Yidong <cyd@gnu.org>
3838
3839 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3840 Default to 256 (Bug#11267).
3841
3842 * help.el (describe-mode): Doc fix.
3843
04188bb9
GM
38442012-05-26 Glenn Morris <rgm@gnu.org>
3845
38264cc9
GM
3846 * w32-fns.el (w32-init-info): Remove.
3847 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3848
eb7afdad
GM
3849 * info.el (info-initialize): For self-contained NS builds, put the
3850 included info/ directory at the front. (Bug#2791)
3851
04188bb9
GM
3852 * paths.el (Info-default-directory-list): Make it a defcustom,
3853 mainly so that we can use custom-initialize-delay.
3854
a179e3f7
SM
38552012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3856
43416392
SM
3857 * subr.el (buffer-has-markers-at): Mark obsolete.
3858
a179e3f7 3859 * subr.el (lambda): Use declare.
43416392 3860
a179e3f7
SM
3861 * emacs-lisp/lisp-mode.el (lambda):
3862 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3863
34a008d9
AH
38642012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3865
3866 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3867
0a3b289f
GM
38682012-05-26 Glenn Morris <rgm@gnu.org>
3869
3870 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3871
758c81e8
GM
38722012-05-25 Glenn Morris <rgm@gnu.org>
3873
f9f334f0
GM
3874 * paths.el: Remove no-byte-compile.
3875 * loadup.el: No need to load paths.el uncompiled.
3876
87eb79c2
GM
3877 * image.el (imagemagick-types-inhibit): Doc fix.
3878
758c81e8
GM
3879 * version.el: Remove no-byte-compile and associated formatting.
3880 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3881 is ancient code from when there was an "inc-vers.el".
3882
e7e85dc0
SM
38832012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * progmodes/gdb-mi.el: Minor style changes.
3886 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3887 Turn into minor modes.
3888 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3889 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3890 (gdb-shell): Remove unneeded let-binding.
3891 (gdb-get-many-fields): Eliminate O(n²) behavior.
3892
f31237a4
EZ
38932012-05-25 Eli Zaretskii <eliz@gnu.org>
3894
3895 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3896 platforms that don't link in fontset.c.
3897
bc1b21bb
JL
38982012-05-25 Juri Linkov <juri@jurta.org>
3899
3900 Use the same diff color scheme as in modern VCSes (bug#10181).
3901
3902 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3903 to avoid confusion with `diff-added' that now uses green colors.
3904 (diff-removed): Use shades of red.
3905 (diff-added): Use shades of green.
3906 (diff-changed): Leave just the yellow color.
3907 (diff-use-changed-face): New variable.
3908 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3909 how to highlight context diff changes.
3910 (diff-refine-change): Use shades of yellow.
3911 (diff-refine-removed): New face that uses shades of red.
3912 (diff-refine-added): New face that uses shades of green.
3913 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3914 `diff-refine-removed' in the call to `smerge-refine-subst'
3915 depending on the value of `diff-use-changed-face'.
3916
3917 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3918 (smerge-other): Use shades of green.
3919 (smerge-base): Use shades of yellow.
3920 (smerge-refined-change): Empty face.
3921 (smerge-refined-removed): New face that uses shades of red.
3922 (smerge-refined-added): New face that uses shades of green.
3923 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3924 args `props-r' and `props-a', and use them. Doc fix.
3925 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3926 on its value use different faces `smerge-refined-change',
3927 `smerge-refined-removed', `smerge-refined-added' in the call to
3928 `smerge-refine-subst'.
3929
3930 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3931 Add face condition `min-colors 88' with shades of red.
3932 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3933 `min-colors 88' with shades of green.
3934 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3935 `min-colors 88' with shades of yellow.
3936
6df9112c
GM
39372012-05-24 Glenn Morris <rgm@gnu.org>
3938
ead5edc0
GM
3939 * paths.el (prune-directory-list, remote-shell-program): Move to...
3940 * files.el (prune-directory-list, remote-shell-program): ...here.
3941 For the latter, delay initialization, prefer ssh, just search PATH.
3942
f18b81e6
GM
3943 * paths.el (term-file-prefix): Move to faces.el (the only user).
3944 * faces.el (term-file-prefix): Move here, make it a defcustom.
3945
ee2f89a6
GM
3946 * paths.el (news-directory, news-path, news-inews-program):
3947 Move to gnus/nnspool.el.
61a583ca 3948
f8815e4c
GM
3949 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3950
c8f3b42c
GM
3951 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3952 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3953 Make the latter a defcustom, with a delayed initialization.
3954
6df9112c
GM
3955 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3956 These were deleted from Gnus itself late 2010.
3957
5dadff36
JB
39582012-05-22 Juanma Barranquero <lekktu@gmail.com>
3959
9e1701c6
JB
3960 * progmodes/which-func.el (which-func-ff-hook):
3961 Check against user-error, not error.
3962
bd7239f5 3963 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3964 cl-specs.el, which no longer exists.
3965
3290526d
GM
39662012-05-22 Glenn Morris <rgm@gnu.org>
3967
3968 * info.el (info-emacs-bug): New command.
3969 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3970 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3971
ff0c3cfb
GM
39722012-05-21 Glenn Morris <rgm@gnu.org>
3973
3974 * makefile.w32-in (update-subdirs-SH):
3975 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3976
5814f126
SM
39772012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3978
a52c0aa0
SM
3979 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3980
5814f126
SM
3981 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3982 Simplify Maven regexp, and make sure the file can't start with a space
3983 (bug#11517).
3984
b847032c
GM
39852012-05-21 Glenn Morris <rgm@gnu.org>
3986
3987 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3988 Scrap superfluous subshells.
3989
3858bfe7
SM
39902012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3993 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3994
d14b0029
JB
39952012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3996
3997 * calc/calc.el (calc-ensure-consistent-units): New variable.
3998
a52c0aa0
SM
3999 * calc/calc-units.el (math-consistent-units-p)
4000 (math-check-unit-consistency): New functions.
4001 (calc-quick-units, calc-convert-units):
4002 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4003 is non-nil.
d14b0029
JB
4004 (calc-extract-units): Fix typo.
4005
60c4db3a
SM
40062012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4007
77f3b62e
SM
4008 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4009
60c4db3a
SM
4010 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4011 (flyspell-default-deplacement-commands): Don't spell check after
4012 repeated window/frame switches (e.g. triggered by mouse-movement).
4013 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4014 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4015 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4016 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4017 Remove unused vars.
4018 (flyspell-get-casechars, flyspell-get-not-casechars):
4019 Simplify; Don't bother removing a ] just to add it back.
4020 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4021
d209e2fb 40222012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4023
4024 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4025 New functions.
bd7239f5 4026 (math-function-table): Add support for more C functions.
b1a10716 4027
3f1b25b5
AM
40282012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4029
090bd7cb
JB
4030 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4031 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4032 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4033
b581bb5c
SM
40342012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4037 their respective macro declarations.
4038 * skeleton.el (define-skeleton):
4039 * progmodes/compile.el (define-compilation-mode):
4040 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4041 (define-ibuffer-filter):
4042 * emacs-lisp/generic.el (define-generic-mode):
4043 * emacs-lisp/easy-mmode.el (define-minor-mode)
4044 (define-globalized-minor-mode):
4045 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4046 * emacs-lisp/byte-run.el (defsubst):
4047 * custom.el (deftheme): Add doc-string metadata.
4048
70b8ef8f
SM
40492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4052
b1198e17
SM
40532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4054
9abdc45d
SM
4055 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4056
b1198e17
SM
4057 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4058 * emacs-lisp/cl-macs.el: Idem.
4059 * emacs-lisp/cl-specs.el: Remove.
4060
4735906a
SM
40612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 Minor renaming of internal CL functions and variables.
4064 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4065 (cl--position): Rename from cl-position.
4066 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4067 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4068 (cl--random-state): Rename from *random-state*.
4069
ac348012
SM
40702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4073 parens around the arg list (bug#11499).
4074
a0a79cde
JL
40752012-05-17 Juri Linkov <juri@jurta.org>
4076
4077 * isearch.el (word-search-regexp, word-search-backward)
4078 (word-search-forward, word-search-backward-lax)
4079 (word-search-forward-lax): Move functions from search.c
4080 (bug#10145, bug#11381).
4081
65034a51
AM
40822012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4083
090bd7cb
JB
4084 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4085 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4086 Delay for otherchars as for normal word components.
65034a51 4087
1a72a195
SM
40882012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * minibuffer.el (completion--sifn-requote): Fix last change.
4091 (minibuffer-local-must-match-filename-map):
4092 Move define-obsolete-variable-alias before its var.
4093
fdb058c2
SM
40942012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4095
c41045e6
SM
4096 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4097
036dfb8b
SM
4098 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4099 behavior.
4100 (completion--string-equal-p): New function.
4101 (completion--twq-all): Use it to get better assertion failure data.
4102
2473256d
SM
4103 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4104 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4105 (shell--requote-argument): New functions.
4106 (shell-completion-vars): Use them.
4107 (shell--parse-pcomplete-arguments): Rename from
4108 shell-parse-pcomplete-arguments.
4109 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4110 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4111 Obey comint-file-name-quote-list.
4112
fdb058c2
SM
4113 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4114 (smie-indent-keyword): Use it.
4115
51fa99f1
SM
41162012-05-14 Stefan Merten <smerten@oekonux.de>
4117
4118 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4119
e18afed7 41202012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4121
4122 * net/rlogin.el (rlogin-mode-map): Fix last change.
4123
e18afed7 41242012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4125
4126 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4127 the following \r\n using a single `process-send-string', since the
4128 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4129 with two `process-send-string's (Bug#11444).
8633b1f4 4130
e18afed7 41312012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4132
fdb058c2
SM
4133 * shell.el (shell-parse-pcomplete-arguments):
4134 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4135
2d21d7f6
WJ
41362012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4137
e18afed7 4138 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4139 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4140 (image-transform-width, image-transform-fit-width): New functions.
4141 (image-transform-properties): Use them.
4142 (image-transform-check-size): New function.
4143 (image-toggle-display-image): Use it (for testing).
4144 (image-transform-set-rotation): Reduce angle mod 360.
4145 Delete obsolete comment.
4146
7102e6d0
WJ
41472012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4148
4149 * image-mode.el: Fix scaling (bug#11399).
4150 (image-transform-resize): Doc fix.
4151 (image-transform-properties): Default scale is 1 and height should
4152 be an integer.
4153
06bc5e6e
SM
41542012-05-13 Johan Bockgård <bojohan@gnu.org>
4155
4156 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4157 than hard-coding `car', to fix misbehavior when moving forward.
4158
0ae03b6a
CY
41592012-05-13 Chong Yidong <cyd@gnu.org>
4160
4161 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4162 (tabulated-list-entries, tabulated-list-padding)
4163 (tabulated-list-sort-key): Make permanent-local.
4164
4165 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4166 (electric-buffer-list): Put electric buffer menu
4167 command descriptions in this docstring, instead of the docstring
4168 of electric-buffer-menu-mode. Code cleanups.
4169 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4170 Electric-buffer-menu-mode.
4171 (electric-buffer-update-highlight): Minor code cleanup.
4172
205a7391
MA
41732012-05-13 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4176 (Bug#11447)
4177
e5bd0a28
SM
41782012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 Move define-obsolete-variable-alias before the var's definition.
4181 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4182 * tooltip.el (tooltip-hook):
4183 * textmodes/reftex-toc.el (reftex-toc-map):
4184 * textmodes/reftex-sel.el (reftex-select-label-map)
4185 (reftex-select-bib-map):
4186 * textmodes/reftex-index.el (reftex-index-map)
4187 (reftex-index-phrases-map):
4188 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4189 * progmodes/meta-mode.el (meta-mode-map):
4190 * novice.el (disabled-command-hook):
4191 * loadhist.el (unload-hook-features-list):
4192 * frame.el (blink-cursor):
4193 * files.el (find-file-not-found-hooks, write-file-hooks)
4194 (write-contents-hooks):
4195 * emulation/tpu-edt.el (GOLD-map):
4196 * emacs-lock.el (emacs-lock-from-exiting):
4197 * emacs-lisp/generic.el (generic-font-lock-defaults):
4198 * emacs-lisp/chart.el (chart-map):
4199 * dos-fns.el (register-name-alist):
4200 * dired-x.el (dired-omit-files-p):
4201 * desktop.el (desktop-enable):
4202 * cus-edit.el (custom-mode-hook):
4203 * buff-menu.el (buffer-menu-mode-hook):
4204 * bookmark.el (bookmark-read-annotation-text-func)
4205 (bookmark-exit-hooks):
4206 * allout.el (allout-mode-deactivate-hook)
4207 (allout-exposure-change-hook, allout-structure-added-hook)
4208 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4209 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4210 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4211 comes before the corresponding variable's definition.
4212
ac59c2f6
CY
42132012-05-12 Chong Yidong <cyd@gnu.org>
4214
4215 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4216 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4217 (Buffer-menu-mode-map): Bind it.
4218 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4219
dee6c9a3
SM
42202012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4221
2171cea5
SM
4222 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4223 (prolog-upper-case-string, prolog-lower-case-string)
4224 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4225 (prolog-use-smie, prolog-smie-grammar): New vars.
4226 (prolog-smie-forward-token, prolog-smie-backward-token)
4227 (prolog-smie-rules): New funs.
4228 (prolog-comment-indent): Remove.
4229 (prolog-mode-variables): Use default comment indentation instead.
4230 Setup SMIE.
4231 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4232 (prolog-mode): Don't call them any more.
4233 (prolog-electric-colon, prolog-electric-dash)
4234 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4235
aa0382bd
SM
4236 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4237
dbacb4bd
SM
4238 * minibuffer.el (completion--twq-all): Again, allow case differences.
4239
13bdd94c
SM
4240 * term.el: Move keymap initialization code to be more idiomatic.
4241 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4242 (term-terminal-menu): Move initialization into declaration.
4243 (term-escape-char): Let the user set it in her .emacs.
4244
ff46c759
SM
4245 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4246 Provide SMIE-based indentation (not enabled by default yet).
4247 (sh-mode-map): Don't bind electric keys.
4248 Use electric-pair-mode instead of skeleton-pair.
4249 (sh-assignment-regexp): Fit within 80 columns.
4250 (sh-indent-supported): Specify actual shell name instead of boolean.
4251 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4252 (sh-maybe-here-document): Use it. Make obsolete.
4253 (sh-electric-here-document-mode) New minor mode.
4254 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4255 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4256 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4257 (sh-smie-rc-grammar, sh-use-smie): New vars.
4258 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4259 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4260 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4261 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4262 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4263 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4264 (sh-set-shell): Use smie-setup if requested.
4265
dee6c9a3
SM
4266 * term.el (term-set-escape-char): Properly set term-escape-char.
4267 See http://stackoverflow.com/questions/10524656.
4268
9f9aa044
CY
42692012-05-10 Chong Yidong <cyd@gnu.org>
4270
4271 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4272 Use url-generic-parse-url, and handle host names and Windows
4273 filenames properly.
4274 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4275 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4276 URL schemes to work on.
4277 (ffap--toggle-read-only): New function.
4278 (ffap-read-only, ffap-read-only-other-window)
4279 (ffap-read-only-other-frame): Use it.
4280 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4281 necessary for ffap-url-unwrap-remote.
4282
836d29b3
DA
42832012-05-10 Dave Abrahams <dave@boostpro.com>
4284
4285 * cus-start.el (create-lockfiles): Add it.
4286
00fd78ed
CY
42872012-05-09 Chong Yidong <cyd@gnu.org>
4288
4289 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4290 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4291
666b903b 42922012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4293
4294 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4295
666b903b 42962012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4297
4298 * ansi-color.el (ansi-color-process-output): Check for validity of
4299 comint-last-output-start before using it. This avoids a bad
4300 interaction with gdb-mi's input/output buffer.
4301
666b903b 43022012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4303
4304 * files.el (dir-locals-read-from-file):
4305 Mention dir-locals in any error message.
4306
666b903b 43072012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4308
4309 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4310 package (Bug#11410).
4311
f677562b
CY
4312 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4313 variables into description.
4314
666b903b 43152012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4316
4317 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4318 shell-delimiter-argument-list (bug#11348).
4319 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4320
b499d8d0
JB
43212012-05-09 Juanma Barranquero <lekktu@gmail.com>
4322
8f6b6da8
JB
4323 * textmodes/rst.el: Silence byte-compiler warnings.
4324 (rst-re-alist, rst-reset-section-caches): Move around.
4325 (rst-re): Use `characterp', not `char-valid-p'.
4326 (font-lock-beg, font-lock-end): Declare.
4327
4824146a
JB
4328 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4329 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4330
b499d8d0
JB
4331 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4332
ad89bb83
GM
43332012-05-08 Glenn Morris <rgm@gnu.org>
4334
4335 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4336
8bba5a75
SM
43372012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4338
49ed9c8e
SM
4339 * vc/log-edit.el: Add GNU coding standards highlighting.
4340 (log-edit-font-lock-gnu-style)
4341 (log-edit-font-lock-gnu-keywords): New vars.
4342 (log-edit-font-lock-keywords): New fun.
4343 (log-edit-mode): Don't fold case in font-lock.
4344 (log-edit-font-lock-keywords): Do not assume case-folding.
4345
07d00b56
SM
4346 * imenu.el: Misc cleanup. Make docstrings out of comments.
4347 Use lexical-binding.
4348 (imenu--index-alist, imenu--last-menubar-index-alist)
4349 (imenu-menubar-modified-tick): Use defvar-local.
4350 (imenu--split-menu): Remove unused var.
4351 (imenu--cleanup-seen): Declare as global.
4352 (imenu--cleanup): Use dolist.
4353
8bba5a75
SM
4354 * subr.el (defvar-local): Add debug spec and doc-string position.
4355
5075bdb5
GM
43562012-05-08 Glenn Morris <rgm@gnu.org>
4357
090bd7cb 4358 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4359 * language/english.el, language/georgian.el, language/greek.el:
4360 * language/japanese.el, language/khmer.el, language/korean.el:
4361 * language/lao.el, language/misc-lang.el, language/romanian.el:
4362 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4363 * language/thai.el, language/utf-8-lang.el:
4364 Remove no-byte-compile setting.
4365
5075bdb5
GM
4366 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4367
06f679a7
AH
43682012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4369
4370 * progmodes/make-mode.el (makefile-browse):
4371 Remove unnecessary interactive. (Bug#11324)
4372
03794570
GM
43732012-05-07 Glenn Morris <rgm@gnu.org>
4374
af8630f4
GM
4375 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4376
03794570
GM
4377 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4378
f0809a9d
SM
43792012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4380
28be5ce7
SM
4381 * loadup.el: Preload newcomment.el.
4382 * newcomment.el: Move autoload-only code to toplevel.
4383
f0809a9d
SM
4384 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4385 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4386 Handle new :right-align column property.
4387 (tabulated-list-print-col): Idem, plus use `display' text-property to
4388 try and preserve alignment for variable pitch fonts.
4389
1241b724
CY
43902012-05-07 Chong Yidong <cyd@gnu.org>
4391
4392 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4393 (tabulated-list-use-header-line): New var.
4394 (tabulated-list-init-header): Use it.
4395 (tabulated-list-print-fake-header): New function.
4396 (tabulated-list-print): Use it.
4397 (tabulated-list-sort-button-map): Add non-header-line commands.
4398 (tabulated-list-init-header): Add column name property to basic
4399 labels as well.
4400 (tabulated-list-col-sort): Handle non-header-line button case.
4401 (tabulated-list--sort-by-column-name): Fix a corner case.
4402
f0809a9d
SM
4403 * buff-menu.el (list-buffers--refresh):
4404 Handle Buffer-menu-use-header-line.
1241b724 4405
e5f9458f
CY
44062012-05-06 Chong Yidong <cyd@gnu.org>
4407
4408 * buff-menu.el: Convert to Tabulated List mode.
4409 (Buffer-menu-buffer+size-width): Make obsolete.
4410 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4411 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4412 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4413 documentation into docstring of buffer-menu.
4414 (Buffer-menu-toggle-files-only): Add an informative message.
4415 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4416 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4417 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4418 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4419 (Buffer-menu-execute, Buffer-menu-select)
4420 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4421 (Buffer-menu-bury): Use Tabulated List machinery.
4422 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4423 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4424 Delete.
e5f9458f
CY
4425 (list-buffers--refresh): New function.
4426 (list-buffers-noselect): Use it.
4427 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4428 (Buffer-menu--pretty-file-name): New helper functions.
4429
4430 * loadup.el: Preload tabulated-list.
4431
4432 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4433 tabulated-list-sort-column.
4434 (tabulated-list-init-header): Add the initial aligning space even
4435 if tabulated-list-padding is zero.
4436
e129292c
CS
44372012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4438
4439 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4440 whose cdr is not a cons cell correctly (bug#11038).
4441
6632d361
CY
44422012-05-06 Chong Yidong <cyd@gnu.org>
4443
e129292c
CS
4444 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4445 Accept additional plist in column descriptors.
6632d361
CY
4446 (tabulated-list-init-header): Obey it.
4447 (tabulated-list-get-entry): New function.
4448 (tabulated-list-put-tag): Use it. Use string-width instead of
4449 length.
4450 (tabulated-list--column-number): New function.
4451 (tabulated-list-print): Use it.
e129292c
CS
4452 (tabulated-list-print-col): New function.
4453 Set `tabulated-list-column-name' property on each column's text.
6632d361 4454 (tabulated-list-print-entry): Use it.
e129292c
CS
4455 (tabulated-list-delete-entry, tabulated-list-set-col):
4456 New functions.
6632d361
CY
4457 (tabulated-list-sort-column): New command (Bug#11337).
4458
3cc99f68
CY
4459 * buff-menu.el (list-buffers): Move C-x C-b binding from
4460 buff-menu.el to bindings.el.
4461
4462 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4463 :advertised-binding feature.
4464
52b61776
TN
44652012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4466
4467 * progmodes/compile.el (compilation-internal-error-properties):
4468 Calculate start position correctly when end-col is set but
4469 end-line is not (Bug#11382).
4470
ebfe2597
WJ
44712012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4472
4473 * man.el (Man-unindent): Use text-property-default-nonsticky to
4474 prevent untabify from inheriting face properties (Bug#11408).
4475
6d3f7c2f
SM
44762012-05-05 Stefan Merten <smerten@oekonux.de>
4477
4478 * textmodes/rst.el: Major merge with upstream development up to
4479 Docutils SVN r7399 / rst.el V1.2.1.
4480
4481 Clarify maintainership and authors.
4482
4483 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4484 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4485 (rst-official-version, rst-official-cvs-rev, rst-version)
4486 (rst-package-emacs-version-alist): New functions and variables
4487 for version information.
4488
4489 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4490 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4491 (rst-mode-syntax-table, rst-mode): New and corrected functions
4492 and variables representing reStructuredText features.
4493
4494 (rst-re): New function for reStructuredText regexes. Use in
4495 many places.
4496
4497 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4498 (rst-mode-map): Rebind keys.
4499
4500 (rst-mode-lazy, rst-font-lock-keywords)
4501 (rst-font-lock-extend-region)
4502 (rst-font-lock-extend-region-internal)
4503 (rst-font-lock-extend-region-extend)
4504 (rst-font-lock-find-unindented-line-limit)
4505 (rst-font-lock-find-unindented-line-match)
4506 (rst-adornment-level, rst-font-lock-adornment-level)
4507 (rst-font-lock-adornment-match)
4508 (rst-font-lock-handle-adornment-pre-match-form)
4509 (rst-font-lock-handle-adornment-matcher): Major revision of
4510 font-locking. Integrate with other code. Use `jit-lock-mode'.
4511
4512 (rst-preferred-adornments, rst-adjust-hook)
4513 (rst-new-adornment-down, rst-preferred-bullets)
4514 (rst-preferred-bullets, rst-indent, rst-indent-width)
4515 (rst-indent-field, rst-indent-literal-normal)
4516 (rst-indent-literal-minimized, rst-indent-comment): Change,
4517 extend and improve customization.
4518
4519 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4520 (rst-normalize-cursor-position, rst-get-decoration)
4521 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4522 (rst-rstrip, rst-toc-insert-find-delete-contents)
4523 (rst-shift-fill-region, rst-compute-bullet-tabs)
4524 (rst-debug-print-tabs, rst-debug-mark-found)
4525 (rst-shift-region-guts, rst-shift-region-right)
4526 (rst-shift-region-left, rst-use-char-classes)
4527 (rst-font-lock-keywords-function)
4528 (rst-font-lock-indentation-point)
4529 (rst-font-lock-find-unindented-line-begin)
4530 (rst-font-lock-find-unindented-line-end)
4531 (rst-font-lock-find-unindented-line)
4532 (rst-font-lock-adornment-point, rst-font-lock-level)
4533 (rst-adornment-level-alist): Remove functions and variables.
4534
4535 (rst-compare-adornments, rst-get-adornment-match)
4536 (rst-suggest-new-adornment, rst-get-adornments-around)
4537 (rst-adornment-complete-p, rst-get-next-adornment)
4538 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4539 (rst-straighten-adornments): Standardize function names to
4540 use "adornment" instead of "decoration". Correct callers.
4541 Similar standardizing in many places.
4542
4543 (rst-update-section, rst-adjust, rst-promote-region)
4544 (rst-enumerate-region, rst-bullet-list-region)
4545 (rst-repeat-last-character): Correct use of `interactive'.
4546
4547 (rst-classify-adornment, rst-find-all-adornments)
4548 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4549 (rst-find-leftmost-column, rst-repeat-last-character):
4550 Refactor functions.
4551
4552 (rst-find-title-line, rst-reset-section-caches)
4553 (rst-get-adornments-around, rst-adjust-adornment-work)
4554 (rst-arabic-to-roman, rst-roman-to-arabic)
4555 (rst-insert-list-pos, rst-insert-list-new-item)
4556 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4557 New functions.
4558
4559 (rst-all-sections, rst-section-hierarchy)
4560 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4561 New variables.
4562
4563 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4564 configuration instead of only buffer. Change where necessary.
4565
4566 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4567 (rst-shift-region, rst-adaptive-fill): New functions for
4568 indentation and filling.
4569
4570 (rst-comment-line-break, rst-comment-indent)
4571 (rst-comment-insert-comment, rst-comment-region)
4572 (rst-uncomment-region): New functions for handling comments.
4573
4574 (rst-compile): Quote shell arguments.
4575
4576 (rst-compile-pdf-preview, rst-compile-slides-preview):
4577 Delete temporary files after use.
4578
a43f98b3
GM
45792012-05-05 Glenn Morris <rgm@gnu.org>
4580
48176e8b
GM
4581 * calendar/cal-html.el: Optionally include holidays in the output.
4582 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4583 (cal-html-holidays): New option.
4584 (cal-html-css-default): Add holiday entry.
4585 (holiday-in-range): Autoload it.
4586 (cal-html-htmlify-entry): Add optional class argument.
4587 (cal-html-htmlify-list): Add optional holidays argument.
4588 (cal-html-insert-agenda-days): Include holidays in the output.
4589 (cal-html-one-month): Maybe include holidays.
4590
a43f98b3
GM
4591 * calendar/holidays.el (holiday-in-range):
4592 Move here from cal-tex-list-holidays.
4593 * calendar/cal-tex.el (cal-tex-list-holidays):
4594 Make it an obsolete alias for holiday-in-range. Update all callers.
4595
fef9d149 45962012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4597
4598 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4599 Nextstep.
4600
248da2f4
RW
46012012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4602
4603 * files.el (file-auto-mode-skip): New var.
4604 (set-auto-mode-1): Use it.
4605
f95e9344
SM
46062012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4607
df96ab1e
SM
4608 * repeat.el: Use lexical-binding.
4609 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4610 (repeat-undo-count): Remove.
4611 (repeat):
4612 * progmodes/octave-mod.el (octave-abbrev-start):
4613 * progmodes/f90.el (f90-abbrev-start):
4614 * face-remap.el (text-scale-adjust):
4615 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4616
5342bb06
SM
4617 * emacs-lisp/pcase.el (pcase--let*): New function.
4618 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4619 a bit more.
4620 (pcase--split-pred): Be more clever about ruling out overlap between
4621 a predicate and some constant pattern.
4622 (pcase--q1): Use `null' instead of (eq foo nil).
4623
f95e9344
SM
4624 * subr.el (setq-local, defvar-local): New macros.
4625 (kbd): Redefine as an alias.
4626 (with-selected-window): Leave unrelated frames alone.
4627 (set-temporary-overlay-map): New function.
4628
71873e2b
SM
46292012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * subr.el (user-error): New function.
4632 * window.el (switch-to-buffer):
4633 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4634 (smerge-match-conflict):
4635 * simple.el (previous-matching-history-element)
4636 (next-matching-history-element, goto-history-element, undo-more)
4637 (undo-start):
4638 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4639 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4640 (next-file, tags-loop-scan, list-tags, complete-tag):
4641 * progmodes/compile.el (compilation-loop):
4642 * mouse.el (mouse-minibuffer-check):
4643 * man.el (Man-bgproc-sentinel, Man-goto-page):
4644 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4645 (Info-history-forward, Info-follow-reference, Info-menu)
4646 (Info-extract-menu-item, Info-extract-menu-counting)
4647 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4648 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4649 (Info-next-reference, Info-prev-reference, Info-index)
4650 (Info-index-next, Info-follow-nearest-node)
4651 (Info-copy-current-node-name):
4652 * imenu.el (imenu--make-index-alist)
4653 (imenu-default-create-index-function, imenu-add-to-menubar):
4654 * files.el (basic-save-buffer, recover-file):
4655 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4656 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4657 (checkdoc-message-text, checkdoc-defun):
4658 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4659 * cus-edit.el (customize-changed-options, customize-rogue)
4660 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4661 (custom-variable-mark-to-reset-standard)
4662 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4663 (custom-file):
4664 * completion.el (check-completion-length):
4665 * comint.el (comint-search-arg)
4666 (comint-previous-matching-input-string-position)
4667 (comint-previous-matching-input)
4668 (comint-replace-by-expanded-history-before-point, comint-send-input)
4669 (comint-copy-old-input, comint-backward-matching-input)
4670 (comint-goto-process-mark, comint-set-process-mark):
4671 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4672 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4673
8a61ee22
SM
46742012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4675
66408d1e
SM
4676 * dabbrev.el (dabbrev--ignore-case-p): New function.
4677 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4678 Use it.
4679
8a61ee22
SM
4680 * files.el (automount-dir-prefix): Mark as obsolete.
4681
3c74813a
GM
46822012-05-04 Glenn Morris <rgm@gnu.org>
4683
4684 * patcomp.el, play/bruce.el: Move to obsolete/.
4685
0bfcf5c5
PE
46862012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4687
4688 Fix minor Y10k bugs.
4689 * arc-mode.el (archive-unixdate):
4690 * autoinsert.el (auto-insert-alist):
4691 * calc/calc-forms.el (math-this-year):
4692 * emacs-lisp/copyright.el (copyright-current-year)
4693 (copyright-update-year, copyright):
4694 * tar-mode.el (tar-clip-time-string):
4695 * time.el (display-time-update):
4696 Don't assume years have 4 digits.
4697
78f3273a
CY
46982012-05-04 Chong Yidong <cyd@gnu.org>
4699
4700 * dos-w32.el (file-name-buffer-file-type-alist)
4701 (direct-print-region-use-command-dot-com):
4702 * ffap.el (ffap-menu-regexp):
4703 * find-file.el (ff-special-constructs):
4704 * follow.el (follow-debug):
4705 * forms.el (forms--debug):
4706 * iswitchb.el (iswitchb-all-frames):
4707 * ido.el (ido-all-frames):
4708 * emacs-lisp/timer.el (timer-max-repeats):
4709 * mail/feedmail.el (feedmail-mail-send-hook)
4710 (feedmail-mail-send-hook-queued):
4711 * mail/footnote.el (footnote-signature-separator):
4712 * mail/mailabbrev.el (mail-alias-separator-string)
4713 (mail-abbrev-mode-regexp):
4714 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4715 * progmodes/idlwave.el (idlwave-libinfo-file)
4716 (idlwave-default-completion-case-is-down)
4717 (idlwave-library-routines): Convert defvars to defcustoms.
4718
4719 * mail/rmail.el (rmail-decode-mime-charset):
4720 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4721 (idlwave-shell-fix-inserted-breaks)
4722 (idlwave-shell-activate-alt-keybindings)
4723 (idlwave-shell-use-breakpoint-glyph):
4724 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4725
f7ae6719
SM
47262012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4729
47086495
WS
47302012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4731
4732 * progmodes/verilog-mode.el (font-lock-keywords):
4733 Fix mis-highligting auto. Reported by Craig Barner.
4734 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4735 defines from global name space. Reported by Dan Dever.
4736 (verilog-auto-reset, verilog-auto-reset-widths)
4737 (verilog-auto-tieoff): Support using unbased numbers for
4738 AUTORESET and AUTOTIEOFF.
4739 (verilog-submit-bug-report): Update variable list.
4740 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4741 parenthesis from not matching. Reported by Michael Rytting.
4742 (verilog-auto-template-lint): Fix hash error when linting modules
4743 with no used templates.
4744 (verilog-warn, verilog-warn-error)
4745 (verilog-warn-fatal): When non-interactive report multiple
4746 warnings before exiting. Suggested by Brad Dobbie.
4747 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4748 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4749 to report unused template errors. Reported by Brad Dobbie.
4750 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4751 nets, bug438. Reported by Vns Blore.
4752 (verilog-auto-inout-module, verilog-auto-reg)
4753 (verilog-read-decls, verilog-read-sub-decls-sig)
4754 (verilog-signals-edit-wire-reg, verilog-signals-with):
4755 Fix passing of Verilog data types in ANSI input/output ports
4756 such as "output logic" into the AUTOs. Special case "wire" and
4757 "reg" for backwards compatibility presuming Verilog 2001.
4758 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4759 (verilog-preprocess): Fix replication of preprocess output.
4760 Reported by Brad Dobbie.
4761 (verilog-auto-inst-interfaced-ports):
4762 Create verilog-auto-inst-interfaced-ports, bug429.
4763 Reported by Julian Gorfajn.
4764 (verilog-after-save-font-hook)
4765 (verilog-before-save-font-hook): New variable.
4766 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4767 (verilog-save-font-mods): Wrap disabling fontification, reported
4768 by David Rogoff.
4769 (verilog-do-indent, verilog-pretty-declarations-auto)
4770 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4771 Reported by Pierre-David Pfister.
4772 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4773 of class declarations, bug292. Reported by Kevin Heilman.
4774 (verilog-read-decls): Fix 'parameter type' not appearing in
4775 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4776 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4777 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4778 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4779 Reported by David Kravitz.
4780
47812012-05-03 Michael McNamara <mac@mail.brushroad.com>
4782
4783 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4784 assignment with tests in ifs and for loops.
4785 (verilog-extended-complete-re, verilog-complete-reg): Change so
4786 that DPI inport functions don't look like fuction declarations.
4787 (verilog-pretty-expr): Don't line up assignment
4788 operations to the test and increment in if and for loops
4789 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4790 that DPI inport functions don't look like fuction declarations.
47086495 4791
2e51d4b5
KH
47922012-05-03 Kenichi Handa <handa@m17n.org>
4793
4794 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4795 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4796 (Bug#11282).
4797
2bd785a2
SM
47982012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * emacs-lisp/bytecomp.el
4801 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4802 since cconv.el might have introduced :fun-body, internal-make-closure,
4803 and friends for bytecomp to handle (bug#11391).
4804 * custom.el (defcustom): Avoid ((λ ..) ..).
4805
99d27583
SM
48062012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4809
55a71479
JB
48102012-05-02 Juanma Barranquero <lekktu@gmail.com>
4811
4812 * notifications.el (dbus-debug):
4813 * term/linux.el (gpm-mouse-enable):
4814 * term/screen.el (xterm-register-default-colors): Declare.
4815
7b97c764
CY
48162012-05-02 Chong Yidong <cyd@gnu.org>
4817
2bc356d7
CY
4818 * cus-start.el (gc-cons-percentage, exec-suffixes)
4819 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4820 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4821 (make-cursor-line-fully-visible, void-text-area-pointer)
4822 (font-list-limit): Add customization data.
4823
7b97c764
CY
4824 * allout.el (allout-exposure-change-functions)
4825 (allout-structure-added-functions)
4826 (allout-structure-deleted-functions)
4827 (allout-structure-shifted-functions): Rename abnormal hooks from
4828 *-hook, and convert to defcustoms.
5d3385a0
JB
4829 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4830 Convert to defcustoms.
7b97c764
CY
4831 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4832
4833 * allout-widgets.el: Hook callers changed.
4834
90207a15 48352012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4836
4837 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4838 the yanked message in preference to the default value of
4839 buffer-file-coding-system.
4840
90207a15 48412012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4842
5d3385a0
JB
4843 * window.el (display-buffer--action-function-custom-type):
4844 Fix entry.
d9558cad 4845
90207a15 48462012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4847
4848 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4849
d80ac57b
GM
48502012-05-01 Glenn Morris <rgm@gnu.org>
4851
976f7668
GM
4852 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4853
beb83b5a
GM
4854 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4855
d80ac57b
GM
4856 * cus-edit.el (custom-variable-documentation): Simplify with format.
4857
b593d6a9 48582012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4859 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4860
4861 * simple.el (suggest-key-bindings, execute-extended-command):
4862 Move from keyboard.c.
4863
782fbf2a
CY
48642012-05-01 Chong Yidong <cyd@gnu.org>
4865
4866 * follow.el: Eliminate advice.
4867 (set-process-filter, process-filter, sit-for): Advice deleted.
4868 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4869 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4870 Vars deleted.
782fbf2a
CY
4871 (follow-auto): Use a :set function.
4872 (follow-mode): Rewritten. Don't advise process filters.
4873 (follow-switch-to-current-buffer-all, follow-scroll-up)
4874 (follow-scroll-down): Assume follow-mode is bound.
4875 (follow-comint-scroll-to-bottom)
4876 (follow-align-compilation-windows): New functions.
4877 (follow--window-sorter): New function.
4878 (follow-all-followers): Use it to explicitly sort windows by their
4879 positions; don't make assumptions about next-window order.
4880 (follow-windows-start-end, follow-delete-other-windows-and-split)
4881 (follow-calc-win-start): Doc fix.
4882 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4883 vertical-motion unnecessarily.
4884 (follow-adjust-window): New function.
4885 (follow-post-command-hook): Use it.
4886 (follow-call-set-process-filter, follow-call-process-filter)
4887 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4888 (follow-stop-intercept-process-output, follow-generic-filter):
4889 Functions deleted.
4890 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4891 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4892 New functions, replacing advice on scroll-bar-* commands.
87233a14 4893 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4894
4895 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4896 (comint-postoutput-scroll-to-bottom): Use it.
4897 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4898
290af740
GM
48992012-05-01 Glenn Morris <rgm@gnu.org>
4900
4901 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4902 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4903 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4904 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4905 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4906 Remove no-byte-compile setting.
4907
6eac8dc9
SM
49082012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4911 all-completions code to not return a number in the last cdr.
4912
9cc7819c
LL
49132012-04-30 Leo Liu <sdl.web@gmail.com>
4914
4915 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4916 read-only error.
4917
c93b886f
CY
49182012-04-29 Chong Yidong <cyd@gnu.org>
4919
4920 * follow.el (follow-calc-win-end): Rewrite to handle partial
4921 screen lines correctly (Bug#8390).
4922 (follow-avoid-tail-recenter): Minor cleanup.
4923
8b6c19f4
SM
49242012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 Avoid the obsolete `assoc' package.
4927 * speedbar.el (speedbar-refresh): Avoid adelete.
4928 (speedbar-file-lists): Simplify and avoid aput.
4929 * man.el (Man--sections, Man--refpages): New vars, replacing
4930 Man-sections-alist and Man-refpages-alist.
4931 (Man-build-section-alist, Man-build-references-alist):
4932 Use them; avoid aput.
4933 (Man--last-section, Man--last-refpage): New vars.
4934 (Man-follow-manual-reference): Use them.
4935 Use the `default' arg of completing-read.
4936 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4937
c5bb7569
CY
49382012-04-27 Chong Yidong <cyd@gnu.org>
4939
d1d2e2e8
CY
4940 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4941
15cd8efd
CY
4942 * startup.el (x-apply-session-resources): New function.
4943
4944 * term/ns-win.el (ns-initialize-window-system):
4945 * term/w32-win.el (w32-initialize-window-system):
4946 * term/x-win.el (x-initialize-window-system): Use it to properly
4947 set menu-bar-mode and other vars from X resources, even if the
4948 initial frame is not a window-system frame (Bug#2299).
4949
c5bb7569
CY
4950 * subr.el (read-key): Avoid running filter function when setting
4951 up temporary tool bar entries (Bug#9922).
4952
a8e7d6d7 49532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4954
4955 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4956 (Bug#11344)
4957
a8e7d6d7 49582012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4959
4960 * select.el (xselect--encode-string): New function, split from
4961 xselect-convert-to-string.
4962 (xselect-convert-to-string): Use it.
4963 (xselect-convert-to-filename, xselect-convert-to-os)
4964 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4965 returned strings are properly encoded (Bug#11315).
4966
a8e7d6d7 49672012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4968
4969 * simple.el (delete-active-region): Move to killing custom group.
4970
a8e7d6d7 49712012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4972
4973 * progmodes/which-func.el (which-func-current): Quote %
4974 characters for mode-line processing.
4975
578c1d4b 49762012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4977
4978 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4979 reaching eob (Bug#11286).
4980
a8e7d6d7 49812012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4982
4983 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4984 (gdb): Make it buffer-local and init to zero.
4985 (gdb-control-commands-regexp): New variable.
4986 (gdb-send): Don't wrap in "-interpreter-exec console" if
4987 gdb-control-level is positive. Increment gdb-control-level
4988 whenever the command matches gdb-control-commands-regexp, and
4989 decrement it each time the command is "end". (Bug#11279)
4990
a8e7d6d7 49912012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4992
4993 * window.el (adjust-window-trailing-edge, enlarge-window)
4994 (shrink-window, window-resize):
4995 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4996 windows (Bug#11276).
4997
b3608390
CY
49982012-04-27 Chong Yidong <cyd@gnu.org>
4999
5000 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5001 fix "missing prefix" warning. All callers changed.
b3608390 5002
797e6e88
SM
50032012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * emacs-lisp/assoc.el: Move to obsolete/.
5006
e95a67dc
SM
50072012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5008
657c21e4 5009 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5010
5011 * term/ns-win.el (ns-define-service):
5012 * progmodes/pascal.el (pascal-goto-defun):
5013 * progmodes/js.el (js--read-tab):
5014 * progmodes/etags.el (tags-lazy-completion-table):
5015 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5016 * emacs-lisp/ewoc.el (ewoc--wrap):
5017 * emacs-lisp/assoc.el (aput, adelete, amake):
5018 * doc-view.el (doc-view-convert-current-doc):
5019 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5020
cb3e7ae0
CY
50212012-04-26 Chong Yidong <cyd@gnu.org>
5022
dce04f7f
CY
5023 * image.el (image-type-from-buffer): Only return supported image
5024 type (Bug#9045).
5025
cb3e7ae0
CY
5026 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5027 value, for symmetry with diff-end-of-hunk.
5028 (diff-split-hunk, diff-find-source-location)
5029 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5030 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5031 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5032 compute the relevant hunk or file properly (Bug#6005).
5033 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5034
0d42eb3e
SM
50352012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 * vc/vc-mtn.el:
5038 * vc/vc-hg.el:
5039 * vc/vc-git.el:
5040 * vc/vc-dir.el:
5041 * vc/vc-cvs.el:
5042 * vc/vc-bzr.el:
5043 * vc/vc-arch.el:
5044 * vc/vc.el: Replace lexical-let by lexical-binding.
5045 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5046 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5047 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5048
f08ae1c9
CY
50492012-04-26 Chong Yidong <cyd@gnu.org>
5050
8b71081d
CY
5051 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5052 (diff-mode-shared-map): Bind it to / and [remap undo].
5053
f08ae1c9
CY
5054 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5055 (ediff-window-setup-function): Use it as the default, to set up
5056 windows based on whether the current frame is graphical (Bug#2138).
5057 (ediff-choose-window-setup-function-automatically): Make obsolete.
5058
5059 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5060
ef24141c
SM
50612012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5062
cc356a5d
SM
5063 * ffap.el: Remove old code for obsolete package.
5064 (ffap-complete-as-file-p): Remove.
5065
b4ff4f1f
SM
5066 Use completion-table-with-quoting for comint and pcomplete.
5067 * comint.el (comint--unquote&requote-argument)
5068 (comint--unquote-argument, comint--requote-argument): New functions.
5069 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5070 (comint-quote-filename): Use regexp-opt-charset.
5071 (comint--common-suffix, comint--common-quoted-suffix)
5072 (comint--table-subvert): Remove.
5073 (comint-unquote-function, comint-requote-function): New vars.
5074 (comint--complete-file-name-data): Use them with
5075 completion-table-with-quoting.
5076 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5077 * pcomplete.el (pcomplete-arg-quote-list)
5078 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5079 (pcomplete-unquote-argument-function): Default to non-nil.
5080 (pcomplete-unquote-argument): Simplify.
5081 (pcomplete--common-quoted-suffix): Remove.
5082 (pcomplete-requote-argument-function): New var.
5083 (pcomplete--common-suffix): New function.
5084 (pcomplete-completions-at-point): Use completion-table-with-quoting
5085 and completion-table-subvert.
5086
79c4eeb4
SM
5087 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5088 (minibuffer--double-dollars): Preserve properties.
5089 (completion--sifn-requote): New function.
5090 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5091
ef24141c
SM
5092 * minibuffer.el: Add support for completion of quoted/escaped data.
5093 (completion-table-with-quoting, completion-table-subvert): New funs.
5094 (completion--twq-try, completion--twq-all): New functions.
5095 (completion--nth-completion): New function.
5096 (completion-try-completion, completion-all-completions): Use it.
5097
784e7d6e
LL
50982012-04-25 Leo Liu <sdl.web@gmail.com>
5099
dd2ac746
SM
5100 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5101 Use compilation-message if available to find real filename.
784e7d6e 5102
07875ee7
CY
51032012-04-25 Chong Yidong <cyd@gnu.org>
5104
5105 * vc/diff-mode.el (diff-setup-whitespace): New function.
5106 (diff-mode): Use it.
5107
5108 * vc/diff.el (diff-sentinel):
5109 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5110 Whitespace mode variables based on diff style (Bug#8612).
5111
5055880d
LL
51122012-04-25 Leo Liu <sdl.web@gmail.com>
5113
daf75653
LL
5114 * progmodes/python.el (python-send-region): Add suffix .py to the
5115 temp file.
5116
5055880d
LL
5117 * files.el (auto-mode-alist): Use javascript-mode instead.
5118
db9b177b
AH
51192012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5120
ef24141c 5121 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5122
090bd7cb 5123 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5124 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5125 references, see Bug#9.
ef24141c 5126 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5127 when receiving a fault reply.
ef24141c 5128 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5129
090bd7cb 5130 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5131 (soap-inspect-simple-type): New function.
db9b177b 5132
090bd7cb 5133 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5134 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5135 (soap-decode-basic-type, soap-encode-basic-type):
5136 support unsignedInt and double basic types.
db9b177b 5137 (soap-resolve-references-for-simple-type)
ef24141c
SM
5138 (soap-parse-simple-type, soap-encode-simple-type): New function.
5139 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5140
090bd7cb 5141 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5142 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5143 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5144 the local name of "soapenc:Array".
5145 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5146 decoding integer, byte and anyURI xsd types.
5147
1fc6097b
CY
51482012-04-25 Chong Yidong <cyd@gnu.org>
5149
5150 * cus-edit.el (custom-buffer-create-internal): Update header text.
5151
afc6df87
EZ
51522012-04-25 Eli Zaretskii <eliz@gnu.org>
5153
5154 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5155 settings on 'system-type', not on 'window-system'. On MS-Windows,
5156 set interactive-mode on in GDB.
5157
dfbd787f
SM
51582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5161 (ruby-syntax-propertize-regexp): Remove.
5162 (ruby-syntax-propertize-function): Split regexp into chunks.
5163 Match following code directly.
5164
85222d44
DG
51652012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5166
51a8ea2a
DG
5167 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5168 (ruby-syntax-propertize-regexp): New function.
5169 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5170 by a special keyword.
5171
85222d44
DG
5172 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5173 (ruby-syntax-general-delimiters-goto-beg)
5174 (ruby-syntax-propertize-general-delimiters): New functions.
5175 (ruby-syntax-propertize-function): Use them to handle GDL.
5176 (ruby-font-lock-keywords): Move old handling of GDL...
5177 (ruby-font-lock-syntactic-keywords): .. to here.
5178 (ruby-calculate-indent): Adjust indentation for GDL.
5179
b613912b
MA
51802012-04-24 Michael Albinus <michael.albinus@gmx.de>
5181
b5380639
MA
5182 * notifications.el (top): Remove unneeded declarations.
5183 (notifications-specification-version): Change to "1.2".
e43042fe 5184 (notifications-interface, notifications-notify-method)
b613912b
MA
5185 (notifications-close-notification-method): Fix docstring.
5186 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5187 (notifications-notify): Add :action-items, :resident and
5188 :transient hints. Change "image_data" to "image-data" and
5189 "image_path" to "image-path".
b613912b
MA
5190 (notifications-get-capabilities): New defun.
5191
257440aa
LL
51922012-04-24 Leo Liu <sdl.web@gmail.com>
5193
5194 * progmodes/python.el: Move hideshow setup to the end.
5195
b1bac16e
MR
51962012-04-24 Martin Rudalics <rudalics@gmx.at>
5197
5198 * window.el (handle-select-window): Clear echo area since this is
5199 no more done by read_char (Bug#11304).
5200
d81bd059
SM
52012012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5204 and `/ M' to filter-derived-mode.
5205 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5206 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5207 (ibuffer-mark-by-mode): Use default rather than initial-input.
5208 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5209
c4cf6d91
IA
52102012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5211
5212 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5213 (ibuffer-filter-by-derived-mode): New filter.
5214 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5215
7511ded8
CY
52162012-04-23 Andreas Politz <politza@fh-trier.de>
5217
5218 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5219
775c916b
CY
52202012-04-23 Chong Yidong <cyd@gnu.org>
5221
5222 * cus-edit.el (customize-apropos, customize-apropos-options):
5223 Disable matching of non-option variables (Bug#11176).
5224 (customize-option, customize-option-other-window)
5225 (customize-changed-options): Doc fix.
5226 (customize-apropos-options, customize-apropos-faces)
5227 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5228
5229 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5230 Fix word list splitting (Bug#11132).
46c71e23
CY
5231 (apropos-symbol, apropos-keybinding, apropos-label)
5232 (apropos-property, apropos-function-button)
5233 (apropos-variable-button, apropos-misc-button): New faces.
5234 (apropos-symbol-face, apropos-keybinding-face)
5235 (apropos-label-face, apropos-property-face, apropos-match-face):
5236 Variables removed (Bug#8396).
5237 (apropos-library-button, apropos-format-plist, apropos-print)
5238 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5239
2df41f9c
MA
52402012-04-23 Michael Albinus <michael.albinus@gmx.de>
5241
5242 * net/xesam.el (xesam-mode-map): Use let-bound map in
5243 initialization. (Bug#11292)
5244
da00640a
AM
52452012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5246
5247 Preserve ispell session localwords when switching back to
5248 original buffer.
5249
090bd7cb
JB
5250 * textmodes/ispell.el (ispell-buffer-session-localwords):
5251 New buffer-local variable to hold buffer session localwords.
ed9265fc 5252 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5253 localwords.
5254 (ispell-command-loop, ispell-change-dictionary)
5255 (ispell-buffer-local-words): Preserve session localwords when
5256 needed.
5257
090bd7cb
JB
5258 * textmodes/flyspell.el (flyspell-process-localwords)
5259 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5260
f621ccf5
AM
52612012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5262
090bd7cb
JB
5263 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5264 using obsolete `translation-table-for-input'.
ef24141c
SM
5265 (ispell-word, ispell-process-line, ispell-complete-word):
5266 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5267
c2d1019e
CY
52682012-04-22 Chong Yidong <cyd@gnu.org>
5269
5270 * cus-edit.el (custom-variable-menu)
5271 (custom-variable-reset-saved, custom-face-menu)
5272 (custom-face-reset-saved): If there is no saved value, make the
5273 "reset-saved" operation bring back the default (Bug#9509).
5274 (custom-face-state): Properly detect themed faces.
5275
eeddc531
CY
5276 * faces.el (face-spec-set): Stop supporting deprecated form of
5277 third arg.
5278
dcbf5805
MA
52792012-04-22 Michael Albinus <michael.albinus@gmx.de>
5280
5281 Move functions from C to Lisp. Make non-blocking method calls
5282 the default. Implement further D-Bus standard interfaces.
5283
ef24141c
SM
5284 * net/dbus.el (dbus-message-internal): Declare function.
5285 Remove unneeded function declarations.
dcbf5805
MA
5286 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5287 (dbus-message-type-method-return, dbus-message-type-error)
5288 (dbus-message-type-signal): Declare variables. Remove local
5289 definitions.
5290 (dbus-interface-dbus, dbus-interface-peer)
5291 (dbus-interface-introspectable, dbus-interface-properties)
5292 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5293 Adapt docstring.
5294 (dbus-interface-objectmanager): New defconst.
5295 (dbus-call-method, dbus-call-method-asynchronously)
5296 (dbus-send-signal, dbus-method-return-internal)
5297 (dbus-method-error-internal, dbus-register-service)
5298 (dbus-register-signal, dbus-register-method): New defuns, moved
5299 from dbusbind.c
5300 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5301 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5302 New defuns.
dcbf5805
MA
5303 (dbus-call-method-non-blocking): Make it an obsolete function.
5304 (dbus-unregister-object, dbus-unregister-service)
5305 (dbus-handle-event, dbus-register-property)
5306 (dbus-property-handler): Obey the new structure of
5307 `bus-registered-objects'.
5308 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5309 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5310 Use `dbus-call-method'.
5311
cf20dee0
CY
53122012-04-22 Chong Yidong <cyd@gnu.org>
5313
5314 * cus-edit.el (custom-commands, custom-reset-menu)
5315 (Custom-reset-standard): Tweak labels.
5316 (custom-reset-button-menu): Change default to t.
5317 (custom-buffer-create-internal): For the custom-reset-button-menu
5318 case, put the revert button first.
5319 (custom-group-subtitle): New face.
5320 (custom-group-value-create): Align docstring to a specific column.
5321
5322 * wid-edit.el (widget-documentation-link-add): Don't handle
5323 indentation in this function.
5324 (widget-documentation-string-indent-to): New function.
5325 (widget-documentation-string-value-create): Use it.
5326
5327 * autorevert.el (auto-revert):
5328 * epg-config.el (epg):
5329 * ibuffer.el (ibuffer):
5330 * mpc.el (mpc):
5331 * ses.el (ses):
5332 * eshell/eshell.el (eshell):
5333 * net/ange-ftp.el (ange-ftp):
5334 * progmodes/ebnf2ps.el (postscript):
5335 * progmodes/flymake.el (flymake):
5336 * progmodes/prolog.el (prolog):
5337 * progmodes/verilog-mode.el (verilog-mode):
5338 * progmodes/which-func.el (which-func):
5339 * term/xterm.el (xterm):
5340 * textmodes/picture.el (picture):
5341 * textmodes/tildify.el (tildify):
5342 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5343 customization buffers.
5344
583e23bd
AM
53452012-04-22 Alan Mackenzie <acm@muc.de>
5346
5347 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5348 Adding a ) can hide the resulting (..) from searches. Fix it.
5349 Bound the backward search to the position of the existing (.
5350
7dd51bf1
JB
53512012-04-21 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * progmodes/verilog-mode.el (verilog-mode): Check whether
5354 which-func-modes is t before adding verilog-mode.
5355 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5356
d64a438f
LL
53572012-04-21 Leo Liu <sdl.web@gmail.com>
5358
7dd51bf1 5359 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5360
081e8d65
MV
53612012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5362
5363 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5364 filling of the last column of a table (Bug#5635).
5365 (woman-find-next-control-line): New arg, specifying an additional
5366 regexp component for the control line.
5367 (woman2-roff-buffer): Use it.
5368 (woman-break-table): New function.
5369 (woman2-TS): Use it.
5370
53712012-04-21 Chong Yidong <cyd@gnu.org>
5372
5373 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5374 (woman-horizontal-escapes, woman-negative-vertical-space)
5375 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5376 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5377
ed571ccb
SM
53782012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * minibuffer.el (completion-file-name-table): Complete user names.
5381
39773899
LL
53822012-04-20 Leo Liu <sdl.web@gmail.com>
5383
5384 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5385 and pcase-let*.
5386
de6ff46d
CY
53872012-04-20 Chong Yidong <cyd@gnu.org>
5388
5389 * server.el (server-execute): Respect initial-buffer-choice if it
5390 is a string and there are no files to open (Bug#2825).
5391 (server-create-window-system-frame, server-create-tty-frame):
5392 Don't switch buffers here.
2d0e8e61
CY
5393 (server-process-filter): Only try to open a window system frame if
5394 compiled with graphical support (Bug#8314).
de6ff46d 5395
54071013
DN
53962012-04-20 Dan Nicolaescu <dann@gnu.org>
5397
5398 * battery.el (battery-echo-area-format): Display remaining time
5399 for sysfs backend too (Bug#11269).
5400 (battery-linux-sysfs): Fix conditional for the charge.
5401
f30d612a
CY
54022012-04-20 Chong Yidong <cyd@gnu.org>
5403
c07a4c0b 5404 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5405 (gdb-inferior-io--init-proc): New function.
5406 (gdb-init-1): Use it.
5407 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5408 responsible for allocating a new pty and hooking it to gdb when
5409 the old pty gets an EIO due to process exit.
5410 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5411 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5412 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5413
2116e93c
EZ
54142012-04-20 Eli Zaretskii <eliz@gnu.org>
5415
5416 * window.el (window-min-size, window-sizable, window-min-delta)
5417 (window-max-delta, window--resizable, window-resizable)
5418 (window-total-size, window-full-height-p, window-full-width-p)
5419 (window-in-direction, window--resize-mini-window, window-resize)
5420 (window--resize-child-windows-normal)
5421 (window--resize-child-windows, window--resize-siblings)
5422 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5423 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5424
c07a4c0b 54252012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5426
ef24141c
SM
5427 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5428 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5429 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5430 pty process (Bug#11273).
5431 (gdb-update): New arg to suppress talking to the gdb process.
5432 (gdb-done-or-error): Use it.
5433 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5434 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5435 sentinel not being called.
5436
5437 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5438
d02766ab
CY
5439 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5440
c07a4c0b 54412012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5442
5443 * net/network-stream.el (open-network-stream): Doc fix.
5444
c07a4c0b 54452012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5446
5447 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5448
c07a4c0b 54492012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5450
5451 Ensure searching for keywords is case sensitive.
5452
5453 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5454 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5455 (c-defun-name, c-mark-function, c-cpp-define-name)
5456 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5457 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5458
ef24141c
SM
5459 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5460 Bind case-fold-search to nil.
f0f6bc35 5461
c07a4c0b 54622012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5463
5464 * mail/sendmail.el (mail-bury): Call return action with the right
5465 Rmail buffer (Bug#11242).
5466
9a864fa2
CY
5467 * server.el (server-process-filter): Handle corner case where both
5468 tty and nowait options are present (Bug#11102).
5469
539aa513
EZ
54702012-04-20 Eli Zaretskii <eliz@gnu.org>
5471
5472 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5473 (top level): Put into the executable the ident-style '$Id:' tag on
5474 windows-nt as well.
539aa513 5475
cfc7d5da
SM
54762012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * electric.el (electric-indent-post-self-insert-function): Check that
5479 electric-indent-mode is enabled in current buffer.
5480
5b01685c
JB
54812012-04-19 Juanma Barranquero <lekktu@gmail.com>
5482
5483 * imenu.el (imenu-progress-message): Restore; it is "used" in
5484 erc/erc-imenu.el and net/snmp-mode.el.
5485
4d6769e1
JB
54862012-04-19 Juanma Barranquero <lekktu@gmail.com>
5487
5488 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5489 (mouse-avoidance-nudge-mouse): Remove unused binding.
5490
5491 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5492
5493 * descr-text.el (describe-char):
5494 * progmodes/python.el (python-describe-symbol):
5495 Don't call `toggle-read-only', set `buffer-read-only'.
5496
5497 * imenu.el (imenu-default-goto-function): Mark unused args.
5498 (imenu-progress-message): Remove obsolete macro; all callers changed.
5499
5500 * subr.el (keymap-canonicalize): Remove unused binding.
5501 (read-passwd): Mark unused arg.
5502
5503 * tutorial.el (tutorial--display-changes): Remove unused binding.
5504 (tutorial--save-tutorial-to): Remove unused variable.
5505
5506 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5507 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5508 (package-generate-autoloads, package-menu--generate)
5509 (package-menu--find-upgrades): Remove unused bindings.
5510
5511 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5512 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5513 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5514 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5515 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5516 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5517 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5518 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5519 (cua-delete-char-rectangle): Mark unused args.
5520 (cua-align-rectangle): Remove unused binding.
5521
5522 * mail/rmail.el (compilation--message->loc)
5523 (epa--find-coding-system-for-mime-charset): Declare.
5524
5525 * net/dbus.el (dbus-register-service): Declare.
5526 (dbus-name-owner-changed-handler): Remove unused binding.
5527
5528 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5529 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5530 (nxml-scan-backward-within): Mark unused arg.
5531 (nxml-dynamic-markup-word): Remove unused binding.
5532
5533 * mouse.el (mouse-menu-major-mode-map):
5534 * emacs-lisp/authors.el (authors-scan-change-log)
5535 (authors-add-to-author-list):
5536 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5537 * emacs-lisp/smie.el (smie-auto-fill):
5538 * mail/sendmail.el (mail-bury):
5539 * mail/unrmail.el (unrmail):
5540 * net/tls.el (open-tls-stream):
5541 * textmodes/picture.el (picture-mouse-set-point):
5542 Remove unused bindings.
5543
8c8fc5df
MA
55442012-04-19 Michael Albinus <michael.albinus@gmx.de>
5545
5546 * net/tramp.el (tramp-action-password): Let-bind
5547 `enable-recursive-minibuffers' to t.
5548
a77b0ac9
SS
55492012-04-18 Sam Steingold <sds@gnu.org>
5550
5551 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5552 instead of 'string to accommodate values like [f11].
5553 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5554 * progmodes/gdb-mi.el: Likewise.
5555
12a106a9
LL
55562012-04-18 Leo Liu <sdl.web@gmail.com>
5557
5558 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5559 current buffer.
5560 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5561 LOCAL is nil.
5562
bc6494ef
CY
55632012-04-18 Chong Yidong <cyd@gnu.org>
5564
5565 * simple.el (line-move): Use forward-line if in batch mode
5566 (Bug#11053).
5567
c09c46b2
CS
55682012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5569
5570 * files.el (after-find-file): Do not try to add a final newline if
5571 the buffer is read-only (Bug#11156).
5572
5f6530ea
RS
55732012-04-17 Richard Stallman <rms@gnu.org>
5574
5575 * mail/rmail.el (rmail-start-mail):
5576 Pass (rmail-mail-return...) for the return-action.
5577 Pass (rmail-yank-current-message...) for the yank-action.
5578 (rmail-yank-current-message): New function.
5579 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5580 (rmail-reply): Likewise.
5581 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5582
5583 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5584 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5585 buffer, not newbuf.
5586
197b6f3c
JB
55872012-04-17 Juanma Barranquero <lekktu@gmail.com>
5588
5589 * server.el (server-ensure-safe-dir): Simplify.
5590
2311d8e5 55912012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5592
2311d8e5
GM
5593 * emacs-lisp/smie.el: Provide smarter auto-filling.
5594 (smie-auto-fill): New function.
5595 (smie-setup): Use it.
98fb480e 5596
2311d8e5
GM
5597 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5598
55992012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5600
5601 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5602 (comment-indent): Use it.
5603
2311d8e5 56042012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5605
5606 * ses.el: The overall change is to add cell renaming, that is
5607 setting fancy names for cell symbols other than name matching
5608 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5609 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5610 (ses-create-cell-variable): New defun.
2311d8e5 5611 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5612 (ses-relocate-formula): Relocate formulas only for cells the
5613 symbols of which are not renamed, i.e. symbols whose names do not
5614 match regexp "\\`[A-Z]+[0-9]+\\'".
5615 (ses-relocate-all): Relocate values only for cells the symbols of
5616 which are not renamed.
5617 (ses-load): Create cells variables as the (ses-cell ...) are read,
5618 in order to check row col consistency with cell symbol name only
5619 for cells that are not renamed.
5620 (ses-replace-name-in-formula): New defun.
5621 (ses-rename-cell): New defun.
4bdf2ad2 5622
fc72b15c
PO
56232012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5624
5625 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5626 New option (bug#11118).
5627 (perl-calculate-indent): Respect it.
5628
12e10e61
GM
56292012-04-17 Glenn Morris <rgm@gnu.org>
5630
5631 * dired-aux.el (dired-mark-read-string): Doc fix.
5632
30009afd
DA
56332012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5634
5635 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5636 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5637
41f03f4d
GM
56382012-04-17 Glenn Morris <rgm@gnu.org>
5639
5640 * mouse.el (mouse-drag-track):
5641 * speedbar.el (speedbar-frame-mode):
5642 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5643
f45f90f3
LL
56442012-04-16 Leo Liu <sdl.web@gmail.com>
5645
5646 * progmodes/python.el: Trivial cleanup.
5647
94ee8db5
GM
56482012-04-16 Glenn Morris <rgm@gnu.org>
5649
121b8917
GM
5650 * vc/vc.el (vc-string-prefix-p):
5651 * vc/pcvs-util.el (cvs-string-prefix-p):
5652 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5653 * mpc.el (mpc-string-prefix-p):
5654 Make all of these into obsolete aliases for string-prefix-p.
5655 Update callers.
5656 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5657
1197ecfa
GM
5658 * textmodes/two-column.el: Move custom options to the start.
5659 (frame-width): Remove compat definition.
5660 (2C-associate-buffer, 2C-dissociate):
5661 Use with-current-buffer rather than save-excursion.
5662 (2C-dissociate): Force a mode-line update.
5663 (2C-autoscroll): Use ignore-errors.
5664
099e7202
GM
5665 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5666 Autoload trivia.
5667
bf350d6a
GM
5668 * emacs-lisp/cl-extra.el (*random-state*):
5669 Remove unnecessary declaration.
5670
0e829eab
GM
5671 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5672
e3ad7552
GM
5673 * play/cookie1.el (cookie-snarf):
5674 Give an explicit error if input file cannot be read.
5675
68892d27
GM
5676 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5677
20f0c46d
GM
5678 * progmodes/perl-mode.el (c-macro-expand):
5679 Remove unnecessary autoload (it is in loaddefs.el).
5680
5a0978ce
GM
5681 * textmodes/picture.el (picture-desired-column)
5682 (picture-update-desired-column): Convert comments to doc-strings.
5683 (picture-substitute): Remove function.
5684 (picture-mode-map): Initialize in the defvar.
5685
6b955486
GM
5686 * woman.el: Remove eval-after-load for tar-mode.
5687 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5688 (woman-tar-extract-file): Autoload it.
5689
94ee8db5
GM
5690 * frame.el (automatic-hscrolling): Make this alias obsolete.
5691
177eca34
AM
56922012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5693
090bd7cb 5694 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5695 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5696 (ispell-dictionary-base-alist): Revert to original XEmacs
5697 friendly version for default. [:alpha:] will be added in
090bd7cb 5698 `ispell-set-spellchecker-params' if needed.
177eca34 5699
c505aaeb
CY
57002012-04-16 Chong Yidong <cyd@gnu.org>
5701
b19dd9d1 5702 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5703 (imagemagick-register-types): Use it.
5704 (imagemagick-types-inhibit): Add :set function. Allow new value
5705 of t to inhibit all types.
5706
5707 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5708 so we can preload it.
5709
5710 * loadup.el (fboundp): Preload regexp-opt, needed by
5711 imagemagick-register-types.
5712
60efac0f
CY
57132012-04-15 Chong Yidong <cyd@gnu.org>
5714
5715 * frame.el (scrolling): Remove nearly unused customization group.
5716
5717 * scroll-all.el (scroll-all-mode): Move to windows group.
5718
5dd1713e
CY
57192012-04-15 Chong Yidong <cyd@gnu.org>
5720
5721 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5722
e6fd457e
CY
57232012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5726 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5727
e153c136
GM
57282012-04-15 Glenn Morris <rgm@gnu.org>
5729
5730 * simple.el (process-file-side-effects): Doc fix.
5731
e6fd457e 57322012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5733
5734 * international/mule-cmds.el (set-language-environment): Doc fix.
5735
3603c3b1
JB
57362012-04-14 Juanma Barranquero <lekktu@gmail.com>
5737
5738 * server.el (server-auth-key, server-generate-key): Doc fixes.
5739 (server-get-auth-key): Doc fix. Use `string-match-p'.
5740 (server-start): Reflow docstring.
5741
e6de100c
LI
57422012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5743
5744 * server.el (server-generate-key): `called-interactively-p'
5745 requires a parameter.
5746
29734c21
MN
57472012-04-14 Michal Nazarewicz <mina86@mina86.com>
5748
5749 * server.el (server-auth-key): New variable.
75f1671a 5750 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5751 (server-start): Use the new variable and functions to allow
5752 setting a permanent server key (bug#9423).
5753
d65c9521
LL
57542012-04-14 Leo Liu <sdl.web@gmail.com>
5755
5756 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5757
5ae255c7
PE
57582012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5759
5760 Spelling fixes.
5761 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5762 Emacs uses American spelling.
5763
d5e6342e
JB
57642012-04-14 Juanma Barranquero <lekktu@gmail.com>
5765
5766 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5767 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5768 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5769 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5770
ab036cd7
SM
57712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * progmodes/which-func.el (which-func-modes): Change default.
5774
35dc09a1 57752012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5776
5777 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5778 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5779
35dc09a1 57802012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5781
5782 * custom.el (custom-theme-set-variables): Doc fix.
5783
35dc09a1 57842012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5785
5786 * international/mule.el (set-auto-coding-for-load): Doc fix.
5787
35dc09a1 57882012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5789
35dc09a1
GM
5790 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5791 imenu work again for Objective C Mode. Correct the *-index values,
5792 these having been disturbed by a previous change in 2011-08.
57f845ee 5793
0de3da9f
AM
5794 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5795 Correct two search limits.
5796
35dc09a1 57972012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5798
5799 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5800
35dc09a1 58012012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5802
5803 * international/characters.el: Fix sorting.
5804
35dc09a1 58052012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5806
5807 * international/characters.el: Add more missing Latin case pairs.
5808
35dc09a1 58092012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5810
5811 * files.el (dir-locals-set-class-variables): Doc fix.
5812
35dc09a1 58132012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5814
3f1b5bf8
EZ
5815 * international/characters.el: Add set-case-syntax-pair call for
5816 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5817 counterpart. (Bug#11209)
5818
9f847f41
EZ
5819 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5820
35dc09a1 58212012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5822
5823 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5824
35dc09a1 58252012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5826
35dc09a1
GM
5827 * textmodes/ispell.el (ispell-dictionary-base-alist):
5828 Add data for Hebrew.
e2627d21 5829
35dc09a1 58302012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5831
35dc09a1
GM
5832 * net/rcirc.el (rcirc-cmd-quit):
5833 Revert 2012-03-18 change (Bug#11192).
5c14e333 5834
35dc09a1 58352012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5836
5837 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5838
35dc09a1 58392012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5840
4517fe3a
SM
5841 * minibuffer.el (completion-in-region-mode-map):
5842 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5843
b472a594
VD
58442012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5845
5846 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5847
09b95ce3
MY
58482012-04-13 Masatake YAMATO <yamato@redhat.com>
5849
5850 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5851 to allow `C-M-f' and `C-M-b' to move to the nearest path
5852 separator (bug#9511).
5853
4b63a9ca
LI
58542012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5855
5856 * avoid.el: Require cl when compiling. And also move the
5857 `provide' to the end.
5858
7b55b8bf
TV
58592012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5860
5861 * avoid.el (mouse-avoidance-banish-position): New variable.
5862 (mouse-avoidance-banish-destination): Use it (bug#10165).
5863
adedaa1f
LL
58642012-04-13 Leo Liu <sdl.web@gmail.com>
5865
5866 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5867
70e74021
KB
58682012-04-13 Ken Brown <kbrown@cornell.edu>
5869
5870 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5871 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5872 (browse-url-filename-alist): For the same reason, don't modify
5873 file:// URLs on Cygwin.
5874
e75e89ba
SM
58752012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5878 the region on shift if the binding is already shifted (bug#11221).
5879
82f289a4
GM
58802012-04-12 Glenn Morris <rgm@gnu.org>
5881
5882 * mail/mailpost.el: Move to obsolete/.
5883
d333dc4c
DA
58842012-04-12 Drew Adams <drew.adams@oracle.com>
5885
5886 * imenu.el (imenu--generic-function): Ignore invisible definitions
5887 (bug#10123).
5888
0d15b5ba
VD
58892012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5890
5891 * hexl.el (hexl-bits): New variable.
5892 (hexl-options): Mention the variable in the doc string.
75f1671a 5893 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5894 (hexl-mode): Mention the new variable.
75f1671a
JB
5895 (hexl-mode, hexl-current-address, hexl-current-address):
5896 Use the displen.
0d15b5ba
VD
5897 (hexl-ascii-start-column): New function.
5898 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5899 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5900
64a440db
AM
59012012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5902
5903 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5904 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5905 the encoding, as expected by hunspell.
5906
6decb6c2
SM
59072012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * battery.el (battery--linux-sysfs-regexp): New const.
5910 (battery-status-function): Use it. Remove yeeloong special case.
5911 (battery-yeeloong-sysfs): Remove.
5912 (battery-echo-area-format): Remove yeeloong special case.
5913
088be6fb
SM
59142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5915
6622e416
SM
5916 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5917 Reported by Noah Friedman.
5918
088be6fb
SM
5919 * subr.el (read-passwd): Use read-string.
5920
b49f886e
LMI
59212012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5922
5923 * vcursor.el (vcursor-move): Increase the priority of the overlay
5924 (bug#9663).
5925
a63067fc
DD
59262012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5927
5928 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5929 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5930
ac3cf14a
WS
59312012-04-11 William Stevenson <yhvh2000@gmail.com>
5932
5933 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5934 define-minor-mode (bug#10760).
5935
c4fc691b 59362012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5937
4d6769e1 5938 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5939 that directories matching `grep-find-ignored-files' won't be
5940 pruned (bug#10351).
5941
af23e2e5
CY
59422012-04-11 Chong Yidong <cyd@gnu.org>
5943
5944 * startup.el (command-line): Remove support for long-obsolete
5945 variable font-lock-face-attributes.
5946
ab7ce8c1
GM
59472012-04-11 Glenn Morris <rgm@gnu.org>
5948
5949 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5950
de8c03dc
SM
59512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * window.el (window--state-get-1): Obey window-point-insertion-type.
5954
050cc68b
LB
59552012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5956
5957 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5958 to previous function when point is on the first character of a
75f1671a 5959 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5960
a38c310c
GM
59612012-04-11 Glenn Morris <rgm@gnu.org>
5962
effed0c2
GM
5963 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5964 not just file-errors.
5965
a38c310c
GM
5966 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5967 (vc-bzr-sha1): Use internal sha1.
5968
0221e323
SM
59692012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5972
43956923
SG
59732012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5974
5975 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5976 that start in the middle of the line (bug#10496).
5977
6a8c9eaf
DN
59782012-04-10 Dan Nicolaescu <dann@gnu.org>
5979
5980 * battery.el (battery-linux-proc-acpi): Only one battery is
5981 discharged at a time, but that seems to confuse battery.el when
5982 computing `rate-type' for the battery not being discharged
5983 (bug#10332).
5984
1930bf5d
SM
59852012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5986
2a718f6f
SM
5987 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5988
599430d0
SM
5989 * international/quail.el: Use dolist and simplify.
5990 (quail-define-package, quail-update-keyboard-layout)
5991 (quail-define-rules): Use dolist.
5992 (quail-insert-kbd-layout, quail-get-translation): CSE.
5993
a2754b6c
SM
5994 * tmm.el: Use dolist, remove left over hook.
5995 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5996 Use dolist.
5997 (calendar-load-hook): Don't mess with it.
5998
1930bf5d
SM
5999 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6000 Use derived-mode-p. Run the diff asynchronously.
6001
9f67961c
LMI
60022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6003
6004 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6005
2a8ce227
JB
60062012-04-10 Juanma Barranquero <lekktu@gmail.com>
6007
6008 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6009 (list-dynamic-libraries--loaded): New function.
6010 (list-dynamic-libraries--refresh): Use it.
6011
8f33b5f8
NW
60122012-04-10 Nathan Weizenbaum <nweiz@google.com>
6013
1930bf5d
SM
6014 * progmodes/python.el (python-fill-paragraph):
6015 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6016 disabled (bug#7018).
6017
b12f0439
L
60182012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6019
1930bf5d 6020 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6021 DOS/MS Windows for the Baltic languages. There are still plenty
6022 of texts written in this encoding/codepage (bug#6519).
b12f0439 6023
57c3bd01
GM
60242012-04-10 Glenn Morris <rgm@gnu.org>
6025
6026 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6027 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6028
6c3eab30
FA
60292012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6030
1930bf5d 6031 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6032 next-line "n" and previous-line "p" in order to make recentf more
6033 consistent with ibuffer, dired or org-mode (bug#9387).
6034
24d78a88
LMI
60352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6036
bc72b5d9
LMI
6037 * image.el (put-image): Return the overlay created instead of the
6038 optional input string (bug#7834). Note that this may break code
6039 that is (for some reason or other) depending on `put-image'
6040 returning the string.
6041
bd2dba5a
LMI
6042 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6043
74beb59f
LMI
6044 * simple.el (zap-to-char): Allow zapping using input methods
6045 (bug#1580).
6046
24d78a88
LMI
6047 * textmodes/fill.el (fill-region): Leave point and mark where they
6048 were before filling (bug#5399).
6049
263f20cd
GM
60502012-04-09 Glenn Morris <rgm@gnu.org>
6051
6052 * version.el (emacs-bzr-get-version):
6053 Handle lightweight checkouts of local branches.
6054
58d1f797
AS
60552012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6056
263f20cd 6057 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6058
b4d3bc10
CY
60592012-04-09 Chong Yidong <cyd@gnu.org>
6060
6061 * custom.el (custom-variable-p): Return nil for non-symbol
6062 arguments instead of signaling an error.
6063 (user-variable-p): Obsolete alias for custom-variable-p.
6064
6065 * apropos.el (apropos-variable):
6066 * files-x.el (read-file-local-variable):
6067 * simple.el (set-variable):
6068 * woman.el (woman-mini-help):
6069 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6070
fd06db5d
GM
60712012-04-09 Glenn Morris <rgm@gnu.org>
6072
e5fcdb5e
GM
6073 * startup.el (normal-top-level): Don't look for leim-list.el
6074 in places where it will not be found. (Bug#910)
6075
fd06db5d
GM
6076 * international/mule-cmds.el (set-default-coding-systems):
6077 * files.el (normal-mode):
6078 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6079 This function was removed with ucs-tables.el in 2008.
6080
b39bb7e1
EZ
60812012-04-08 Eli Zaretskii <eliz@gnu.org>
6082
6083 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6084 ispell-encoding8-command to "-i", without a trailing space.
6085 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6086 separate command-line arguments, to specify the encoding, since
6087 that's how hunspell expects it.
6088
5c5b8e23
GM
60892012-04-08 Glenn Morris <rgm@gnu.org>
6090
6091 * loadup.el: Load bindings before cus-start.
6092 This reduces somewhat the number of "rogue" settings in emacs -Q.
6093
a1ed8b05
GM
60942012-04-07 Glenn Morris <rgm@gnu.org>
6095
6096 * version.el (emacs-bzr-get-version): New function.
dfae128a 6097 (emacs-bzr-version): New variable.
a1ed8b05
GM
6098 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6099 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6100
b142f158
EZ
61012012-04-07 Eli Zaretskii <eliz@gnu.org>
6102
dfae128a
GM
6103 * international/uni-bidi.el, international/uni-category.el:
6104 * international/uni-combining.el, international/uni-decimal.el:
6105 * international/uni-decomposition.el, international/uni-digit.el:
6106 * international/uni-lowercase.el, international/uni-mirrored.el:
6107 * international/uni-name.el, international/uni-numeric.el:
6108 * international/uni-titlecase.el, international/uni-uppercase.el:
6109 Update for Unicode 6.1.
b142f158 6110
9078ead6
EZ
61112012-04-07 Eli Zaretskii <eliz@gnu.org>
6112
6113 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6114
f23d2c7d
LMI
61152012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6116
6117 * window.el (shrink-window): Mention the `window-min-height'
6118 variable in the doc string.
6119
0a0a3573
BG
61202012-04-05 Bastien Guerry <bzg@altern.org>
6121
6122 * color.el (color-lighten-name): Fix typo.
6123
e5248ac9
SM
61242012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * server.el (server--on-display-p): New function.
6127 (server--on-display-p): Use it.
6128
b4243e22
GV
61292012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6130
6131 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6132 (bug#11145).
6133
305d9f44
SM
61342012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * comint.el (comint--common-quoted-suffix): Check string boundary
6137 before comparing (bug#11158).
6138 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6139
3d439cd1
CY
61402012-04-04 Chong Yidong <cyd@gnu.org>
6141
321cc491
CY
6142 * minibuffer.el (completion-extra-properties): Doc fix.
6143
3d439cd1
CY
6144 * subr.el (delayed-warnings-hook): Doc fix.
6145
2d562c0f
DU
61462012-04-04 Daiki Ueno <ueno@unixuser.org>
6147
6148 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6149 selection (Bug#11159).
6150 (epa-insert-keys): Inform that the default public key will be
6151 exported if no key is selected.
6152
4443f204
RS
61532012-04-04 Richard Stallman <rms@gnu.org>
6154
6155 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6156
529c06b6
CY
61572012-04-03 Chong Yidong <cyd@gnu.org>
6158
6159 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6160 mail-insert-file, not its obsolete alias mail-attach-file.
6161
66b907dc
MA
61622012-04-03 Michael Albinus <michael.albinus@gmx.de>
6163
6164 * notifications.el (notifications-notify): Fix docstring.
6165
c0ea195d
GM
61662012-04-02 Glenn Morris <rgm@gnu.org>
6167
6168 * emacs-lisp/authors.el (authors-aliases): Another addition.
6169
5ca64e00
MA
61702012-04-02 Michael Albinus <michael.albinus@gmx.de>
6171
6172 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6173 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6174 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6175
42ee526b
CY
61762012-04-01 Chong Yidong <cyd@gnu.org>
6177
6178 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6179 Handle root directory properly.
6180 (copy-directory): Caller changed.
6181
6182 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6183 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6184
0b021094
GM
61852012-03-31 Glenn Morris <rgm@gnu.org>
6186
40f86458
GM
6187 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6188
7019c177
GM
6189 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6190
a1daddd6
GM
6191 * calendar/calendar.el (calendar-window-list)
6192 (calendar-hide-window): Restore. (Bug#11140)
6193 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6194
0b021094
GM
6195 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6196
40311efc
TV
61972012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6198
6199 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6200 Check if file is a symlink (Bug#10489).
6201
6202 * files.el (copy-directory): Likewise.
6203
5319014e
CY
62042012-03-30 Chong Yidong <cyd@gnu.org>
6205
6206 * image.el (imagemagick-types-inhibit)
6207 (imagemagick-register-types): Doc fix.
6208
935d1290
AM
62092012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6210
090bd7cb 6211 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6212 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6213 and treats ~word as ordinary words in pipe mode.
935d1290 6214
61c6e8fd
GM
62152012-03-30 Glenn Morris <rgm@gnu.org>
6216
6217 * tutorial.el (help-with-tutorial): Ensure local variables don't
6218 happen to make the buffer read-only. (Bug#11127)
6219
81fdff00
SM
62202012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6223 (perl-calculate-indent): Return `noindent' in strings.
6224
6e7a6ec0
SS
62252012-03-28 Sam Steingold <sds@gnu.org>
6226
6227 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6228 instead of the broken adhockery which does not prevent calendar
6229 buffers from being displayed at random after exit.
6230 (calendar-window-list, calendar-hide-window): Remove the broken
6231 adhockery.
6232
fee88ca0
GM
62332012-03-28 Glenn Morris <rgm@gnu.org>
6234
6235 * replace.el (query-replace-map): Doc fix.
6236
38de3354
AS
62372012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6238
6239 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6240 contents. (Bug#11109)
6241
b973155e
SM
62422012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6245 (bug#11077).
6246 (avl-tree--check, avl-tree--check-node): New funs.
6247
dcb6e7b3
MR
62482012-03-27 Martin Rudalics <rudalics@gmx.at>
6249
6250 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6251 (switch-to-prev-buffer, switch-to-next-buffer):
6252 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6253 showing a buffer already is done on the same frame.
6254
b4fa35fa
GM
62552012-03-27 Glenn Morris <rgm@gnu.org>
6256
6257 * startup.el (mail-host-address): Doc fix.
6258
f9210e18
SM
62592012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6262 than 197 variables.
6263
c0bf7753
AF
62642012-03-26 Ami Fischman <ami@fischman.org>
6265
6266 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6267
33da7b16
GM
62682012-03-26 Glenn Morris <rgm@gnu.org>
6269
02243d9d
GM
6270 * files.el (save-buffers-kill-emacs): Doc fix.
6271
33da7b16
GM
6272 * startup.el (normal-top-level, command-line, command-line-1):
6273 Give them doc strings.
6274
e5a69fd0
EZ
62752012-03-25 Eli Zaretskii <eliz@gnu.org>
6276
6277 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6278 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6279
9a69676a
CY
62802012-03-25 Chong Yidong <cyd@gnu.org>
6281
4125cb8b
CY
6282 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6283 theme if it was previously enabled before (Bug#11031).
6284
dd470960
CY
6285 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6286 spec with custom-face-get-current-spec if its :shown-value is not
6287 determined yet (Bug#9337).
4125cb8b 6288 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6289
9a69676a
CY
6290 * button.el (button-at): Minor addition to docstring.
6291
6e7e90fa
SL
62922012-03-24 Simon Leinen <simon.leinen@gmail.com>
6293
6294 * vc/vc.el (vc-merge): Fix a prompt.
6295
f06e2758
CY
62962012-03-24 Chong Yidong <cyd@gnu.org>
6297
6298 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6299 point (Bug#9623).
6300
6e7e90fa
SL
6301 * button.el (button-at): Minor addition to docstring.
6302
b9d0879b
SM
63032012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * newcomment.el (comment-choose-indent): No space after BOL.
6306
e71cebb3
SS
63072012-03-22 Sam Steingold <sds@gnu.org>
6308
6309 * window.el (switch-to-prev-buffer): Revert last patch because the
6310 bug turned out to be an advertised feature (Elisp manual 28.14).
6311
335aff35
GM
63122012-03-22 Glenn Morris <rgm@gnu.org>
6313
6314 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6315 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6316
c676576a
LMI
63172012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6318
6319 * net/network-stream.el (network-stream-open-starttls): Make error
6320 message under Windows be less misleading.
6321
126f3d39
LW
63222012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6323
6324 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6325 understands (bug#9942).
6326
64fee311
CY
63272012-03-22 Chong Yidong <cyd@gnu.org>
6328
6329 * simple.el (end-of-visible-line): Handle return value of
6330 next-single-property-change properly (Bug#9371).
6331
a640d29a
KH
63322012-03-22 Kenichi Handa <handa@m17n.org>
6333
6334 * international/quail.el (quail-insert-kbd-layout): Fix previous
6335 change. To avoid unwanted bidi reordering, use
6336 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6337
39675016
DG
63382012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6339
6340 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6341 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6342 (ruby-beginning-of-indent): Be more careful with the difference
6343 between word-boundary and symbol boundary.
6344 (ruby-mode-syntax-table): Make : a symbol constituent.
6345
0a6934fc 63462012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6347
3d008e4f
SM
6348 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6349
0a6934fc
SM
63502012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6351
af67c9d7
SM
6352 * progmodes/etags.el (tags-completion-at-point-function):
6353 Improve last fix.
6354
1acad97c
SM
6355 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6356
e298b5da
SS
63572012-03-21 Sam Steingold <sds@gnu.org>
6358
6359 * progmodes/etags.el (tags-completion-at-point-function):
6360 Avoid the error when point is inside the pattern.
6361
91d82a70
JY
63622012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6363
6364 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6365 line (Bug#10855).
6366
69188b79
CY
63672012-03-21 Drew Adams <drew.adams@oracle.com>
6368
6369 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6370
99fc91fe
AK
63712012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6372
6373 * ido.el (ido-set-current-directory, ido-read-internal)
6374 (ido-choose-completion-string, ido-completion-help): Handle nil
6375 value of ido-completion-buffer (Bug#11008).
6376
087bbb4c
SS
63772012-03-21 Sam Steingold <sds@gnu.org>
6378
6379 * window.el (switch-to-prev-buffer): Do not switch to a visible
6380 window previous buffer, just like with the frame previous buffers.
6381
fb5b8aca
CY
63822012-03-21 Chong Yidong <cyd@gnu.org>
6383
6384 * faces.el (make-face, make-empty-face, copy-face):
6385 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6386 Doc fixes.
6387
dc9924b8
SM
63882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6391 (widget-complete): Remove broken use of it.
6392
f0bcceb9
CY
63932012-03-20 Chong Yidong <cyd@gnu.org>
6394
dc9924b8
SM
6395 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6396 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6397 characters.
6398
ee52ebf3
TH
63992012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6400
6401 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6402 to draw rectangles, not squares. (Regression introduced by revno
6403 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6404
4c5779ab
CY
64052012-03-18 Chong Yidong <cyd@gnu.org>
6406
6407 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6408 it is not yet defined (for temacs).
6409
15360934
LL
64102012-03-18 Leo Liu <sdl.web@gmail.com>
6411
dc9924b8 6412 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6413
d9a8eb66
EZ
64142012-03-17 Eli Zaretskii <eliz@gnu.org>
6415
6416 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6417 (ispell-choices-win-default-height, ispell-silently-savep)
6418 (ispell-dictionary-alist, ispell-encoding8-command)
6419 (ispell-check-version, ispell-aspell-find-dictionary)
6420 (ispell-valid-dictionary-list, ispell-words-keyword)
6421 (ispell-get-word, ispell-internal-change-dictionary)
6422 (ispell-region, ispell-skip-region-list)
6423 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6424 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6425 (ispell-message-text-end, ispell-message)
6426 (ispell-buffer-local-parsing): Doc fix.
6427
f02ff80d
J
64282012-03-13 Jambunathan K <kjambunathan@gmail.com>
6429
6430 * htmlfontify.el: Add support for code block fontification for ODT
6431 export (Bug #9914).
6432 (hfy-optimisations): Define new option
6433 `body-text-only'
6434 (hfy-fontify-buffer): Honor above setting.
6435 (hfy-begin-span, hfy-end-span): New routines factored out form
6436 `hfy-fontify-buffer'.
6437 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6438 that permit insertion of custom tags.
6439 (hfy-fontify-buffer): Use above handlers.
6440 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6441 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6442 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6443 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6444 bind a special variable `hfy-user-sheet-assoc'.
6445 (htmlfontify-string): New defun.
6446 (hfy-compile-face-map): Make sure that the last char in the
6447 buffer is correctly fontified.
6448 (hfy-face-resolve-face): Whitespace only change.
6449
9ac7a13f
EZ
64502012-03-17 Eli Zaretskii <eliz@gnu.org>
6451
6452 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6453 message more clear.
6454
e2b5bdd7
LL
64552012-03-16 Leo Liu <sdl.web@gmail.com>
6456
6457 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6458
2e492df3
AM
64592012-03-16 Alan Mackenzie <acm@muc.de>
6460
6461 Further optimise the handling of large macros.
6462
6463 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6464 limit to a call of `c-literal-limits'.
6465 (c-determine-+ve-limit): New function.
dc9924b8
SM
6466 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6467 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6468 In CASE 5B, restrict a search limit to 500.
6469 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6470
6471 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6472 Restrict macro bounds to +-500 from after-change's BEG END.
6473
50e94f0c
LL
64742012-03-16 Leo Liu <sdl.web@gmail.com>
6475
6476 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6477
6f09f6ed
AH
64782012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6479
6480 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6481 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6482
c7e73d51
GM
64832012-03-16 Glenn Morris <rgm@gnu.org>
6484
da986230
GM
6485 * view.el (view-buffer, view-buffer-other-window)
6486 (view-buffer-other-frame): Doc fixes re special mode-class.
6487
0835f01e
GM
6488 * subr.el (eval-after-load): If named feature is provided not from
6489 a file, run after-load forms. (Bug#10946)
6490
c7e73d51
GM
6491 * calendar/calendar.el (calendar-insert-at-column):
6492 Handle non-unit-width characters a bit better. (Bug#10978)
6493
3f2eafd1
CY
64942012-03-15 Chong Yidong <cyd@gnu.org>
6495
6496 * emacs-lisp/ring.el (ring-extend): New function.
6497 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6498
6499 * comint.el (comint-read-input-ring)
6500 (comint-add-to-input-history): Grow comint-input-ring lazily.
6501
103af3fe
SM
65022012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6503
663b1677
SM
6504 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6505 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6506
103af3fe
SM
6507 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6508 (imenu-add-to-menubar): Don't add a redundant index.
6509 (imenu-update-menubar): Handle a dynamically composed keymap.
6510
899cb7cb
KY
65112012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6512
6513 * mail/sendmail.el (mail-encode-header):
6514 Bind rfc2047-encode-encoded-words to nil.
6515
3809f91d
GM
65162012-03-13 Glenn Morris <rgm@gnu.org>
6517
6518 * calendar/calendar.el (calendar-string-spread):
6519 Handle non-unit-width characters a bit better. (Bug#10978)
6520
9e345a01
LL
65212012-03-13 Leo Liu <sdl.web@gmail.com>
6522
6523 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6524 directory and file as argument (Bug#10822).
6525
4a07df36
KS
65262012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6527
6528 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6529 For dynamically generated code, follow $PC.
6530 (gdb-disassembly-handler-custom): Handle no function name case.
6531
4aaa9356
TL
65322012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6533
6534 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6535 * emulation/ws-mode.el (ws-query-replace):
6536 * sort.el (sort-regexp-fields):
6537 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6538
225979da
SM
65392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * dabbrev.el: Fix cycle completion order (bug#10963).
6542 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6543 (dabbrev-completion): Don't use an obarray; provide
6544 a cycle-sort-function.
6545
e2f1fdab
LL
65462012-03-12 Leo Liu <sdl.web@gmail.com>
6547
dc9924b8 6548 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6549 (kill-do-not-save-duplicates): Doc fix.
6550
b19490ed
SM
65512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * dabbrev.el: Fix cycle completion (bug#10963).
6554 Use lexical binding and wrap to 80 columns.
6555 (dabbrev-completion): Delay computing the list of completions.
6556
4b05d722
KH
65572012-03-12 Kenichi Handa <handa@m17n.org>
6558
6559 * international/quail.el (quail-insert-kbd-layout): Surround each
6560 row by LRO and PDF instead of inserting many LRMs. Pad the left
6561 and right of each non-spacing marks. Insert invisible space
6562 between lower and upper characters to prevent composition.
6563
dbbc2e69
SM
65642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * minibuffer.el (minibuffer-complete): Don't get confused when the
6567 function is run twice via different commands (bug#10958).
6568 (complete-with-action): Fix docstring.
6569
292112ed
CY
65702012-03-12 Chong Yidong <cyd@gnu.org>
6571
5d1ac394
CY
6572 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6573 (nxml-completion-at-point-function): New function.
6574 (nxml-mode): Use it.
6575 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6576
292112ed
CY
6577 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6578 Load generated autoloads file before byte compiling (Bug#10970).
6579 (package--make-autoloads-and-compile): New helper fun.
6580
4098f8f7
CS
65812012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6582
6583 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6584
8f754691
MA
65852012-03-11 Michael Albinus <michael.albinus@gmx.de>
6586
6587 * autorevert.el (auto-revert-handler): Ensure, that
6588 file-readable-p is applied only for local files or in
6589 auto-revert-tail-mode.
6590
e29ab36b
AS
65912012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6592
dbbc2e69
SM
6593 * server.el (server-eval-at): Handle non-tcp connections.
6594 Decode result string.
ad0bf5b6 6595
e29ab36b
AS
6596 * server.el (server-msg-size): New constant.
6597 (server-reply-print): New function.
6598 (server-eval-and-print): Use it.
6599 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6600 Handle -print-nonl.
6601
de5939ba
CS
66022012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6603
6604 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6605 (Bug#10987).
6606
0c93eabf
CY
66072012-03-11 Chong Yidong <cyd@gnu.org>
6608
397a688f
CY
6609 * simple.el (goto-line): Doc fix (Bug#9938).
6610
2cc775f9
CY
6611 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6612
0c93eabf
CY
6613 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6614 when finished (Bug#10963).
6615
c491fa41
MR
66162012-03-11 Martin Rudalics <rudalics@gmx.at>
6617
6618 * window.el (split-window-below): Fix bug in case where
6619 split-window-keep-point is nil (Bug#10971).
6620
300e8fa5
JL
66212012-03-11 Juri Linkov <juri@jurta.org>
6622
6623 * replace.el (replace-highlight): Set isearch-word to nil
6624 unconditionally. (Bug#10887)
6625
dbf6c5a1
EZ
66262012-03-10 Eli Zaretskii <eliz@gnu.org>
6627
6628 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6629 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6630 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6631 (mairix-widget-create-query): Add usage information about mairix
6632 search forms: negating words, searching for substrings, etc.
6633
b9e501de
JP
66342012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6635
6636 * international/fontset.el (font-encoding-alist): Add an entry for
6637 ksx1001 (Bug#5667).
6638
92795c91
RS
66392012-03-10 Richard Stallman <rms@gnu.org>
6640
1694e6c1
RS
6641 * mail/sendmail.el (mail-encode-header):
6642 Set rfc2047-encode-encoded-words.
6643
607e8555
RS
6644 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6645
de3bc99a
RS
6646 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6647 view buffer means not swapped.
6648 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6649 (rmail-write-region-annotate): Error if real text has disappeared.
6650
92795c91
RS
6651 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6652
699bd04e
CY
66532012-03-10 Chong Yidong <cyd@gnu.org>
6654
6655 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6656 * emulation/cua-base.el (cua--init-keymaps):
6657 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6658
570a1714
MR
66592012-03-10 Martin Rudalics <rudalics@gmx.at>
6660
dbbc2e69
SM
6661 * speedbar.el (speedbar-unhighlight-one-tag-line):
6662 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6663
82dcf4e4
CY
66642012-03-10 Chong Yidong <cyd@gnu.org>
6665
7a2c7ca7
CY
6666 * minibuffer.el (completion-in-region, completion-help-at-point):
6667 Give the completion field overlay a high priority (Bug#6830).
6668
82dcf4e4
CY
6669 * dired.el (dired-goto-file): Recognize absolute file name
6670 listings (Bug#7126).
6671 (dired-goto-file-1): New helper function.
6672 (dired-toggle-read-only): Inhibit warnings.
6673
052e28ac
MA
66742012-03-09 Michael Albinus <michael.albinus@gmx.de>
6675
75f1671a 6676 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6677 there are no properties.
6678
95d5e396
LL
66792012-03-09 Leo Liu <sdl.web@gmail.com>
6680
6681 * savehist.el (savehist-printable): Stricter check for string
6682 value (Bug#10937).
6683
3f018d6d
EZ
66842012-03-09 Eli Zaretskii <eliz@gnu.org>
6685
dbbc2e69
SM
6686 * mail/smtpmail.el (smtpmail-send-it):
6687 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6688 valid mbox format.
6689
f7fd3d79
GM
66902012-03-09 Glenn Morris <rgm@gnu.org>
6691
6692 * files.el (dir-locals-find-file):
6693 Don't check result is regular, readable.
6694 (dir-locals-read-from-file): Demote errors.
6695
6ff6e72f
EZ
66962012-03-08 Eli Zaretskii <eliz@gnu.org>
6697
dbbc2e69
SM
6698 * international/quail.el (quail-insert-kbd-layout):
6699 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6700 layout cell, to prevent their reordering by bidi display engine.
6701 For details, see the discussion in
6702 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6703
9cec7834
AM
67042012-03-08 Alan Mackenzie <acm@muc.de>
6705
6706 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6707 the starting position; make it extend the marked region when
6708 invoked repeatedly - all under appropriate circumstances.
6709 Fixes bugs #5525, #10906.
6710
9a40b8d4
GM
67112012-03-08 Glenn Morris <rgm@gnu.org>
6712
6713 * files.el (locate-dominating-file, dir-locals-find-file):
6714 Undo 2012-03-06 change.
6715
7a08ed35
EZ
67162012-03-07 Eli Zaretskii <eliz@gnu.org>
6717
dbbc2e69
SM
6718 * international/quail.el (quail-help):
6719 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6720 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6721 for the reason.
6722
5aca4f71 67232012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6724
6725 Avoid superfluous registering of signals. (Bug#10807)
6726
6727 * notifications.el (notifications-on-action-object)
6728 (notifications-on-close-object): New defvars.
6729 (notifications-on-action-signal, notifications-on-closed-signal):
6730 Unregister the signal if not needed any longer.
6731 (notifications-notify): Register `notifications-action-signal' or
6732 `notifications-closed-signal', if :on-action or :on-close has been
6733 passed as argument.
6734
78e8b10a
CY
67352012-03-07 Chong Yidong <cyd@gnu.org>
6736
6737 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6738 non-X platforms.
6739
69481eb8
GM
67402012-03-06 Glenn Morris <rgm@gnu.org>
6741
6742 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6743 (x-disown-selection-internal, x-get-selection-internal):
6744 Doc fix (add arglist signatures). (Bug#10783)
6745
133b8e11
KS
67462012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6747
6748 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6749 Handle breakpoints with no "type".
6750
99a83064
GM
67512012-03-06 Glenn Morris <rgm@gnu.org>
6752
6753 * files.el (locate-dominating-file): Add optional predicate argument.
6754 (dir-locals-find-file): Make use of above change.
6755
17798e78
TTN
67562012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6757
6758 * info.el (Info-insert-dir): Also try "dir.gz".
6759
eb182446
GM
67602012-03-06 Glenn Morris <rgm@gnu.org>
6761
8f2114ee
GM
6762 * files.el (dir-locals-find-file):
6763 Ignore non-readable or non-regular files. (Bug#10928)
6764
eb182446
GM
6765 * files.el (locate-dominating-file): Doc fix.
6766
24679323
AS
67672012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6768
6769 * calendar/calendar.el (calendar-set-mode-line):
6770 `getenv' returns a string. (Bug#10951)
6771
01d972a9
LL
67722012-03-05 Leo Liu <sdl.web@gmail.com>
6773
109aa8a9
LL
6774 * simple.el (backward-delete-char-untabify): Constrain point to
6775 field (Bug#10939).
6776
01d972a9
LL
6777 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6778
10607bea
CY
67792012-03-05 Chong Yidong <cyd@gnu.org>
6780
6781 * simple.el (count-words): If called from Lisp, return the word
6782 count, for symmetry with `count-lines'. Arglist changed.
6783 (count-words--message): Args changed. Consolidate counting code
6784 from count-words and count-words-region.
6785 (count-words-region): Caller changed.
6786 (count-lines-region): Make it an obsolete alias.
6787
5dd11cfe
TH
67882012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6789
6790 * saveplace.el (save-place-to-alist)
6791 (save-place-ignore-files-regexp): Allow value nil to disable this
6792 feature.
6793
c349f4e6
CY
67942012-03-04 Chong Yidong <cyd@gnu.org>
6795
6796 * faces.el (face-spec-reset-face): For the default face, reset the
6797 attributes to default values (Bug#10748).
6798
e627be4c
LMI
67992012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6800
6801 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6802 previous patch: Check `message-send-mail-function', and not the
6803 default function (bug#10897).
6804
ebeabff4
MA
68052012-03-04 Michael Albinus <michael.albinus@gmx.de>
6806
a41a6cf4
MA
6807 * notifications.el (notifications-on-action-signal)
6808 (notifications-on-closed-signal): Check for unique service name of
6809 incoming event. Fix error in removing entry.
ebeabff4 6810 (top): Register for signals with wildcard service name.
a41a6cf4 6811 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6812
c1ca42b4
CY
68132012-03-04 Chong Yidong <cyd@gnu.org>
6814
dc9924b8 6815 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6816
ea16568d
GM
68172012-03-04 Glenn Morris <rgm@gnu.org>
6818
6819 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6820 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6821 (expand-abbrev, define-abbrev-table): Doc fixes.
6822
fbae4637
LMI
68232012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6824
6825 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6826 `message-default-send-mail-function' and not `send-mail-function'
6827 when doing the prompting for `sendmail-query-once' before sending
6828 in Message buffers (bug#10897).
6829
a1e7225c
LMI
6830 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6831 This is inconsistent with all the other stream functions, which leave
6832 the setting up to the higher levels (if so wanted) (bug#10931).
6833
56d093a9
AM
68342012-03-02 Alan Mackenzie <acm@muc.de>
6835
6836 Depessimize the handling of very large macros.
6837
6838 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6839 (c-macro-cache-syntactic): New variables to implement a one
6840 element macro cache.
6841 (c-invalidate-macro-cache): New function.
6842 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6843 Adapt to use the new cache.
6844 (c-state-safe-place): Use better the cache of safe positions.
6845 (c-state-semi-nonlit-pos-cache)
6846 (c-state-semi-nonlit-pos-cache-limit):
6847 New variables for...
6848 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6849 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6850 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6851 Use c-state-semi-safe-place.
56d093a9 6852
dbbc2e69
SM
6853 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6854 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6855
817e5c3d
MA
68562012-03-02 Michael Albinus <michael.albinus@gmx.de>
6857
dbbc2e69
SM
6858 * jka-compr.el (jka-compr-call-process):
6859 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6860 not remote.
6861
a032a702
MA
68622012-03-01 Michael Albinus <michael.albinus@gmx.de>
6863
6864 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6865 access of FILE2, if FILE1 does not exist.
6866
99a54f21
MA
6867 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6868 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6869
6870 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6871 Add "PAGER=" to `process-environment'.
6872
f6561e1f
MM
68732012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6874
6875 * progmodes/sql.el: Bug fix
6876 (sql-get-login-ext): Save login values in globals.
6877 (sql-get-login): Use new version of `sql-get-login-ext'.
6878 (sql-interactive-mode): Set global `sql-connection' to nil.
6879 (sql-connect): Set global values for connection.
6880 (sql-product-interactive): Save global values as buffer local.
6881
2d44d9cc
LL
68822012-02-29 Leo Liu <sdl.web@gmail.com>
6883
6884 * abbrev.el (define-abbrevs): Reset sys to nil.
6885
96b49301 68862012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6887
bf7f9bc5
JB
6888 * files.el (file-equal-p): Rename from `files-equal-p'.
6889 Return nil when one or both files don't exist.
96b49301 6890 (file-subdir-of-p): Now only top directory must exists,
6891 return nil if it doesn't.
bf7f9bc5
JB
6892 (copy-directory): No need to test with `file-subdir-of-p' after
6893 creating dir.
6894 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6895 to `file-equal-p'.
96b49301 6896
44e97401
GM
68972012-02-28 Glenn Morris <rgm@gnu.org>
6898
6899 * shell.el (shell-mode):
6900 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6901 * play/landmark.el (landmark-font-lock-face-O):
6902 * play/handwrite.el (handwrite):
6903 * play/gomoku.el (gomoku-O):
6904 * net/browse-url.el (browse-url-browser-display):
6905 * international/mule.el (define-charset):
6906 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6907 * filesets.el (filesets-find-file-delay):
6908 * eshell/em-xtra.el (eshell-xtra):
6909 * eshell/em-unix.el (eshell-grep):
6910 * emulation/viper.el (viper-mode):
6911 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6912 * emacs-lisp/easymenu.el (easy-menu-define):
6913 * calendar/timeclock.el (timeclock-use-display-time):
6914 * bs.el (bs-mode):
6915 * bookmark.el (bookmark-save-flag):
6916 Doc fix (standardize possessive apostrophe usage).
6917
c98c6276
CY
69182012-02-27 Chong Yidong <cyd@gnu.org>
6919
bf7f9bc5
JB
6920 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6921 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6922
c98c6276
CY
6923 * font-lock.el (font-lock-specified-p): Rename from
6924 font-lock-spec-present. Callers changed.
6925
9c62cd04 69262012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6927
bf7f9bc5
JB
6928 * emacs-lisp/package.el (package-compute-transaction):
6929 Handle holding a package version to t in package-load-list.
8ac9e529 6930
530739c9
MA
69312012-02-26 Michael Albinus <michael.albinus@gmx.de>
6932
6933 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6934 (tramp-get-inode, tramp-get-device): Use cached values.
6935
487915d7
AM
69362012-02-26 Alan Mackenzie <acm@muc.de>
6937
6938 Check there is a font-lock specification before doing initial
6939 fontification.
6940
6941 * font-core.el (font-lock-mode): Move the conditional from
6942 :after-hook to font-lock-initial-fontify.
6943 (font-lock-default-function): Move the check for a specification
6944 to font-lock-spec-present.
6945
dc9924b8 6946 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6947 (font-lock-spec-present): New function.
6948
4fd96557
JB
69492012-02-26 Jim Blandy <jimb@red-bean.com>
6950
6951 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6952 (gdb-send): Apply it to the operand of the '-interpreter-exec
6953 console' command, so that we can pass arguments with (say) quotes
6954 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6955
9a4888c0
CY
69562012-02-26 Chong Yidong <cyd@gnu.org>
6957
07498861
CY
6958 * help-fns.el (describe-function-1): Clarify description of
6959 remapping (Bug#10844).
6960
9a4888c0
CY
6961 * files.el (files-equal-p): Doc fix.
6962 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6963 and quit the loop once a mismatch is found.
6964
ea8fb88d
JB
69652012-02-25 Juanma Barranquero <lekktu@gmail.com>
6966
6967 * bs.el (bs--show-with-configuration): Don't throw an error
6968 if the window cannot be split; otherwise, subsequent calls to
6969 bs-show fail, restoring a stale window config. (Bug#10882)
6970
525795c1
JD
69712012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6972
6973 * term/ns-win.el (global-map): Bind ns-drag-file to
6974 ns-find-file (Bug#5855, Bug#10050).
6975
f008086f
AS
69762012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6977
6978 * calendar/parse-time.el (parse-time-string): Allow extractor to
6979 return nil.
6980
a3fcfa99
MA
69812012-02-25 Michael Albinus <michael.albinus@gmx.de>
6982
91027d08
JB
6983 * net/tramp.el (tramp-file-name-for-operation):
6984 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6985
6986 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6987 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6988 Add COPY-CONTENTS argument.
a3fcfa99 6989
67b0de11
CY
69902012-02-25 Chong Yidong <cyd@gnu.org>
6991
6992 Add custom groups for VC backends, for consistency with vc-bzr.
6993
6994 * vc/vc-arch.el (vc-arch):
6995 * vc/vc-cvs.el (vc-cvs):
6996 * vc/vc-git.el (vc-git):
6997 * vc/vc-hg.el (vc-hg):
6998 * vc/vc-mtn.el (vc-mtn):
6999 * vc/vc-rcs.el (vc-rcs):
7000 * vc/vc-sccs.el (vc-sccs):
7001 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7002 All relevant defcustoms reassigned.
7003
3c9dfce6
CY
70042012-02-25 Chong Yidong <cyd@gnu.org>
7005
1339bf43
CY
7006 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7007
3c9dfce6
CY
7008 * term/x-win.el (x-initialize-window-system): Reduce default for
7009 x-selection-timeout to 5 seconds (Bug#8869).
7010
25b2e303 70112012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7012
ec70a47d
GM
7013 * files.el (files-equal-p, file-subdir-of-p): New functions.
7014 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7015 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7016 * dired-aux.el (dired-copy-file-recursive): Same.
7017 (dired-create-files): Modify destination when source is equal to
7018 dest when copying files.
53a46cd0 7019 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7020
914260cd
MA
70212012-02-24 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7024 (Bug#10874)
7025
2cb228f7
AM
70262012-02-23 Alan Mackenzie <acm@muc.de>
7027
7028 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7029 parameter "after-hook:" to allow the expansion to run code after
7030 the execution of the mode hooks.
7031
7032 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7033 from font-lock-mode-internal.
2cb228f7 7034
91027d08 7035 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7036 :after-hook.
7037
8f0fde21
SM
70382012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7039
3e88618b
SM
7040 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7041 (completion--cache-all-sorted-completions): New function.
7042 (completion-all-sorted-completions): Use it.
7043 (completion--do-completion, minibuffer-force-complete):
7044 Use it to re-instate the flush hook.
7045
8f0fde21
SM
7046 * icomplete.el (icomplete-completions): Replace last fix with a better
7047 one (bug#10850).
7048
8e911f6f
DG
70492012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7050
7051 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7052 when it might call us back infinitely (bug#10797).
7053
49fe4321
GM
70542012-02-23 Glenn Morris <rgm@gnu.org>
7055
7056 * minibuffer.el (completion-category-overrides): Doc fix.
7057
b291b572
SM
70582012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7061 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7062
31a9ef2e
GM
70632012-02-23 Glenn Morris <rgm@gnu.org>
7064
5e6e6794 7065 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7066 (authors-obsolete-files-regexps, authors-ignored-files)
7067 (authors-ambiguous-files, authors-renamed-files-alist):
7068 Add more entries.
7069
0bd1e074
JL
70702012-02-23 Juri Linkov <juri@jurta.org>
7071
7072 * isearch.el (isearch-occur): Sync interactive spec with occur's
7073 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7074
b617673c
JL
7075 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7076
19e9789e
JL
70772012-02-22 Juri Linkov <juri@jurta.org>
7078
7079 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7080 (ucs-insert): Doc fix. Check for hex digits in the string.
7081 Don't display `nil' in the error message. (Bug#10857)
7082
f41ce09d
AM
70832012-02-22 Alan Mackenzie <acm@muc.de>
7084
7a71b18d 7085 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7086
ac2eceee
GM
70872012-02-22 Glenn Morris <rgm@gnu.org>
7088
7089 * ffap.el (ffap-c-path):
7090 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7091
abd1f678
CY
70922012-02-22 Chong Yidong <cyd@gnu.org>
7093
7094 * custom.el (load-theme): Doc fix.
7095
f25aef2e
GM
70962012-02-22 Glenn Morris <rgm@gnu.org>
7097
7098 * dired-x.el (dired-guess-shell-alist-default):
7099 Remove escape sequences from nroff output. (Bug#172)
7100
5f8dc2ca
GM
71012012-02-21 Glenn Morris <rgm@gnu.org>
7102
6ff86ec4
GM
7103 * vc/emerge.el (emerge-defvar-local):
7104 Set `permanent-local' property rather than unused `preserved'.
7105
be3223a3 7106 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7107 (picture-mode-map): Use it. (Bug#10860)
7108 (picture-mode): Doc fix.
7109
3fe58f4f
JB
71102012-02-21 Juanma Barranquero <lekktu@gmail.com>
7111
7112 * newcomment.el (uncomment-region-default): Remove unused binding.
7113
f9a998c3
GM
71142012-02-21 Glenn Morris <rgm@gnu.org>
7115
7116 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7117 (picture-self-insert, picture-tab-chars): Doc fix.
7118 (picture-mode-map): Fix C-a, C-e.
7119
c6029348
GM
71202012-02-20 Glenn Morris <rgm@gnu.org>
7121
7122 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7123
ab1ce9d7
LL
71242012-02-20 Leo Liu <sdl.web@gmail.com>
7125
7126 * icomplete.el (icomplete-completions): Check FROM arg before
7127 passing to substring (Bug#10850).
7128
0fd40f89
CY
71292012-02-19 Chong Yidong <cyd@gnu.org>
7130
7131 * comint.el: Require ansi-color.
7132 (comint-output-filter-functions): Add ansi-color-process-output.
7133
7134 * ansi-color.el: Don't set comint-output-filter-functions; it is
7135 now in the initial value defined in comint.el.
7136 (ansi-color-apply-face-function): New variable.
7137 (ansi-color-apply-on-region): Use it.
7138 (ansi-color-apply-overlay-face): New function.
7139
7140 * shell.el (shell): No need to require ansi-color.
7141 (shell-mode): Use ansi-color-apply-face-function to highlight
7142 color escapes using font-lock-face property (Bug#10835).
7143
20af2394
CY
71442012-02-19 Chong Yidong <cyd@gnu.org>
7145
7146 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7147 mode-line formats (Bug#10839).
7148
e23a3fbe
GM
71492012-02-18 Glenn Morris <rgm@gnu.org>
7150
b474519e
GM
7151 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7152
7153 * mail/undigest.el (unforward-rmail-message): Doc fix.
7154
e23a3fbe
GM
7155 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7156
57939ff4
EZ
71572012-02-18 Eli Zaretskii <eliz@gnu.org>
7158
7159 * international/characters.el (script-list): Sync with the latest
7160 Unicode Character Database.
7161
0c23686e
AS
71622012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7163
7164 * international/titdic-cnv.el: Remove duplicate coding tag.
7165 * language/cham.el: Likewise.
7166 * language/tai-viet.el: Likewise.
7167
6818b449
GM
71682012-02-18 Glenn Morris <rgm@gnu.org>
7169
7170 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7171 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7172 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7173 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7174 * calendar/holidays.el (holiday-bahai-holidays)
7175 (calendar-holidays, list-holidays):
7176 Use utf-8 Bahá'í in doc-strings, menus, etc.
7177
0311a3fc
TH
71782012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7179
7180 * saveplace.el (save-place-ignore-files-regexp): New variable
7181 allowing for excluding files from saving their location of point.
7182 The default value matches the temporary commit message editing
7183 files from Git, SVN, Bazaar, and Mercurial.
7184 (save-place-to-alist): Use it.
7185
d209e2fb 71862012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7187 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7188
7189 * newcomment.el (uncomment-region-default): Don't leave extra space
7190 when an arg is provided (bug#8150).
7191
ee0ce425
TZ
71922012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7193
eb864a71 7194 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7195
95ddf442
GM
71962012-02-17 Glenn Morris <rgm@gnu.org>
7197
7198 * net/socks.el: Require network-stream. (Bug#10599)
7199
48dd1e39 72002012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7201
7202 * international/charprop.el:
7203 * international/uni-name.el:
7204 * international/uni-old-name.el:
7205 * international/uni-comment.el: Regenerate.
7206
d68cd087
GM
72072012-02-16 Glenn Morris <rgm@gnu.org>
7208
7209 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7210 Interactively in calendar buffer, give an error if not on a date.
7211
13932042
GM
72122012-02-15 Glenn Morris <rgm@gnu.org>
7213
7214 * shell.el (shell-delimiter-argument-list):
7215 Revert 2011-02-17 change. (Bug#8027)
7216
c3a70e2b
CY
72172012-02-15 Chong Yidong <cyd@gnu.org>
7218
60236b0d
CY
7219 * minibuffer.el (completion-at-point-functions): Doc fix.
7220
c3a70e2b
CY
7221 * custom.el (defcustom): Doc fix; note use of defvar.
7222
9f26dc24
GM
72232012-02-15 Glenn Morris <rgm@gnu.org>
7224
7225 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7226 Doc fixes.
7227
6546b134
GM
72282012-02-14 Glenn Morris <rgm@gnu.org>
7229
7230 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7231
d29b2b4c
LI
72322012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7233
7234 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7235 way the ports list is computed.
835bdcba
LI
7236 (smtpmail-query-smtp-server): Prompt the user for a port number if
7237 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7238
08dcdbc9
TZ
72392012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7240
7241 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7242
2605051a
GM
72432012-02-13 Glenn Morris <rgm@gnu.org>
7244
7245 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7246
7ee99f32
TZ
72472012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7248
7249 * net/gnutls.el (gnutls-trustfiles): New variable.
7250 (gnutls-negotiate): Use it.
7251
5f0af64f
LI
72522012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7253
7254 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7255 does its stuff if Gnus is running.
7256
c14fcc95
AM
72572012-02-13 Alan Mackenzie <acm@muc.de>
7258
7259 Fix a loop in c-set-fl-decl-start.
7260
7a71b18d 7261 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7262 c-backward-syntactic-ws actually moves backwards.
7263
142b4d90
LL
72642012-02-13 Leo Liu <sdl.web@gmail.com>
7265
7266 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7267 beginning so that all \C-o chars are removed.
7268
fa9958a6
TZ
72692012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7270
dc9924b8 7271 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7272
0bc5886a
AM
72732012-02-12 Alan Mackenzie <acm@muc.de>
7274
7275 Fix infinite loop with long macros.
4d6769e1 7276 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7277
d4bd55e7
CY
72782012-02-12 Chong Yidong <cyd@gnu.org>
7279
7280 * window.el (display-buffer): Doc fix (Bug#10785).
7281
66f3fe22
GM
72822012-02-12 Glenn Morris <rgm@gnu.org>
7283
bd7da63e
GM
7284 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7285 (x-disown-selection-internal, x-get-selection-internal):
7286 Sync docs with the xselect.c versions.
7287
66f3fe22
GM
7288 * allout-widgets.el: Add missing license notice.
7289
3e0d2fa7
GM
72902012-02-11 Glenn Morris <rgm@gnu.org>
7291
cfecdf09
GM
7292 * select.el (x-get-selection-internal, x-own-selection-internal)
7293 (x-disown-selection-internal):
7294 * x-dnd.el (x-get-selection-internal): Update declarations.
7295
6d216d7f
GM
7296 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7297
2bed3f04
GM
7298 * window.el (window-sides-slots):
7299 * tool-bar.el (tool-bar-position):
7300 * term/xterm.el (xterm-extra-capabilities):
7301 * ses.el (ses-self-reference-early-detection):
7302 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7303 (verilog-auto-wire-type)
7304 (verilog-auto-delete-trailing-whitespace)
7305 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7306 (verilog-auto-tieoff-declaration):
7307 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7308 (sql-oracle-statement-starters, sql-oracle-scan-on):
7309 * progmodes/prolog.el (prolog-align-comments-flag)
7310 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7311 (prolog-left-indent-regexp, prolog-paren-indent-p)
7312 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7313 (prolog-types, prolog-mode-specificators)
7314 (prolog-determinism-specificators, prolog-directives)
7315 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7316 (prolog-electric-dot-flag)
7317 (prolog-electric-dot-full-predicate-template)
7318 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7319 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7320 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7321 (prolog-program-switches, prolog-prompt-regexp)
7322 (prolog-debug-on-string, prolog-debug-off-string)
7323 (prolog-trace-on-string, prolog-trace-off-string)
7324 (prolog-zip-on-string, prolog-zip-off-string)
7325 (prolog-use-standard-consult-compile-method-flag)
7326 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7327 (prolog-imenu-max-lines, prolog-info-predicate-index)
7328 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7329 (prolog-char-quote-workaround):
7330 * progmodes/cc-vars.el (c-defun-tactic):
7331 * net/tramp.el (tramp-encoding-command-interactive)
7332 (tramp-local-end-of-line):
7333 * net/soap-client.el (soap-client):
7334 * net/netrc.el (netrc-file):
7335 * net/gnutls.el (gnutls):
7336 * minibuffer.el (completion-category-overrides)
7337 (completion-cycle-threshold)
7338 (completion-pcm-complete-word-inserts-delimiters):
7339 * man.el (Man-name-local-regexp):
7340 * mail/feedmail.el (feedmail-display-full-frame):
7341 * international/characters.el (glyphless-char-display-control):
7342 * eshell/em-ls.el (eshell-ls-date-format):
7343 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7344 (lisp-lambda-list-keyword-parameter-indentation)
7345 (lisp-lambda-list-keyword-parameter-alignment):
7346 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7347 * dired-x.el (dired-omit-verbose):
7348 * cus-theme.el (custom-theme-allow-multiple-selections):
7349 * calc/calc.el (calc-highlight-selections-with-faces)
7350 (calc-lu-field-reference, calc-lu-power-reference)
7351 (calc-note-threshold):
7352 * battery.el (battery-mode-line-limit):
7353 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7354 (archive-7z-update):
7355 * allout.el (allout-prefixed-keybindings)
7356 (allout-unprefixed-keybindings)
7357 (allout-inhibit-auto-fill-on-headline)
7358 (allout-flattened-numbering-abbreviation):
7359 * allout-widgets.el (allout-widgets-auto-activation)
7360 (allout-widgets-icons-dark-subdir)
7361 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7362 (allout-widgets-theme-dark-background)
7363 (allout-widgets-theme-light-background)
7364 (allout-widgets-item-image-properties-emacs)
7365 (allout-widgets-item-image-properties-xemacs)
7366 (allout-widgets-run-unit-tests-on-load)
7367 (allout-widgets-time-decoration-activity)
7368 (allout-widgets-hook-error-post-time)
7369 (allout-widgets-track-decoration):
7370 Add missing :version tags to new defcustoms and defgroups.
7371
5fec1b8e
GM
7372 * progmodes/sql.el (sql-ansi-statement-starters)
7373 (sql-oracle-statement-starters): Add custom type.
7374
3e0d2fa7
GM
7375 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7376 (prolog-system-version): Give it a type.
7377
90b671e2
EZ
73782012-02-11 Eli Zaretskii <eliz@gnu.org>
7379
7380 * term/pc-win.el (x-select-text, x-selection-owner-p)
7381 (x-own-selection-internal, x-disown-selection-internal)
7382 (x-get-selection-internal): Sync doc strings and argument lists
7383 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7384
5eac0c02
LL
73852012-02-11 Leo Liu <sdl.web@gmail.com>
7386
7387 * progmodes/python.el (python-end-of-statement): Fix infinite
7388 loop. (Bug#10788)
7389
f82cb659
GM
73902012-02-10 Glenn Morris <rgm@gnu.org>
7391
7392 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7393 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7394
cc26d239
LI
73952012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7396
7397 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7398 about SMTP before checking the From header.
7399
91027d08 7400 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7401 into own function for reuse by emacsbug.el.
7402
1be3ca5a
LL
74032012-02-10 Leo Liu <sdl.web@gmail.com>
7404
7405 * subr.el (condition-case-unless-debug): Rename from
7406 condition-case-no-debug. All callers changed.
7407 (with-demoted-errors): Fix caller.
7408
7409 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7410 * nxml/rng-valid.el (rng-do-some-validation):
7411 * emacs-lisp/package.el (package-refresh-contents)
7412 (package-menu-execute):
7413 * desktop.el (desktop-create-buffer):
91027d08 7414 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7415
b011fbfe
GM
74162012-02-10 Glenn Morris <rgm@gnu.org>
7417
b2096d72
GM
7418 * textmodes/bibtex.el:
7419 Add missing :version tags for new/changed defcustoms.
7420
b011fbfe
GM
7421 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7422
4c7e65bf
LI
74232012-02-09 Lars Ingebrigtsen <larsi@rusty>
7424
7425 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7426 (smtpmail-via-smtp): Use it, or fall back on the From address.
7427 (smtpmail-send-it): Ditto.
7428
f3934f6f
SM
74292012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7432 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7433 (byte-compile-tmp-var): New const.
7434 (byte-compile-defvar): Use it to minimize .elc size.
7435 Just use `defvar' rather than simulate it (bug#10761).
7436
a075a2c5
GM
74372012-02-09 Glenn Morris <rgm@gnu.org>
7438
cf3aa21b
GM
7439 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7440
354998cd
GM
7441 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7442 Add :version tags.
7443
dc9924b8
SM
7444 * progmodes/compile.el (compilation-error-screen-columns)
7445 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7446
dab3703d
GM
7447 * vc/log-view.el (log-view-toggle-entry-display):
7448 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7449
3f88cd72
GM
7450 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7451 (report-emacs-bug-can-use-xdg-email):
7452 (report-emacs-bug-insert-to-mailer): Doc fixes.
7453 (report-emacs-bug): Message fix.
7454
d95b247d
GM
7455 * net/browse-url.el (browse-url-can-use-xdg-open)
7456 (browse-url-xdg-open): Doc fixes.
7457
a075a2c5
GM
7458 * electric.el (electric-indent-mode, electric-pair-mode)
7459 (electric-layout-rules, electric-layout-mode): Doc fixes.
7460 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7461
ffb6157e
MR
74622012-02-08 Martin Rudalics <rudalics@gmx.at>
7463
7464 * server.el (server-unselect-display): Don't inadvertently kill
7465 the current buffer. (Bug#10729)
7466
e1ac4066
GM
74672012-02-08 Glenn Morris <rgm@gnu.org>
7468
34e8a2da
GM
7469 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7470 (sql-list-table): Doc fixes.
7471
b4ac6e8c
GM
7472 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7473 Comment out (does nothing).
7474
e1ac4066
GM
7475 * completion.el (dynamic-completion-mode):
7476 * dirtrack.el (dirtrack-debug-mode):
7477 * electric.el (electric-layout-mode):
7478 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7479 * face-remap.el (text-scale-mode, buffer-face-mode):
7480 * iimage.el (iimage-mode):
7481 * image-mode.el (image-transform-mode):
7482 * minibuffer.el (completion-in-region-mode):
7483 * scroll-lock.el (scroll-lock-mode):
7484 * simple.el (next-error-follow-minor-mode):
7485 * tar-mode.el (tar-subfile-mode):
7486 * tooltip.el (tooltip-mode):
7487 * vcursor.el (vcursor-use-vcursor-map):
7488 * wid-browse.el (widget-minor-mode):
7489 * emulation/tpu-edt.el (tpu-edt-mode):
7490 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7491 * international/iso-ascii.el (iso-ascii-mode):
7492 * language/thai-util.el (thai-word-mode):
7493 * mail/supercite.el (sc-minor-mode):
7494 * net/goto-addr.el (goto-address-mode):
7495 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7496 * progmodes/cwarn.el (cwarn-mode):
7497 * progmodes/flymake.el (flymake-mode):
7498 * progmodes/glasses.el (glasses-mode):
7499 * progmodes/hideshow.el (hs-minor-mode):
7500 * progmodes/pascal.el (pascal-outline-mode):
7501 * textmodes/enriched.el (enriched-mode):
7502 * vc/smerge-mode.el (smerge-mode):
7503 Doc fixes (minor mode argument).
7504
5e0d957f
EZ
75052012-02-07 Eli Zaretskii <eliz@gnu.org>
7506
7507 * ls-lisp.el (ls-lisp-sanitize): New function.
7508 (ls-lisp-insert-directory): Use it to fix or remove any elements
7509 in file-alist with missing attributes. (Bug#4673)
7510
98d7371e
AM
75112012-02-07 Alan Mackenzie <acm@muc.de>
7512
7513 Fix spurious recognition of c-in-knr-argdecl.
7514
7515 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7516 putative K&R region.
7517
667ced3a
AM
75182012-02-07 Alan Mackenzie <acm@muc.de>
7519
eb864a71
LM
7520 * progmodes/cc-engine.el (c-forward-objc-directive):
7521 Prevent looping in "#pragma mark @implementation".
667ced3a 7522
5b77774d
MA
75232012-02-07 Michael Albinus <michael.albinus@gmx.de>
7524
7525 * notifications.el (notifications-on-closed-signal): Make `reason'
7526 optional. (Bug#10744)
7527
af008560
GM
75282012-02-07 Glenn Morris <rgm@gnu.org>
7529
60d47423
GM
7530 * emacs-lisp/easy-mmode.el (define-minor-mode):
7531 Doc fixes for the macro and the mode it defines.
7532
dd605cc4
GM
7533 * image.el (imagemagick-types-inhibit): Doc fix.
7534
af008560
GM
7535 * cus-start.el (imagemagick-render-type): Add it.
7536
5cc59a37
LI
75372012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7538
4d6769e1
JB
7539 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7540 Set the default at load time, too, so that `font-lock-fontify-buffer'
7541 can be called without setting up the entire mode first. This fixes
7542 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7543
9a6dd747
CY
75442012-02-06 Chong Yidong <cyd@gnu.org>
7545
2d16b285
CY
7546 * simple.el (list-processes--refresh): Delete exited processes
7547 (Bug#8094).
7548
171e9b6e
CY
7549 * comint.el (comint-next-prompt): next-single-char-property-change
7550 and prev-single-char-property-change never return nil (Bug#8657).
7551
9a6dd747
CY
7552 * custom.el (defcustom): Doc fix (Bug#9711).
7553
aa4589a7
CY
75542012-02-05 Chong Yidong <cyd@gnu.org>
7555
5c2a252f
CY
7556 * cus-edit.el (custom-variable-reset-backup): Quote the value
7557 before storing it in the customized-value property (Bug#6712).
4aab9006 7558 (custom-display): Add a customization type tag.
983b9602 7559 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7560
aa4589a7
CY
7561 * wid-edit.el (widget-field-value-get): New optional arg to
7562 suppress trailing whitespace truncation.
7563 (character): Use it (Bug#2689).
7564
1ff980ae
AS
75652012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7566
7567 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7568 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7569
03988c98
CY
75702012-02-05 Chong Yidong <cyd@gnu.org>
7571
eeb6cc88
CY
7572 * cus-edit.el (custom-variable-value-create): For mismatched
7573 types, show the current value (Bug#7600).
7574
03988c98
CY
7575 * custom.el (defcustom): Doc fix.
7576
f8cdeef0
GM
75772012-02-05 Glenn Morris <rgm@gnu.org>
7578
7579 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7580
0696d255
JB
75812012-02-05 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7584 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7585 (pp-last-sexp): Use `looking-at-p'.
7586
34c99998
GM
75872012-02-04 Glenn Morris <rgm@gnu.org>
7588
8f05da42
GM
7589 * files.el (revert-buffer):
7590 Doc fix (mention revert-buffer-in-progress-p).
7591
f160676e
GM
7592 * emacs-lisp/ert-x.el (ert-simulate-command):
7593 Check deferred-action-list (which is obsolete) is bound.
7594
c7291ad9
GM
7595 * subr.el (with-wrapper-hook): Doc fixes.
7596
34c99998
GM
7597 * simple.el (filter-buffer-substring-functions)
7598 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7599
6283a7d3
LL
76002012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7601
7602 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7603 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7604
e96e3013
LL
76052012-02-04 Leo Liu <sdl.web@gmail.com>
7606
7607 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7608
8ded50f2
GM
76092012-02-04 Glenn Morris <rgm@gnu.org>
7610
82ff1d13
GM
7611 * image.el (image-extension-data): Add obsolete alias.
7612
987a0a16
GM
7613 * isearch.el (isearch-update): Doc fix.
7614
ea32ef46
GM
7615 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7616
8ded50f2
GM
7617 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7618
eea14f31
GM
76192012-02-03 Glenn Morris <rgm@gnu.org>
7620
7621 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7622 (image-animate-timeout): Doc fix.
7623
7624 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7625
12f381b7
GM
76262012-02-02 Glenn Morris <rgm@gnu.org>
7627
953cebf5
GM
7628 * server.el (server-auth-dir): Doc fix.
7629 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7630
12f381b7
GM
7631 * subr.el (run-mode-hooks): Doc fix.
7632
953a8c3b
JL
76332012-02-02 Juri Linkov <juri@jurta.org>
7634
7635 * image-mode.el (image-toggle-display-image): Remove tautological
7636 `major-mode' from the `derived-mode-p' test.
7637
c5d3843c
KH
76382012-02-02 Kenichi Handa <handa@m17n.org>
7639
9f6e692e 7640 * composite.el (compose-region): Cancel previous change.
c5d3843c 7641
159462d4 76422012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7643
7644 * composite.el (compose-region, compose-string): Signal error for
7645 a null string component (Bug#6988).
7646
9f562668
CY
76472012-02-01 Chong Yidong <cyd@gnu.org>
7648
e2cef717
CY
7649 * view.el (view-buffer-other-window, view-buffer-other-frame):
7650 Handle special modes like view-buffer (Bug#10650).
7651 (view-buffer): Simplify.
7652
9f562668
CY
7653 * frame.el (set-frame-font): Tweak meaning of third argument.
7654
9f6e692e
JB
7655 * dynamic-setting.el (font-setting-change-default-font):
7656 Use set-frame-font (Bug#9982).
9f562668 7657
781acb9f
GM
76582012-02-01 Glenn Morris <rgm@gnu.org>
7659
6035be52
GM
7660 * progmodes/compile.el (compilation-internal-error-properties):
7661 Respect compilation-first-column in the "*compilation*" buffer.
7662
781acb9f
GM
7663 * emacs-lisp/easy-mmode.el (define-minor-mode):
7664 Relax :variable's test for a named function.
7665
abbceb00
AM
76662012-01-31 Alan Mackenzie <acm@muc.de>
7667
7668 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7669 off by one error.
7670
fce3fdeb
CY
76712012-01-31 Chong Yidong <cyd@gnu.org>
7672
7673 * frame.el (set-frame-font): New arg ALL-FRAMES.
7674
7675 * menu-bar.el (menu-set-font): Use set-frame-font.
7676
7677 * faces.el (face-spec-reset-face): Don't apply unspecified
7678 attribute values to the default face.
7679
47893581
JB
76802012-01-31 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * progmodes/cwarn.el (cwarn): Remove dead link.
7683 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7684 Remove * from defcustom docstrings.
7685 (turn-on-cwarn-mode): Make obsolete.
7686 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7687 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7688
e58e988a
GM
76892012-01-31 Glenn Morris <rgm@gnu.org>
7690
60dc2671 7691 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7692 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7693 Allow named functions to be used as the cdr of :variable.
e58e988a 7694
7a3f511d
GM
76952012-01-30 Glenn Morris <rgm@gnu.org>
7696
7697 * emacs-lisp/authors.el (authors-fixed-entries):
7698 Remove reference to deleted file rnewspost.el.
7699
cb882333
JB
77002012-01-29 Juanma Barranquero <lekktu@gmail.com>
7701
7702 * window.el (window-with-parameter): Remove unused variable `windows'.
7703 (window--side-check): Remove unused variable `code'.
7704 (window--resize-siblings): Remove unused variable `first'.
7705 (adjust-window-trailing-edge): Remove unused variable `failed'.
7706 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7707 Use `let', not `let*'.
7708 (balance-windows-2): Remove unused variable `found'.
7709 (window--state-put-2): Remove unused variable `splits'.
7710 (window-state-put): Remove unused variable `selected'.
7711 (same-window-p): Use `string-match-p'.
7712 (display-buffer-assq-regexp): Remove unused variable `value'.
7713 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7714 Mark argument ALIST as ignored.
7715 (pop-to-buffer): Remove unused variable `old-window'.
7716
907201af
EZ
77172012-01-29 Eli Zaretskii <eliz@gnu.org>
7718
7719 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7720 and .lzma compressed files.
7721
ea162670
CY
77222012-01-29 Chong Yidong <cyd@gnu.org>
7723
5b95ee8a
CY
7724 * frame.el (window-system-default-frame-alist): Doc fix.
7725
ea162670
CY
7726 * dynamic-setting.el (font-setting-change-default-font): Don't
7727 change the default face if SET-FONT argument is non-nil (Bug#9982).
7728
d6e6f4b1
SB
77292012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7730
7731 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7732
0f29fa41 77332012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7734
7735 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7736 breakpoints in files outside current directory (Bug#6098).
7737
db174434
CY
77382012-01-29 Chong Yidong <cyd@gnu.org>
7739
6b25e4e2
SE
7740 * progmodes/python.el: Require ansi-color at top-level.
7741
6df6ae42
JB
7742 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7743 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7744 (lisp-mode-abbrev-table): Add doc.
7745 (lisp-mode-variables): Don't set local-abbrev-table.
7746 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7747
e70ee681
RW
77482012-01-28 Roland Winkler <winkler@gnu.org>
7749
7750 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7751
ace88aa2
RW
77522012-01-28 Roland Winkler <winkler@gnu.org>
7753
7754 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7755 (bibtex-set-dialect): Use it. Either set global values of
7756 dialect-dependent variables or bind these variables buffer-locally
7757 (Bug#10254).
7758 (bibtex-mode): Call bibtex-set-dialect via
7759 hack-local-variables-hook.
eb864a71
LM
7760 (bibtex-dialect): Update docstring.
7761 Add safe-local-variable predicate.
ace88aa2
RW
7762 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7763 bibtex-set-dialect.
7764 (bibtex-mode-map): Define menu for each dialect.
7765 (bibtex-entry): Fix docstring.
7766
93376c5b
CY
77672012-01-28 Chong Yidong <cyd@gnu.org>
7768
7769 * eshell/esh-arg.el (eshell-quote-argument): New function.
7770
7771 * eshell/esh-ext.el (eshell-invoke-batch-file):
7772 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7773 first arg to eshell-parse-command (Bug#10523).
7774
4372494f
DA
77752012-01-28 Drew Adams <drew.adams@oracle.com>
7776
7777 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7778 `default-directory' is non-nil.
7779
4d4ec1f8
EZ
77802012-01-28 Eli Zaretskii <eliz@gnu.org>
7781
7782 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7783 line that displays system-configuration-options. (Bug#9924)
7784
7c188927
DA
77852012-01-28 Drew Adams <drew.adams@oracle.com>
7786
7787 * descr-text.el (describe-char): Show information about POS, in
7788 addition to information about the character at POS. Improve and
7789 update the doc string. Change "code point" to "code point in
7790 charset", to avoid confusion with the character's Unicode code
7791 point shown above that. (Bug#10129)
7792
e0da685a
EZ
77932012-01-28 Eli Zaretskii <eliz@gnu.org>
7794
7795 * descr-text.el (describe-char): Show the raw character, not only
7796 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7797 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7798 for the reasons.
7799
70550acf
PH
78002012-01-28 Phil Hagelberg <phil@hagelb.org>
7801
eb864a71
LM
7802 * emacs-lisp/package.el (package-install):
7803 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7804
0ce8e868
CY
78052012-01-28 Chong Yidong <cyd@gnu.org>
7806
cb882333
JB
7807 * emacs-lisp/package.el (package-maybe-load-descriptor):
7808 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7809 (package-maybe-load-descriptor): Use it.
7810 (package-download-transaction): Fully load required packages
7811 inside the loop, so that `require' calls work (Bug#10593).
7812 (package-install): No need to call package-initialize now.
7813
2e7f3bea
CY
78142012-01-28 Chong Yidong <cyd@gnu.org>
7815
6e9bad14
CY
7816 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7817
f823b8ca
CY
7818 * tooltip.el (tooltip-mode): Doc fix.
7819 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7820
2680c309
CY
7821 * frame.el (set-cursor-color): Doc fix (Bug#352).
7822
d7a9e63b
CY
7823 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7824 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7825
2e7f3bea
CY
7826 * cus-edit.el (custom-buffer-create-internal): Fix search button
7827 action (Bug#10542).
2ae01800 7828 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7829
fc4f7a23
EW
78302012-01-27 Eduard Wiebe <usenet@pusto.de>
7831
7832 * dired.el (dired-mark-files-regexp):
7833 Include any subdirectory components. (Bug#10445)
7834
7dd37071
ML
78352012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7836
7837 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7838 Handle [host]:port syntax. (Bug#10533)
7839
a268160b
AH
78402012-01-27 Alex Harsanyi <harsanyi@mac.com>
7841
7842 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7843
e43273ef
GM
78442012-01-26 Glenn Morris <rgm@gnu.org>
7845
7846 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7847 * term.el (term-raw-escape-map): Use Control-X-prefix.
7848 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7849
1edf595d
MR
78502012-01-25 Martin Rudalics <rudalics@gmx.at>
7851
7852 * window.el (window-state-get, window--state-get-1): Don't deal
7853 with fixed-sizeness of windows. Simplify code.
7854
fa8eafef
JC
78552012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7856
6df6ae42
JB
7857 * window.el (window--state-get-1, window--state-put-2):
7858 Don't save and restore the mark.
fa8eafef 7859
0b21c100
CY
78602012-01-25 Chong Yidong <cyd@gnu.org>
7861
7862 * custom.el (custom-variable-p): Doc fix.
7863
5ae1a6c8
GM
78642012-01-25 Glenn Morris <rgm@gnu.org>
7865
40047858
GM
7866 * dired.el (dired-goto-file): Handle some of the more common
7867 characters that `ls -b' escapes. (Bug#10596)
7868
5ddce96c
GM
7869 * progmodes/compile.el (compilation-next-error-function):
7870 Respect compilation-first-column in the "*compilation*" buffer.
7871 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7872
5ae1a6c8
GM
7873 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7874
b559f1a9
GM
78752012-01-24 Glenn Morris <rgm@gnu.org>
7876
7877 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7878
6725d21a
JD
78792012-01-24 Julien Danjou <julien@danjou.info>
7880
7881 * color.el (color-rgb-to-hsl): Fix value computing.
7882 (color-hue-to-rgb): New function.
7883 (color-hsl-to-rgb): New function.
7884 (color-clamp, color-saturate-hsl, color-saturate-name)
7885 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7886 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7887
70df4bbe
GM
78882012-01-24 Glenn Morris <rgm@gnu.org>
7889
7890 * vc/vc-rcs.el (vc-rcs-create-tag):
7891 * vc/vc-sccs.el (vc-sccs-create-tag):
7892 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7893
802a2ae2
ML
78942012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7895
7896 * eshell/esh-util.el (eshell-read-hosts-file):
7897 Skip comment lines. (Bug#10549)
7898
d7128bb1
ML
7899 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7900
d1a5c3b4
JB
79012012-01-23 Juanma Barranquero <lekktu@gmail.com>
7902
2724d9c7
JB
7903 * subr.el (display-delayed-warnings): Doc fix.
7904 (collapse-delayed-warnings): New function to collapse identical
7905 adjacent warnings.
7906 (delayed-warnings-hook): Add it.
d1a5c3b4 7907
a5509865
MA
79082012-01-22 Michael Albinus <michael.albinus@gmx.de>
7909
7910 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7911
a5509865
MA
7912 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7913 (tramp-default-user-alist): Don't add "pscp".
7914 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7915 property "login-as", if set. (Bug#10530)
7916
cc6d5805
MA
79172012-01-21 Michael Albinus <michael.albinus@gmx.de>
7918
7919 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7920 "plink1" and "psftp". (Bug#10530)
7921
79222012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7923
7924 * international/mule-cmds.el (prefer-coding-system): Show a
7925 warning message if the default value of file-name-coding-system
7926 was not changed.
7927
f0960428
JC
79282012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7929
cb882333
JB
7930 * windmove.el (windmove-reference-loc):
7931 Fix windmove-reference-loc miscalculation.
f0960428 7932
dd6f2a63
JB
79332012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7934
7935 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7936 default unit.
7937
7b447e9b
GM
79382012-01-21 Glenn Morris <rgm@gnu.org>
7939
117a9ea1
GM
7940 * international/mule.el (auto-coding-alist): Add .tbz.
7941
7b447e9b
GM
7942 * files.el (local-enable-local-variables): Doc fix.
7943 (inhibit-local-variables-regexps): Rename from
7944 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7945 Doc fix. Add some extensions from auto-coding-alist.
7946 (inhibit-local-variables-suffixes):
7947 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7948 (inhibit-local-variables-p):
7949 New function, extracted from set-auto-mode-1.
7950 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7951 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7952 (hack-local-variables): Doc fix. Make the mode-only case
7953 respect enable-local-variables and friends.
7954 Respect inhibit-local-variables-regexps for file-locals, but
7955 not for directory-locals.
7956 (set-visited-file-name):
7957 Take account of inhibit-local-variables-regexps.
7958 Whether it applies may change as the file name is changed.
7959 * jka-cmpr-hook.el (jka-compr-install):
7960 * jka-compr.el (jka-compr-uninstall):
7961 Update for inhibit-first-line-modes-suffixes name change.
7962
dd6e3cdd
MR
79632012-01-20 Martin Rudalics <rudalics@gmx.at>
7964
7965 * help-macro.el (make-help-screen): Temporarily restore original
7966 binding for minor-mode-map-alist (Bug#10454).
7967
0d0deb38
JD
79682012-01-19 Julien Danjou <julien@danjou.info>
7969
7970 * color.el (color-name-to-rgb): Use the white color to find the max
7971 color component value and return correctly computed values.
7972 (color-name-to-rgb): Add missing float conversion for max value.
7973
34a02f46
MR
79742012-01-19 Martin Rudalics <rudalics@gmx.at>
7975
7976 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7977 special state value for window-persistent-parameters.
7978 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7979 (window--state-put-2): Reset all window parameters to nil before
7980 assigning values of persistent parameters.
7981
606c44c4
AM
79822012-01-18 Alan Mackenzie <acm@muc.de>
7983
7984 Eliminate sluggishness and hangs in fontification of "semicolon
7985 deserts".
7986
cb882333
JB
7987 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7988 Change value 10000 -> 3000.
606c44c4
AM
7989 (c-state-safe-place): Reformulate so it doesn't stack up an
7990 infinite number of wrong entries in c-state-nonlit-pos-cache.
7991 (c-determine-limit-get-base, c-determine-limit): New functions to
7992 determine backward search limits disregarding literals.
7993 (c-find-decl-spots): Amend commenting.
7994 (c-cheap-inside-bracelist-p): New function which detects "={".
7995
7996 * progmodes/cc-fonts.el
7997 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7998 backward search.
7999 (c-font-lock-declarations): Fix an occurrence of point being
8000 undefined. Check additionally for point being in a bracelist or
8001 near a macro invocation without a semicolon so as to avoid a
8002 fruitless time consuming search for a declarator. Give a more
8003 precise search limit for declarators using the new
8004 c-determine-limit.
8005
f3860cea
GM
80062012-01-18 Glenn Morris <rgm@gnu.org>
8007
8008 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8009 (set-auto-mode): Doc fixes.
8010
1db03b16
GM
80112012-01-17 Glenn Morris <rgm@gnu.org>
8012
0e6038be
GM
8013 * isearch.el (search-nonincremental-instead): Fix doc typo.
8014
1db03b16
GM
8015 * dired.el (dired-insert-directory): Handle newlines in directory name.
8016 (dired-build-subdir-alist): Unescape newlines in directory name.
8017
4cb0aa75
MA
80182012-01-17 Michael Albinus <michael.albinus@gmx.de>
8019
8020 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8021 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8022 (tramp-action-terminal): Use it. (Bug#10530)
8023
1d00653d
SM
80242012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8027
6a6ee00d
MR
80282012-01-16 Martin Rudalics <rudalics@gmx.at>
8029
8030 * window.el (window-state-ignored-parameters): Remove variable.
8031 (window--state-get-1): Rename argument MARKERS to IGNORE.
8032 Handle persistent window parameters. Make copy of clone-of
8033 parameter only if requested. (Bug#10348)
8034 (window--state-put-2): Install a window parameter only if it has
8035 a non-nil value or an existing parameter shall be overwritten.
8036
97912def
MA
80372012-01-15 Michael Albinus <michael.albinus@gmx.de>
8038
8039 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8040
688070a5
EZ
80412012-01-14 Eli Zaretskii <eliz@gnu.org>
8042
8043 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8044 don't pass the (nil) value of `upnode' to string-match.
8045
301afadc
CY
80462012-01-14 Chong Yidong <cyd@gnu.org>
8047
8048 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8049 Fix values recognized by the cursorBlink resource.
301afadc 8050
9e5788aa
PE
80512012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8052
8053 * epg.el (epg--make-temp-file): Avoid permission race condition
8054 when running on old Emacs versions (bug#10403).
8055
3cdb7f5a
GM
80562012-01-14 Glenn Morris <rgm@gnu.org>
8057
8058 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8059
8c82b1b4
AM
80602012-01-13 Alan Mackenzie <acm@muc.de>
8061
8062 Fix filling for when filladapt mode is enabled.
8063
8064 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8065 c-mask-paragraph, pass in `fill-paragraph' rather than
8066 `fill-region-as-paragraph'. (This is a reversion of a previous
8067 change.)
eb864a71
LM
8068 * progmodes/cc-mode.el (c-basic-common-init):
8069 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8070
e517eda4
GM
80712012-01-13 Glenn Morris <rgm@gnu.org>
8072
1498536e
GM
8073 * dired.el (dired-switches-escape-p): New function.
8074 (dired-insert-directory): Use dired-switches-escape-p.
8075 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8076
e517eda4
GM
8077 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8078
328f984d
GM
80792012-01-12 Glenn Morris <rgm@gnu.org>
8080
8081 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8082 changes in adaptive-fill-regexp. (Bug#10276)
8083
2cc769a8
AM
80842012-01-11 Alan Mackenzie <acm@muc.de>
8085
8086 Fix Emacs bug #10463 - put `widen's around the critical spots.
8087
1d00653d 8088 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8089 widen around each invocation of c-state-pp-to-literal. Remove an
8090 unused let variable.
8091
e52c37fa
GM
80922012-01-11 Glenn Morris <rgm@gnu.org>
8093
8094 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8095 Doc fix.
e52c37fa 8096
96f8741e
CY
80972012-01-10 Chong Yidong <cyd@gnu.org>
8098
1d00653d
SM
8099 * net/network-stream.el (network-stream-open-starttls):
8100 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8101 response to the capability command.
8102
b09a806e
GM
81032012-01-10 Glenn Morris <rgm@gnu.org>
8104
8105 * mail/unrmail.el (unrmail): Tweak previous change.
8106
7655cb66
CY
81072012-01-09 Chong Yidong <cyd@gnu.org>
8108
8109 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8110
9d5a8f0b
AM
81112012-01-08 Alan Mackenzie <acm@muc.de>
8112
8113 Optimise font locking in long enum definitions.
8114
8115 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8116 arm to a cond form to handle enums.
8117 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8118 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8119
9a0115ab 81202012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8121
8122 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8123 (Bug#10401)
6bb72cbd 8124
f186bb95
LMI
81252012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8126
29232a68
LMI
8127 * faces.el (set-face-attribute): Clarify the meaning of the nil
8128 frame (bug#10294).
8129
4e5d086d
LMI
8130 * subr.el (with-selected-frame): Mention that the selected frame
8131 is restored (bug#9980).
8132
8e66aebe
LMI
8133 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8134 (bug#9759).
8135
cd394be1 8136 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8137 (password-read): Don't autoload unused function.
8138
adf4e762
JB
81392012-01-07 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * progmodes/which-func.el (which-func-mode): Turn into a
8142 non-interactive function and mark as obsolete (bug#10428).
8143
89bd9ccd
CY
81442012-01-06 Chong Yidong <cyd@gnu.org>
8145
8146 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8147 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8148 functions, along with 1 and -1.
8149
4afee9d5
EZ
81502012-01-06 Eli Zaretskii <eliz@gnu.org>
8151
8152 * time.el (display-time-load-average)
8153 (display-time-default-load-average): Doc fixes. See the thread
8154 starting at
8155 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8156 for the details.
8157
536aea70
GM
81582012-01-06 Glenn Morris <rgm@gnu.org>
8159
665ae865
GM
8160 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8161 has no messages. (Bug#10377)
8162
c869783d
GM
8163 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8164 than Info-edit. (Bug#10385)
8165
2bb4227e
GM
8166 * time.el (display-time-load-average, display-time-next-load-average):
8167 Doc fixes.
8168
7d5944b9
GM
8169 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8170 local setting of buffer-read-only to the input buffer. (Bug#10419)
8171
536aea70
GM
8172 * calendar/calendar.el (calendar-mode):
8173 Locally set scroll-margin to 0. (Bug#10379)
8174
7dccca16
UM
81752012-01-06 Ulrich Mueller <ulm@gentoo.org>
8176
8177 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8178
afbb7930
GM
81792012-01-05 Glenn Morris <rgm@gnu.org>
8180
8181 * eshell/em-unix.el (diff-no-select): Autoload it.
8182 (eshell/diff): Use diff-no-select. (Bug#10420)
8183
04482335
CY
81842012-01-05 Chong Yidong <cyd@gnu.org>
8185
7baca3bc
CY
8186 * shell.el (shell-dynamic-complete-functions): Revert last change.
8187 (shell-command-completion-function): New function.
8188 (shell-completion-vars): Use it to implement
8189 shell-completion-execonly (Bug#10417).
8190
04482335
CY
8191 * custom.el (enable-theme): Don't set custom-safe-themes.
8192
1d00653d
SM
8193 * cus-theme.el (custom-theme-merge-theme):
8194 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8195
bb5aa5d6
MM
81962012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8197
8198 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8199 first prompt in `sql-interacive-mode'.
8200 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8201 keywords.
6df6ae42 8202 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8203 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8204 context of original buffer. Invoke `sql-login-hook'.
8205
a7183d7c
EZ
82062012-01-04 Eli Zaretskii <eliz@gnu.org>
8207
8208 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8209 letters in cite-prefix.
8210
a1eacd1e
LMI
82112012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8212
8213 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8214
787cdb34
CY
82152012-01-03 Chong Yidong <cyd@gnu.org>
8216
1d00653d
SM
8217 * shell.el (shell-dynamic-complete-functions):
8218 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8219 comint-filename-completion first (Bug#10417).
8220
30710442
RS
82212012-01-02 Richard Stallman <rms@gnu.org>
8222
8223 * battery.el (battery-status-function):
8224 Detect when to use battery-yeeloong-sysfs.
8225 (battery-echo-area-format): Add string for Yeeloong.
8226 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8227 (battery-yeeloong-sysfs): New function.
8228
f75bfc33
CY
82292012-01-02 Chong Yidong <cyd@gnu.org>
8230
8231 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8232 (dirtrack): Merge code for handling relative filenames in prompt
8233 from shell-dir-cookie-watcher.
8234 (dirtrack-debug-message): New arg to avoid excess format calls.
8235
8236 * shell.el (shell-dir-cookie-re): Variable deleted.
8237 (shell-dir-cookie-watcher): Function deleted.
8238 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8239 with dirtrack-mode.
8240
651e947e
EZ
82412012-01-01 Eli Zaretskii <eliz@gnu.org>
8242
1d00653d
SM
8243 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8244 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8245 libgnutls-26.dll.
8246
94d4c7dc
AS
82472011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8248
8249 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8250
8d43f3cd
EZ
82512011-12-31 Eli Zaretskii <eliz@gnu.org>
8252
8253 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8254 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8255
98c8795a
MA
82562011-12-29 Michael Albinus <michael.albinus@gmx.de>
8257
8258 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8259 also for alternative shells.
8260 (tramp-open-connection-setup-interactive-shell): Check, whether
8261 the shell is a busybox.
8262 (tramp-send-command): Don't suppress multiple prompts for
8263 busyboxes, it hurts.
8264
51281b32
CY
82652011-12-28 Chong Yidong <cyd@gnu.org>
8266
8267 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8268 (gdb-get-source-file): Move mode line update to
8269 gdb-get-source-file (Bug#10087).
8270
2170cb53
CY
82712011-12-25 Chong Yidong <cyd@gnu.org>
8272
8273 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8274 gud-gdb-marker-filter without taking it as an argument.
8275 (gud-gdb-run-command-fetch-lines): Caller changed.
8276 (gud-gdb-completion-function): New variable.
8277 (gud-gdb-completion-at-point): Use it.
8278 (gud-gdb-completions-1): Split from gud-gdb-completions.
8279
8280 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8281 function as separate arguments.
8282 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8283 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8284 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8285 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8286 (gdb-stopped, def-gdb-auto-update-trigger)
8287 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8288 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8289 Callers changed.
2170cb53
CY
8290 (gud-gdbmi-completions): New function.
8291 (gdb): Use it for generating the completion table.
8292
be8b11bb
AM
82932011-12-24 Alan Mackenzie <acm@muc.de>
8294
8295 Introduce a mechanism to widen the region used in context font
1d00653d 8296 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8297
1d00653d
SM
8298 * progmodes/cc-langs.el (c-before-font-lock-functions):
8299 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8300 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8301 functions to be run just before context (etc.) font locking.
8302
8303 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8304 New, functionality extracted from
be8b11bb 8305 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8306 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8307 (c-after-change): Set c-in-after-change-fontification.
8308 (c-set-fl-decl-start): Rejig its interface, so it can be called
8309 from both after-change and context fontifying.
b81d40f0
JB
8310 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8311 New functions.
8312 (c-standard-font-lock-fontify-region-function): New variable.
8313 (c-font-lock-fontify-region): New function.
be8b11bb 8314
341cf6ac
JL
83152011-12-24 Juri Linkov <juri@jurta.org>
8316
8317 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8318 (Bug#10348)
8319
bffcee0a
MA
83202011-12-23 Michael Albinus <michael.albinus@gmx.de>
8321
8322 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8323 existence of source file. (Bug#10325)
8324
cb5e207c
AM
83252011-12-23 Alan Mackenzie <acm@muc.de>
8326
8327 Fix unstable fontification inside templates.
8328
b81d40f0
JB
8329 * progmodes/cc-langs.el (c-before-font-lock-functions):
8330 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8331 additionally has c-set-fl-decl-start. The other languages (apart
8332 from AWK) have that as a single entry.
8333
b81d40f0
JB
8334 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8335 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8336 c-set-fl-decl-start.
8337
b81d40f0
JB
8338 * progmodes/cc-mode.el (c-common-init, c-after-change):
8339 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8340 (c-set-fl-decl-start): New function, extracted from
8341 c-font-lock-enclosing-decls and enhanced.
8342
60ff536c
JB
83432011-12-23 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8346
1c4757d6
JL
83472011-12-22 Juri Linkov <juri@jurta.org>
8348
8349 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8350
d031f2c7
CY
83512011-12-22 Chong Yidong <cyd@gnu.org>
8352
8353 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8354
bace743a
DA
83552011-12-21 Drew Adams <drew.adams@oracle.com>
8356
8357 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8358
728a1f2b
JC
83592011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8360
8361 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8362
0d373f73
TZ
83632011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8364
fec0aaa4
TZ
8365 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8366 highlighting and support. Fix up comments for capitalization.
8367 (cfengine-mode-debug): New var.
8368 (cfengine3-mode): Change the modeline indicator to "CFE3".
8369 (cfengine3-font-lock-keywords): Improve defun highlighting.
8370 (cfengine2-actions): Rename from `cfengine-actions'.
8371 (cfengine2-font-lock-keywords): Rename from
8372 `cfengine-font-lock-keywords'.
8373 (cfengine2-imenu-expression): Rename from
8374 `cfengine-imenu-expression'.
8375 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8376 (cfengine2-beginning-of-defun): Rename from
8377 `cfengine-beginning-of-defun'.
8378 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8379 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8380 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8381 modeline indicator to "CFE2".
8382 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8383 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8384
bc86f573
CY
83852011-12-21 Chong Yidong <cyd@gnu.org>
8386
8387 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8388 filename argument.
8389
d45ba96b
MR
83902011-12-20 Martin Rudalics <rudalics@gmx.at>
8391
8392 * window.el (window-normalize-buffer-to-display): Remove.
8393 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8394
a6198c90
CY
83952011-12-19 Chong Yidong <cyd@gnu.org>
8396
8397 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8398 Don't signal an error in a predicate function; return non-nil.
8399 (vc-dir-mark-file): Move the error here.
8400 (vc-dir-mark-unmark): If acting on the region, keep going if one
8401 of the entries cannot be marked/unmarked.
8402 (vc-dir-mark-all-files): If current entry is a directory, mark
8403 only child files, as documented.
8404
34c5fb55
VB
84052011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8406
8407 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8408 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8409 addition.
8410
c803b2b7
JD
84112011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8412
8413 * term/ns-win.el (ns-get-selection-internal)
8414 (ns-store-selection-internal): Declare.
1154d12e
JB
8415 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8416 Declare as obsolete.
8417 (ns-get-pasteboard, ns-paste-secondary):
8418 Use ns-get-selection-internal.
8419 (ns-set-pasteboard, ns-copy-including-secondary):
8420 Use ns-store-selection-internal.
c803b2b7 8421
9cff91f8 84222011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8423
8424 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8425 (vc-deduce-fileset): Doc fix.
99a289d9 8426
f16c898a
AS
84272011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8428
8429 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8430
763237c4
SS
84312011-12-13 Sam Steingold <sds@gnu.org>
8432
8433 * man.el (Man-getpage-in-background): When running under a
8434 window-system, ignore $MANWIDTH and $COLUMNS.
8435
5fc1c122
KH
84362011-12-15 Kenichi Handa <handa@m17n.org>
8437
8438 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8439 (setup-ethiopic-environment-internal): Comment out key-binding for
8440 ethio-toggle-punctuation.
8441
13d49cbb
AM
84422011-12-13 Alan Mackenzie <acm@muc.de>
8443
898169a2
AM
8444 Add the switch statement to AWK Mode.
8445
7a71b18d 8446 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8447 "default" to the keywords regexp.
8448
7a71b18d 8449 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8450 expression as the rest.
1d00653d
SM
8451 (c-nonlabel-token-key): Allow string literals for AWK.
8452 Refactor for the other modes.
898169a2 8453
13d49cbb 8454 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8455 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8456 routines. Limit backward searching in c-font-lock-enclosing.decl.
8457
8458 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8459 pp-state and literal type in addition to the limits.
1d00653d 8460 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8461 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8462 (c-slow-in-literal, c-fast-in-literal): Remove.
8463 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8464
8465 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8466 being in a literal. Add a limit for backward searching.
8467
8468 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8469 c-slow-in-literal.
8470
15e0efc7
SM
84712011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8474
454592a6
MR
84752011-12-13 Martin Rudalics <rudalics@gmx.at>
8476
8477 * window.el (delete-other-windows): Use correct frame in call to
8478 window-with-parameter.
8479
87393f26
DP
84802011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8481
8482 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8483 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8484 (makefile-gmake-statements, makefile-makepp-statements):
8485 Use it and add new makepp keywords.
8486 (makefile-makepp-font-lock-keywords): Add new patterns.
8487 (makefile-match-function-end): Match new [...] and [[...]].
8488
11636b22
JB
84892011-12-11 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * ses.el (ses-call-printer-return, ses-cell-property-get)
8492 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8493 (ses-create-cell-variable, ses-reset-header-string)
8494 (ses-cell-set-formula, ses-repair-cell-reference-all)
8495 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8496 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8497 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8498 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8499 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8500 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8501 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8502 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8503 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8504 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8505 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8506 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8507
cf018193
VB
85082011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8509
8510 * ses.el: The overall change is to add cell renaming, that is
8511 setting fancy names for cell symbols other than name matching
8512 "\\`[A-Z]+[0-9]+\\'" regexp .
8513 (ses-create-cell-variable): New defun.
8514 (ses-relocate-formula): Relocate formulas only for cells the
8515 symbols of which are not renamed, i.e. symbols whose names do not
8516 match regexp "\\`[A-Z]+[0-9]+\\'".
8517 (ses-relocate-all): Relocate values only for cells the symbols of
8518 which are not renamed.
8519 (ses-load): Create cells variables as the (ses-cell ...) are read,
8520 in order to check row col consistency with cell symbol name only
8521 for cells that are not renamed.
8522 (ses-replace-name-in-formula): New defun.
8523 (ses-rename-cell): New defun.
8524
ee957461
CY
85252011-12-11 Chong Yidong <cyd@gnu.org>
8526
8527 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8528 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8529
9a9e9ef0
MR
85302011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8531
8532 * window.el (other-window): Fix docstring.
8533
92a8eba5
EZ
85342011-12-10 Eli Zaretskii <eliz@gnu.org>
8535
8536 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8537 `from' or `to' address before taking its substring.
8538 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8539 encoded name is chopped in the middle of the encoded string, and
8540 thus displayed encoded.
8541
e152e577
JB
85422011-12-10 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8545
e5d84bfe
EZ
85462011-12-10 Eli Zaretskii <eliz@gnu.org>
8547
8548 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8549 to use texinfo-update-node and commands that call it if the
8550 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8551 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8552 (texinfo-all-menus-update, texinfo-master-menu)
8553 (texinfo-update-node, texinfo-every-node-update)
8554 (texinfo-multiple-files-update): Doc fix. Warn against updating
8555 all the @node lines.
8556 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8557 argument is numeric. Explain better in the doc string what the
8558 function really does.
8559 (texinfo-insert-master-menu-list): Improve the error message
8560 displayed if there's no menu in the Top node.
8561 (Bug#2975) See also this thread:
e5d84bfe
EZ
8562 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8563
1d84e9bb
MG
85642011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8565
8566 * speedbar.el (speedbar-supported-extension-expressions):
8567 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8568
382c953b
JB
85692011-12-09 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * printing.el (pr-mode-alist):
8572 * simple.el (filter-buffer-substring-functions)
8573 (completion-list-insert-choice-function):
8574 * window.el (window-with-parameter, window-atom-root)
8575 (window-sides-slots, window-size-fixed, window-min-delta)
8576 (window-max-delta, window--resize-mini-window)
8577 (window--resize-child-windows-normal, window-tree)
8578 (delete-other-windows, quit-window, split-window)
8579 (display-buffer-record-window, special-display-buffer-names)
8580 (special-display-regexps, special-display-popup-frame)
8581 (same-window-p, split-window-sensibly)
8582 (display-buffer-overriding-action, display-buffer-alist)
8583 (display-buffer-base-action, display-buffer, switch-to-buffer)
8584 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8585 (fit-window-to-buffer, recenter-positions)
8586 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8587 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8588 and remove unneeded backslashes in docstrings.
8589
39c9faef
SM
85902011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8591
98449af8
SM
8592 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8593
39c9faef
SM
8594 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8595 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8596 end in ".mk".
8597 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8598 when reading the makefile (bug#10116).
8599
86ed9fdc
SM
86002011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8603 (bug#10116).
8604
5580f89d
GM
86052011-12-06 Glenn Morris <rgm@gnu.org>
8606
8607 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8608
28d3917c
CY
86092011-12-06 Chong Yidong <cyd@gnu.org>
8610
8611 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8612
a98edce9
JB
86132011-12-06 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * textmodes/table.el (table-shorten-cell): Fix typo.
8616
e65adfac
CG
86172011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8618
8619 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8620
71cc0b74
EZ
86212011-12-05 Eli Zaretskii <eliz@gnu.org>
8622
8623 * descr-text.el (describe-char): Fix display of strong
8624 right-to-left characters and directional embeddings and overrides.
8625
8626 * simple.el (what-cursor-position): Fix display of codepoints of
8627 strong right-to-left characters.
8628
315bc30d
CY
86292011-12-05 Chong Yidong <cyd@gnu.org>
8630
8631 * faces.el (read-color): Doc fix.
8632
58a70b94
GM
86332011-12-05 Glenn Morris <rgm@gnu.org>
8634
8635 * align.el (align--set-marker): Add doc-string.
8636 Don't try to move something that is not a marker. (Bug#10216)
8637
5158face
GM
86382011-12-04 Glenn Morris <rgm@gnu.org>
8639
8640 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8641 overly zealous deletion of trailing whitespace.
8642
520fca41
JB
86432011-12-04 Juanma Barranquero <lekktu@gmail.com>
8644
8645 * server.el (server-delete-client): On Windows, do not try to delete
8646 the only terminal.
8647 (server-process-filter): On Windows, treat requests for a tty frame as
8648 if they were for a GUI frame if the running server is in GUI mode.
8649
5e605a2e
GM
86502011-12-03 Glenn Morris <rgm@gnu.org>
8651
8652 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8653
5c3fe83f
SM
86542011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8655
6f5e57e7
SM
8656 * electric.el: Streamline electric-indent's hook.
8657 (electric-indent-chars): Revert to simple list.
8658 (electric-indent-functions): New var.
8659 (electric-indent-post-self-insert-function): Use it.
8660
5c3fe83f
SM
8661 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8662 there's no inferior buffer (bug#10196).
8663 (prolog-consult-compile): Don't use toggle-read-only.
8664
6bdac736
MA
86652011-12-02 Michael Albinus <michael.albinus@gmx.de>
8666
8667 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8668 interrupt. (Bug#10187)
8669
6131ba7f
SM
86702011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8671
99c79fee
SM
8672 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8673 (bug#9160).
8674
6131ba7f
SM
8675 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8676 (bug#10191).
8677
cb0a02ea
JL
86782011-12-02 Juri Linkov <juri@jurta.org>
8679
8680 * info.el (Info-search): Display "end of manual" when Isearch
8681 reaches the end of single-file Info manual. (Bug#9918)
8682
66e0570c
EZ
86832011-12-02 Eli Zaretskii <eliz@gnu.org>
8684
8685 * isearch.el (isearch-message-prefix): Run the input method part
8686 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8687
02b16839
JL
86882011-12-02 Juri Linkov <juri@jurta.org>
8689
8690 * isearch.el (isearch-occur): Use `word-search-regexp' for
8691 `isearch-word'.
8692 (isearch-search-and-update): Add condition for `isearch-word' and
8693 call `word-search-regexp'. (Bug#10145)
8694
0b950688
GM
86952011-12-01 Glenn Morris <rgm@gnu.org>
8696
8697 * eshell/em-hist.el (eshell-hist-initialize):
8698 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8699 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8700
9505c3c7
SM
87012011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8704
1bbe96b2 87052011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8706
a1beca85
SM
8707 * progmodes/verilog-mode.el (verilog-pretty-expr):
8708 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8709 verilog, such as += *= and the like.
8710 (verilog-assignment-operator-re): Regular expression to find the
8711 assigment operator in a verilog assignment.
8712 (verilog-assignment-operation-re): Regular expression to find an
8713 assignment statement for pretty-expr.
8714 (verilog-in-attribute-p): Query returns true if point is in an
8715 attribute context; used to skip these for expression line up from
8716 pretty-expr.
8717 (verilog-in-parameter-p): Query returns true if point is in an
8718 parameter definition context; used to skip these for expression
8719 line up from pretty-expr.
8720 (verilog-in-parenthesis-p): Query returns true if point is in a
8721 parenthetical expression, specifically ( ) but not [ ] or { };
8722 used by pretty-expr.
8723 (verilog-just-one-space): If there is no space, don't add one.
8724 (verilog-get-lineup-indent-2): Specifically skip just attribute
8725 contexts for expression lineup, rather than skipping all
8726 parenthetical expressions.
8727 (verilog-calculate-indent): Fix comment, and fix indent.
8728 (verilog-do-indent): Indent declarations in lists (suggested by
8729 Joachim Lechner).
8730 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8731 skeleton items.
8732 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8733 by Alain Mellan).
8734
1bbe96b2 87352011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8736
8737 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8738 parameters with embedded comments. Reported by Ray Stevens.
8739 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8740 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8741 Reported by Tim Holt.
8742 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8743 instantiated by upper module causing wrong expansion until AUTOed a
8744 second time. Reported by K C Buckenmaier.
8745 (verilog-diff-auto): Fix showing .* as a difference when
8746 `verilog-auto-star-save' off. Reported by Dan Dever.
8747 (verilog-auto-reset, verilog-read-always-signals)
8748 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8749 temporary signals in reset list if
8750 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8751 style to each signal's assignment type, bug381.
8752 Reported by Thomas Esposito.
6288f0ca
WS
8753 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8754 (verilog-uvm-statement-re): Support UVM indentation and
8755 highlighting, with old OVM keywords only.
a1beca85 8756 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8757 Support AUTOTIEOFF creating non-wire data types.
8758 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8759 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8760 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8761 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8762 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8763 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8764 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8765 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8766 non-numeric vector width. Reported by Alex Reed.
8767 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8768 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8769 (verilog-auto-delete-trailing-whitespace):
8770 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8771 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8772 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8773 Fix verilog-scan-cache corruption when running user AUTO expansion
8774 hooks that call indentation routines.
8775 (verilog-simplify-range-expression): Fix typo ignoring lower case
8776 identifiers.
8777 (verilog-delete-auto): Fix delete-autos to also remove user created
8778 automatics, as long as they start with AUTO.
8779 (verilog-batch-diff-auto, verilog-diff-auto)
8780 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8781 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8782 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8783 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8784 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8785 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8786 is disabled and its cache will get corrupt, causing AUTOS not to
8787 expand. Instead use only -quick functions.
8788 (verilog-scan-region): Fix scanning over escaped quotes.
8789 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8790 (verilog-re-search-backward-quick)
8791 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8792 related functions now ignore strings, to fix misparsing of strings
8793 with magic comments embedded in them.
a1beca85
SM
8794 (verilog-read-auto-template):
8795 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8796 Reported by Brad Dobbie.
8797 (verilog-read-auto-template):
8798 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8799 Reported by Brad Dobbie.
6288f0ca
WS
8800 (verilog-auto-inst, verilog-auto-inst-param)
8801 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8802 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8803 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8804 debugging templates without merge conflicts, bug357.
8805 Reported by Brad Dobbie.
8806 (verilog-read-auto-template):
8807 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8808 Reported by Brad Dobbie.
8809 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8810 abbrevs so user won't be asked to save.
8811 (verilog-read-auto-lisp-present): Fix to start at beginning of
8812 buffer in case called outside of verilog-auto.
8813 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8814 to "X-2". Reported by Matthew Myers.
8815 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8816 all inputs from module templates. Reported by Leith Johnson.
8817 (verilog-module-inside-filename-p): Fix locating programs as with
8818 modules.
8819 (verilog-auto-inst-port): Fix vl-width expressions when using
8820 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8821 (verilog-decls-get-regs, verilog-decls-get-signals,
8822 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8823 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8824 verilog-read-decls): Combine reg and wire structures into one var
8825 structure to represent SystemVerilog concepts.
8826 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8827 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8828 (verilog-auto-wire-type, verilog-insert-definition):
8829 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8830 SystemVerilog "logic" keyword instead of "wire"/"reg".
8831 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8832 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8833 ifdef or generate if so there's not a driver conflict).
8834 Reported by Matthew Myers.
8835 (verilog-auto-declare-nettype, verilog-insert-definition):
8836 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8837 `default_nettype none. Reported by Julian Gorfajn.
8838 (verilog-read-always-signals-recurse, verilog-read-decls)
8839 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8840 malformed end statement, bug325. Reported by Joshua Wise and
8841 Andrew Drake.
8842 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8843 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8844 when expanding .* in interfaces, bug320.
8845 Reported by Pierre-David Pfister.
6288f0ca 8846 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8847 name and open parenthesis, bug317.
8848 Reported by Pierre-David Pfister.
6288f0ca
WS
8849 (verilog-simplify-range-expression): Fix simplification of
8850 multiplications inside AUTOWIRE connections, bug303.
8851 (verilog-auto-inst-port): Support parameter expansion in
8852 multidimensional arrays.
8853 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8854 after "assert property". Reported by Julian Gorfajn.
8855 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8856 with multiplication, bug303.
8857 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8858 Reported by Jan Frode Lonnum.
8859
1bbe96b2
GM
88602011-11-30 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8863 (hfy-shell-file-name, hfy-shell):
8864 * international/fontset.el (x-decompose-font-name): Fix typos.
8865
88662011-11-29 Ken Brown <kbrown@cornell.edu>
8867
8868 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8869 (gdb-version): Remove defvar.
8870 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8871 (gdb-gud-context-command, gdb-non-stop-handler)
8872 (gdb-current-context-command, gdb-stopped): Use it.
8873 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8874 (gdb-non-stop-handler): Don't enable pretty-printing here.
8875 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8876 non-stop mode. Use the following.
8877 (gdb-check-target-async): New defun.
8878 (gud-watch, gdb-stopped): Fix whitespace.
8879 (gdb-get-source-file): Don't try to display the source file if
8880 `gdb-main-file' is nil.
8881
88822011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * align.el: Try to generate fewer markers (bug#10047).
8885 (align--set-marker): New macro.
8886 (align-region): Use it.
8887
c935221f
SM
88882011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8891
e70b5064
CY
88922011-11-29 Chong Yidong <cyd@gnu.org>
8893
8894 * indent.el (indent-for-tab-command, indent-according-to-mode):
8895 Doc fix.
8896 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8897
f3af92b7
MA
88982011-11-29 Michael Albinus <michael.albinus@gmx.de>
8899
8900 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8901 aware of remote file names. (Bug#10124)
8902
ed472be9
CY
89032011-11-29 Chong Yidong <cyd@gnu.org>
8904
8905 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8906
24510c22
SM
89072011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * files.el (find-file): Don't use force-same-window (bug#10144).
8910 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8911 use pop-to-buffer if the selected window can't be used.
8912 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8913
c60c3703
EZ
89142011-11-28 Eli Zaretskii <eliz@gnu.org>
8915
8916 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8917 special-mode-map.
8918
e95def75
CY
89192011-11-28 Chong Yidong <cyd@gnu.org>
8920
8921 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8922
c3f1c606
NR
89232011-11-27 Nick Roberts <nickrob@snap.net.nz>
8924
8925 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8926 gdb-get-source-file-list on gdb-create-source-file-list.
8927
00db469c
EZ
89282011-11-26 Eli Zaretskii <eliz@gnu.org>
8929
8930 * whitespace.el (whitespace-newline): Use a different foreground
8931 color for 16-color light-background displays.
8932
4ad3bc2a
CY
89332011-11-24 Chong Yidong <cyd@gnu.org>
8934
8935 * window.el (display-buffer--special-action): Doc fix.
8936
e9fce1ac
JB
89372011-11-25 Juanma Barranquero <lekktu@gmail.com>
8938
8939 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8940 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8941 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8942 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8943 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8944 (avl-tree-stack-first):
8945 * emacs-lisp/cconv.el (cconv--analyse-use):
8946 * net/gnutls.el (gnutls-negotiate): Fix typos.
8947
cb825e5d
GM
89482011-11-24 Glenn Morris <rgm@gnu.org>
8949
3adbe224
GM
8950 * lpr.el (lpr-windows-system, lpr-lp-system):
8951 * mail/binhex.el (binhex-begin-line):
8952 * progmodes/grep.el (grep-history, grep-find-history):
8953 * textmodes/flyspell.el:
8954 * vc/pcvs-defs.el (cvs-global-menu):
8955 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8956 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8957 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8958
321decc8
GM
8959 * net/tls.el: Fix case of "GnuTLS".
8960
420b63ad
GM
8961 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8962
cb825e5d
GM
8963 * version.el (emacs-build-system): Give it a doc-string.
8964
a0649f08
JL
89652011-11-24 Juri Linkov <juri@jurta.org>
8966
8967 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8968
c0bc0fd4
GM
89692011-11-24 Glenn Morris <rgm@gnu.org>
8970
8971 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8972 if called on a non-mime message just toggle the headers. (Bug#8006)
8973
20db1522
JB
89742011-11-24 Juanma Barranquero <lekktu@gmail.com>
8975
8976 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8977 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8978 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8979 (allout-rebullet-heading, allout-open-sibtopic)
8980 (allout-toggle-current-subtree-encryption)
8981 (allout-toggle-subtree-encryption, allout-encrypt-string)
8982 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8983 (allout-distinctive-bullets-string, allout-auto-activation):
8984 * window.el (window-normalize-buffer-to-display):
8985 * progmodes/verilog-mode.el (verilog-batch-indent):
8986 * textmodes/bibtex.el (bibtex-field-braces-opt)
8987 (bibtex-field-strings-opt):
8988 * vc/cvs-status.el (cvs-tree-merge):
8989 Fix typos.
8990
7262a87c
MA
89912011-11-23 Michael Albinus <michael.albinus@gmx.de>
8992
8993 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8994 `non-essential' to t, in order to avoid remote connections.
8995
283430a1
EZ
89962011-11-23 Eli Zaretskii <eliz@gnu.org>
8997
a1beca85
SM
8998 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8999 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9000 case-insensitively.
9001
d2992a38
ML
90022011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9003
9004 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9005
50419064
GM
90062011-11-23 Glenn Morris <rgm@gnu.org>
9007
da94eca1
GM
9008 * paths.el (rmail-file-name): Reformat the doc-string so that it
9009 is picked up.
9010
9aac4de2
GM
9011 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9012 (rmail-auto-file): Ignore case in the "special" field names,
9013 as mail-fetch-field does for all others.
9014
8038d2d2
GM
9015 * mail/rmail.el (rmail-forward):
9016 * mail/rmailkwd.el (rmail-set-label):
9017 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9018 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9019
f3fe222a
GM
9020 * mail/rmail.el (rmail-current-message): Doc fix.
9021
50419064
GM
9022 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9023
28109f49
SM
90242011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9027
394c65f1
GM
90282011-11-22 Glenn Morris <rgm@gnu.org>
9029
9030 * mail/rmailmm.el (test-rmail-mime-handler)
9031 (test-rmail-mime-bulk-handler)
9032 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9033
f2a0aa3a
JL
90342011-11-21 Juri Linkov <juri@jurta.org>
9035
1154d12e
JB
9036 * calc/calc.el (calc-read-key-sequence):
9037 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9038
9c34a344
LMI
90392011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9040
9041 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9042 Tell the caller that the next line needs recomputation, even
9043 though it doesn't start a sexp (bug#10094).
9044
f04a3be9
SM
90452011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9048
7978747f
SM
90492011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9050
f04a3be9
SM
9051 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9052 Use force-same-window.
7978747f 9053
fe7a3057
JB
90542011-11-20 Juanma Barranquero <lekktu@gmail.com>
9055
9056 * descr-text.el (describe-char-unicode-data):
9057 * json.el (json-string-escape):
9058 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9059 (Footnote-unicode, Footnote-style-p):
9060 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9061
24901d61
CY
90622011-11-20 Chong Yidong <cyd@gnu.org>
9063
9064 * window.el (replace-buffer-in-windows): Restore interactive spec.
9065
bac7ff22
SM
90662011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9067
24f3d7b9
SM
9068 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9069
bac7ff22
SM
9070 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9071 (byte-compile-global-not-obsolete-vars): New var.
9072 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9073 Use it.
9074 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9075
cd1181db
JB
90762011-11-20 Juanma Barranquero <lekktu@gmail.com>
9077
9078 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9079 * progmodes/pascal.el (electric-pascal-equal):
9080 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9081 * xml.el (xml-substitute-special): Fix typos.
9082
7fb18e9e
GM
90832011-11-20 Glenn Morris <rgm@gnu.org>
9084
9085 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9086 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9087 Doc fixes.
9088 (rmail-decode-mime-charset): Mark as obsolete.
9089
9090 * mail/rmailsum.el (rmail-message-regexp-p-1):
9091 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9092 Before using mime functions, check they are set. (Bug#10077)
9093
d5a6b3ba
JL
90942011-11-19 Juri Linkov <juri@jurta.org>
9095
9096 * info.el (Info-finder-find-node): Use `package--builtins' instead
9097 of `package-alist'. Use node names formed by the pattern "Keyword "
9098 and the keyword name.
9099
e981b61f
AS
91002011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9101
1d00653d 9102 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9103
3ffbc301
JL
91042011-11-19 Juri Linkov <juri@jurta.org>
9105
9106 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9107 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9108 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9109 `old-history', `old-history-forward'. Add let-binding
9110 `window-selected'. Remove calls to `kill-buffer',
9111 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9112 before calling `Info-find-node', so `Info-find-node-2' will reread
9113 the Info file. Restore window positions only when `window-selected'
9114 is non-nil.
9115
30c62133
JL
91162011-11-19 Juri Linkov <juri@jurta.org>
9117
9118 * isearch.el (isearch-lazy-highlight-new-loop):
9119 Remove condition `(not isearch-error)'. (Bug#9918)
9120
9121 * misearch.el (multi-isearch-search-fun): Add condition
9122 `(not bound)' to ignore lazy-highlighting search.
9123 Add the search-failed message "end of multi" when the end of
9124 multi-sequence is reached. Uncapitalize the search-failed
9125 message "Repeat for next buffer".
9126
9127 * info.el (Info-search): Add the search-failed message
9128 "end of the manual" when the end of the manual is reached
9129 in Isearch mode.
9130
645ca9cf
JL
91312011-11-19 Juri Linkov <juri@jurta.org>
9132
9133 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9134 Use non-destructive `remove' instead of `delete' because
9135 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9136 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9137
df754f66
JL
91382011-11-19 Juri Linkov <juri@jurta.org>
9139
9140 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9141 to nil instead of binding `search-ring' and `regexp-search-ring'.
9142 (Bug#9185)
9143
0e23d96a
EZ
91442011-11-19 Eli Zaretskii <eliz@gnu.org>
9145
9146 * simple.el (line-move): Force movement by logical lines for any
9147 hscrolled window, not only when auto-hscroll-mode is on.
9148 (line-move-visual): Update doc string to that effect. (Bug#10076)
9149
8a6ccb66
AS
91502011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9151
9152 * language/european.el (macintosh): Define as alias for mac-roman.
9153
49ae5b39
EZ
91542011-11-19 Eli Zaretskii <eliz@gnu.org>
9155
9156 * mail/rmailmm.el (rmail-mime-display-header)
9157 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9158 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9159 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9160 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9161 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9162 of a raw aref.
9163 (rmail-mime-entity-segment): To get past the tagline, move forward
9164 2 more lines, to account for the 2 empty lines that precede and
9165 follow the line with the buttons.
9166 (rmail-mime-update-tagline): Move one more line, to get past the
9167 empty line that follows the buttons in the tagline. (Bug#9520)
9168
c56cad4a
MR
91692011-11-19 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (window-max-delta-1, window-min-delta-1)
9172 (window-min-size-1, window-state-get-1, window-state-put-1)
9173 (window-state-put-2): Use "window--" prefix.
9174
cbe71af3
SM
91752011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9176
2ad52c60
SM
9177 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9178 (smie-warning-count): New var.
9179 (smie-set-prec2tab): Use it.
9180 (smie-bnf->prec2): Improve warnings. Add docstring.
9181 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9182 (smie-bnf--set-class): New function.
9183 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9184 corner case.
9185
6944dbc1
SM
9186 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9187 (compilation-error-properties, compilation-move-to-column):
9188 Handle compilation-first-column while in the target buffer.
9189
c400c4d7
SM
9190 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9191 Don't hardcode point-min==1.
9192
6dbe3e96
SM
9193 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9194 (eshell-rewrite-for-command): Remove workaround.
9195 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9196 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9197 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9198
cbe71af3
SM
9199 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9200
a8e1496d
GM
92012011-11-17 Glenn Morris <rgm@gnu.org>
9202
9203 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9204 Ignore buffer-local generated-autoload-file if it is the same
9205 as the global value. (Bug#10049)
9206
df85d315
JB
92072011-11-17 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9210 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9211 (reftex-toc-previous-heading, reftex-toc-max-level)
9212 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9213 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9214 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9215 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9216 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9217 (reftex-toc-rename-label, reftex-toc-visit-location)
9218 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9219 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9220 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9221 leaving "*toc*" only for references to the buffer.
9222
a0c2d0ae
MR
92232011-11-17 Martin Rudalics <rudalics@gmx.at>
9224
9225 * window.el (window-resize, delete-window, split-window):
9226 Replace window-splits by window-combination-resize.
1d00653d 9227 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9228
35c0bac8
GM
92292011-11-17 Glenn Morris <rgm@gnu.org>
9230
9231 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9232 Make bash entry derive from sh entry, not shell entry.
9233
d0c8fc8a
MA
92342011-11-16 Michael Albinus <michael.albinus@gmx.de>
9235
7262a87c
MA
9236 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9237 local file name.
9238
7877f373
JB
92392011-11-16 Juanma Barranquero <lekktu@gmail.com>
9240
9241 * menu-bar.el (menu-bar-file-menu):
9242 * printing.el (pr-ps-utility):
9243 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9244 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9245 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9246 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9247 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9248 (icalendar--convert-cyclic-to-ical)
9249 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9250 (icalendar--convert-ical-to-diary)
9251 (icalendar--convert-recurring-to-diary)
9252 (icalendar--convert-non-recurring-all-day-to-diary)
9253 (icalendar-import-format-sample):
9254 * progmodes/idlw-shell.el (idlwave-shell-mode):
9255 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9256 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9257 (vhdl-ps-print-init): Fix typos.
9258
10649b82
KM
92592011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9260
9d0cfcd6
GM
9261 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9262 FSF and collapse date sequence, obscure author/maintainer email address
9263 better, remove extra version line, track relocation of author's webpage.
10649b82 9264
9d0cfcd6
GM
9265 * progmodes/python.el (python-pdbtrack-input-prompt)
9266 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9267 regular python pdb prompts. Adjustments shamelessly taken exactly as
9268 suggested in EmacsWiki page (tiny change):
9269 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9270
58179cce
JB
92712011-11-16 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * expand.el (expand-pos, expand-index, expand-point):
9274 Remove redundant info from docstring.
9275 (expand-add-abbrevs): Doc fix.
9276 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9277 (expand-sample-perl-mode-expand-list): Fix typos.
9278
9279 * net/dbus.el (dbus-event-member-name):
9280 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9281 * term/pc-win.el (msdos-create-frame-with-faces):
9282 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9283
b6f67890
MR
92842011-11-16 Martin Rudalics <rudalics@gmx.at>
9285
9286 * window.el (split-window, window-state-get-1)
9287 (window-state-put-1, window-state-put-2): Rename occurrences of
9288 window-nest to window-combination-limit.
1d00653d 9289 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9290
ce7ddba0
CY
92912011-11-16 Chong Yidong <cyd@gnu.org>
9292
9293 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9294 regexp (Bug#10033).
9295
3ae704f4
SM
92962011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9299 `completing-read' will remove *Completions* and will preserve
9300 current-buffer for us.
9301 (tmm-add-prompt): Users of *Completions* will always (re)set its
9302 major mode.
9303 (tmm-old-comp-map): Remove.
9304
6ad1cdde
GM
93052011-11-16 Glenn Morris <rgm@gnu.org>
9306
9307 * mail/rmailedit.el: Require rmailmm when compiling.
9308 (rmail-old-mime-state): New declaration.
9309 (rmail-edit-current-message): If editing a mime message,
9310 edit the "raw" message from the mbox buffer.
9311 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9312
d20faa20
GM
93132011-11-15 Glenn Morris <rgm@gnu.org>
9314
9315 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9316 which wasn't being used. Add optional arg to force given state.
9317 (rmail-mime): Add optional arg to force given state.
9318
c7015153
JB
93192011-11-15 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9322 * frame.el (display-mm-dimensions-alist):
9323 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9324 (outline-move-subtree-down):
9325 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9326 (newsticker--treeview-do-get-node):
9327 * net/quickurl.el (quickurl-list-buffer-name):
9328 * progmodes/dcl-mode.el (dcl-mode):
9329 * progmodes/gdb-mi.el (gdb-mapcar*):
9330 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9331
45261b50
GM
93322011-11-15 Glenn Morris <rgm@gnu.org>
9333
9334 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9335 in a boolean sense, so just make it a boolean, and fix the doc.
9336 (rmail-show-mime-function, rmail-mime-feature)
9337 (rmail-require-mime-maybe): Doc fixes.
9338 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9339
9340 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9341
0d26e0b6
JB
93422011-11-15 Juanma Barranquero <lekktu@gmail.com>
9343
9344 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9345 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9346 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9347 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9348
447f30f6
GM
93492011-11-15 Glenn Morris <rgm@gnu.org>
9350
672b871d
GM
9351 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9352 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9353 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9354 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9355 (rmail-mime, rmail-show-mime): Doc fixes.
9356
f6aa5bb1
GM
9357 * term/ns-win.el (mode-line-frame-identification):
9358 Leave it alone. (Bug#10051)
9359
947cd66b
GM
9360 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9361
447f30f6
GM
9362 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9363 Handle empty buffers. (Bug#9978)
9364
0b381c7e
JB
93652011-11-14 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * international/mule.el (define-charset):
9368 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9369 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9370 * progmodes/verilog-mode.el (verilog-backward-token):
9371 * textmodes/ispell.el (lookup-words):
9372 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9373
71e027ac
GM
93742011-11-14 Glenn Morris <rgm@gnu.org>
9375
56632ce4
GM
9376 * progmodes/executable.el
9377 (executable-make-buffer-file-executable-if-script-p):
9378 Handle file-modes returning nil.
9379
40500957
GM
9380 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9381 message - not necessary, and causes problems. (Bug#9831)
9382
071c2340
GM
9383 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9384
d3cfca60
GM
9385 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9386
71e027ac
GM
9387 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9388 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9389 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9390
89d61221
MR
93912011-11-12 Martin Rudalics <rudalics@gmx.at>
9392
9393 * window.el (window-resize, delete-window): Use window-splits
9394 variable instead of function.
9395 (window-state-get-1, window-state-put-2, window-state-put):
9396 Don't deal with windows' splits status.
9397
98282f6f
GM
93982011-11-12 Glenn Morris <rgm@gnu.org>
9399
9400 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9401 (apropos-documentation): Doc fixes.
9402
40a8bdf6
JB
94032011-11-11 Juanma Barranquero <lekktu@gmail.com>
9404
9405 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9406 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9407
65bd19ff
SM
94082011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * electric.el (electric-indent-post-self-insert-function): Make it
9411 possible for a char to only indent in some circumstances.
9412 (electric-indent-mode): Simplify.
9413
54f9154c
MR
94142011-11-11 Martin Rudalics <rudalics@gmx.at>
9415
9416 * window.el (windows-with-parameter): Remove unused function.
9417 (windows-at-side): Rename to window-at-side-list.
9418 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9419 (window-side-check, window-size-ignore, window-size-fixed-1)
9420 (window-in-direction-2): Prefix with "window--".
9421 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9422
68cbc58b
GM
94232011-11-11 Glenn Morris <rgm@gnu.org>
9424
9425 * subr.el (eval-after-load): If FILE is already loaded,
9426 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9427
b2621720
GM
94282011-11-10 Glenn Morris <rgm@gnu.org>
9429
9a4de110
GM
9430 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9431 Call svn via vc-svn-command rather than vc-do-command.
9432 (vc-svn-command): Add --non-interactive. (Bug#9993)
9433 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9434
b2621720
GM
9435 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9436 Add toggle-read-only. (Bug#7292)
9437 * files.el (toggle-read-only): Mention that it should only
9438 be used interactively. (Bug#10006)
9439
1dce7193
SM
94402011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9441
d9ac1a1e
SM
9442 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9443 Adjust regexp for OCaml warnings.
9444
0c325082
SM
9445 * electric.el (electric-pair-post-self-insert-function): Let user
9446 turn it off buffer-locally (bug#9932).
9447
90132c14
SM
9448 * progmodes/python.el (python-beginning-of-statement):
9449 Rewrite (bug#2703).
9450
1dce7193
SM
9451 * progmodes/compile.el: Better handle TABs (bug#9749).
9452 (compilation-internal-error-properties)
9453 (compilation-next-error-function): Obey the target buffer's
9454 compilation-error-screen-columns.
9455
c4e7c63a
JB
94562011-11-09 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * progmodes/meta-mode.el: Remove obsolete comments.
9459 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9460 Fix typos in docstrings.
9461
2cffd681
MR
94622011-11-09 Martin Rudalics <rudalics@gmx.at>
9463
9464 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9465 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9466 (window--resizable): New function. Make all callers of
9467 window-resizable call window--resizable instead.
9468 (window-resizable): Rewrite in terms of window--resizable.
9469
0edcba87
GM
94702011-11-08 Glenn Morris <rgm@gnu.org>
9471
9472 * progmodes/delphi.el (delphi-mode-syntax-table):
9473 Let define-derived-mode define a proper syntax table. (Bug#9994)
9474
4b0d61e3
SM
94752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * window.el: Stay away from defsubst.
9478 (window-list-no-nils): Remove.
9479 (window-state-get-1, window-state-get): Use backquote instead.
9480
cd394be1 94812011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9482
4b0d61e3 9483 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9484 Fix incorrect use of default argument in `completing-read'.
9485
e1c2c6f2
MR
94862011-11-08 Martin Rudalics <rudalics@gmx.at>
9487
9488 * window.el (display-buffer-function, special-display-function):
9489 Mention display-buffer-record-window but do not mention
9490 help-setup parameter in doc-strings.
b3f4a882 9491 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9492
105216ed
CY
94932011-11-08 Chong Yidong <cyd@gnu.org>
9494
9495 * window.el (window-total-height, window-total-width): Doc fix.
9496 (window-body-size): Move from C.
9497 (window-body-height, window-body-width): Move to C.
9498
0a9f9ab5
SM
94992011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * window.el: Make special-display like display-buffer-alist (bug#9532).
9502 (display-buffer--special-action): New function, morphed
9503 from display-buffer--special.
9504 (display-buffer): Use it to handle special-display-buffers at higher
9505 priority (just after display-buffer-alist).
9506 (display-buffer-fallback-action, display-buffer--other-frame-action)
9507 (pop-to-buffer-same-window): Remove display-buffer--special.
9508
a769dd15
GM
95092011-11-07 Glenn Morris <rgm@gnu.org>
9510
9511 * calendar/cal-menu.el (cal-menu-set-date-title):
9512 Do nothing if not in a calendar. (Bug#9976)
9513
05a61ee3
SM
95142011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * files.el (find-file): Always use selected-window.
9517
be7f5545
MR
95182011-11-07 Martin Rudalics <rudalics@gmx.at>
9519
9520 * window.el (window-combinations): Make WINDOW argument
9521 mandatory. Rewrite doc-string.
9522 (walk-window-subtree, window-atom-check, window-min-delta)
9523 (window-max-delta, window--resize-this-window)
9524 (window--resize-root-window-vertically, window-tree)
9525 (balance-windows, window-state-put): Rewrite doc-strings as to
9526 not mention the term "subwindow".
9527 (window--resize-subwindows-skip-p): Rename to
9528 window--resize-child-windows-skip-p.
9529 (window--resize-subwindows-normal): Rename to
9530 window--resize-child-windows-normal.
9531 (window--resize-subwindows): Rename to
9532 window--resize-child-windows.
9533 (window-or-subwindow-p): Rename to window--in-subtree-p.
9534
3c6702ef
ML
95352011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9536
9537 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9538 Ensure that mbox format messages end in two newlines (Bug#9974).
9539
49745b39
CY
95402011-11-06 Chong Yidong <cyd@gnu.org>
9541
9542 * window.el (window-combination-p): Function deleted; its
9543 side-effect is not used in any existing code.
9544 (window-combinations, window-combined-p): Call window-*-child
9545 directly.
9546
24300f5f
CY
95472011-11-05 Chong Yidong <cyd@gnu.org>
9548
9549 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9550 (window-size-ignore, window-state-get): Callers changed.
9551 (window-normalize-window): Rename from window-normalize-any-window.
9552 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9553 (window-normalize-live-window): Delete.
447f16b8
CY
9554 (window-combination-p, window-combined-p, window-combinations)
9555 (walk-window-subtree, window-atom-root, window-min-size)
9556 (window-sizable, window-sizable-p, window-size-fixed-p)
9557 (window-min-delta, window-max-delta, window-resizable)
9558 (window-resizable-p, window-full-height-p, window-full-width-p)
9559 (window-current-scroll-bars, window-point-1, set-window-point-1)
9560 (window-at-side-p, window-in-direction, window-resize)
9561 (adjust-window-trailing-edge, maximize-window, minimize-window)
9562 (window-deletable-p, delete-window, delete-other-windows)
9563 (record-window-buffer, unrecord-window-buffer)
9564 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9565 (quit-window, split-window, window-state-put)
9566 (set-window-text-height, fit-window-to-buffer)
9567 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9568
89bd5ee1
EZ
95692011-11-04 Eli Zaretskii <eliz@gnu.org>
9570
53479029
EZ
9571 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9572 rfc2047-decode-string.
9573 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9574 warnings.
9575
89bd5ee1
EZ
9576 * window.el (window-body-height, window-body-width): Mention in
9577 the doc string that the return values are in frame's canonical
9578 units. (Bug#9949)
9579
bd17fdee
AM
95802011-11-03 Alan Mackenzie <acm@muc.de>
9581
9582 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9583 change in cc-engine.el.
9584
acc825c5
SM
95852011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9588
1885e5b8
MR
95892011-11-02 Martin Rudalics <rudalics@gmx.at>
9590
9591 * window.el (quit-window): Call unrecord-window-buffer after
9592 showing another buffer in the window. (Bug#9937)
acc825c5 9593 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9594
ebe06da9
JB
95952011-11-02 Juanma Barranquero <lekktu@gmail.com>
9596
9597 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9598 Accept status with more than 9 shelves. (Bug#9935)
9599 Reported by Colin D Bennett <colin@gibibit.com>.
9600
4ee88440
MR
96012011-11-01 Martin Rudalics <rudalics@gmx.at>
9602
9603 * help.el (with-help-window): Don't reference
9604 temp-buffer-show-specifiers in doc-string.
9605
08e1d82c
AS
96062011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9607
9608 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9609 menu-item.
9610
84bd6e9e
VJL
96112011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9612
9613 * whitespace.el: New version 13.2.2.
9614 (whitespace-newline-mode): Disable properly. Reported by Sarah
9615 <EmacsWiki>.
9616
dba0634a
UJ
96172011-10-30 Ulf Jasper <ulf.jasper@web.de>
9618
9619 * net/newst-treeview.el: Remove "Time-stamp".
9620 (newsticker--group-manage-orphan-feeds): Do not call
9621 newsticker--treeview-tree-update.
db22a3c2
JB
9622 (newsticker-treeview-update, newsticker-treeview):
9623 Call newsticker--treeview-tree-update if necessary.
dba0634a 9624
3d8daefe
MR
96252011-10-30 Martin Rudalics <rudalics@gmx.at>
9626
9627 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9628 (window-iso-combinations): Remove "iso-" infix.
9629 Suggested by Chong Yidong.
3d8daefe
MR
9630 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9631 (window-max-delta-1, window-resize, window--resize-siblings)
9632 (window--resize-this-window, adjust-window-trailing-edge)
9633 (split-window, balance-windows-1)
9634 (shrink-window-if-larger-than-buffer):
9635 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9636 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9637
1bc4c3ae
SM
96382011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9641 in place (bug#9907).
9642 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9643 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9644 (eshell-structure-basic-command, eshell-rewrite-while-command)
9645 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9646 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9647 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9648 (eshell-do-pipelines-synchronously, eshell-eval-command):
9649 Use backquotes and prefer setq to set.
9650 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9651 (eshell-macrop): Use functionp.
c1e2f5fa 9652 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9653
30b65d9c
CY
96542011-10-30 Chong Yidong <cyd@gnu.org>
9655
9656 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9657 instead of set-mark (Bug#9810).
9658
2d197ffb
CY
96592011-10-30 Chong Yidong <cyd@gnu.org>
9660
9661 * window.el (split-window-below, split-window-right): Rename from
9662 split-window-above-each-other and split-window-side-by-side
9663 respectively. All callers changed.
9664 (split-window-sensibly, split-window-sensibly): Use them.
9665 (split-window-keep-point): Doc fix.
9666
9667 * isearch.el: Add isearch-scroll property to split-window-below
9668 and split-window-right.
9669
9670 * follow.el (follow-mode):
9671 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9672 * progmodes/ada-xref.el (ada-gdb-application):
9673 * emulation/vip.el (vip-buffer-in-two-windows):
9674 * image-dired.el (image-dired-dired-with-window-configuration):
9675 * dired-x.el (dired-do-find-marked-files):
9676 * dired.el (dired-pop-to-buffer):
9677 * bs.el (bs--show-with-configuration):
9678 * vc/emerge.el (emerge-setup-windows):
9679 * textmodes/two-column.el (2C-two-columns):
9680 * textmodes/reftex-toc.el (reftex-toc):
9681 * progmodes/gdb-mi.el (gdb-setup-windows):
9682 * progmodes/fortran.el (fortran-window-create):
9683 * net/newst-treeview.el (newsticker--treeview-window-init):
9684 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9685 * emulation/tpu-edt.el (tpu-gold-map):
9686 * emulation/crisp.el (crisp-mode-map):
9687 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9688
38bb2ca8
CY
96892011-10-29 Chong Yidong <cyd@gnu.org>
9690
aa4de341
CY
9691 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9692
e1eb5385
CY
9693 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9694
5d2ece3c
CY
9695 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9696 forged Ispell output (Bug#7904).
9697
38bb2ca8
CY
9698 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9699
d0af9f77
SM
97002011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * doc-view.el: Avoid ugly errors about not finding nil.
9703 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9704 (doc-view-dvipdf-program, doc-view-unoconv-program)
9705 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9706 Avoid nil or absolute file name as default value.
9707 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9708
52bedd34
AM
97092011-10-28 Alan Mackenzie <acm@muc.de>
9710
db22a3c2 9711 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9712
7e43cfa5
AM
97132011-10-28 Alan Mackenzie <acm@muc.de>
9714
9715 Amend the handling of c-beginning/end-of-defun in nested declaration
9716 scopes.
9717
52bedd34
AM
9718 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9719 cc-langs.el. Change it to a defcustom.
7e43cfa5 9720
52bedd34
AM
9721 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9722 cc-vars.el.
7e43cfa5 9723
d0af9f77
SM
9724 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9725 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9726
52bedd34 9727 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9728 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9729 (c-widen-to-enclosing-decl-scope): New function.
9730 (c-while-widening-to-decl-block): New macro.
9731 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9732 outward for defun boundaries, and correspondingly change symbol
9733 `respect-enclosure' to `go-outward'.
9734 (c-declaration-limits): Change algorithm to report only the "innermost"
9735 defun's boundaries.
9736
1a2ce9ee
DD
97372011-10-28 Deniz Dogan <deniz@dogan.se>
9738
9739 * net/rcirc.el (rcirc-mode): Use hard newlines.
9740
bc97a826
AM
97412011-10-28 Alan Mackenzie <acm@muc.de>
9742
9743 Amend to indent and fontify macros "which include their own semicolon"
9744 correctly, using the "virtual semicolon" mechanism.
9745
52bedd34 9746 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9747
d0af9f77 9748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9749 Recode to scan one line at a time rather than having \n and \r
58179cce 9750 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9751 (c-forward-label): Amend for virtual semicolons.
58179cce 9752 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9753
52bedd34
AM
9754 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9755 of the new C macros.
bc97a826 9756
52bedd34 9757 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9758 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9759 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9760 (c-opt-cpp-macro-define): Make into a full language variable.
9761 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9762 AWK Mode (including \n, \r) removed, no longer needed.
9763
d0af9f77
SM
9764 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9765 Invoke c-make-macro-with-semi-re.
bc97a826 9766
52bedd34
AM
9767 * progmodes/cc-vars.el (c-macro-with-semi-re):
9768 (c-macro-names-with-semicolon): New variables.
58179cce 9769 (c-make-macro-with-semi-re): New function.
bc97a826 9770
7a6c0941
SM
97712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * vc/log-edit.el: Fill empty field rather than adding new one.
9774 (log-edit-add-field): New function.
9775 (log-edit-insert-changelog): Use it.
9776
b0c4cdcf
ML
97772011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9778
9779 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9780
ee1f1da9
SM
97812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9782
9783 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9784 (gdb--check-interpreter): New function.
9785 (gdb): Use it.
9786
51bc5f8b
GM
97872011-10-27 Glenn Morris <rgm@gnu.org>
9788
416a2c45
GM
9789 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9790 (least-positive-float, least-negative-float)
9791 (least-positive-normalized-float, least-negative-normalized-float)
9792 (float-epsilon, float-negative-epsilon):
9793 Remove unnecessary declarations.
9794
9795 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9796 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9797 (least-positive-float, least-negative-float)
9798 (least-positive-normalized-float, least-negative-normalized-float)
9799 (float-epsilon, float-negative-epsilon): Add doc-strings,
9800 based on those in cl.texi.
9801
51bc5f8b
GM
9802 * files.el (set-visited-file-name): If the major-mode changed,
9803 reload the local variables. (Bug#9796)
9804
15de15c6
CY
98052011-10-27 Chong Yidong <cyd@gnu.org>
9806
9807 * subr.el (change-major-mode-after-body-hook): New hook.
9808 (run-mode-hooks): Run it.
9809
ee1f1da9
SM
9810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9811 Use change-major-mode-before-body-hook.
15de15c6
CY
9812
9813 * simple.el (fundamental-mode):
9814 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9815 change introducing fundamental-mode-hook.
9816
5430d399
JB
98172011-10-26 Juanma Barranquero <lekktu@gmail.com>
9818
acc825c5 9819 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9820
ad74a69e
MA
98212011-10-26 Michael Albinus <michael.albinus@gmx.de>
9822
9823 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9824 tramp.el explicitly. (Bug#7583)
ad74a69e 9825
71d4c2a5
SM
98262011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * progmodes/octave-mod.el:
9829 * progmodes/octave-inf.el: Update maintainer.
9830
b1f6fa26
CY
98312011-10-26 Chong Yidong <cyd@gnu.org>
9832
9833 * subr.el (with-wrapper-hook): Rewrite doc.
9834
3f04efd6
MA
98352011-10-25 Michael Albinus <michael.albinus@gmx.de>
9836
9837 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9838 filenames "/method:foo:". (Bug#9793)
3f04efd6 9839
410488d3
SM
98402011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9843 (bug#9865).
9844
c1ebb47e
GM
98452011-10-24 Glenn Morris <rgm@gnu.org>
9846
9847 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9848
7f5c46c7
MA
98492011-10-24 Michael Albinus <michael.albinus@gmx.de>
9850
9851 * notifications.el: Add the requirement of a running D-Bus session
9852 bus to the Commentary.
9853
db2440b6
JL
98542011-10-24 Juri Linkov <juri@jurta.org>
9855
9856 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9857 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9858 (Bug#9364)
9859
feecf435
JL
98602011-10-24 Juri Linkov <juri@jurta.org>
9861
9862 * info.el (Info-following-node-name-re): Add newline to the list
9863 of allowed characters for leading space. (Bug#9824)
9864
a3839de2
SM
98652011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9866
acc825c5
SM
9867 * progmodes/octave-inf.el (inferior-octave-mode-map):
9868 Fix C-c C-h binding.
a3839de2
SM
9869 * progmodes/octave-mod.el (octave-help): Remove.
9870
09388e76
MA
98712011-10-23 Michael Albinus <michael.albinus@gmx.de>
9872
9873 Sync with Tramp 2.2.3.
9874
9875 * net/tramp-cache.el (top): Pacify byte-compiler using
9876 `init-file-user' and `site-run-file'.
9877
9878 * net/trampver.el: Update release number.
9879
86c60681
CY
98802011-10-23 Chong Yidong <cyd@gnu.org>
9881
9882 * files.el (toggle-read-only): Remove obsolete comment about
9883 version control.
9884
9885 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9886 for toggle-read-only. Note that this hasn't called vc-next-action
9887 since 2008-05-02, though it wasn't documented at the time.
9888
a3839de2
SM
9889 * vc/ediff-init.el (ediff-toggle-read-only-function):
9890 Use toggle-read-only.
86c60681 9891
cd5495ff
AM
98922011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9893
9894 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9895 of c-parse-state.
9896
00b77525 9897 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9898 correct faulty logical expression.
cd5495ff
AM
9899 (c-parse-state-state, c-record-parse-state-state):
9900 (c-replay-parse-state-state): New defvar/defuns.
9901 (c-debug-parse-state): Use new functions.
9902
42ee24ed
MR
99032011-10-22 Martin Rudalics <rudalics@gmx.at>
9904
9905 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9906 last fix. Use window-in-direction correctly.
42ee24ed 9907
a7dee7e7
CY
99082011-10-21 Chong Yidong <cyd@gnu.org>
9909
9910 * progmodes/idlwave.el (idlwave-mode):
9911 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9912 require-final-newline; that's done in prog-mode.
9913 Suggested by Stefan Monnier.
a7dee7e7 9914
e07b9a6d
MR
99152011-10-21 Martin Rudalics <rudalics@gmx.at>
9916
9917 * mouse.el (mouse-drag-window-above)
9918 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9919 (mouse-drag-mode-line-1, mouse-drag-header-line)
9920 (mouse-drag-vertical-line-rightward-window): Remove.
9921 (mouse-drag-line): New function.
9922 (mouse-drag-mode-line, mouse-drag-header-line)
9923 (mouse-drag-vertical-line): Call mouse-drag-line.
9924 * window.el (window-at-side-p, windows-at-side): New functions.
9925
7e1361d9
UM
99262011-10-21 Ulrich Mueller <ulm@gentoo.org>
9927
9928 * tar-mode.el (tar-grind-file-mode):
9929 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9930
30fcaf3a
CY
99312011-10-21 Chong Yidong <cyd@gnu.org>
9932
9933 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9934 * progmodes/vera-mode.el (vera-mode):
9935 Use mode-require-final-newline.
30fcaf3a 9936
516eddb0
GM
99372011-10-20 Glenn Morris <rgm@gnu.org>
9938
db22a3c2 9939 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9940
10d5f513
CS
99412011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9942
9943 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9944
ac6c8639
CY
99452011-10-20 Chong Yidong <cyd@gnu.org>
9946
9947 * emulation/cua-base.el (cua-mode):
9948 * mail/footnote.el (footnote-mode):
9949 * mail/mailabbrev.el (mail-abbrevs-mode):
9950 * net/xesam.el (xesam-minor-mode):
9951 * progmodes/bug-reference.el (bug-reference-mode):
9952 * progmodes/cap-words.el (capitalized-words-mode):
9953 * progmodes/compile.el (compilation-minor-mode)
9954 (compilation-shell-minor-mode):
9955 * progmodes/gud.el (gud-tooltip-mode):
9956 * progmodes/hideif.el (hide-ifdef-mode):
9957 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9958 * progmodes/subword.el (subword-mode):
9959 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9960 * progmodes/which-func.el (which-function-mode):
9961 * term/tvi970.el (tvi970-set-keypad-mode):
9962 * term/vt100.el (vt100-wide-mode):
9963 * textmodes/flyspell.el (flyspell-mode):
9964 * textmodes/ispell.el (ispell-minor-mode):
9965 * textmodes/nroff-mode.el (nroff-electric-mode):
9966 * textmodes/paragraphs.el (use-hard-newlines):
9967 * textmodes/refill.el (refill-mode):
9968 * textmodes/reftex.el (reftex-mode):
9969 * textmodes/rst.el (rst-minor-mode):
9970 * textmodes/sgml-mode.el (html-autoview-mode)
9971 (sgml-electric-tag-pair-mode):
9972 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9973 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9974 * emulation/crisp.el (crisp-mode):
9975 * emacs-lisp/eldoc.el (eldoc-mode):
9976 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9977 minor mode behavior.
9978
aa42ab43
JL
99792011-10-19 Juri Linkov <juri@jurta.org>
9980
9981 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9982 the list of hard-coded chars with escape-glyph face.
9983
89400f1d
SM
99842011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9987
305c07f6
MA
99882011-10-19 Michael Albinus <michael.albinus@gmx.de>
9989
9990 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9991 running process.
9992
13754b54
GM
99932011-10-19 Glenn Morris <rgm@gnu.org>
9994
9995 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9996 Ignore ignored files. (Bug#9726)
9997
06e21633
CY
99982011-10-19 Chong Yidong <cyd@gnu.org>
9999
10000 Doc fix for minor modes, stating that an omitted argument enables
10001 the mode unconditionally when called from Lisp.
10002
10003 * abbrev.el (abbrev-mode):
10004 * allout.el (allout-mode):
10005 * autoinsert.el (auto-insert-mode):
10006 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10007 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10008 (global-auto-revert-mode):
10009 * battery.el (display-battery-mode):
10010 * composite.el (global-auto-composition-mode)
10011 (auto-composition-mode):
10012 * delsel.el (delete-selection-mode):
10013 * desktop.el (desktop-save-mode):
10014 * dired-x.el (dired-omit-mode):
10015 * dirtrack.el (dirtrack-mode):
10016 * doc-view.el (doc-view-minor-mode):
10017 * double.el (double-mode):
10018 * electric.el (electric-indent-mode, electric-pair-mode):
10019 * emacs-lock.el (emacs-lock-mode):
10020 * epa-hook.el (auto-encryption-mode):
10021 * follow.el (follow-mode):
10022 * font-core.el (font-lock-mode):
10023 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10024 * help.el (temp-buffer-resize-mode):
10025 * hilit-chg.el (highlight-changes-mode)
10026 (highlight-changes-visible-mode):
10027 * hi-lock.el (hi-lock-mode):
10028 * hl-line.el (hl-line-mode, global-hl-line-mode):
10029 * icomplete.el (icomplete-mode):
10030 * ido.el (ido-everywhere):
10031 * image-file.el (auto-image-file-mode):
10032 * image-mode.el (image-minor-mode):
10033 * iswitchb.el (iswitchb-mode):
10034 * jka-cmpr-hook.el (auto-compression-mode):
10035 * linum.el (linum-mode):
10036 * longlines.el (longlines-mode):
10037 * master.el (master-mode):
10038 * mb-depth.el (minibuffer-depth-indicate-mode):
10039 * menu-bar.el (menu-bar-mode):
10040 * minibuf-eldef.el (minibuffer-electric-default-mode):
10041 * mouse-sel.el (mouse-sel-mode):
10042 * msb.el (msb-mode):
10043 * mwheel.el (mouse-wheel-mode):
10044 * outline.el (outline-minor-mode):
10045 * paren.el (show-paren-mode):
10046 * recentf.el (recentf-mode):
10047 * reveal.el (reveal-mode, global-reveal-mode):
10048 * rfn-eshadow.el (file-name-shadow-mode):
10049 * ruler-mode.el (ruler-mode):
10050 * savehist.el (savehist-mode):
10051 * scroll-all.el (scroll-all-mode):
10052 * scroll-bar.el (scroll-bar-mode):
10053 * server.el (server-mode):
10054 * shell.el (shell-dirtrack-mode):
10055 * simple.el (auto-fill-mode, transient-mark-mode)
10056 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10057 (line-number-mode, column-number-mode, size-indication-mode)
10058 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10059 * strokes.el (strokes-mode):
10060 * time.el (display-time-mode):
10061 * t-mouse.el (gpm-mouse-mode):
10062 * tool-bar.el (tool-bar-mode):
10063 * tooltip.el (tooltip-mode):
10064 * type-break.el (type-break-mode-line-message-mode)
10065 (type-break-query-mode):
10066 * view.el (view-mode):
10067 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10068 (global-whitespace-mode, global-whitespace-newline-mode):
10069 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10070
a3839de2
SM
10071 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10072 Fix autogenerated docstring.
06e21633 10073
5214e501
JL
100742011-10-19 Juri Linkov <juri@jurta.org>
10075
10076 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10077 by checking environment variables "DESKTOP_SESSION" and
10078 "XDG_CURRENT_DESKTOP". (Bug#9779)
10079
195f8db9
JL
100802011-10-19 Juri Linkov <juri@jurta.org>
10081
10082 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10083 (browse-url-chromium-program, browse-url-chromium-arguments):
10084 New defcustoms.
10085 (browse-url-default-browser): Check for `browse-url-chromium' and
10086 call `browse-url-chromium-program'.
10087 (browse-url-chromium): New command. (Bug#9779)
10088
343a34ff
JB
100892011-10-18 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * facemenu.el (list-colors-duplicates): On Windows, detect more
10092 duplicates by assuming that only colors matching "^System" are
10093 special "system colors". (Bug#9722)
10094
6978a151
SM
100952011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10098 to distinguish the author from the committer.
10099
6a80b297
MA
101002011-10-18 Michael Albinus <michael.albinus@gmx.de>
10101
10102 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10103
b31a5677
JK
101042011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10105
10106 * international/mule.el (sgml-html-meta-auto-coding-function):
10107 Add support for detecting encoding in HTML5 specified only as
10108 <meta charset="UTF-8">. Implementation just makes http-equiv and
10109 content-type parts from HTML4 encoding string optional. (Bug#9716)
10110
80c6d77f
GM
101112011-10-18 Glenn Morris <rgm@gnu.org>
10112
10113 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10114
08b0fee8
CY
101152011-10-18 Chong Yidong <cyd@gnu.org>
10116
10117 * faces.el (cursor): Doc fix.
10118
67e729a5
CY
101192011-10-17 Chong Yidong <cyd@gnu.org>
10120
10121 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10122
343a34ff 101232011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10124
10125 * dirtrack.el (dirtrack): Support shell buffers with path
10126 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10127
0bc06380
TZ
101282011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10129
10130 * json.el: Bump version to 1.3 and note change in History.
10131 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10132
8b79f3e0
SM
101332011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10134
5a7c536b
SM
10135 * comint.el (comint-insert-input, comint-send-input)
10136 (comint-get-old-input-default, comint-backward-matching-input)
10137 (comint-next-prompt): Use nil instead of `input' for field property of
10138 past user input (bug#114).
10139
96a8a0df
SM
10140 * minibuffer.el (completion--replace): Inherit surrounding properties
10141 (bug#114).
10142 (minibuffer-complete-and-exit): Use it.
10143
8b79f3e0
SM
10144 * comint.el (comint--table-subvert): Quote the all-completions output
10145 (bug#9160).
10146
b8f7ff0d
MR
101472011-10-17 Martin Rudalics <rudalics@gmx.at>
10148
8b79f3e0 10149 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10150
b8f7ff0d 10151 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10152 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10153 entries and separate them from frame entries.
10154
c235b555
GM
101552011-10-15 Glenn Morris <rgm@gnu.org>
10156
10157 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10158 Doc fixes.
10159
6bbfa6e1
CY
101602011-10-15 Chong Yidong <cyd@stupidchicken.com>
10161
8b79f3e0
SM
10162 * net/network-stream.el (network-stream-open-starttls):
10163 Improve detection of failure due to lack of TLS support.
ec5c990d 10164
6bbfa6e1
CY
10165 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10166 putting the input text in front and in bold.
10167
98488977
SM
101682011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10169
3d1337be
SM
10170 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10171
ee0b45e4
SM
10172 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10173 empty buffer.
10174
98488977
SM
10175 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10176 unread-command-events rather than pushing yet-another event.
10177
186f4720
EZ
101782011-10-14 Eli Zaretskii <eliz@gnu.org>
10179
10180 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10181 the explanation of the possible choices. Make the options passed
10182 to completing-read shorter.
10183
8b7a997c
AM
101842011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10185
10186 * textmodes/flyspell.el (flyspell-large-region): Make sure
10187 extended character mode is used if defined (Bug#1339).
10188
12587bbb
EZ
101892011-10-13 Eli Zaretskii <eliz@gnu.org>
10190
10191 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10192 character info for LRE, LRO, RLE, and RLO characters by appending
10193 an invisible PDF.
12587bbb 10194
bad41229
SM
101952011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10198 even in case of error; add debug spec; simplify data flow.
10199 (with-timeout-handler): Remove.
10200
28dbc92f
MA
102012011-10-12 Michael Albinus <michael.albinus@gmx.de>
10202
10203 Fix Bug#6019, Bug#9315.
10204
10205 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10206 complete `buffer-file-name', the local file name part could look
10207 remotely (for example on VMS).
10208
10209 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10210 `tramp-run-real-handler'.
10211 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10212 already quoted by '"'.
10213
10214 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10215 Let `file-name-handler-alist' be nil, the local file name part
10216 could look remotely (for example on VMS).
10217
e1b0b23a
SM
102182011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10221 from here...
10222 (flyspell-post-command-hook): ...to here.
10223
a120bde9
SM
102242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10227 if not needed.
10228 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10229 using completion. Protect against "slow" callers.
10230 Remove the "message hack".
10231
7ce7717b
JL
102322011-10-11 Juri Linkov <juri@jurta.org>
10233
10234 * isearch.el (isearch-lazy-highlight-word): New variable.
10235 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10236 Use it. (Bug#9727)
10237
c02ee9d6
GM
102382011-10-11 Glenn Morris <rgm@gnu.org>
10239
10240 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10241 like f90-previous-statement does.
10242
93e616fd 102432011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10244
1f190e73 10245 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10246 only in interactive use, to avoid error.
10247
af7b6078
SM
102482011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * minibuffer.el (completion-file-name-table): Fix last change,
10251 i.e. ignore normal errors but not the other ones.
10252
0563dae9
MR
102532011-10-10 Martin Rudalics <rudalics@gmx.at>
10254
10255 * window.el (special-display-buffer-names)
10256 (special-display-regexps): Remove some remnants of earlier
10257 changes from doc-strings.
366ca7f3
MR
10258 (quit-windows-on): New function.
10259
10260 * vc/vc.el (vc-revert, vc-rollback):
10261 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10262 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10263 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10264
49677495
MR
102652011-10-09 Martin Rudalics <rudalics@gmx.at>
10266
10267 * window.el (frame-auto-hide-function): Add version tag.
10268 (Bug#9699)
10269
56f2d1e1
MA
102702011-10-09 Michael Albinus <michael.albinus@gmx.de>
10271
10272 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10273 condition.
10274
112a6592
LL
102752011-10-09 Leo Liu <sdl.web@gmail.com>
10276
10277 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10278 (Bug#9701)
10279
0812589b
GM
102802011-10-08 Glenn Morris <rgm@gnu.org>
10281
10282 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10283 before the first code statement zero indent. (Bug#9690)
10284
b2b0776e
CY
102852011-10-08 Chong Yidong <cyd@stupidchicken.com>
10286
10287 * simple.el (count-words-region): Always count in the region.
10288 Report the number of lines and characters too.
10289 (count-words): New command, which counts in the buffer if the
10290 region is inactive, as count-words-region used to.
10291 (count-words--message): New function. Handle plurals.
10292 (count-lines-region): Make it an alias for count-words-region.
10293
10294 * bindings.el (esc-map): Replace count-lines-region with
10295 count-words-region.
10296
c557cd6b
MR
102972011-10-08 Martin Rudalics <rudalics@gmx.at>
10298
10299 * window.el (window--delete): Delete dedicated frame
10300 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10301 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10302
61a57ef4 103032011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10304
3a7d293b 10305 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10306
c3833279
CY
103072011-10-07 Chong Yidong <cyd@stupidchicken.com>
10308
10309 * bindings.el ([M-left],[M-right]): Bind to left-word and
10310 right-word respectively.
10311
21ce8245
GM
103122011-10-07 Glenn Morris <rgm@gnu.org>
10313
10314 * cus-start.el (debug-on-quit): Fix custom type.
10315
6d823bb2
LMI
103162011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10317
0181e193
LMI
10318 * subr.el (define-key-after): Clarify that the function is not
10319 useful for non-menu keymaps.
10320
6d823bb2
LMI
10321 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10322
8e3459ce 103232011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10324
21ce8245 10325 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10326 in current minibuffer (Fix bug with recursive minibuffers).
10327
a1c2d21e
CY
103282011-10-06 Chong Yidong <cyd@stupidchicken.com>
10329
10330 * progmodes/gdb-mi.el (gdb): Doc fix.
10331
5a4cf282
MR
103322011-10-05 Martin Rudalics <rudalics@gmx.at>
10333
10334 * window.el (frame-auto-hide-function): New option replacing
10335 frame-auto-delete. Suggested by Stefan Monnier.
10336 (window--delete): Call frame-auto-hide-function instead of
10337 investigating frame-auto-delete.
c96111ea
MR
10338 (window-point-1, set-window-point-1): New functions.
10339 (window-in-direction, record-window-buffer, window-state-get-1)
10340 (display-buffer-record-window): Use window-point-1 instead of
10341 window-point.
10342 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10343
9854542e
SM
103442011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10347
8943cfb0
GM
103482011-10-05 Glenn Morris <rgm@gnu.org>
10349
10350 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10351 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10352
647ab967
LL
103532011-10-05 Leo Liu <sdl.web@gmail.com>
10354
10355 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10356 works with buffer object.
10357
3ddfbced
SM
103582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * mpc.el (mpc-tool-bar-map): Add labels.
10361
bdfa5dd2
GM
103622011-10-04 Glenn Morris <rgm@gnu.org>
10363
10364 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10365
0e2070b5
MR
103662011-10-04 Martin Rudalics <rudalics@gmx.at>
10367
10368 * window.el (window--delete): New function.
10369 (frame-auto-delete): Resuscitate option.
10370 (bury-buffer, replace-buffer-in-windows)
10371 (quit-window): Rewrite using window--delete.
10372 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10373 Pass display-buffer-mark-dedicated to window--display-buffer-2
10374 (Bug#9639).
10375
3dc61a09
SM
103762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10377
915a9b64
SM
10378 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10379 returns a list (bug#9554). Add remote file name completion.
10380 * comint.el (comint--table-subvert): Curry and get quote&unquote
10381 functions as arguments.
10382 (comint--complete-file-name-data): Adjust call accordingly.
10383 * pcomplete.el (pcomplete--table-subvert): Remove.
10384 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10385
3dc61a09
SM
10386 * minibuffer.el (completion-table-case-fold): Use currying.
10387 (completion--styles-type, completion--cycling-threshold-type):
10388 New constants.
10389 (completion-styles, completion-category-overrides)
10390 (completion-cycle-threshold): Use them.
10391 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10392 completion-table-case-fold.
10393
8ea0a993
SB
103942011-10-03 Stephen Berman <stephen.berman@gmx.net>
10395
10396 * minibuffer.el (completion-category-overrides): Fix type of styles
10397 and add more user friendly tags (bug#9660).
10398
8c24b7f6
SM
103992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10402 (mule-input-method-string): New widget.
10403 (default-input-method, language-info-custom-alist): Use it.
10404
428fe61a
SM
104052011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10406
32c1fffd
SM
10407 * pcomplete.el: Require comint.
10408 (pcomplete--common-suffix): Remove.
10409 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10410 (pcomplete--table-subvert): Sync with comint--table-subvert.
10411 (pcomplete--entries): Use comint-completion-file-name-table.
10412 * comint.el (comint-unquote-filename): Simplify.
10413 (comint-completion-file-name-table): New function (bug#9616).
10414 (comint--complete-file-name-data): Use it.
10415
428fe61a
SM
10416 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10417 (pcmpl-gnu-tar-buffer): Remove.
10418 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10419 around. Make sure pcomplete-suffix-list is only changed temporarily.
10420 Don't look inside the tar's file if it's too large.
428fe61a 10421
04c52e2f
CY
104222011-10-01 Chong Yidong <cyd@stupidchicken.com>
10423
ce3cefcc
CY
10424 * cus-edit.el (custom-mode-map):
10425 * epa.el (epa-key-list-mode-map):
10426 * man.el (Man-mode-map):
10427 * startup.el (splash-screen-keymap):
10428 * simple.el (special-mode-map): Use scroll-up-command and
10429 scroll-down-command.
10430
10431 * progmodes/idlw-help.el (idlwave-help-mode-map):
10432 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10433 * net/newst-plainview.el (newsticker-mode-map):
10434 * emulation/ws-mode.el (wordstar-mode-map):
10435 * emulation/vi.el (vi-com-map):
10436 * calc/calc-graph.el (calc-graph-show-dumb):
10437 * term/sun.el (terminal-init-sun):
10438 * term/ns-win.el (global-map):
10439 * progmodes/grep.el (grep-mode-map):
10440 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10441 * mail/rmail.el (rmail-mode-map):
10442 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10443
04c52e2f
CY
10444 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10445 custom-safe-themes as special.
10446
79adf8c8
JD
104472011-10-01 Julien Danjou <julien@danjou.info>
10448
10449 * notifications.el (notifications-notify): Fix docstring.
10450
63bd50d3
PS
104512011-10-01 Per Starbäck <per@starback.se>
10452
10453 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10454
199e4c7e
MR
104552011-09-30 Martin Rudalics <rudalics@gmx.at>
10456
10457 * startup.el (command-line-1): Fix last fix by inserting
10458 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10459 (Bug#9605) and (Bug#9636)
199e4c7e 10460
fe5f08dd
EZ
104612011-09-29 Eli Zaretskii <eliz@gnu.org>
10462
10463 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10464 window is hscrolled, move by logical lines. (Bug#9607)
10465 (line-move-visual): Update the doc string to the above effect.
10466
b5516bbd
MR
104672011-09-29 Martin Rudalics <rudalics@gmx.at>
10468
ccee00c0
MR
10469 * window.el (display-buffer-record-window): When WINDOW is the
10470 selected window use `point' instead of `window-point'. (Bug#9626)
10471
b5516bbd
MR
10472 * startup.el (command-line-1): Use insert-before-markers when
10473 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10474
b5516bbd
MR
10475 * help.el (help-window): Remove variable.
10476
52aa0014
GM
104772011-09-29 Glenn Morris <rgm@gnu.org>
10478
10479 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10480
df9a7357
JB
104812011-09-29 Juanma Barranquero <lekktu@gmail.com>
10482
10483 * descr-text.el (describe-char-categories): Accept category
10484 descriptions more than one line long.
10485
a8406c20
SM
104862011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10487
88d9610c
SM
10488 * simple.el (delete-trailing-whitespace): Fix last change.
10489
a5daf810
SM
10490 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10491 Don't confuse "y => 3" as the beginning of a `y' operation.
10492
a8406c20
SM
10493 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10494 object has more than 4 slots (bug#9613).
10495
a239d4e9
JB
104962011-09-28 Juanma Barranquero <lekktu@gmail.com>
10497
10498 * subr.el (with-output-to-temp-buffer):
10499 * net/quickurl.el (quickurl, quickurl-browse-url):
10500 Fix typos in docstrings.
10501
693fbdb6
EZ
105022011-09-27 Eli Zaretskii <eliz@gnu.org>
10503
10504 * minibuffer.el (completion-styles)
10505 (completion-category-overrides): Cross reference each other in doc
10506 strings.
10507
8b457e28
GM
105082011-09-27 Glenn Morris <rgm@gnu.org>
10509
10510 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10511 to split-string. (Bug#9606)
10512
85a16208
LMI
105132011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10514
10515 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10516 (bug#9615).
10517
502f9ebd
CY
105182011-09-27 Chong Yidong <cyd@stupidchicken.com>
10519
10520 * emacs-lisp/package.el (list-packages): Fix echo area message.
10521
7690bdea
LL
105222011-09-27 Leo Liu <sdl.web@gmail.com>
10523
10524 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10525
e2ee6f30
MA
105262011-09-25 Michael Albinus <michael.albinus@gmx.de>
10527
10528 * net/dbus.el (dbus-unregister-object): Don't release services for
10529 registered signals. (Bug#9581)
10530
f3f98342
TZ
105312011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10532
10533 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10534 function that picks between cfengine 2 and 3 support
10535 automatically. Update docs accordingly.
10536
dd7aa8dd
KH
105372011-09-22 Kenichi Handa <handa@m17n.org>
10538
10539 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10540 ZERO.
10541 (indian-itrans-v5-table-for-tamil): New variable.
10542 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10543
3f2b07f8
KM
105442011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10545
10546 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10547 that's true if the current command involved collapsing of text.
10548 It's reset to false at the beginning of the next command.
10549 (allout-post-command-business): Move the cursor to the beginning
10550 of entry if the cursor is hidden and collapsing activity just
10551 happened.
10552
371d6a61
CY
105532011-09-24 Chong Yidong <cyd@stupidchicken.com>
10554
10555 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10556 tracking (Bug#9541).
10557
2ac2721a
UJ
105582011-09-24 Ulf Jasper <ulf.jasper@web.de>
10559
10560 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10561 (newsticker-show-news): Automatically load html rendering package
10562 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10563 because w3m-fill-column is let-bound" and the error "Symbol's value
10564 as variable is void: w3m-fill-column".
2ac2721a 10565
fac7ae53
MA
105662011-09-24 Michael Albinus <michael.albinus@gmx.de>
10567
10568 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10569 Release services only if they are defined. (Bug#9581)
10570
e08b633b
RS
105712011-09-23 Richard Stallman <rms@gnu.org>
10572
e488d29c
RS
10573 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10574 distinguish start of paragraph from start of its text.
10575
19c38752
RS
10576 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10577
e08b633b
RS
10578 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10579 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10580 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10581
0a39f27e
AS
105822011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * international/mule-diag.el (mule-diag): Insert a newline after
10585 each fontset description.
10586
db4e950d
SM
105872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10588
10589 * simple.el (delete-trailing-whitespace):
10590 Document last change; simplify.
10591
eca3f3ea
PW
105922011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10593
d68e189a
PW
10594 * simple.el (delete-trailing-whitespace): Also delete
10595 extra newlines at the end of the buffer.
10596
eca3f3ea
PW
10597 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10598 (picture-newline): Use forward-line so as to ignore fields.
10599
01c157cc
SM
106002011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10601
10602 * subr.el (with-wrapper-hook): Fix edebug spec.
10603
022de23e
LMI
106042011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10605
10606 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10607 (bug#4538).
10608
91683089
MA
106092011-09-23 Michael Albinus <michael.albinus@gmx.de>
10610
eca3f3ea
PW
10611 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10612 Fix nasty bug using wrong cached values.
91683089 10613
5bdd6fa4
AM
106142011-09-23 Alan Mackenzie <acm@muc.de>
10615
10616 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10617
97adfb97
CY
106182011-09-23 Chong Yidong <cyd@stupidchicken.com>
10619
10620 * window.el (pop-to-buffer): Ensure right window is selected if we
10621 chose another frame.
10622
d4ef2b50
EZ
106232011-09-22 Eli Zaretskii <eliz@gnu.org>
10624
10625 * simple.el (what-cursor-position): Use get-char-property-change
10626 and next-single-char-property-change, to be able to show display
10627 properties that come from overlays as well as text properties.
10628
72258fe5
CY
106292011-09-22 Chong Yidong <cyd@stupidchicken.com>
10630
10631 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10632
10633 * cmuscheme.el (run-scheme, switch-to-scheme):
10634 * cus-edit.el (customize-group, custom-buffer-create)
10635 (customize-browse):
10636 * info.el (info):
10637 * shell.el (shell):
10638 * mail/sendmail.el (mail):
10639 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10640
8f098516
RS
106412011-09-22 Richard Stallman <rms@gnu.org>
10642
10643 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10644 move back only to line beg, don't move back over blank lines.
10645
e74f1bb6
MA
106462011-09-22 Michael Albinus <michael.albinus@gmx.de>
10647
10648 * files.el (copy-directory): Set directory attributes only in case
10649 they could be retrieved from the source directory. (Bug#9565)
10650
bfeef8b6
DK
106512011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10652
10653 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10654 (hs-find-block-beginning, hs-hide-level-recursive):
10655 Ignore strings as well as comments. (Bug#9502)
10656
7e423bb8
AS
106572011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10658
10659 * progmodes/sql.el (sql-comint-postgres):
10660 Convert port number to a string. (Bug#9566)
10661
b4d72fcf
MR
106622011-09-22 Martin Rudalics <rudalics@gmx.at>
10663
10664 * window.el (quit-window): Undedicate window when switching to
10665 previous buffer. Reported by Thierry Volpiatto
10666 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10667 (special-display-popup-frame): When popping up a new frame reset
10668 its previous buffers to nil. Simplify code.
b4d72fcf 10669
a7b88dc6
MA
106702011-09-21 Michael Albinus <michael.albinus@gmx.de>
10671
10672 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10673 and process filter, as done also in `shell-command'.
10674
cf4eacfd
MR
106752011-09-21 Martin Rudalics <rudalics@gmx.at>
10676
eca3f3ea 10677 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10678 Call set-window-start with NOFORCE argument t.
10679 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10680 (quit-window): Reword doc-string. Handle new format of
10681 quit-restore parameter. Don't delete window if it has a
10682 previous buffer we can show instead of the present one.
10683 (display-buffer-record-window): Rewrite using a new format for
10684 the quit-restore window parameter
10685 (special-display-popup-frame, display-buffer-same-window)
10686 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10687 (display-buffer-pop-up-window, display-buffer-use-some-window):
10688 Adapt symbol passed to display-buffer-record-window.
10689 * help.el (help-window-setup): Handle new format of quit-restore
10690 parameter.
10691
8d28cb95
SM
106922011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10693
94ab793f
SM
10694 * faces.el (face-list): Fix docstring (bug#9564).
10695
8d28cb95
SM
10696 * window.el (display-buffer--action-function-custom-type):
10697 Don't include internal functions in the Custom interface.
10698
3820edeb
JL
106992011-09-20 Juri Linkov <juri@jurta.org>
10700
10701 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10702 (Info-forward-node, Info-backward-node, Info-next-preorder)
10703 (Info-last-preorder): Use it. (Bug#9528)
10704
5147931d
JL
107052011-09-20 Juri Linkov <juri@jurta.org>
10706
10707 * info.el (Info-last-preorder): Visit last menu item only when
10708 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10709
cf499a1a
JD
107102011-09-20 Julien Danjou <julien@danjou.info>
10711
10712 * password-cache.el (password-cache-remove): Remove entries even if the
10713 value is nil, so that password with a nil value (negative caching) is
10714 possible to invalidate.
10715
f84e2fe2
LM
107162011-09-20 Lawrence Mitchell <wence@gmx.li>
10717
10718 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10719 all whitespace around breakpoint. (Bug#9553)
10720 (f90-find-breakpoint): Only break at whitespace inside a comment.
10721
78054a46
SM
107222011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * minibuffer.el (completion-file-name-table): Keep track of errors.
10725 (completion-table-with-predicate): Handle the case where pred1 is nil.
10726 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10727
345083b2
SM
107282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10729
e24e27be
SM
10730 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10731 (debugger-return-value): Signal an error if the debugging context does
10732 not await any return value.
10733
345083b2
SM
10734 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10735 * image-mode.el (image-toggle-display-text)
10736 (image-toggle-display-image): Stay away from evil `intangible'.
10737
08d355e3
LL
107382011-09-19 Leo Liu <sdl.web@gmail.com>
10739
10740 * replace.el (occur-revert-arguments): Make it permanent-local.
10741 (occur-mode): Don't call font-lock-defontify.
10742
f01da43f
CY
107432011-09-19 Chong Yidong <cyd@stupidchicken.com>
10744
10745 * net/ldap.el (ldap-search-internal): Don't push empty search
10746 result (Bug#9508).
10747
b6072fa6
SM
107482011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10751
443d6696
MA
107522011-09-19 Michael Albinus <michael.albinus@gmx.de>
10753
10754 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10755 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10756
7cc6e154
JL
107572011-09-18 Juri Linkov <juri@jurta.org>
10758
10759 * buff-menu.el (Buffer-menu-mode-map):
10760 * dired.el (dired-mode-map):
10761 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10762 (lisp-interaction-mode-map):
10763 * emacs-lisp/package.el (package-menu-mode-map):
10764 * epa.el (epa-key-list-mode-map):
10765 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10766 (menu-bar-options-menu):
10767 * outline.el (outline-mode-menu-bar-map):
10768 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10769 * vc/vc-dir.el (vc-dir-menu-map):
10770 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10771 Capitalize non-function content words in menu item strings.
10772
10773 * dired.el (dired-mode-map): Add menu item for
10774 `image-dired-dired-toggle-marked-thumbs'.
10775
80302a81
JL
107762011-09-18 Juri Linkov <juri@jurta.org>
10777
10778 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10779 to `isearch-case-fold-search' and restore its original value
10780 after the `isearch-mode' call.
10781
46c5cf66
JL
107822011-09-18 Juri Linkov <juri@jurta.org>
10783
10784 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10785 because `zgrep' returns 1 for successful matches (bug#9226).
10786
d18b513b
JL
107872011-09-18 Juri Linkov <juri@jurta.org>
10788
10789 * info.el (Info-extract-menu-node-name): Check the second match
10790 for empty string (second test-case of bug#9528).
10791 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10792 intermediate nodes to the history (first test-case of bug#9528).
10793
72753f87
JL
107942011-09-18 Juri Linkov <juri@jurta.org>
10795
10796 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10797 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10798
c9384295
JL
107992011-09-18 Juri Linkov <juri@jurta.org>
10800
1154d12e
JB
10801 * info.el (Info-file-supports-index-cookies):
10802 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10803 outputs one more line for long file names (bug#4142).
c9384295 10804
d473dce8
CY
108052011-09-18 Chong Yidong <cyd@stupidchicken.com>
10806
10807 * newcomment.el (comment-normalize-vars): If prompting for
10808 comment-start, set comment-start-skip too (Bug#8424).
10809
2176854d
JB
108102011-09-18 Johan Bockgård <bojohan@gnu.org>
10811
10812 * icomplete.el: Fix previous fix of Bug#5849.
10813 (icomplete-mode): Don't set completion-show-inline-help.
10814 (icomplete-minibuffer-setup): Set completion-show-inline-help
10815 locally during icompletion.
10816
3aace4e4
CY
108172011-09-18 Chong Yidong <cyd@stupidchicken.com>
10818
c940224f
CY
10819 * woman.el (woman2-process-escapes): Don't delete unrecognized
10820 escapes (Bug#7843).
10821
3aace4e4
CY
10822 * files.el (inhibit-first-line-modes-regexps): Add image files.
10823 (hack-local-variables-prop-line): Return nil for malformed
10824 prop-lines (Bug#9044).
10825
710dec63
MA
108262011-09-18 Michael Albinus <michael.albinus@gmx.de>
10827
10828 * net/tramp.el (top): Don't require 'shell.
10829 (tramp-methods): Fix docstring.
10830 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10831 Return complete remote file name. Handle "smb" case.
10832 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10833 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10834
10835 * net/tramp-compat.el (top): Require 'shell.
10836
10837 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10838 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10839 `tramp-current-host'.
10840 (tramp-get-remote-tmpdir): Remove.
10841
10842 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10843 `tramp-tmpdir' entries.
10844 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10845 (tramp-smb-handle-file-attributes): Ignore errors.
10846 (tramp-smb-wait-for-output): Check also for process end.
10847
5d5ac8ec
LMI
108482011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10849
10850 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10851 when sending QUIT (bug#9312).
10852
8c0f49f0
CY
108532011-09-17 Chong Yidong <cyd@stupidchicken.com>
10854
10855 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10856 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10857 occur-mode-display-occurrence.
10858 (occur-edit-mode): Add usage message.
10859 (occur-cease-edit): New command.
10860 (occur-after-change-function): Use text properties to find the
10861 position of the prefix text.
10862 (occur-engine): Set stickiness of prefix text properties.
10863
8f1383f7
GM
108642011-09-17 Glenn Morris <rgm@gnu.org>
10865
10866 * progmodes/etags.el (complete-tag):
10867 Fix call to completion-in-region. (Bug#9526)
10868
744ba0e3
JL
108692011-09-17 Juri Linkov <juri@jurta.org>
10870
10871 * textmodes/ispell.el (ispell-word): Add to the error message
10872 the word, ispell program name and current dictionary (bug#9121).
10873 (ispell-tex-arg-end): Capitalize "error" in the error message.
10874
d9bbf400
AS
108752011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10876
10877 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10878 check. (Bug#4251)
10879
8da11505
JL
108802011-09-17 Juri Linkov <juri@jurta.org>
10881
10882 * window.el (window-safe-min-height, window-safe-min-width):
10883 Fix typos (followup to bug#9522).
10884
a91adc7e
SJ
108852011-09-17 Sven Joachim <svenjoac@gmx.de>
10886
10887 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10888
064f328a
EZ
108892011-09-16 Eli Zaretskii <eliz@gnu.org>
10890
10891 * simple.el (line-move): If goal-column is set, move by logical
10892 lines, not by display lines. (Bug#971)
10893 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10894 to reflect the above change.
10895
e69df516
SM
108962011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * image.el (imagemagick-register-types): Use regexp-opt.
10899
cbb0f9ab
CY
109002011-09-15 Chong Yidong <cyd@stupidchicken.com>
10901
10902 * window.el (display-buffer-base-action): Rename from
10903 display-buffer-default-action. Make default value empty.
10904 (display-buffer-overriding-action): Convert to defvar.
10905 (display-buffer-fallback-action): New var.
10906
25322144
CY
109072011-09-15 Chong Yidong <cyd@stupidchicken.com>
10908
10909 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10910 declaration.
10911 (package--add-to-archive-contents): If there is a duplicate entry
10912 with an older version, remove it.
10913 (package-menu-mark-delete, package-menu-mark-install)
10914 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10915 (package-menu-mark-obsolete-for-deletion):
10916 Use package-menu-get-status instead of a regexp search.
25322144
CY
10917 (package-menu-get-status): Use tabulated-list-entry.
10918 (package-menu-mark-upgrades): New command.
d770725a 10919 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10920 (package-menu-execute): Do installation before deletion.
10921 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10922 instead of checking major-mode.
10923 (package-menu--find-upgrades): New function.
10924
7520339c
LMI
109252011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10926
10927 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10928 passwords in the log buffer.
65a046c4
LMI
10929 (smtpmail-process-filter): Update the process marker so that the
10930 "broken by peer" status message is inserted in the right place.
7520339c 10931
d3c30954
SM
109322011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10933
3fe48822
SM
10934 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10935 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10936 bibtex-completion-at-point-function.
10937 (bibtex-completion-at-point-function): Use them.
10938
1b8b3954
SM
10939 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10940
d3c30954
SM
10941 * mpc.el (mpc-constraints-tag-lookup): New function.
10942 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10943 also to browser "album|playlist".
10944
72779976
JL
109452011-09-14 Juri Linkov <juri@jurta.org>
10946
10947 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10948 (isearch-edit-string): Use length of `isearch-string' when
10949 `isearch-fail-pos' returns nil.
10950 (isearch-message): Remove duplicate code and call
10951 `isearch-fail-pos' with arg `t'.
10952
a0bf2bcd
CY
109532011-09-14 Chong Yidong <cyd@stupidchicken.com>
10954
17bb0a2d
CY
10955 * replace.el (occur-mode-goto-occurrence): Don't force using other
10956 window (Bug#9499).
10957
a0bf2bcd
CY
10958 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10959
f678e0b6
MR
109602011-09-14 Martin Rudalics <rudalics@gmx.at>
10961
10962 * window.el (display-buffer-window): Remove.
10963 (display-buffer-record-window): Use help-setup window parameter
10964 instead of variable display-buffer-window.
10965 (display-buffer-function, special-display-buffer-names)
10966 (special-display-function): Mention help-setup parameter instead
10967 of display-buffer-window in doc-string.
d3c30954
SM
10968 * help.el (help-window-setup): New argument help-window.
10969 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10970 Reword some messages.
10971 (with-help-window): Pass window used for displaying the buffer
10972 to help-window-setup. Don't set display-buffer-window.
10973
8e39b2e8
GM
109742011-09-13 Glenn Morris <rgm@gnu.org>
10975
10976 * emacs-lisp/debug.el (debugger-make-xrefs):
10977 Preserve point. (Bug#9462)
10978
85e9c04b
CY
109792011-09-13 Chong Yidong <cyd@stupidchicken.com>
10980
10981 * window.el (window-deletable-p): Use next-frame.
10982
1b36ed6a
MR
109832011-09-13 Martin Rudalics <rudalics@gmx.at>
10984
10985 * window.el (window-auto-delete): Remove.
10986 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10987 dedication and previous buffers.
1b36ed6a
MR
10988 (switch-to-prev-buffer): Don't delete window.
10989 (delete-windows-on): Delete a window's frame if and only if the
10990 window is dedicated.
10991 (replace-buffer-in-windows): Delete buffer's window or frame if
10992 and only if window is dedicated.
10993 (quit-window): Handle quit-restore as before last change.
4d61f28d 10994 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10995
ef8ef9fb
CY
109962011-09-13 Chong Yidong <cyd@stupidchicken.com>
10997
10998 * window.el (window-deletable-p): Never delete the last frame on a
10999 given terminal.
11000
b2cba41e
GM
110012011-09-13 Glenn Morris <rgm@gnu.org>
11002
11003 * help.el (describe-key-briefly): Copy previous standard-output change.
11004
51553db6 110052011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11006
11007 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11008
b7556719
GM
110092011-09-13 Glenn Morris <rgm@gnu.org>
11010
11011 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11012 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11013
64b51947
CY
110142011-09-12 Chong Yidong <cyd@stupidchicken.com>
11015
11016 * dired-aux.el (dired-mark-read-string): Don't return default
11017 value on empty input (Bug#9361).
11018 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11019 Omit initial minibuffer contents.
11020 (dired-do-chmod): Signal an error on empty input.
11021 (dired-mark-read-string): Don't return default on empty input.
11022
11023 * files.el (file-modes-symbolic-to-number): Doc fix.
11024
393a301e
SM
110252011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * international/mule-cmds.el (ucs-completions): Remove.
11028 (read-char-by-name): Use complete-with-action instead; add metadata.
11029
fa5660f9
CY
110302011-09-11 Chong Yidong <cyd@stupidchicken.com>
11031
11032 * window.el (display-buffer--action-function-custom-type)
11033 (display-buffer--action-custom-type): New vars.
11034 (display-buffer-alist, display-buffer-default-action)
11035 (display-buffer-overriding-action): Add defcustom types.
11036
4a592f66
CY
11037 * frame.el (delete-other-frames): Doc fix (Bug#276).
11038
73d56dbd
LMI
110392011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11040
11041 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11042
37ac18a3
CY
110432011-09-11 Chong Yidong <cyd@stupidchicken.com>
11044
11045 Change modes that used same-window-* vars to use switch-to-buffer.
11046
11047 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11048 Use switch-to-buffer.
11049
11050 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11051 (customize-browse, custom-buffer-create-other-window):
11052 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11053
11054 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11055 (Info-prev, Info-up, Info-speedbar-goto-node)
11056 (info-display-manual): Use switch-to-buffer.
11057 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11058
11059 * mail/sendmail.el (mail): Use switch-to-buffer.
11060 (mail-recover): Use switch-to-buffer-other-window.
11061
11062 * cmuscheme.el (run-scheme, switch-to-scheme):
11063 * ielm.el (ielm):
11064 * shell.el (shell):
11065 * net/rlogin.el (rlogin):
11066 * net/telnet.el (telnet, rsh):
11067 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11068
10195bd6
AS
110692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11070
11071 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11072
b322f63a
LMI
110732011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11074
39d7fed6
LMI
11075 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11076 so don't mention it (bug#9301).
ba5a81f1 11077 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11078
ee0e9f11
LMI
11079 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11080 match `x', `w32' and `ns', like the manual says (bug#9029).
11081
0b1c89c1 11082 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11083 (process-kill-buffer-query-function): Mention the buffer name in
11084 the query.
0b1c89c1 11085
77549ea8
LMI
11086 * image-mode.el (image-next-line): The line parameter is mandatory
11087 (bug#9258).
11088
803ef892
LMI
11089 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11090 which can be useful (bug#9301).
11091
12980837
LMI
11092 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11093
91054f8f
LMI
11094 * subr.el (match-string): Mention that the current buffer should
11095 be the same as the search was done in (bug#9282).
11096
b322f63a
LMI
11097 * facemenu.el: Disable the remove-* commands if the mark isn't
11098 active (bug#9162).
11099
3199b96f
CY
111002011-09-10 Chong Yidong <cyd@stupidchicken.com>
11101
11102 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11103 of display-buffer.
11104 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11105
11106 * replace.el (occur-mode-goto-occurrence)
11107 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11108 and display-buffer.
11109
11110 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11111 display-buffer.
11112
11113 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11114 special-display and same-window variables.
11115 (mail-other-window): Use switch-to-buffer-other-window.
11116 (mail-other-frame): USe switch-to-buffer-other-frame.
11117
393a301e
SM
11118 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11119 Use display-buffer-other-frame.
3199b96f
CY
11120 (gdb-display-gdb-buffer): Use pop-to-buffer.
11121
11122 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11123
11124 * progmodes/python.el: Don't set same-window-buffer-names.
11125
11126 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11127
11128 * window.el (display-buffer-alist): Add *Python*.
11129
8319e0bf
CY
111302011-09-10 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * window.el (display-buffer-alist): Add entry for buffers
11133 previously handled same-window-*.
11134 (display-buffer-alist, display-buffer-default-action)
11135 (display-buffer-overriding-action): Mark as risky.
11136 (display-buffer-alist): Document action function changes.
11137 (display-buffer--same-window-action)
11138 (display-buffer--other-frame-action): New variables.
11139 (switch-to-buffer, display-buffer-other-frame): Use them.
11140 (display-buffer): Rename reuse-frame entry to reusable-frames.
11141 (display-buffer-reuse-selected-window): Function deleted.
11142 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11143 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11144 (display-buffer-special): New function.
11145 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11146 display-buffer-reuse-or-pop-window. Split off special-display
11147 part into display-buffer-special.
11148 (display-buffer-use-some-window): Don't perform any special
11149 pop-up-frames handling.
11150 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11151 (display-buffer--maybe-same-window): Rename from
0d3ff375 11152 display-buffer-maybe-same-window.
8319e0bf 11153
919a69aa
CY
11154 * info.el: Don't set same-window-regexps.
11155 (info-setup): New function.
11156 (info-other-window, info): Call it.
11157
11158 * cus-edit.el: Don't set same-window-regexps.
11159 (customize-group): New argument.
11160 (customize-group-other-window): Use it.
11161 (customize-face, customize-face-other-window): Likewise.
11162 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11163
8319e0bf
CY
11164 * net/rlogin.el:
11165 * net/telnet.el:
11166 * progmodes/gud.el: Don't set same-window-regexps.
11167
11168 * cmuscheme.el:
11169 * ielm.el:
11170 * shell.el:
11171 * mail/sendmail.el:
11172 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11173
25173000
JL
111742011-09-10 Juri Linkov <juri@jurta.org>
11175
11176 * isearch.el (isearch-edit-string): Remove obsolete mention of
11177 `C-w' (`isearch-yank-word-or-char') from docstring.
11178 (isearch-query-replace): Fix typo in docstring (bug#9466).
11179
056e44ef
JL
111802011-09-10 Juri Linkov <juri@jurta.org>
11181
11182 * paren.el (show-paren-function): Don't show escaped parens.
11183 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11184
c3760c17
EZ
111852011-09-10 Eli Zaretskii <eliz@gnu.org>
11186
11187 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11188 (mm-default-file-encoding): Remove autoload forms, they are
11189 replaced with autoload cookies in mml.el and mm-encode.el.
11190 (mail-add-attachment): New command.
11191 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11192 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11193 the doc string.
11194 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11195
fece895e
RT
111962011-09-10 Reuben Thomas <rrt@sc3d.org>
11197
e69df516
SM
11198 * simple.el (count-words-region): Use buffer if there's no region
11199 (bug#9429).
fece895e 11200
5e68ce4a
JL
112012011-09-09 Juri Linkov <juri@jurta.org>
11202
11203 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11204 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11205 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11206
0a6b9622
AM
112072011-09-09 Alan Mackenzie <acm@muc.de>
11208
11209 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11210 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11211
14a29deb
EZ
112122011-09-09 Eli Zaretskii <eliz@gnu.org>
11213
11214 Fix for Savannah bug#9392.
11215 * simple.el (mail-encode-mml): New defvar.
11216
11217 * mail/rmail.el (mail-encode-mml): Add a defvar.
11218 (rmail-enable-mime-composing): Default to t.
11219 (rmail-forward): Use MIME method of forwarding only if both
11220 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11221 Set mail-encode-mml non-nil if the MIME method was used.
11222
11223 * mail/sendmail.el (mml-to-mime): Add autoload form.
11224 (mail-encode-mml): Add a defvar.
11225 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11226 to nil.
11227 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11228 message through mml-to-mime, and reset mail-encode-mml to nil.
11229
28c45130
GM
112302011-09-09 Glenn Morris <rgm@gnu.org>
11231
11232 * woman.el (woman-if-body): When processing an .el block,
11233 do not delete the next .el block as well. (Bug#9447)
69f4b618 11234 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11235
9b1c252e
MR
112362011-09-08 Martin Rudalics <rudalics@gmx.at>
11237
11238 * window.el (window-deletable-p): Make sure window is live before
11239 invoking window-prev-buffers.
11240
567457e3
LL
112412011-09-08 Leo Liu <sdl.web@gmail.com>
11242
11243 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11244
97f05794
JL
112452011-09-08 Juri Linkov <juri@jurta.org>
11246
11247 * progmodes/compile.el (compilation-environment): Make it
11248 a defcustom (bug#8340).
11249
8b0874b5
MR
112502011-09-08 Martin Rudalics <rudalics@gmx.at>
11251
11252 * window.el (frame-auto-delete): Rename to window-auto-delete.
11253 Make it control auto-deletion of windows and/or frames.
11254 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11255 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11256 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11257 Rewrite handling of case when window/frame can be deleted.
11258 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11259 argument t. (Bug#9456)
8b0874b5 11260
4feb6e73
CY
112612011-09-07 Chong Yidong <cyd@stupidchicken.com>
11262
11263 * help-mode.el (help-mode): Restore autoload.
11264
91ab9c13
JL
112652011-09-07 Juri Linkov <juri@jurta.org>
11266
11267 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11268 `compilation-environment'. Set buffer-local
11269 `compilation-environment' to `thisenv' later after (funcall mode).
11270 (Bug#8340)
11271
11272 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11273 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11274 instead of replacing its value. (Bug#8340)
11275
0527e251
JL
112762011-09-07 Juri Linkov <juri@jurta.org>
11277
11278 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11279 based on text properties put by `grep-filter' instead of matching
11280 escape sequences.
11281 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11282 to the value of `grep-error-screen-columns' (bug#9438).
11283
249f792c
JL
112842011-09-07 Juri Linkov <juri@jurta.org>
11285
11286 * simple.el (next-error-highlight, next-error-highlight-no-select):
11287 Doc fix (bug#9432).
11288
ff7271b9
OT
112892011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11290
11291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11292 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11293
183fc730
LL
112942011-09-07 Leo Liu <sdl.web@gmail.com>
11295
11296 * net/rcirc.el (rcirc-mode): Conditionally initialize
11297 rcirc-input-ring.
11298
77694924
SM
112992011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * emacs-lisp/find-func.el (find-function-C-source): Only set
11302 find-function-C-source-directory after checking that we found a source
11303 file there (bug#9440).
11304
d809b8eb
AM
113052011-09-06 Alan Mackenzie <acm@muc.de>
11306
11307 * isearch.el (isearch-other-meta-char): Wherever a key list is
11308 unread, "unread" the prefix arg, too. This fixes bug #8901.
11309
453de99f
OG
113102011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11311
11312 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11313
90439906
JL
113142011-09-05 Juri Linkov <juri@jurta.org>
11315
11316 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11317
f62bd846
JL
113182011-09-05 Juri Linkov <juri@jurta.org>
11319
11320 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11321 keeping point where processing of grep matches begins, and
11322 continue to delete remaining escape sequences from the same point.
11323 (grep-filter): Make leading zero optional in "0?1;31m" because
11324 git-grep emits "\033[1;31m" escape sequences unlike expected
11325 "\033[01;31m" as GNU Grep does (bug#9408).
11326 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11327
045820ec
JL
113282011-09-05 Juri Linkov <juri@jurta.org>
11329
11330 * subr.el (y-or-n-p): Capitalize "yes".
11331
f5e29b9b
MA
113322011-09-04 Michael Albinus <michael.albinus@gmx.de>
11333
11334 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11335 `tramp-cache-unload-hook' where appropriate.
11336 (tramp-methods): Rename `tramp-remote-sh' to
11337 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11338 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11339
11340 * net/tramp-sh.el (top): Don't require 'shell.
11341 (tramp-methods): Add `tramp-remote-shell' and
11342 `tramp-remote-shell-args' entries.
11343 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11344 (tramp-sh-handle-shell-command): Remove.
11345 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11346 Use `tramp-remote-shell'.
11347
2784c434
CY
113482011-09-03 Chong Yidong <cyd@stupidchicken.com>
11349
393a301e 11350 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11351 (sendmail-query-once): Save directly to send-mail-function.
11352 Update message-send-mail-function too.
11353
11354 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11355
464cdf56
CS
113562011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11357
11358 * progmodes/python.el (python-mode-map): Use correct function to
11359 start python interpreter from menu-bar (as reported by Geert
11360 Kloosterman).
11361 (inferior-python-mode-map): Fix typo.
393a301e 11362 (python-shell-map): Remove.
464cdf56 11363
d37e5c87
DD
113642011-09-03 Deniz Dogan <deniz@dogan.se>
11365
11366 * net/rcirc.el (rcirc-print): Simplify code for
11367 rcirc-scroll-show-maximum-output. There is no need to walk
11368 through all windows to find the right one.
11369
f3ada0ee
CS
113702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11371
11372 * help.el (help-return-method): Doc fix.
11373
1f3c99ca
MR
113742011-09-03 Martin Rudalics <rudalics@gmx.at>
11375
11376 * window.el (window-deletable-p): Don't return a non-nil value
11377 when there's a buffer that was shown in the window before.
11378 (Bug#9419)
393a301e
SM
11379 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11380 Set window's previous buffers to nil.
1f3c99ca 11381
a3cf097f
EZ
113822011-09-03 Eli Zaretskii <eliz@gnu.org>
11383
11384 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11385 newline before and after the tag line, so it doesn't interfere
11386 with determining the paragraph direction of bidirectional text.
11387
3d03de90
LL
113882011-09-03 Leo Liu <sdl.web@gmail.com>
11389
11390 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11391
c3313451
CY
113922011-09-02 Chong Yidong <cyd@stupidchicken.com>
11393
393a301e 11394 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11395 (pop-to-buffer): Change interactive spec. Pass second argument
11396 directly to display-buffer.
11397 (display-buffer): Fix interactive spec. Use functionp to
11398 distinguish between a function and a list of functions.
11399
11400 * abbrev.el (edit-abbrevs):
11401 * arc-mode.el (archive-extract):
11402 * autoinsert.el (auto-insert):
11403 * bookmark.el (bookmark-bmenu-list):
11404 * files.el (find-file):
11405 * view.el (view-buffer):
11406 * progmodes/compile.el (compilation-goto-locus):
11407 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11408
89894cd8
CY
114092011-09-02 Chong Yidong <cyd@stupidchicken.com>
11410
11411 * window.el (display-buffer-alist): Doc fix.
11412 (display-buffer): Add docstring. Don't treat
11413 display-buffer-default specially.
11414 (display-buffer-reuse-selected-window)
11415 (display-buffer-same-window, display-buffer-maybe-same-window)
11416 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11417 (display-buffer-pop-up-window)
11418 (display-buffer-reuse-or-pop-window)
11419 (display-buffer-use-some-window): New functions.
11420 (display-buffer-default-action): Use them.
393a301e 11421 (display-buffer-default): Delete.
89894cd8
CY
11422 (pop-to-buffer-1): Fix choice of actions.
11423
ae0bc9fb
SM
114242011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * minibuffer.el (completion--insert-strings): Don't get confused by
11427 completion entries that end with an LF char.
11428
e9d90883
EZ
114292011-09-01 Eli Zaretskii <eliz@gnu.org>
11430
11431 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11432
437014c8
CY
114332011-09-01 Chong Yidong <cyd@stupidchicken.com>
11434
11435 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11436 (display-buffer-same-window, display-buffer-other-window):
11437 New functions.
437014c8
CY
11438 (pop-to-buffer-1): New function. Use the above.
11439 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11440 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11441
11442 * view.el (view-buffer-other-window, view-buffer-other-frame):
11443 Just use pop-to-buffer.
11444
a5e063d5
TV
114452011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11446
11447 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11448
793d32bb
WH
114492011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11450
11451 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11452
d65e4c15
RS
114532011-08-31 Richard Stallman <rms@gnu.org>
11454
11455 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11456 of the separation of rmail-view-buffer from rmail-buffer.
11457 If you say no to "replace original", the decrypt is in the
11458 view buffer. If you say yes, the decrypt goes into the
11459 rmail buffer also.
11460
f818cd2a
MR
114612011-08-31 Martin Rudalics <rudalics@gmx.at>
11462
11463 * window.el (display-buffer-window): Rewrite doc-string.
11464 (display-buffer-record-window): New function.
11465 (display-buffer-macro-specifiers)
11466 (display-buffer-even-window-sizes, display-buffer-set-height)
11467 (display-buffer-set-width, display-buffer-in-window)
11468 (display-buffer-reuse-window, display-buffer-split-specifiers)
11469 (display-buffer-side-specifiers, display-buffer-split-window-1)
11470 (display-buffer-split-window, display-buffer-split-atom-window)
11471 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11472 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11473 (display-buffer-other-window-means-other-frame)
11474 (display-buffer-normalize-special)
11475 (display-buffer-normalize-default)
11476 (display-buffer-normalize-argument)
11477 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11478 (display-buffer-normalize-specifiers, display-buffer-frame)
11479 (display-buffer-same-window, display-buffer-same-frame)
11480 (display-buffer-other-window)
11481 (display-buffer-same-frame-other-window)
11482 (display-buffer-other-frame, pop-to-buffer-same-window)
11483 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11484 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11485 (switch-to-buffer-same-frame)
11486 (switch-to-buffer-other-window-same-frame)
11487 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11488 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11489 (display-buffer-alist-set): Remove.
11490 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11491 (special-display-regexps, special-display-function):
11492 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11493 parameter.
11494 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11495 (special-display-frame-alist, special-display-popup-frame)
11496 (same-window-buffer-names, same-window-regexps, same-window-p)
11497 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11498 (split-window-preferred-function, split-height-threshold)
11499 (split-width-threshold, window-splittable-p)
11500 (split-window-sensibly, window--try-to-split-window)
11501 (window--frame-usable-p, even-window-heights)
11502 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11503 (window--display-buffer-2, display-buffer-other-frame):
11504 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11505 (display-buffer-default, display-buffer-assq-regexp): New functions.
11506 (display-buffer-alist): Rewrite doc-string.
11507 (display-buffer-default-action)
11508 (display-buffer-overriding-action): New variables.
11509 (display-buffer, switch-to-buffer): Rewrite.
11510 (pop-to-buffer): Restore Emacs 23 behavior but use
11511 window-normalize-buffer-to-display.
11512 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11513 Restore Emacs 23 behavior but use
11514 window-normalize-buffer-to-switch-to.
11515 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11516 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11517 Rewrite using Emacs 23 options.
f818cd2a 11518
5bc3b51d
MA
115192011-08-31 Michael Albinus <michael.albinus@gmx.de>
11520
11521 * net/tramp.el (tramp-root-regexp): Remove.
11522 (tramp-completion-file-name-regexp-unified)
11523 (tramp-completion-file-name-regexp-separate)
11524 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11525 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11526 (tramp-drop-volume-letter): Simplify definition.
11527 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11528
b1a4f8e1
SM
115292011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11532 (bug#9356).
11533
5664fa7b
RT
115342011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11535
b1a4f8e1 11536 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11537
9a45d6c3
JL
115382011-08-29 Juri Linkov <juri@jurta.org>
11539
11540 * isearch.el (isearch-done): Don't display message "Mark saved"
11541 when arg `edit' is non-nil to prevent its flicker in the echo area.
11542
fb87e0fb
CY
115432011-08-28 Chong Yidong <cyd@stupidchicken.com>
11544
11545 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11546 obsolete packages for deletion.
11547
09ac1c2a
CS
115482011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11549
11550 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11551 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11552 view-mode from help-mode.
11553 (help-xref-override-view-map): Remove.
11554 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11555 view-mode is not used anymore.
11556
7a1ff57f
CY
115572011-08-28 Chong Yidong <cyd@stupidchicken.com>
11558
11559 * server.el (server-port): Doc fix.
11560
b9696605
CY
11561 * cus-theme.el (custom-theme-choose-mode): Inherit from
11562 special-mode (Bug#9124).
11563 (custom-theme-choose-mode-map): Add special-mode to parent.
11564
ef8cdf8c
AM
115652011-08-28 Alan Mackenzie <acm@muc.de>
11566
11567 * progmodes/cc-fonts.el
11568 (c-make-font-lock-BO-decl-search-function): New function.
11569 (c-basic-matchers-after - "Fontify the clauses after various
11570 keywords"): Extract the three keyword lists for the 3 erroneous
11571 constructs from the list of four, and use the new function above
11572 in place of an old one.
11573
27de4e20
DD
115742011-08-28 Deniz Dogan <deniz@dogan.se>
11575
11576 * net/rcirc.el (rcirc-insert-prev-input)
11577 (rcirc-insert-next-input): Remove unused argument.
11578
356a3681
SM
115792011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11582
3fc9b218
AM
115832011-08-27 Alan Mackenzie <acm@muc.de>
11584
11585 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11586 handle function pointer parameters properly.
11587
538a061c
MR
115882011-08-27 Martin Rudalics <rudalics@gmx.at>
11589
11590 * window.el (display-buffer-reuse-window): Fix case where
11591 selected window was reused with non-nil OTHER-WINDOW argument.
11592 (Bug#9381)
11593
35b1c40c
DD
115942011-08-27 Deniz Dogan <deniz@dogan.se>
11595
11596 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11597 oftc's NickServ messages.
11598
2f6a3e79
GM
115992011-08-27 Glenn Morris <rgm@gnu.org>
11600
11601 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11602
7254299e
CY
116032011-08-26 Chong Yidong <cyd@stupidchicken.com>
11604
11605 * emacs-lisp/package.el (package-install): Call package-initialize
11606 if called interactively.
11607
f8ccf167
LL
116082011-08-26 Leo Liu <sdl.web@gmail.com>
11609
11610 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11611
3e8cd5ce
JL
116122011-08-25 Juri Linkov <juri@jurta.org>
11613
11614 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11615 `search-whitespace-regexp' (bug#9364).
11616
93eb7113
JL
116172011-08-25 Juri Linkov <juri@jurta.org>
11618
11619 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11620 `regexp-search-ring' to their global values to protect from
11621 updating by `read-from-minibuffer' (bug#9185).
11622
f65d1611
JL
116232011-08-25 Juri Linkov <juri@jurta.org>
11624
11625 * textmodes/ispell.el (ispell-command-loop): Add newline
11626 at the end of the "Use option `i'..." line.
11627
f1cf7a31
JL
116282011-08-25 Juri Linkov <juri@jurta.org>
11629
11630 * battery.el (display-battery-mode): If `battery-status-function'
11631 or `battery-mode-line-format' is nil, display the message and set
11632 `display-battery-mode' to nil (bug#9363).
11633
0c95fcf7
EZ
116342011-08-25 Eli Zaretskii <eliz@gnu.org>
11635
11636 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11637 bidi-string-mark-left-to-right; they are unnecessary now.
11638
a2ebe600
DD
116392011-08-25 Deniz Dogan <deniz@dogan.se>
11640
11641 * net/quickurl.el: Documentation typo fixes.
11642
e4ed06f1
CY
116432011-08-25 Chong Yidong <cyd@stupidchicken.com>
11644
11645 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11646
e5f1c99e
GM
116472011-08-25 Glenn Morris <rgm@gnu.org>
11648
b2948976
GM
11649 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11650
e5f1c99e
GM
11651 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11652 (smtpmail-via-smtp): Handle nil response from smtp.
11653
f22f4808
JL
116542011-08-24 Juri Linkov <juri@jurta.org>
11655
11656 * proced.el (proced-marked): Inherit from `error' instead of
11657 `font-lock-warning-face'.
11658
11659 * ibuffer.el (ibuffer-marked-face): Change default face from
11660 `font-lock-warning-face' to `warning'.
11661 (ibuffer-deletion-face): Change default face from
11662 `font-lock-type-face' to `error'.
11663
11664 * battery.el (battery-update): Use the face `error' instead of
11665 `font-lock-warning-face' (bug#6117).
11666
6a93965e
JL
116672011-08-24 Juri Linkov <juri@jurta.org>
11668
11669 * faces.el (success): Change face color from "Green3" to
11670 "ForestGreen" on light background (bug#9353).
11671
1ed43b09
CY
116722011-08-24 Chong Yidong <cyd@stupidchicken.com>
11673
5664fa7b
RT
11674 * window.el (quit-window): Rename from quit-restore-window.
11675 Use same arglist as old quit-window.
1ed43b09
CY
11676 (frame-auto-delete): Doc fix.
11677
11678 * view.el (view-mode-exit): Use quit-window.
11679
11dcdbb2
JL
116802011-08-24 Juri Linkov <juri@jurta.org>
11681
11682 * isearch.el (isearch-ring-adjust1): Start visiting previous
11683 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11684 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11685 for empty search string (when the last search string is reused
11686 automatically) to adjust the isearch ring to the last element and
11687 prepare the correct index for further M-p commands (bug#9185).
11688
de62b4df
KH
116892011-08-24 Kenichi Handa <handa@m17n.org>
11690
11691 * international/ucs-normalize.el: If decomposition property of
11692 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11693 nil.
11694 (nfd, nfkd): Likewise.
11695
963b492b
SM
116962011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11699 from process filters aren't reliably transmitted to the surrounding
11700 accept-process-output.
11701 (mpc-proc-check): New function.
11702 (mpc-proc-sync): Use it (bug#8293)
11703
93b6b5e1
SM
117042011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11707 Add compatibility functions (bug#9313).
11708
bca633fb
EZ
117092011-08-23 Eli Zaretskii <eliz@gnu.org>
11710
b177498a
EZ
11711 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11712
6df6ae42 11713 * international/uni-bidi.el: Regenerate.
bca633fb 11714
0902a04e
KH
117152011-08-23 Kenichi Handa <handa@m17n.org>
11716
11717 * international/charprop.el:
11718 * international/uni-bidi.el:
11719 * international/uni-category.el:
11720 * international/uni-combining.el:
11721 * international/uni-comment.el:
11722 * international/uni-decimal.el:
11723 * international/uni-decomposition.el:
11724 * international/uni-digit.el:
11725 * international/uni-lowercase.el:
11726 * international/uni-mirrored.el:
11727 * international/uni-name.el:
11728 * international/uni-numeric.el:
11729 * international/uni-old-name.el:
11730 * international/uni-titlecase.el:
11731 * international/uni-uppercase.el: Regenerate.
11732
3bbf23bc
MR
117332011-08-23 Martin Rudalics <rudalics@gmx.at>
11734
11735 * help.el (help-window-setup): Fix message displayed when other
11736 window is reused. (Bug#9341)
11737
b3fd59bd
SM
117382011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11739
1802e444
SM
11740 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11741 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11742
b3fd59bd
SM
11743 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11744 Mark obsolete.
11745 * shell.el (shell-parse-pcomplete-arguments): New function.
11746 (shell-completion-vars): Use it instead (bug#9160).
11747
4eb61348
SM
117482011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11749
867cab74
SM
11750 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11751 strings and comments (bug#9333).
11752
4eb61348
SM
11753 * emacs-lisp/debug.el (debug-arglist): New function.
11754 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11755 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11756
262a1439
JL
117572011-08-22 Juri Linkov <juri@jurta.org>
11758
56ee679c
JL
11759 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11760 Revert regexp that highlights output switches to its old
11761 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11762
262a1439
JL
11763 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11764 to check for empty output (bug#9226).
11765
f13f86fb
CY
117662011-08-22 Chong Yidong <cyd@stupidchicken.com>
11767
11768 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11769 symbol-constituent as the default, as that stops font-lock from
11770 working properly (Bug#8843).
11771
c65c9622
LMI
117722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11773
11774 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11775 `coding-system-for-*' around the process open call to avoid
11776 auth-source side effects.
e7f2c178 11777 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11778 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11779 probe hangs.
c65c9622 11780
23a8a5ab
CY
117812011-08-21 Chong Yidong <cyd@stupidchicken.com>
11782
ff98b2dd
CY
11783 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11784
23a8a5ab
CY
11785 * emacs-lisp/find-func.el (find-function-noselect): New arg
11786 lisp-only.
11787
11788 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11789 signal an error for built-in functions (Bug#6664).
11790
f5e3c598
LMI
117912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11792
11793 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11794 (smtpmail-try-auth-methods): Use it.
11795
a3f2468a
CY
117962011-08-21 Chong Yidong <cyd@stupidchicken.com>
11797
2c34e8da
CY
11798 * font-lock.el (font-lock-fontify-region)
11799 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11800 (font-lock-default-unfontify-buffer)
11801 (font-lock-default-fontify-region)
11802 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11803
b3fd59bd
SM
11804 * progmodes/compile.el (compilation-error-properties):
11805 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11806 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11807 `ant' regexp.
ee31aabc 11808
a3f2468a
CY
11809 * net/browse-url.el (browse-url-firefox): Don't call
11810 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11811
8e999f70
GM
118122011-08-20 Glenn Morris <rgm@gnu.org>
11813
c21a496a
GM
11814 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11815
59ee0542
GM
11816 * tutorial.el (tutorial--default-keys): Update some default bindings.
11817
8e999f70
GM
11818 * files.el (hack-local-variables): Fully ignore case for "mode:".
11819
e3715033
AM
118202011-08-20 Alan Mackenzie <acm@muc.de>
11821
11822 Resolve invalid use of a regexp in regexp-opt.
11823
4d61f28d
JB
11824 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11825 detection for a java annotation.
e3715033 11826
4d61f28d 11827 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11828 detection for a java annotation.
11829
4d61f28d
JB
11830 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11831 handling for java.
e3715033
AM
11832 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11833
04ed2e9c
CY
118342011-08-20 Chong Yidong <cyd@stupidchicken.com>
11835
11836 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11837 (Bug#9274).
11838
826cee64
AM
118392011-08-20 Alan Mackenzie <acm@muc.de>
11840
58179cce 11841 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11842 such a construct. Mainly for when jit-lock etc. starts a chunk
11843 here.
11844
58179cce 11845 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11846 variable.
58179cce 11847 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11848 c-make-font-lock-search-function.
11849 (c-make-font-lock-search-function): Use the above function.
11850 (c-make-font-lock-context-search-function): New function.
11851 (c-cpp-matchers): Enhance the preprocessor expression case with
11852 the above function
11853 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11854 which takes an expression.
11855
11856 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11857
13009bd8
MR
118582011-08-20 Martin Rudalics <rudalics@gmx.at>
11859
11860 * window.el (display-buffer-reuse-window)
11861 (display-buffer-pop-up-window): Don't reuse or split a side
11862 window.
11863
9234ff7f
GM
118642011-08-19 Glenn Morris <rgm@gnu.org>
11865
11866 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11867 Downcase "Mode:". (Bug#9331)
9234ff7f 11868
f635daa1
CY
118692011-08-18 Chong Yidong <cyd@stupidchicken.com>
11870
11871 * international/characters.el: Add L and R categories.
11872
11873 * subr.el (bidi-string-mark-left-to-right): Rename from
11874 string-mark-left-to-right. Use category search.
11875
11876 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11877
bc987f8b
JL
118782011-08-18 Juri Linkov <juri@jurta.org>
11879
11880 * faces.el (error, warning, success): New faces with definitions
11881 copied from old default values of `font-lock-warning-face',
11882 `compilation-warning', `compilation-info' (bug#6117).
11883
11884 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11885
11886 * progmodes/compile.el (compilation-error): Inherit from `error'.
11887 (compilation-warning): Inherit from `warning'.
11888 (compilation-info): Inherit from `success'.
11889
11890 * dired.el (dired-marked): Inherit from `warning'.
11891 (dired-flagged): Inherit from `error'.
11892
57173b96
LMI
118932011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11894
3e79eb87
LMI
11895 * mail/smtpmail.el (auth-source): Require to avoid problems with
11896 binding variables (bug#9298). Also clean up some unused
11897 autoloads.
11898
b3fd59bd
SM
11899 * net/network-stream.el (network-stream-open-starttls):
11900 Support using starttls.el without using gnutls-cli.
57173b96 11901
02b404de
JL
119022011-08-17 Juri Linkov <juri@jurta.org>
11903
11904 * progmodes/grep.el (rgrep): Handle the case when
11905 `grep-find-command' is a cons cell (bug#9278).
11906
8c9177f2
MR
119072011-08-17 Martin Rudalics <rudalics@gmx.at>
11908
11909 * window.el (display-buffer-pop-up-frame): Run frame creation
11910 function with BUFFER current (as special-display-popup-frame
11911 does). Reported by Drew Adams.
11912
3644a0ab
DU
119132011-08-17 Daiki Ueno <ueno@unixuser.org>
11914
11915 * epa-mail.el: Simplify GnuPG group expansion using
11916 epg-expand-group.
11917 (epa-mail-group-alist, epa-mail-group-modtime)
11918 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11919 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11920 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11921 Remove.
11922
5e617bc2 119232011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11924
11925 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11926
9c4aeabf
AM
119272011-08-16 Alan Mackenzie <acm@muc.de>
11928
11929 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11930 Correct, to avoid the inside of macros.
11931
3a99bf64
RS
119322011-08-16 Richard Stallman <rms@gnu.org>
11933
04963aa8
RS
11934 * epa-mail.el: Handle GnuPG group definitions.
11935 (epa-mail-group-alist, epa-mail-group-modtime)
11936 (epa-mail-gnupg-conf-file): New variables.
11937 (epa-mail-parse-groups, epa-mail-sync-groups)
11938 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11939 (epa-mail-expand-recipients): New functions.
11940 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11941
177549d0
RS
11942 * mail/rmail.el (rmail-epa-decrypt): New command.
11943
fe38beef
RS
11944 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11945 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11946 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11947 (epa-decrypt-armor-in-region): Make error message clearer.
11948
934eacb9
SM
119492011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11952 and "a2b" to "ab" for `prefix'.
11953
d024fb4e
CY
119542011-08-14 Chong Yidong <cyd@stupidchicken.com>
11955
11956 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11957 filter groups.
de148fee
CY
11958 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11959 Fourquet (Bug#8804).
d024fb4e 11960
62f1ca49
JB
119612011-08-12 Juanma Barranquero <lekktu@gmail.com>
11962
11963 * startup.el (argi): Declare as global variable (bug#9275).
11964
9ccaaa4b
CY
119652011-08-12 Chong Yidong <cyd@stupidchicken.com>
11966
11967 * subr.el (string-mark-left-to-right): Search the entire string
11968 for RTL script, not just the terminating character. Doc fix.
11969
a3dae87a
SM
119702011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11971
6cd18349
SM
11972 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11973 New function.
11974 (js--regexp-literal, js-syntax-propertize-function): Remove.
11975 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11976 (js-mode-map): Don't rebind electric keys.
11977 (js-insert-and-indent): Remove.
11978 (js-mode): Setup electric-layout and electric-indent instead.
11979
a3dae87a
SM
11980 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11981
9d5cb631
DU
119822011-08-12 Daiki Ueno <ueno@unixuser.org>
11983
11984 * epa.el (epa-progress-callback-function): Fix the logic of
11985 displaying progress.
11986 * epa-file.el (epa-file-insert-file-contents): Make progress
11987 display more user-friendly.
11988 (epa-file-write-region): Ditto.
11989
3e26a4a2
CY
119902011-08-10 Chong Yidong <cyd@stupidchicken.com>
11991
11992 * subr.el (string-mark-left-to-right): New function.
11993
11994 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11995 Use string-mark-left-to-right.
11996 (list-buffers-noselect): Caller changed.
11997
a3dae87a
SM
11998 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11999 Use string-mark-left-to-right.
3e26a4a2
CY
12000 (tabulated-list-print): Recenter after moving point.
12001
ac8cf6e6
JL
120022011-08-10 Juri Linkov <juri@jurta.org>
12003
12004 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12005 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12006 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12007
8d96c9a4
CY
120082011-08-09 Chong Yidong <cyd@stupidchicken.com>
12009
12010 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12011 (Bug#7554).
12012
7be1c708 120132011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12014
12015 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12016 character. (Bug#6594)
12017
37e11a63
CY
120182011-08-08 Chong Yidong <cyd@stupidchicken.com>
12019
839dde57
CY
12020 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12021 (image-dired--with-db-file): New macro.
12022 (image-dired-write-tags, image-dired-remove-tag)
12023 (image-dired-create-gallery-lists, image-dired-write-comments)
12024 (image-dired-get-comment, image-dired-mark-tagged-files)
12025 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12026 (image-dired-gallery-generate): Use insert-file-contents.
12027
37e11a63
CY
12028 * time.el (display-time-world-list, display-time-world-display):
12029 * time-stamp.el (time-stamp-string):
12030 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12031 set-time-zone-rule (Bug#7337).
12032
0b4946c4
DU
120332011-08-08 Daiki Ueno <ueno@unixuser.org>
12034
12035 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12036 (epg-error-to-string, epg-errors-to-string): New function.
12037 (epg-wait-for-completion): Reverse errors list.
12038 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12039 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12040 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12041 (epg-sign-keys, epg-generate-key-from-file)
12042 (epg-generate-key-from-string): Format errors by using
12043 epg-errors-to-string (bug#9255).
12044 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12045
75bfc667
JL
120462011-08-07 Juri Linkov <juri@jurta.org>
12047
12048 * faces.el (list-faces-display): Remove extra angle bracket
12049 from `help-mode-map'.
12050
12051 * info.el (Info-history-toc-nodes): Doc fix.
12052
12053 * longlines.el (longlines-mode): Doc fix.
12054
673e08bb
SM
120552011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12056
4640dd88
SM
12057 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12058 of statements and in a few more cases (bug#9183).
12059
673e08bb
SM
12060 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12061 New functions.
12062 (cl-transform-lambda): Use them (bug#9239).
12063
89b3f019
MR
120642011-08-05 Martin Rudalics <rudalics@gmx.at>
12065
12066 * window.el (display-buffer-same-window)
12067 (display-buffer-same-frame, display-buffer-other-window)
12068 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12069 (pop-to-buffer-other-window)
12070 (pop-to-buffer-same-frame-other-window)
12071 (pop-to-buffer-other-frame): Make them defuns.
12072 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12073
640c8776
SM
120742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * subr.el (make-composed-keymap): Move from C. Change calling
12077 convention, and improve docstring to bring attention to a subtle point.
12078 * minibuffer.el (completing-read-default): Adjust accordingly.
12079
63648a95
MA
120802011-08-03 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12083 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12084
12085 * net/trampver.el: Update release number.
12086
b796c9b7
SM
120872011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12090 "in" (bug#9190).
12091
2239d7d5
LMI
120922011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12093
e07dd7c3
LMI
12094 * mail/sendmail.el (sendmail-query-once): Restore the current
12095 buffer after querying (bug#9074).
12096
0e6a2bd7
LMI
12097 * dired.el (dired-flagged): Use different faces for marked and
12098 flagged files (bug#6117).
12099
ce887515
LMI
12100 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12101 (bug#4433).
12102
92f2affc
LMI
12103 * ido.el (ido-mode): Switch off the message if called
12104 non-interactively.
12105
57d5aff0
LMI
12106 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12107 before 587, since it appears that that's more likely to work for
12108 more people.
12109
98cd6c18 12110 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12111 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12112 exist.
12113
b96dec83
LMI
12114 * info.el: Remove the `Info-beginning-of-buffer' function
12115 (bug#8325).
12116
b796c9b7
SM
12117 * net/network-stream.el (network-stream-open-starttls):
12118 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12119
d90e2ea0
MR
121202011-08-01 Martin Rudalics <rudalics@gmx.at>
12121
12122 * window.el (display-buffer-in-window): Don't set dedicated status
12123 of window here (Bug#9215).
12124 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12125 (display-buffer-pop-up-side-window)
b796c9b7 12126 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12127
cca09170
SM
121282011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12131 before binding generated-autoload-file.
12132
027b979c
DD
121332011-08-01 Deniz Dogan <deniz@dogan.se>
12134
12135 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12136
3c7ee4f3
MA
121372011-07-30 Michael Albinus <michael.albinus@gmx.de>
12138
12139 Sync with Tramp 2.2.2.
12140
12141 * net/trampver.el: Update release number.
12142
2cc8e51a
JL
121432011-07-30 Juri Linkov <juri@jurta.org>
12144
12145 * dired-aux.el (dired-touch-initial): Remove function.
12146 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12147 current time, and `default' to the last modification time of the
12148 current marked file (bug#6887).
12149
a514d856
JM
121502011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12151
12152 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12153 numeric argument to read-number (bug#9163).
a514d856 12154
8a7eddd7
MA
121552011-07-27 Michael Albinus <michael.albinus@gmx.de>
12156
12157 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12158 connection process, it could be nil.
12159
1ddd96f5
LL
121602011-07-27 Leo Liu <sdl.web@gmail.com>
12161
12162 Simplify url handling in rcirc-mode.
12163
12164 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12165 (rcirc-browse-url-at-mouse): Remove.
12166 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12167
b248a85d
AM
121682011-07-26 Alan Mackenzie <acm@muc.de>
12169
12170 Fontify bitfield declarations properly.
12171
12172 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12173 (c-symbol-chars): Now exported as a lang variable.
12174 (c-not-primitive-type-keywords): New lang variable.
12175
12176 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12177 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12178 parsed as a bitfield declaration.
b248a85d 12179
b796c9b7
SM
12180 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12181 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12182 (c-punctuation-in): New function.
12183 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12184 declarations properly.
12185
68575ab0
UJ
121862011-07-26 Ulf Jasper <ulf.jasper@web.de>
12187
12188 * calendar/icalendar.el (icalendar--all-events): Take care of
12189 multiple vcalendars in a single file.
b796c9b7 12190 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12191
0f0a88b9
DD
121922011-07-25 Deniz Dogan <deniz@dogan.se>
12193
12194 * image.el (insert-image): Clarifying docstring.
12195
0b3f36df
MA
121962011-07-24 Michael Albinus <michael.albinus@gmx.de>
12197
12198 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12199 `tramp-send-command-and-check' if there is no error.
12200 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12201
a9901f61
AM
122022011-07-22 Alan Mackenzie <acm@muc.de>
12203
12204 Prevent cc-langs.elc being loaded at run time.
12205
12206 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12207 cc-langs.
12208
4d61f28d 12209 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12210 "(require 'cc-langs)". Quote a form so it will evaluate at
12211 (cc-mode's) compilation time.
12212
11d074b2
MA
122132011-07-22 Michael Albinus <michael.albinus@gmx.de>
12214
12215 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12216 loading. (Bug#9114)
12217
938b94c8
MR
122182011-07-21 Martin Rudalics <rudalics@gmx.at>
12219
12220 * window.el (display-buffer-pop-up-window)
12221 (display-buffer-pop-up-side-window)
12222 (display-buffer-in-side-window): Call display-buffer-set-height
12223 and display-buffer-set-width after setting the new window's
b796c9b7 12224 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12225
bfa4f190
SS
122262011-07-20 Sam Steingold <sds@gnu.org>
12227
12228 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12229 (etags-tags-included-tables): Call `convert-standard-filename' on
12230 the file names contained in TAGS so that windows Emacs can handle
12231 TAGS files created by cygwin ctags.
12232
8ca42262
LMI
122332011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
12235 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12236 which apparently didn't work.
12237
5db2afd2 122382011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12239
5db2afd2
RW
12240 * proced.el (proced-send-signal): For *Marked Processes* buffer
12241 put point at beginning of buffer.
12242
92e15d10
SB
122432011-07-19 Stephen Berman <stephen.berman@gmx.net>
12244
12245 * proced.el (proced-format): Make header lines align with the text
12246 (bug#1779).
12247
1bfd59e5
LMI
122482011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12249
12250 * view.el (view-buffer): Allow running in `special' modes if we're
12251 visiting a file (bug#8615).
12252
f5aae37c
MR
122532011-07-19 Martin Rudalics <rudalics@gmx.at>
12254
12255 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12256 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12257 New functions.
f5aae37c
MR
12258 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12259 more accurately.
12260
bf2c1571
AM
122612011-07-18 Alan Mackenzie <acm@muc.de>
12262
12263 Fontify declarators properly when, e.g., a jit-lock chunk begins
12264 inside a declaration.
12265
12266 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12267
b796c9b7
SM
12268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12269 New function.
bf2c1571
AM
12270 (c-complex-decl-matchers): Insert reference to
12271 c-font-lock-enclosing-decls.
12272
12273 * progmodes/cc-engine.el (c-backward-single-comment):
12274 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12275 to nil around calls to (forward-comment -1).
12276
4e190b80
LMI
122772011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12278
12dc863d
LMI
12279 * image.el (put-image): Doc typo fix.
12280
a762e966
LMI
12281 * progmodes/etags.el (tags-search): Doc typo fix.
12282
4e190b80
LMI
12283 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12284 password if we get errors 550 to 554.
12285
f019fb21
LMI
122862011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12287
b796c9b7 12288 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12289
81746738
LMI
12290 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12291 indentation character (bug#6380).
12292
3ee3a1b5
LMI
12293 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12294
c82f64de
LMI
12295 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12296 to clarify what the problem is (bug#4291).
12297
f019fb21
LMI
12298 * simple.el (current-kill): Clarify what
12299 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12300 (auto-fill-mode): Document `auto-fill-function' in relation to
12301 `auto-fill-mode' (bug#2470).
f019fb21 12302
0794775d
LM
123032011-07-16 Lawrence Mitchell <wence@gmx.li>
12304
12305 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12306 method if slot is read-only (bug#9035).
12307
be39b8cc
MR
123082011-07-16 Martin Rudalics <rudalics@gmx.at>
12309
b796c9b7 12310 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12311 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12312 selected before, see discussion of (Bug#8615), (Bug#6954).
12313 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12314
6ccf7859
GM
123152011-07-15 Glenn Morris <rgm@gnu.org>
12316
12317 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12318 Respect help-form.
6ccf7859 12319
87e86684
LM
123202011-07-09 Lawrence Mitchell <wence@gmx.li>
12321
12322 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12323 (gnutls-negotiate): Use it.
12324
d6066239
LMI
123252011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12326
b796c9b7
SM
12327 * net/gnutls.el (gnutls-negotiate):
12328 Upcase `gnutls-algorithm-priority'.
d6066239 12329
bd23ebc0
GM
123302011-07-15 Glenn Morris <rgm@gnu.org>
12331
c65bca65
GM
12332 * jka-compr.el (jka-compr-verbose): Move from here...
12333 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12334 Add missing :version tag.
12335 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12336
478615cc
LMI
123372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12338
7b41decb
LMI
12339 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12340 (gnutls-negotiate): Use it.
12341
dbc44fcd
LMI
12342 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12343
06789f97
LMI
12344 * info.el (Info-beginning-of-buffer): New command.
12345 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12346 announcing `b' as the key (bug#8325).
ab896c37 12347 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12348
c39da690
LMI
12349 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12350
3aa5f34b
LMI
12351 * international/mule-cmds.el
12352 (describe-specified-language-support): Make the error message
12353 clearer (bug#8905).
12354
4bf0979f
LMI
12355 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12356
478615cc
LMI
12357 * isearch.el (isearch-barrier): Add a doc string, since it's
12358 mentioned in a function doc string (bug#8678).
12359
75c68aa1
MR
123602011-07-15 Martin Rudalics <rudalics@gmx.at>
12361
12362 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12363 buffer argument (Bug#9083) and self-identifying label argument.
12364
a7c33da2
GM
123652011-07-15 Glenn Morris <rgm@gnu.org>
12366
12367 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12368
2f5c6024
LMI
123692011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12370
12371 * man.el (Man-fontify-manpage): Fix message when formatting the
12372 man page (bug#7929).
12373
0bb23927 123742011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12375
12376 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12377 argument LRM; if non-nil, append an invisible LRM character to the
12378 buffer name.
12379 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12380 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12381 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12382 paragraph direction.
cce4b0a7 12383
621ef9ab
LMI
123842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12385
d1583c48
LMI
12386 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12387 the man page name (bug#7929).
12388
6a57fb5f
LMI
12389 * image.el (put-image): Mention the `put-image' overlay property
12390 (bug#7834).
12391
d7956b14
LMI
12392 * scroll-bar.el (set-scroll-bar-mode): Mention that
12393 `scroll-bar-mode' lists the values (bug#7772).
12394
5b2d4a66
LMI
12395 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12396 command (bug#7729).
12397
7509a874
LMI
12398 * rect.el (apply-on-rectangle): Return the point after the last
12399 operation.
12400 (string-rectangle): Go to the point after the last operation
12401 (bug#7522).
12402
4fe74b19
LMI
12403 * printing.el (pr-toggle-region): Clarify the documentation
12404 slightly (bug#7493).
12405
b796c9b7
SM
12406 * time.el (display-time-update):
12407 Allow `display-time-mail-function' to return nil (bug#7158).
12408 Fix suggested by Detlev Zundel.
ab283561 12409
fc233c9d
LMI
12410 * vc/diff.el (diff): Clarify the order the file names are read
12411 (bug#7111).
12412
43f5740b
LMI
12413 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12414 the doc string (bug#7015).
12415
f2182a76
LMI
12416 * font-lock.el (font-lock-maximum-decoration): Mention what
12417 numeric levels mean (bug#6935).
12418
621ef9ab
LMI
12419 * startup.el (initial-buffer-choice): Don't mention the `none'
12420 selection, which is against policy.
12421
adc47434
MR
124222011-07-14 Martin Rudalics <rudalics@gmx.at>
12423
b796c9b7
SM
12424 * window.el (display-buffer-normalize-special):
12425 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12426
7e5bfb8f
EZ
124272011-07-14 Eli Zaretskii <eliz@gnu.org>
12428
12429 * subr.el (version<, version<=, version=): Mention "-CVS" and
12430 "-12345" alpha version numbers.
12431
27fa387a
CY
124322011-07-14 Chong Yidong <cyd@stupidchicken.com>
12433
12434 * bindings.el: Add advertised binding for set-mark-command
12435 (Bug#5772).
12436
8bdfa064
CY
124372011-07-14 Chong Yidong <cyd@stupidchicken.com>
12438
12439 * bindings.el (mode-line-other-buffer):
12440 * bookmark.el (bookmark-bmenu-2-window):
12441 * bs.el (bs-cycle-next, bs-cycle-previous):
12442 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12443 switch-to-buffer.
12444
12445 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12446 Delete.
8bdfa064 12447
5eba16a3
JB
124482011-07-14 Juanma Barranquero <lekktu@gmail.com>
12449
12450 * follow.el (follow-debug-message, follow-redisplay):
12451 * jka-cmpr-hook.el (with-auto-compression-mode):
12452 Fix typos in docstrings.
12453
15853710
LMI
124542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12455
a28e4607
LMI
12456 * subr.el (with-silent-modifications): Clarify somewhat what the
12457 macro inhibits (bug#6525).
12458
15853710
LMI
12459 * simple.el (eval-expression): Note what it does if called
12460 interactively (bug#6495).
12461
bee0fcef
CY
124622011-07-13 Chong Yidong <cyd@stupidchicken.com>
12463
b796c9b7
SM
12464 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12465 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12466
12467 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12468 Remove switch-to-buffer.
12469
58274504
LMI
124702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12471
bd2fcc8d
LMI
12472 * files.el (make-directory): Clarify that an error will be raised
12473 if there's an error (bug#6397).
12474
0f04b32c
LMI
12475 * startup.el (initial-buffer-choice): Add `none' as a choice
12476 (bug#6234).
12477
465c5fc8
LMI
12478 * subr.el (add-hook): Clarify section about buffer-local hooks
12479 (bug#6218).
12480
58274504
LMI
12481 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12482
bead9a43
JB
124832011-07-13 Juanma Barranquero <lekktu@gmail.com>
12484
12485 * tabify.el (untabify): Preserve the current column so that point
12486 doesn't move (bug#6032).
12487
3af98a7b
LMI
124882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489
b796c9b7
SM
12490 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12491 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12492
6240145a
GM
124932011-07-13 Glenn Morris <rgm@gnu.org>
12494
12495 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12496 (dired-insert-directory): Give a message the first time
12497 if ls is found not to support --dired.
12498
1d8c2ccc
LMI
124992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12500
12501 * simple.el (toggle-truncate-lines): Clarify what is toggled
12502 (bug#5580). Text by Drew Adams.
12503
5fc4038e
CY
125042011-07-13 Chong Yidong <cyd@stupidchicken.com>
12505
12506 * simple.el (blink-matching-open): Make the error message from the
12507 last change less verbose.
12508
bf6012e5
DN
125092011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12510
12511 * font-lock.el (font-lock-comment-face): Use the high contrast
12512 "yellow" color for font-lock-comment-face on low color terminals
12513 using a dark background color (bug#4221).
12514
343c3b5a
LMI
125152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12516
7e9505c5
LMI
12517 * dired.el (dired-insert-set-properties): Make the doc string
12518 reflect what it does now (bug#5325).
12519
c26fdcf5
LMI
12520 * simple.el (blink-matching-open): Say that we were unable to find
12521 the match within the limit, if we're limited (bug#5122).
12522
bb388cc5
LMI
12523 * international/mule-cmds.el (prefer-coding-system): Add an
12524 example (bug#4869).
12525
343c3b5a
LMI
12526 * progmodes/etags.el (tags-search): Document `file-list-form'
12527 (bug#4731).
12528
2a517d45
LM
125292011-07-13 Lawrence Mitchell <wence@gmx.li>
12530
12531 * net/browse-url.el (browse-url-default-browser)
12532 (browse-url-browser-function): Make the default browser choice a
12533 bit more logical (bug#4300). Also clean up the doc string.
12534
b6c78ef2
JB
125352011-07-13 Juanma Barranquero <lekktu@gmail.com>
12536
12537 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12538 binary endings (bug#4440).
12539
1c4dd947
LMI
125402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12541
a2014063
LMI
12542 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12543 which can be pretty annoying (bug#8971).
12544
9c9c2d88
LMI
12545 * jka-compr.el (jka-compr-verbose): New variable, and use
12546 throughout (bug#8971).
12547
1c4dd947
LMI
12548 * info.el (Info-find-file): Fall back on the installation
12549 directory if we can't find the info node anywhere else.
12550
a1c9f41b
SO
125512011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12552
12553 * vc/vc.el (vc-revert-file):
12554 Don't set file time-stamp in the past. (Bug#5181)
12555
536f3d36
LMI
125562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12557
7152b011
LMI
12558 * files.el (after-find-file): Give a better error message when
12559 trying to find a symlink that points to a file that doesn't exist
12560 (bug#4398).
12561
536f3d36
LMI
12562 * progmodes/cc-vars.el: Remove (probably) misleading comment
12563 (bug#4396).
12564
460c0fba
JB
125652011-07-12 Johan Bockgård <bojohan@gnu.org>
12566
12567 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12568
7a6bda45
CY
125692011-07-12 Chong Yidong <cyd@stupidchicken.com>
12570
12571 * mouse-sel.el: Hack restoring functionality, while keeping
12572 compatibility with 2010-07-03 changes to mouse selection.
12573 (mouse-sel-primary-overlay): New var.
12574 (mouse-sel-selection-alist): Use it.
12575 (mouse-sel-mode): Doc fix; remove points that are default features
12576 of mouse.el.
12577
c79598ef
JB
125782011-07-12 Johan Bockgård <bojohan@gnu.org>
12579
12580 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12581 Fix previous fix (bug#2490).
12582
ff8be6ef
RW
125832011-07-12 Roland Winkler <winkler@gnu.org>
12584
b796c9b7
SM
12585 * textmodes/bibtex.el (bibtex-initialize):
12586 Use pop-to-buffer-same-window.
ff8be6ef
RW
12587 (bibtex-search-entries): Fix interactive call.
12588
296ba3ee
LMI
125892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590
f5242a02 12591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12592 Fontise bytecomp Error lines more correctly (bug#2490).
12593 Fix suggested by Johan Bockgård.
f5242a02 12594
296ba3ee
LMI
12595 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12596
12597 * dired-x.el (dired-guess-default): Use `delete-dups'.
12598
f69fd0d2
CY
125992011-07-12 Chong Yidong <cyd@stupidchicken.com>
12600
12601 * dired.el (dired-mark-prompt):
12602 * dired-aux.el (dired-read-shell-command): Doc fix.
12603
eab5dc07
LMI
126042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12605
b796c9b7
SM
12606 * mail/sendmail.el (sendmail-query-once):
12607 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12608 emacs -Q.
12609
12610 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12611
eab5dc07
LMI
12612 * cus-edit.el (custom-file): Take an optional no-error variable.
12613 (customize-save-variable): Set the variable, and give a warning if
12614 running under "emacs -q".
12615
a1e65d42
JB
126162011-07-11 Juanma Barranquero <lekktu@gmail.com>
12617
12618 * loadhist.el (unload-feature-special-hooks):
12619 Add `auto-coding-functions', `fill-nobreak-predicate' and
12620 `find-directory-functions' (bug#5327).
12621
1d52da10
LMI
126222011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623
be958f1d
LMI
12624 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12625
5bedb26c
LMI
12626 * cus-edit.el (custom-guess-name-alist): -alist variables should
12627 use the `alist' type (bug#3120). Suggested by Drew Adams.
12628
1d52da10
LMI
12629 * printing.el: Add documentation to all the `pr-toggle-' commands.
12630
cd394be1 126312011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12632
12633 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12634 backends where it makes sense (bug#2623).
12635
dcc88d8a
LMI
126362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12637
c3de9feb
LMI
12638 * dired-x.el (dired-guess-default): Remove duplicate shell command
12639 entries (bug#2028).
8a93078b 12640 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12641 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12642
dcc88d8a
LMI
12643 * subr.el (remove-duplicates): New conveniency function.
12644
505e3645
LMI
126452011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12646
12647 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12648 (bug#1526).
12649
126502011-07-10 Martin Rudalics <rudalics@gmx.at>
12651
12652 * window.el (display-buffer-normalize-default): Don't invert
12653 meaning of even-window-heights. Reported by Eli Zaretskii
12654 <eliz@gnu.org>.
12655
455e4fa1
BR
126562011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12657
12658 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12659
8e0bc3e9
CY
126602011-07-10 Chong Yidong <cyd@stupidchicken.com>
12661
12662 * window.el (display-buffer): Fix arguments to
12663 display-buffer-reuse-window in last change.
12664
fa7c3228
CY
12665 * faces.el (link): Use a less saturated blue on light backgrounds.
12666
12667 * startup.el (fancy-startup-text, fancy-about-text)
12668 (fancy-startup-tail): Use font-lock faces, for background safety.
12669
c0a7f300
BN
126702011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12671
b796c9b7
SM
12672 * emulation/viper-cmd.el (viper-change-state-to-vi):
12673 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12674
4dc2a129
MR
126752011-07-09 Martin Rudalics <rudalics@gmx.at>
12676
12677 * window.el (display-buffer-default-specifiers): Remove.
12678 (display-buffer-macro-specifiers): Remove default specifiers.
12679 (display-buffer-alist): Default to nil.
b796c9b7 12680 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12681 (display-buffer-pop-up-window): Allow splitting internal
12682 windows. Check whether a live window was created.
12683 (display-buffer-other-window-means-other-frame)
12684 (display-buffer-normalize-arguments): Rename to
12685 display-buffer-normalize-argument and rewrite. Set the
12686 other-window specifier.
12687 (display-buffer-normalize-special): New function.
12688 (display-buffer-normalize-options): Rename to
12689 display-buffer-normalize-default and rewrite.
12690 (display-buffer-normalize-options-inhibit): Remove.
12691 (display-buffer-normalize-specifiers): Rewrite.
12692 (display-buffer): Process other-window specifier and call
12693 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12694 more faithfully.
b796c9b7 12695 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12696 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12697 (display-buffer-in-window, display-buffer-alist-set):
12698 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12699 <tassilo@member.fsf.org>.
12700
2d43b8c9
LL
127012011-07-09 Leo Liu <sdl.web@gmail.com>
12702
12703 * register.el (insert-register): Restore accidental change on
12704 2011-06-26. (Bug#9028)
12705
7f9b7c53
GM
127062011-07-09 Glenn Morris <rgm@gnu.org>
12707
12708 * subr.el (remq): Handle the empty list. (Bug#9024)
12709
f042cfd8
AS
127102011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12711
12712 * mail/sendmail.el (send-mail-function): No longer delay custom
12713 initialization.
12714 * custom.el (custom-initialize-delay): Doc fix.
12715
856b2f11
SM
127162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12717
12718 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12719
afae1d68
MA
127202011-07-08 Michael Albinus <michael.albinus@gmx.de>
12721
12722 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12723 human-friendly prompt.
12724
0757af94
SM
127252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12728 provided by a particular plugin.
12729
d760b731
LMI
127302011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12731
12732 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12733 save customizations (with "emacs -Q"), just set the variable
12734 instead of erroring out.
12735
12736 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12737
cd79ce90
JL
127382011-07-08 Juri Linkov <juri@jurta.org>
12739
12740 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12741 (archive-zip-update-case): Use 7z if found by `executable-find'.
12742 The order of searching the available programs is the same as in
12743 `archive-zip-extract' (bug#8968).
12744
14cc04aa
CY
127452011-07-07 Chong Yidong <cyd@stupidchicken.com>
12746
12747 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12748 (menu-bar-options-menu): Tweak descriptions.
12749
0a1848ec
LMI
127502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12751
12752 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12753 menu items into verb phrases (bug#1421). Also refill to fit under
12754 80 columns.
12755
f5bd0689
CY
127562011-07-07 Chong Yidong <cyd@stupidchicken.com>
12757
538e85c6
CY
12758 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12759 (Info-read-node-name): Doc fix (Bug#1084).
12760
f5bd0689
CY
12761 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12762 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12763 (end-of-sexp, beginning-of-sexp)
12764 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12765 (forward-symbol, forward-same-syntax, word-at-point)
12766 (sentence-at-point): Doc fix (Bug#1144).
12767
56ec5115
LMI
127682011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12769
f3f8e37f
LMI
12770 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12771 should cover it (bug#1281).
12772
0757af94 12773 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12774
e9fce1ac 12775 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12776 negotiation fails, then possibly try again with a non-encrypted
12777 connection (bug#9017).
12778
56ec5115
LMI
12779 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12780 be used.
12781
c2f9aec8
RS
127822011-07-07 Richard Stallman <rms@gnu.org>
12783
12784 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12785 property, and handle its changed format.
12786 Look for the correct line number.
12787 Use file's line contents (but not past first =) to find
12788 correct line in message.
12789
ef7b981d 127902011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12791
12792 * international/characters.el (build-unicode-category-table):
12793 Delete it.
0757af94 12794 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12795
0757af94 12796 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12797 to src/chartab.c.
12798 (get-char-code-property): Call unicode-property-table-internal to
12799 load a file. Call get-unicode-property-internal where necessary.
12800 (put-char-code-property): Call unicode-property-table-internal to
12801 load a file. Call put-unicode-property-internal where necessary.
12802 put-unicode-property-internal where necessary.
0757af94
SM
12803 (char-code-property-description):
12804 Call unicode-property-table-internal to load a file.
c805dec0
KH
12805
12806 * international/charprop.el:
12807 * international/uni-bidi.el:
12808 * international/uni-category.el:
12809 * international/uni-combining.el:
12810 * international/uni-comment.el:
12811 * international/uni-decimal.el:
12812 * international/uni-decomposition.el:
12813 * international/uni-digit.el:
12814 * international/uni-lowercase.el:
12815 * international/uni-mirrored.el:
12816 * international/uni-name.el:
12817 * international/uni-numeric.el:
12818 * international/uni-old-name.el:
12819 * international/uni-titlecase.el:
12820 * international/uni-uppercase.el: Regenerate.
12821
12822 * loadup.el: Load international/charprop.el before
12823 international/characters.
12824
e14b388a
CY
128252011-07-07 Chong Yidong <cyd@stupidchicken.com>
12826
12827 * window.el (next-buffer, previous-buffer): Signal an error if
12828 called from a minibuffer window.
12829
12830 * bindings.el: Revert 2011-07-04 change.
12831
354cf0ba
RS
128322011-07-06 Richard Stallman <rms@gnu.org>
12833
12834 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12835 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12836 Treat markers like ints.
12837 (rmail-mime-entity): Doc fix.
12838
a48868a7
LMI
128392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12840
4906cd3d
LMI
12841 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12842 defcustom again for backwards compatibility.
12843
e0457abe
LMI
12844 * simple.el (shell-command-on-region): Fill.
12845
d67f7e1f
LMI
12846 * dired-aux.el (dired-kill-line): Add a doc string.
12847
fe204702
LMI
12848 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12849 to "\\sw\\|\\s_" (bug#358).
12850
a48868a7
LMI
12851 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12852 (dired-unmark-backward): Ditto.
12853 (dired-flag-backup-files): Ditto.
12854
12855 * dired-x.el (dired-mark-sexp): Ditto.
12856
aa8a705c
RS
128572011-07-06 Richard Stallman <rms@gnu.org>
12858
12859 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12860 (rmail-mime-entity): New arg TRUNCATED.
12861 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12862 New functions.
12863 (rmail-mime-save): Warn if entity is truncated.
12864 (rmail-mime-toggle-hidden): Likewise, for showing.
12865 (rmail-mime-process-multipart): Record when an entity is truncated.
12866
a9a936b9
RS
12867 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12868 if ENTITY is a string.
12869
1f2b92cb
LMI
128702011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12871
f4f73198 12872 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12873 of faces when `M-C-x'-ing their definitions (bug#8378).
12874 Also clean up the code slightly.
f4f73198 12875
12b16734 12876 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12877 because that makes the colors go away.
12b16734 12878
f0691d22
LMI
12879 * mail/sendmail.el (send-mail-function): Change the default to
12880 `sendmail-query-once'.
9e87df06 12881 (sendmail-query-once): Add an autoload cookie.
f0691d22 12882
1f2b92cb
LMI
12883 * net/network-stream.el (network-stream-open-starttls): Try using
12884 a plain connection even if the server offered STARTTLS, and we
12885 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12886 capability. This should make smtpmail.el work in slightly more
12887 configurations.
12888
1cdd2a1b
MA
128892011-07-06 Michael Albinus <michael.albinus@gmx.de>
12890
12891 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12892 New defun.
12893 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12894
fbcc67e2
MM
128952011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12896
12897 * progmodes/sql.el: Version 3.0
0757af94 12898 (sql-product-alist): Add product :completion-object,
fbcc67e2 12899 :completion-column, and :statement attributes.
0757af94 12900 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12901 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12902 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12903 ansi keywords.
12904 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12905 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12906 (sql-oracle-show-reserved-words): New function for development.
12907 (sql-product-font-lock): Simplify for source code buffers.
12908 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12909 New functions.
12910 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12911 (sql-mode-map): Add statement movement functions.
12912 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12913 New variable.
fbcc67e2
MM
12914 (sql-statement-regexp, sql-beginning-of-statement)
12915 (sql-end-of-statement, sql-signum): New functions.
0757af94 12916 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12917 (sql-show-sqli-buffer): Bug fix.
12918 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12919 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12920 with sql-interactive-mode.
12921 (sql-save-connection): Save buffer local settings.
0757af94 12922 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12923 (sql-product-interactive): Bug fix.
12924 (sql-preoutput-hold): New variable.
12925 (sql-interactive-remove-continuation-prompt): Bug fixes.
12926 (sql-debug-redirect): New variable.
12927 (sql-str-literal): New function.
12928 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12929 Redesign.
fbcc67e2
MM
12930 (sql-oracle-save-settings, sql-oracle-restore-settings)
12931 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12932 (sql-completion-object, sql-completion-column)
12933 (sql-completion-sqlbuf): New variables.
12934 (sql-build-completions-1, sql-build-completions)
12935 (sql-try-completion): New functions.
12936 (sql-read-table-name): Use them.
12937 (sql-contains-names): New buffer local variable.
12938 (sql-list-all, sql-list-table): Use it.
12939 (sql-oracle-completion-types): New variable.
12940 (sql-oracle-completion-object, sql-sqlite-completion-object)
12941 (sql-postgres-completion-object): New functions.
12942
d4eaeab1
GM
129432011-07-06 Glenn Morris <rgm@gnu.org>
12944
12945 * window.el (pop-to-buffer): Doc fix.
12946
322b7dab 129472011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12948
12949 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12950
322b7dab 129512011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12952
322b7dab 12953 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12954
322b7dab 12955 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12956
605dd5bf
CY
129572011-07-05 Chong Yidong <cyd@stupidchicken.com>
12958
12959 * button.el (button): Inherit from link face. Suggested by Dan
12960 Nicolaescu.
12961
7dbfa719
SM
129622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12963
3db614b0
SM
12964 * progmodes/gdb-mi.el: Fit in 80 columns.
12965 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12966 switch-to-buffer.
12967
7dbfa719
SM
12968 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12969 if imenu is simply not configured (bug#8941).
12970
919d884a
KM
129712011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12972
12973 * allout.el (allout-post-undo-hook): New allout outline-change
12974 event hook to signal undo activity.
12975 (allout-post-command-business): Run allout-post-undo-hook if an
12976 undo just occurred.
7dbfa719
SM
12977 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12978 * allout-widgets.el (allout-widgets-after-undo-function):
12979 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12980 in the vicinity of an undo.
12981 (allout-widgets-mode): Include allout-widgets-after-undo-function
12982 on the new allout-post-undo-hook.
12983
450a0f09
SM
129842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12985
12986 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12987 Let define-derived-mode define it.
12988 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12989 cycles of abbrev-table inheritance (bug#8998).
12990
2de69e00
RW
129912011-07-05 Roland Winkler <winkler@gnu.org>
12992
12993 * textmodes/bibtex.el: Add support for biblatex.
12994 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12995 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12996 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12997 (bibtex-entry-alist, bibtex-field-alist): New variables.
12998 (bibtex-entry-field-alist): Obsolete alias for
12999 bibtex-BibTeX-entry-alist.
13000 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13001 (bibtex-set-dialect): New command.
13002 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13003 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13004 Bind via bibtex-set-dialect.
2de69e00
RW
13005 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13006 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13007 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13008 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13009 Define via bibtex-set-dialect.
450a0f09
SM
13010 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13011 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13012 (bibtex-vec-push, bibtex-vec-incr): New functions.
13013 (bibtex-format-entry, bibtex-field-list)
13014 (bibtex-print-help-message, bibtex-validate)
13015 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13016
2dcdbdd9
SM
130172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 * progmodes/compile.el (compilation-goto-locus):
13020 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13021 * bs.el (bs-cycle-next, bs-cycle-previous):
13022 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13023 * bindings.el (mode-line-other-buffer):
13024 * autoinsert.el (auto-insert):
13025 * arc-mode.el (archive-extract):
13026 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13027
b27640fe
JB
130282011-07-05 Juanma Barranquero <lekktu@gmail.com>
13029
13030 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13031 Fix check of `emacs-lock-unlockable-modes'.
13032 Coerce true values of `emacs-lock--try-unlocking' to t.
13033
53bbe3ad
JB
130342011-07-05 Juanma Barranquero <lekktu@gmail.com>
13035
13036 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13037 * emacs-lock.el: New file.
13038
1d3cdbc7
JD
130392011-07-05 Julien Danjou <julien@danjou.info>
13040
13041 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13042 than `boundp' to check if face is set.
13043
9173deec
JB
130442011-07-05 Juanma Barranquero <lekktu@gmail.com>
13045
13046 * register.el (registerv-make):
13047 * window.el (window-min-height): Fix typos in docstrings.
13048
869795d6
JD
130492011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13050
9173deec 13051 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13052 Update doc string.
13053
b768cdcd
JB
130542011-07-04 Juanma Barranquero <lekktu@gmail.com>
13055
13056 * server.el (server-execute): Catch quit and call
13057 `server-return-error' to pass the error back to emacsclient and
13058 close the connection (bug#8942).
13059
13aa217b
KM
130602011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13061
13062 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13063 insecure exception for current topic. Also note that auto-saves
13064 are handled differently.
13065
5d3385a0 13066 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13067 State variables for tracking auto-save inhibition situation.
13068
13069 (allout-write-contents-hook-handler): Rename from
13070 'allout-write-file-hook-handler', and describe how it depends on
13071 write-contents-functions sensitivity to non-nil value to prevent
13072 file write.
13073
13074 (allout-auto-save-hook-handler): Remove. auto-save does not check
13075 this in individual buffers, only in the starting buffer, so this
13076 is not the right way for us to inhibit auto-save in a buffer
13077 according to its condition.
13078
13079 (allout-mode): Use new allout-write-contents-hook-handler, and
13080 only with write-contents-functions. Remove auto-save provisions -
13081 they're implemented elsewhere.
13082
13083 (allout-before-change-handler): If undo is in progress, note that
13084 for attention of allout-post-command-business.
13085
13086 (allout-post-command-business): If the command we're following was
13087 an undo, check for change in the status of encrypted items and
13088 adjust auto-save inhibitions accordingly.
13089
13090 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13091 according to whether there are or aren't any plain-text topics
13092 pending encryption.
13093
2dcdbdd9 13094 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13095 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13096 if there are plain-text topics pending encryption.
13aa217b
KM
13097
13098 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13099 buffer-saved-size and some allout state to not inhibit auto-saves
13100 if there are no longer any plain-text topics pending encryption.
13101
0757af94
SM
13102 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13103 No longer provide for exemption of the current topic.
13aa217b 13104
ac89b32c
JL
131052011-07-04 Juri Linkov <juri@jurta.org>
13106
13107 Add 7z operations to delete and save changed members (bug#8968).
13108 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13109 New defcustoms.
13110 (archive-7z-write-file-member): New function.
13111 (archive-7z-summarize): Fix the number of dashes in the
13112 listing output.
13113
8fa39615
SM
131142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13115
13116 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13117 (bug#8958).
13118
2f11b3f1
CY
131192011-07-04 Chong Yidong <cyd@stupidchicken.com>
13120
d66fef2b
CY
13121 * bindings.el: Ignore next-buffer and previous-buffer in
13122 minibuffer-local-map.
13123
2f11b3f1
CY
13124 * font-lock.el (font-lock-builtin-face): Change light background
13125 color to dark slate blue (Bug#6693).
13126
f932a347
WD
131272011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13128
13129 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13130
c8af70e1
SM
131312011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13134 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13135 Add switch-to-buffer.
13136
f158badc
LMI
131372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13138
13139 * isearch.el (isearch-search-fun-function): Clarify further the
13140 meaning of the function returned.
13141
6d95bd46
MA
131422011-07-04 Michael Albinus <michael.albinus@gmx.de>
13143
13144 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13145
13146 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13147 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13148 Use it.
13149 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13150 `tramp-default-remote-path' does not exist.
13151 (tramp-send-command-and-read): New optional argument NOERROR.
13152 (tramp-open-connection-setup-interactive-shell)
13153 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13154 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13155 (tramp-process-sentinel): Flush also process' connection property.
13156 (tramp-sh-handle-start-file-process): Do not set process
13157 sentinel. It is done now ...
13158 (tramp-maybe-open-connection): ... here. (Bug#8929)
13159
909e6b67
MK
131602011-07-04 MON KEY <monkey@sandpframing.com>
13161
13162 * play/animate.el (animate-string): Doc fixes and allow changing
13163 the buffer name (bug#5417).
13164
131652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13166
c8af70e1 13167 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13168
f34755dc
PE
131692011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13170
396cec72
PE
13171 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13172 This is simpler and helps future-proof the code.
13173 (timer-until): Use time-subtract and float-time.
08235028 13174 (timer--time-less-p): Use time-less-p.
f34755dc 13175
56e6cc31
JB
131762011-07-04 Juanma Barranquero <lekktu@gmail.com>
13177
3abb79e5
JB
13178 * type-break.el (timep): Use the value of `float-time' to avoid a
13179 byte-compiler warning.
13180
56e6cc31
JB
13181 * server.el (server-eval-and-print): Return any result, even nil.
13182
7b9430b4
PE
131832011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13184
13185 * type-break.el: Accept time formats that the builtins accept.
13186 (timep, type-break-time-difference): Accept any format that
13187 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13188 This is simpler and helps future-proof the code.
13189 (type-break-time-difference): Round rather than ignoring
13190 subseconds components.
13191
3034e9e7
LMI
131922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13193
13194 * info.el (Info-apropos-matches): Make non-interactive, since it
13195 doesn't seem to do anything useful as a command (bug#8829).
13196
1485f4c0
CY
131972011-07-03 Chong Yidong <cyd@stupidchicken.com>
13198
13199 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13200 Move from faces.el.
1485f4c0
CY
13201 (frame-default-terminal-background): New function.
13202
13203 * custom.el (custom-push-theme): Don't record faces in `changed'
13204 theme; this doesn't work correctly for per-frame face settings.
13205 (disable-theme): Use face-set-after-frame-default to reset faces.
13206 (custom--frame-color-default): New function.
13207
9fa3dd45
LMI
132082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13209
c8af70e1 13210 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13211 (bug#8769).
13212
6cbbc20c
KR
132132011-03-29 Kevin Ryde <user42@zip.com.au>
13214
13215 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13216 `perl-Test2' extend to match possible "fail #N" rep count
13217 (bug#8377).
13218
c7f98048
LMI
132192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13220
65676592
LMI
13221 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13222 `smtpmail-via-smtp' now returns the error instead of nil.
13223
c7f98048
LMI
13224 * isearch.el (isearch-search-fun-function): Clarify the doc string
13225 (bug#8101).
13226
56e6cc31 132272011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13228
13229 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13230 unnecessary spaces (bug#8987).
13231
2b216704
LMI
132322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13233
13234 * net/network-stream.el (open-network-stream): Use the
13235 :end-of-capability command thoughout.
13236
132372011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13238
13239 * net/network-stream.el (open-network-stream): Add the
13240 :end-of-capability command parameter, used by pop3.el.
13241
36adf6ce
LMI
132422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13243
1ca0da0e
LMI
13244 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13245
fc00f69c
LMI
13246 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13247 for list)" (bug#6475).
13248
28fd8759 13249 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13250 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13251 an error (bug#6297).
13252
0dd8b6da
LMI
13253 * man.el (Man-reference-regexp): Allow matching possible
13254 word-wrapped references (bug#6289).
13255
ce1438d6
LMI
13256 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13257 for consistency with the other vc buffers (bug#6197).
13258 (vc-checkin): Ditto.
13259
13260 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13261
36adf6ce
LMI
13262 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13263
e83cc1f7
LMI
132642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13265
8a20ca4c
LMI
13266 * custom.el (defcustom): Clarify that :set is only used in the
13267 Customize user interface (bug#6089).
13268
83319045
LMI
13269 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13270 associated with a file, refuse to run instead of erroring out
13271 (bug#6084).
13272
a8392169
LMI
13273 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13274 the doc string, since it appears that using `fill-column' always
13275 controls the width (bug#7845).
13276
e83cc1f7
LMI
13277 * simple.el (shell-command-on-region): Say where the error output
13278 went if `shell-command-default-error-buffer' is set (bug#6857).
13279
e47ca23b
KM
132802011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13281
13282 * allout.el (allout-yank-processing): Adjust cursor position for
13283 backwards-deleted space.
13284
13285 (allout-rebullet-heading): Register changes with
13286 allout-exposure-changed-hook, so the modified topic is properly
13287 decorated.
13288
5cf56143
LMI
132892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13290
08549772
LMI
13291 * minibuffer.el (completion-in-region): Document PREDICATE
13292 (bug#7136).
13293
48e96771
LMI
13294 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13295 of keyword/argument pairs (bug#6904).
13296
c8af70e1
SM
13297 * replace.el (multi-occur):
13298 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13299
e17d05e2
LMI
133002011-07-02 Drew Adams <drew.adams@oracle.com>
13301
13302 * dired.el (dired-mark-if): Make the message about whether it's
13303 marking or unmarking clearer (bug#8523).
13304
063b0e45
LMI
133052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13306
13307 * disp-table.el (display-table-print-array): New function.
13308 (describe-display-table): Use it to print the vectors more pretty
13309 (Bug#8859).
13310
28545e04
MR
133112011-07-02 Martin Rudalics <rudalics@gmx.at>
13312
13313 * window.el (window-state-get-1): Don't assign clone numbers.
13314 Add clone-of item to list of window parameters.
13315 (window-state-put-2): Don't process clone numbers.
13316 (display-buffer-alist): Fix doc-string.
13317
3349e122
SM
133182011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * subr.el (remq): Don't allocate if it's not needed.
13321 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13322 (keymap--merge-bindings): New functions.
13323 (keymap-canonicalize): Use them to refine the canonicalization.
13324 * minibuffer.el (minibuffer-local-completion-map)
13325 (minibuffer-local-must-match-map): Move initialization from C.
13326 (minibuffer-local-filename-completion-map): Move initialization from C;
13327 don't inherit from anything here.
13328 (minibuffer-local-filename-must-match-map): Make obsolete.
13329 (completing-read-default): Use make-composed-keymap to combine
13330 minibuffer-local-filename-completion-map with either
13331 minibuffer-local-must-match-map or
13332 minibuffer-local-filename-completion-map.
13333
d224ac83
GM
133342011-07-01 Glenn Morris <rgm@gnu.org>
13335
3de63bf8
GM
13336 * type-break.el (type-break-time-sum): Use dolist.
13337
d224ac83
GM
13338 * textmodes/flyspell.el (flyspell-word-search-backward):
13339 Replace CL function.
13340
1a1e3f32
SM
133412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13342
fe3f64d5
SM
13343 * mouse.el (mouse--strip-first-event): New function.
13344 (function-key-map): Use it to map fringe clicks to normal clicks
13345 by default.
13346
eb604e34
SM
13347 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13348 (vc-bzr-revision-completion-table): Add support for annotate and date.
13349
1a1e3f32
SM
13350 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13351 inherit from parent.
13352
5bd35902
LMI
133532011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13354
ace6c69c 13355 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13356 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13357
191e2bed
LMI
13358 * dired.el (dired-mode): Fix up the doc string as suggested by
13359 Drew Adams (bug#8817).
13360
5bd35902
LMI
13361 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13362 cookie, since the manual says that it should be possible to add
13363 this function to `find-file-hook' (bug#8709).
13364
eee8207a
TZ
133652011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13366
13367 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13368 here. Noted Ted Zlatanov as the maintainer.
13369 (cfengine-common-settings, cfengine-common-syntax): New functions
13370 to set up common things between `cfengine-mode' and
13371 `cfengine3-mode'.
13372 (cfengine3-mode): New mode.
13373 (cfengine3-defuns cfengine3-defuns-regex
13374 (cfengine3-class-selector-regex cfengine3-category-regex)
13375 (cfengine3-vartypes cfengine3-font-lock-keywords)
13376 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13377 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13378
36b148cf
MA
133792011-07-01 Michael Albinus <michael.albinus@gmx.de>
13380
13381 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13382
13383 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13384
0bf4ba9a
MR
133852011-07-01 Martin Rudalics <rudalics@gmx.at>
13386
13387 * window.el (same-window-buffer-names, same-window-regexps)
13388 (same-window-p, special-display-frame-alist)
13389 (special-display-popup-frame, special-display-function)
13390 (special-display-buffer-names, special-display-regexps)
13391 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13392 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13393 (split-window-preferred-function, split-height-threshold)
13394 (split-width-threshold, even-window-heights)
13395 (display-buffer-mark-dedicated, window-splittable-p)
13396 (split-window-sensibly, window-safely-shrinkable-p):
13397 Un-obsolete.
13398 (display-buffer): Don't spread args with function specifier
13399 because special-display-popup-frame won't like it.
13400
35837f51
PE
134012011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13402
d0672f86
PE
13403 Time-stamp simplifications and fixes.
13404 These improve accuracy slightly, and future-proof the code
13405 against some potential changes to current-time format.
13406
b9444d97
PE
13407 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13408 by using time-since and float-time.
13409
0ef923dc
PE
13410 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13411 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13412 + NNN microseconds".
13413
2f81380d
PE
13414 * type-break.el (type-break-time-sum): Rewrite using time-add.
13415
845b5c3e
PE
13416 * play/hanoi.el (hanoi-current-time-float): Remove.
13417 All uses replaced by float-time.
13418
ee6f1be0
PE
13419 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13420 This yields a more-accurate answer.
13421 (rng-time-to-float): Remove; no longer needed.
13422
fe955043
PE
13423 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13424
5777162a
PE
13425 * calendar/timeclock.el (timeclock-seconds-to-time):
13426 Defalias to seconds-to-time, since they're the same thing.
13427
3103f8b6 13428 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13429 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13430 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13431
0e61a35f
SM
134322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * window.el (bury-buffer): Don't iconify the only frame.
13435 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13436 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13437
ddd63a1e
CY
134382011-07-01 Chong Yidong <cyd@stupidchicken.com>
13439
0e61a35f
SM
13440 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13441 Add mouse-yank-primary.
ddd63a1e 13442
055f4923
TZ
134432011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13444
13445 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13446
6a2fb145
SM
134472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13450 (find-library-name): Use it to find relative load names when provided
13451 absolute file name (bug#8803).
13452
fd4983f2
LMI
134532011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13454
887d14ad
LMI
13455 * textmodes/flyspell.el (flyspell-word): Consider words that
13456 differ only in case as potential doublons (bug#5687).
13457
c53dc7fc
LMI
13458 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13459 Remove two rather uninteresting debugging-like messages to make
13460 debbugs.el more silent.
13461
fd4983f2
LMI
13462 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13463 a password-like phrase.
13464
7a71b18d 134652011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13466
13467 * progmodes/cc-guess.el: New file.
13468
6a2fb145 13469 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13470
13471 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13472 derived from `c-basic-common-init'.
13473
13474 * progmodes/cc-mode.el (top-level): Require cc-guess.
13475 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13476
1fa280a3
LM
134772011-06-30 Lawrence Mitchell <wence@gmx.li>
13478
13479 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13480
e6597158
AM
134812011-06-30 Alan Mackenzie <acm@muc.de>
13482
1fa280a3
LM
13483 * progmodes/cc-engine.el (c-guess-continued-construct):
13484 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13485 lock is disabled. Name this case as "CASE G".
13486
68ba37fb
KM
134872011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13488
13489 * allout.el (allout-yank-processing): Fix injection of extra space
13490 between bullet and non-whitespace character in first topic when
13491 pasting, ensuring that the actual spacing in the pasted topic
13492 following the bullet char is preserved. This extra space was
13493 causing pasted encrypted topics to get a decrypted status even
13494 when the content was actually still encrypted. Now the decryption
13495 status from before the paste is preserved.
13496
13497 (allout-flag-region): Set all allout overlays so they evaporate
13498 when reduced to zero length (evanescent), to prevent overlay
13499 leakage.
13500
887a0b34
GM
135012011-06-30 Glenn Morris <rgm@gnu.org>
13502
94b9acce
GM
13503 * w32-fns.el (w32-charset-info-alist): Declare.
13504
1d9b46d4
GM
13505 * find-dired.el (find-grep-options): Simplify.
13506
cc232200
GM
13507 * term/ns-win.el (ns-set-resource): Declare.
13508
28e77c46
GM
13509 * ses.el (row, col): Declare dynamic variables honestly.
13510
887a0b34
GM
13511 * textmodes/reftex-parse.el (index-tags): Declare.
13512
658d8eb8
CY
135132011-06-30 Chong Yidong <cyd@stupidchicken.com>
13514
13515 * cus-edit.el (customize-push-and-save): New function.
13516
13517 * files.el (hack-local-variables-confirm): Use it.
13518
1fa280a3
LM
13519 * custom.el (load-theme): New arg NO-CONFIRM.
13520 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13521 (custom-enabled-themes): Doc fix.
13522
13523 * cus-theme.el (customize-create-theme)
13524 (custom-theme-merge-theme): Callers to load-theme changed.
13525
bb617717
LMI
135262011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13527
d61bdd5d
LMI
13528 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13529 short URLs have at least one dot in them (bug #7614).
13530
bb617717
LMI
13531 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13532 nil, because using a pty is apparently too slow (bug #895).
13533
2f31f37a
LMI
135342011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13535
13536 * mail/sendmail.el (sendmail-query-once): New function.
13537 (sendmail-query-once-function): New variable.
13538
3076b24e
GM
135392011-06-29 Glenn Morris <rgm@gnu.org>
13540
faf2a174
GM
13541 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13542
3076b24e
GM
13543 * ses.el (top-level): Require cl when compiling.
13544 (ses-set-localvars): Fix error statement.
13545 Call it at compile time to silence a storm of warnings.
13546
5386012d
MR
135472011-06-29 Martin Rudalics <rudalics@gmx.at>
13548
13549 * window.el (normalize-live-buffer): Rename to
13550 window-normalize-buffer.
13551 (normalize-live-frame): Rename to window-normalize-frame.
13552 (normalize-any-window): Rename to window-normalize-any-window.
13553 (normalize-live-window): Rename to window-normalize-live-window.
13554 (make-window-atom): Rename to window-make-atom.
13555 (window-resize-reset): Rename to window--resize-reset.
13556 (window-resize-reset-1): Rename to window--resize-reset-1.
13557 (resize-mini-window): Rename to window--resize-mini-window.
13558 (resize-subwindows-skip-p): Rename to
13559 window--resize-subwindows-skip-p.
13560 (resize-subwindows-normal): Rename to
13561 window--resize-subwindows-normal.
13562 (resize-subwindows): Rename to window--resize-subwindows.
13563 (resize-other-windows): Rename to window--resize-siblings.
13564 (resize-this-window): Rename to window--resize-this-window.
13565 (resize-root-window): Rename to window--resize-root-window.
13566 (resize-root-window-vertically): Rename to
13567 window--resize-root-window-vertically.
13568 (normalize-buffer-to-display): Rename to
13569 window-normalize-buffer-to-display.
13570 (normalize-buffer-to-switch-to): Rename to
13571 window-normalize-buffer-to-switch-to.
13572 Correspondingly update all callers of the functions listed
13573 above.
13574 (display-buffer-alist, display-buffer-normalize-arguments)
13575 (display-buffer-normalize-options, display-buffer)
13576 (display-buffer-alist-set): Use "function" instead of
13577 "fun-with-args".
13578
1176868d
CY
135792011-06-28 Chong Yidong <cyd@stupidchicken.com>
13580
13581 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13582 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13583 debbugs.gnu.org. Mention acknowledgment email.
13584
20a7a65f
LMI
135852011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13586
13587 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13588 buffer multibyteness, since it shouldn't matter.
13589
5f45cca5
MR
135902011-06-28 Martin Rudalics <rudalics@gmx.at>
13591
13592 * window.el (display-buffer-in-side-window): Handle dedicated
13593 windows as in display-buffer-reuse-window.
13594 (display-buffer-normalize-alist): Use value of override
13595 specifier.
13596 (display-buffer-normalize-specifiers): Use value of
13597 other-window-means-other-frame specifier.
13598 (display-buffer-alist): Rewrite some texts in widgets.
13599 (display-buffer): Spread arguments when calling function
13600 specified by fun-with-args.
13601
ad85fe1f
DD
136022011-06-28 Deniz Dogan <deniz@dogan.se>
13603
1fa280a3
LM
13604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13605 Unnest `let'.
da68c4c8 13606
ad85fe1f
DD
13607 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13608 selectors (Bug#5732).
ec49bd31 13609 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13610
a08cc025
JA
136112011-06-27 Jari Aalto <jari.aalto@cante.net>
13612
13613 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13614 (eshell-ls-date-format): New defcustom.
13615 (eshell-ls-file): Use it.
13616
e2b551c5
SM
136172011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13620
8982b231
KY
136212011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13622
13623 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13624 (ange-ftp-make-tmp-name): New arg.
13625 (ange-ftp-file-local-copy): Use it.
13626
36c9fa27
J
136272011-06-27 Jambunathan K <kjambunathan@gmail.com>
13628
13629 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13630 no-conversion (Bug#8870).
13631
d68443dc
MR
136322011-06-27 Martin Rudalics <rudalics@gmx.at>
13633
13634 * window.el (window-right, window-left, window-child)
13635 (window-child-count, window-last-child)
13636 (window-iso-combination-p, walk-window-tree-1)
13637 (window-atom-check-1, window-tree-1, delete-window)
13638 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13639 new naming conventions - window-vchild, window-hchild,
13640 window-next and window-prev are now called window-top-child,
13641 window-left-child, window-next-sibling and window-prev-sibling
13642 respectively.
d615d6d2
MR
13643 (resize-window-reset): Rename to window-resize-reset.
13644 (resize-window-reset-1): Rename to window-resize-reset-1.
13645 (resize-window): Rename to window-resize.
13646 (window-min-height, window-min-width)
13647 (resize-mini-window, resize-this-window, resize-root-window)
13648 (resize-root-window-vertically, adjust-window-trailing-edge)
13649 (enlarge-window, shrink-window, maximize-window)
13650 (minimize-window, delete-window, quit-restore-window)
13651 (split-window, balance-windows, balance-windows-area-adjust)
13652 (balance-windows-area, window-state-put-2)
13653 (display-buffer-even-window-sizes, display-buffer-set-height)
13654 (display-buffer-set-width, set-window-text-height)
13655 (fit-window-to-buffer): Rename all "resize-window" prefixed
13656 calls to use the "window-resize" prefix convention.
13657 (display-buffer-alist): Fix symbol for label specifier.
13658 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13659 corresponding specifier.
13660 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13661
b6458526
VB
136622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13663
13664 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13665 convention.
13666 (ses-call-printer): Does not pass an empty string to formatter when the
13667 cell is empty to keep from barking printer Calc math-format-value.
13668
d31fd9ac
RS
136692011-06-27 Richard Stallman <rms@gnu.org>
13670
43d5bf84
RS
13671 * battery.el (battery-mode-line-limit): New variable.
13672 (battery-update): Handle it.
13673
d31fd9ac
RS
13674 * mail/rmailmm.el (rmail-mime-process-multipart):
13675 Handle truncated messages.
13676
819a6054
GM
136772011-06-27 Glenn Morris <rgm@gnu.org>
13678
13679 * progmodes/flymake.el (flymake-err-line-patterns):
13680 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13681
cedc73f2
VB
136822011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13683
819a6054 13684 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13685 (ses--clean-!, ses--clean-_): New functions.
13686 (ses-range): Add configurability of readout order, and conversion
13687 to Calc vector.
13688
5e5d49b6
VB
13689 * ses.el (ses-repair-cell-reference-all): New function.
13690 (ses-cell-symbol): Set macro as safe, so that it can be used in
13691 formulas.
13692
56e6cc31 13693 * ses.el: Update cycle detection algorithm.
90ca8b49 13694 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13695 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13696 (ses-set-localvars): New function.
13697 (ses-make-cell): Add property-list as a cell element.
13698 (ses-cell-property-get-fun, ses-cell-property-get)
13699 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13700 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13701 New functions.
90ca8b49
VB
13702 (ses-cell-property-set, ses-cell-property-pop)
13703 (ses-cell-property-get-handle): New macro.
13704 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13705 New aliases, used for code readability.
13706 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13707 cycle detection.
13708 (ses-self-reference-early-detection): New defcustom.
fac916bf 13709 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13710 (ses-mode): Use ses-set-localvars.
13711 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13712 before lauching the update processing.
13713 (ses-initialize-Dijkstra-attempt): New function.
13714 (ses-recalculate-cell): Update for cycle detection based on
13715 Dijkstra algorithm.
13716
2bb63e81
VB
13717 * ses.el: Fix commenting and indenting convention.
13718
c9d29fb8
SM
137192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * bs.el (bs-cycle-next): Complete last change.
13722
d8e4b68b
JB
137232011-06-27 Drew Adams <drew.adams@oracle.com>
13724
13725 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13726
40098786
LMI
137272011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13728
c9d29fb8
SM
13729 * net/network-stream.el (network-stream-open-starttls):
13730 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13731 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13732
40098786
LMI
13733 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13734 to binary to possibly avoid line encoding issues on Windows (among
13735 other things).
13736
468d09d4
LMI
137372011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13738
13739 * net/network-stream.el (open-network-stream): Return an :error
13740 saying what the problem was, if possible.
13741
13742 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13743 server.
13744
13745 * net/network-stream.el (network-stream-open-starttls): If we
13746 wanted to use STARTTLS, and the server offered it, but we weren't
13747 able to because we had no STARTTLS support, then close the connection.
13748 (open-network-stream): Return an :error element, if present.
13749
16f07dd7
CY
137502011-06-26 Chong Yidong <cyd@stupidchicken.com>
13751
88821ca0
CY
13752 * hl-line.el (hl-line-sticky-flag): Doc fix.
13753 (global-hl-line-sticky-flag): New option (Bug#8323).
13754 (global-hl-line-highlight): Obey it.
13755
16f07dd7
CY
13756 * vc/vc.el (vc-revert-show-diff): Default to t.
13757
6b5ccddf
KM
137582011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13759
c9d29fb8
SM
13760 * allout-widgets.el (allout-widgets-post-command-business):
13761 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13762 undecorated when an isearch is continued past, and isearch
13763 automatically collapses them. This leads to "widget leaks", where
13764 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13765 hidden widgets can slow down cursor travel, substantially.
13766 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13767 so we're doing without this nicety.
13768
13769 (allout-widgets-tally-string): Don't try to do a hash-table-count
13770 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13771 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13772 *Messages* when allout-widgets-maintain-tally is t.
13773
355f2e07
MR
137742011-06-26 Martin Rudalics <rudalics@gmx.at>
13775
13776 * window.el (display-buffer-normalize-argument): Rename to
13777 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13778 LABEL argument. Respect special-display-function when popping up
13779 a new frame. Fix code searching for a window showing the buffer
13780 on another frame.
c9d29fb8
SM
13781 (display-buffer-normalize-specifiers):
13782 Call display-buffer-normalize-arguments.
355f2e07
MR
13783 (display-buffer-in-window): Don't undedicate the window if its
13784 buffer remains the same.
13785 Reported by Drew Adams <drew.adams@oracle.com>.
13786 (display-buffer-alist): Add choice for same-window macro
13787 specfier.
13788 (display-buffer): Mention special meaning of LABEL argument in
13789 doc-string. Fix quoting. Don't pop up a new frame even as
13790 fallback.
13791
7ca8fc42
JB
137922011-06-26 Juanma Barranquero <lekktu@gmail.com>
13793
13794 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13795 avoid deleting the current window in some cases (bug#8911).
13796
bc312254
AS
137972011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13798
13799 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13800 (Bug#8934)
13801
2db18f3f
LMI
138022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13803
c9d29fb8
SM
13804 * net/network-stream.el (network-stream-open-starttls):
13805 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13806 (network-stream-open-tls): Ditto.
13807
6302e0d3
LL
138082011-06-26 Leo Liu <sdl.web@gmail.com>
13809
13810 * register.el (registerv): New struct.
13811 (registerv-make): New function.
c9d29fb8
SM
13812 (jump-to-register, describe-register-1, insert-register):
13813 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13814 struct. (Bug#8415)
13815
5fdd4046
CY
138162011-06-26 Chong Yidong <cyd@stupidchicken.com>
13817
2afef60a
CY
13818 * vc/vc.el (vc-revert-show-diff): New defcustom.
13819 (vc-diff-internal): New arg specifying diff buffer.
13820 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13821 reuse an existing *vc-diff* buffer (Bug#8927).
13822
5fdd4046
CY
13823 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13824
e93db24a
GM
138252011-06-26 Glenn Morris <rgm@gnu.org>
13826
13827 * progmodes/f90.el (f90-critical-indent): New option.
13828 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13829 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13830 (f90-mode): Doc fix.
13831 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13832 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13833 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13834 (f90-match-end): Handle block, critical.
13835
eefff499
GM
138362011-06-25 Glenn Morris <rgm@gnu.org>
13837
f6ba4cc9
GM
13838 * calendar/diary-lib.el (diary-included-files): Doc fix.
13839 (diary-include-files): New function, extracted from
13840 diary-include-other-diary-files and diary-mark-included-diary-files.
13841 (diary-include-other-diary-files, diary-mark-included-diary-files):
13842 Just call diary-include-files.
13843 (diary-mark-entries): Reset diary-included-files on first call.
13844
16712304
GM
13845 * calendar/diary-lib.el (diary-mark-entries)
13846 (diary-mark-included-diary-files):
13847 Visit included diary-files in temp buffers.
13848
5d8e0d43
GM
13849 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13850 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13851 (f90-start-block-re, f90-imenu-generic-expression)
13852 (f90-looking-at-program-block-start, f90-no-block-limit):
13853 Add support for submodules.
13854
ccf7a5d5
GM
13855 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13856 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13857
11fdef7d 138582011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13859
13860 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13861 buffer-file-type before setting its value, to avoid disastrous
eefff499 13862 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13863
74f53697
JB
138642011-06-25 Juanma Barranquero <lekktu@gmail.com>
13865
13866 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13867
13868 * ses.el (ses-unload-function):
13869 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13870
13871 * proced.el (proced-unload-function):
13872 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13873
18a4ce5e
AR
138742011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13875
13876 * server.el (server-create-window-system-frame): Add parameters arg.
13877 (server-process-filter): Doc fix. Handle frame-parameters.
13878
519d22cc
JB
138792011-06-25 Juanma Barranquero <lekktu@gmail.com>
13880
13881 Fix bug#8730, bug#8781.
13882
13883 * loadhist.el (unload--set-major-mode): New function.
13884 (unload-feature): Use it.
13885
13886 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13887 (python-unload-function): New function.
13888
c206f5b0
SM
138892011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13890
13891 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13892
f9ad64f3
GS
138932011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13894
13895 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13896 the candidates list.
13897
7d0da90e
JB
138982011-06-24 Juanma Barranquero <lekktu@gmail.com>
13899
13900 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13901
14b4e83d
RS
139022011-06-23 Richard Stallman <rms@gnu.org>
13903
13904 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13905 (rmail-variables): Set next-error-move-function.
13906 (rmail-what-message): Take argument POS.
13907 (rmail-next-error-move): New function.
13908
273d2baf
SM
139092011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13910
13911 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13912 messages for adjacent non-terminals.
13913
56c2cc9a
RS
139142011-06-23 Richard Stallman <rms@gnu.org>
13915
13916 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13917 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13918 (rmail-start-mail): Don't specify use of rmail-mail-return;
13919 that's done by mail-bury now.
13920 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13921
d59eb518
MA
139222011-06-23 Michael Albinus <michael.albinus@gmx.de>
13923
13924 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13925 SIZE is a number.
13926
02cfc6d6
MR
139272011-06-23 Martin Rudalics <rudalics@gmx.at>
13928
13929 * window.el (get-lru-window, get-mru-window)
13930 (get-largest-window): Never return a minibuffer window.
13931 (display-buffer-pop-up-window): Fix a bug that could lead to
13932 reusing the minibuffer window.
13933 (display-buffer): Pass original specifier argument to
13934 display-buffer-function instead of the normalized one.
13935 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13936
4e323265
LL
139372011-06-22 Leo Liu <sdl.web@gmail.com>
13938
13939 * minibuffer.el (completing-read-function)
13940 (completing-read-default): Move from minibuf.c
13941
7a70468f
RS
139422011-06-22 Richard Stallman <rms@gnu.org>
13943
50718fc2
RS
13944 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13945 to Rmail even if not started by a special Rmail command.
13946
7a70468f
RS
13947 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13948 Copy the buffer currently showing just one message.
13949
297dde5a
RW
139502011-06-22 Roland Winkler <winkler@gnu.org>
13951
13952 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13953 (bibtex-clean-entry): First delete the old key so that a
13954 customized algorithm for generating the new key does not get
13955 confused by the old key.
13956 (bibtex-url): Obey regexp of first step.
13957 (bibtex-search-entries): Do not use add-to-list with local
13958 list-var.
13959
97bb1093
LMI
139602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13961
13962 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13963 stored a user name, then query for the password first, instead of
13964 waiting for SMTP to give an error message and the trying again.
13965
1c0f1a19
JD
139662011-06-22 Lawrence Mitchell <wence@gmx.li>
13967
13968 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13969 BUFFER in call-process.
13970
396f7c9d
LMI
139712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13972
13973 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13974 QUIT twice.
ddb7ffee
LMI
13975 (smtpmail-try-auth-methods): Require user name and password from
13976 auth-source.
396f7c9d 13977
8998d1b3
MR
139782011-06-22 Martin Rudalics <rudalics@gmx.at>
13979
13980 * window.el (display-buffer-default-specifiers)
13981 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13982 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13983 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13984
13985 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13986 (special-display-frame-alist, special-display-popup-frame):
13987 Remove duplicate declarations. These are now in window.el.
13988
4ea31e07
LMI
139892011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13990
c9d29fb8
SM
13991 * mail/smtpmail.el (smtpmail-via-smtp):
13992 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13993 server supports it. SMTP servers that support STARTTLS commonly
13994 require it.
13995
13996 * net/network-stream.el (network-stream-open-starttls): Support
13997 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13998 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13999
95f41d9a
LMI
14000 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14001 upgrades with `open-network-stream', and rely solely on
14002 auth-source for all credentials. Big changes throughout the file,
14003 but in particular:
c9d29fb8
SM
14004 (smtpmail-auth-credentials): Remove.
14005 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14006 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14007 MAIL FROM, too.
95f41d9a 14008
c9d29fb8
SM
14009 * net/network-stream.el (network-stream-open-starttls):
14010 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14011 STARTTLS.
14012 (auth-source): Require.
14013 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14014 (network-stream-certificate): Change cert-cert to cert and
14015 cert-key to key.
4ea31e07 14016
065ec2c7
MA
140172011-06-21 Michael Albinus <michael.albinus@gmx.de>
14018
14019 * net/tramp-cache.el (top): Don't load the persistency file when
14020 "emacs -Q" has been called.
14021
cd93b359
DR
140222011-06-21 Tim Harper <timcharper@gmail.com>
14023
d8e4b68b
JB
14024 * term/ns-win.el (ns-initialize-window-system):
14025 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14026 resource to NO as it is not yet supported by the NS port.
14027
ae9c0411
JB
140282011-06-21 Juanma Barranquero <lekktu@gmail.com>
14029
14030 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14031 (list-dynamic-libraries): ...not here.
14032
7f3f739f
LL
140332011-06-21 Leo Liu <sdl.web@gmail.com>
14034
14035 * subr.el (sha1): Implement sha1 using secure-hash.
14036
327c8fb1
MR
140372011-06-21 Martin Rudalics <rudalics@gmx.at>
14038
14039 * window.el (display-buffer-alist): In default value do not
14040 enforce searching a window on any but the selected frame.
14041 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14042 (display-buffer-select-window): Remove function.
14043 (display-buffer-in-window): When a window on another frame gets
14044 reused, do not select it any more but just raise its frame if
14045 necessary (Bug#8851) and (Bug#8856).
14046 (display-buffer-normalize-options): Handle pop-up-frames related
14047 options more faithfully.
14048 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14049 window if it is on another frame.
c9d29fb8
SM
14050 (display-buffer-alist, display-buffer-default-specifiers):
14051 Don't make new frame unsplittable by default.
9e9de014
MR
14052 (display-buffer-normalize-argument): Fix doc-string typo and use
14053 'same-frame-other-window instead of 'other-window when associating
14054 with display-buffer-macro-specifiers.
327c8fb1 14055
7cf3f556
VB
140562011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14057
14058 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14059 New functions.
14060 (5x5-mode-map, 5x5-mode-menu): Bind them.
14061 (5x5-draw-grid): Tweak the solver's rendering.
14062
60a406cf
SM
140632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14064
14065 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14066 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14067
d8e4b68b 140682011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14069
14070 * menu-bar.el: Use function variable instead of switch-to-buffer.
14071 (menu-bar-select-buffer-function): New variable.
60a406cf 14072 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14073
478d6f95
SM
140742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14077 variable's status.
14078
ca530739
JD
140792011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14080
14081 * x-dnd.el (x-dnd-version-from-flags)
14082 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14083 and long as number (Bug#8899).
14084 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14085
bcd70d97
SM
140862011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14087
60a406cf 14088 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14089 (completion-try-completion, completion-all-completions): Compute the
14090 metadata argument if it's missing; make it optional (bug#8795).
14091
60a406cf 14092 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14093 (widget-complete): Use new :completion-function property.
14094 (widget-completions-at-point): New function.
14095 (default): Use :completion-function instead of :complete.
60a406cf
SM
14096 (widget-default-completions): Rename from widget-default-complete;
14097 Rewrite.
bcd70d97
SM
14098 (widget-string-complete, widget-file-complete, widget-color-complete):
14099 Remove functions.
14100 (file, symbol, function, variable, coding-system, color):
14101 * international/mule-cmds.el (default-input-method, charset)
14102 (language-info-custom-alist):
14103 * cus-edit.el (face): Use new property :completions.
14104
14105 * progmodes/pascal.el (pascal-completions-at-point): New function.
14106 (pascal-mode): Use it.
14107 (pascal-mode-map): Use completion-at-point.
14108 (pascal-toggle-completions): Make obsolete.
14109 (pascal-complete-word, pascal-show-completions):
14110 * progmodes/octave-mod.el (octave-complete-symbol):
14111 Redefine as obsolete alias.
14112 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14113 Signal absence of completion info for old Octave,
14114 (inferior-octave-complete): Redefine as obsolete alias.
14115 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14116 (meta-completions-at-point): Rename from meta-complete-symbol and
14117 adapt it for use on completion-at-point-functions.
14118 (meta-common-mode): Use it.
14119 (meta-looking-at-backward, meta-match-buffer): Remove.
14120 (meta-complete-symbol): Redefine as obsolete alias.
14121 (meta-common-mode-map): Use completion-at-point.
14122 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14123 (makefile-mode-map): Use completion-at-point.
14124 (makefile-completions-at-point): Rename from makefile-complete and
14125 adapt it for use on completion-at-point-functions.
14126 (makefile-mode): Use it.
14127 (makefile-complete): Redefine as obsolete alias.
14128
aebf69c8
DD
141292011-06-20 Deniz Dogan <deniz@dogan.se>
14130
14131 * net/rcirc.el: Delete trailing whitespaces once and for all.
14132
bfbbb27d
DC
141332011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14134
14135 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14136
d264a46b
CY
141372011-06-19 Chong Yidong <cyd@stupidchicken.com>
14138
4ca009e5
CY
14139 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14140
d264a46b
CY
14141 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14142
fbf5b3ce
MR
141432011-06-19 Martin Rudalics <rudalics@gmx.at>
14144
14145 * window.el (display-buffer-other-window-means-other-frame):
14146 Call display-buffer-normalize-alist.
14147 (display-buffer-normalize-specifiers-1): Rename to
14148 display-buffer-normalize-argument. New argument other-frame.
14149 Rewrite.
14150 (display-buffer-normalize-specifiers-2): Rename to
14151 display-buffer-normalize-options.
14152 (display-buffer-normalize-alist-1): New function.
14153 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14154 display-buffer-normalize-alist.
14155 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14156 (display-buffer-normalize-options-inhibit): New variable.
14157 (display-buffer-normalize-specifiers): Rewrite calling
14158 display-buffer-normalize-alist,
14159 display-buffer-normalize-argument, and
14160 display-buffer-normalize-options. Don't call the latter if
14161 display-buffer-normalize-options-inhibit is non-nil.
14162 (frame-auto-delete): New option.
14163 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14164 (window-list-no-nils, window-state-ignored-parameters)
14165 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14166 (window-state-put-1, window-state-put-2, window-state-put):
14167 New functions.
9a028c23
MR
14168 (display-buffer-normalize-options): Move special-display-p group
14169 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14170
6d10d800
CY
141712011-06-18 Chong Yidong <cyd@stupidchicken.com>
14172
6420d28b
CY
14173 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14174 groups (Bug#8776).
14175 (rx-submatch-n): New function.
14176 (rx): Document it.
14177
ddb8b596
CY
14178 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14179 (Bug#8768).
14180
14181 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14182
77080289
CY
14183 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14184
61dfb316
CY
14185 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14186 anytime existing face settings are present (Bug#8889).
14187
6d10d800
CY
14188 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14189 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14190 Remove unused argument.
14191
be3fb2b8
MR
141922011-06-18 Martin Rudalics <rudalics@gmx.at>
14193
bcd70d97
SM
14194 * window.el (display-buffer-default-specifiers):
14195 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14196 pop-up-window-min-width, and another reuse-window specifier
14197 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14198 (display-buffer-normalize-specifiers-2):
14199 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14200 pop-up-windows is unset. Add a reuse-window specifier for the
14201 case popping up a new window fails.
14202 (special-display-popup-frame): Remove double quoting.
28dec25a 14203 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14204
1c6d8c76
SM
142052011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14208 according to comint-completion-addsuffix.
14209
14210 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14211 (pcomplete-suffix-list): Mark as obsolete.
14212 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14213 pcomplete-seen in the closure.
14214 (pcomplete-comint-setup): Setup completion-at-point as well.
14215 (pcomplete--entries): New function.
14216 (pcomplete--env-regexp): New var.
14217 (pcomplete-entries): Rewrite to work with partial-completion and
14218 without relying on pcomplete-suffix-list.
14219 (pcomplete-pare-list): Remove, unused.
14220
25aef8b8
MR
142212011-06-17 Martin Rudalics <rudalics@gmx.at>
14222
14223 * window.el (display-buffer-alist): Set pop-up-window-min-height
14224 and pop-up-window-min-width in default value. Reported by
14225 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14226 other-window-means-other-frame.
14227 (display-buffer-macro-specifiers): Comment out entry for
14228 other-window specifier.
14229 (display-buffer-other-window-means-other-frame): New function.
14230 (display-buffer-normalize-specifiers-1): New arguments
14231 buffer-name and label. Treat other-window case specially.
14232 (display-buffer-normalize-specifiers-2): Treat other-window case
14233 specially.
14234 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14235 (display-buffer-normalize-specifiers):
14236 Call display-buffer-normalize-specifiers-3.
25aef8b8 14237
dbad4f69
MR
142382011-06-17 Martin Rudalics <rudalics@gmx.at>
14239
14240 * window.el (same-window-p): Fix two typos introduced when
14241 adding with-no-warnings.
d1067961
MR
14242 (display-buffer-normalize-specifiers-1): Don't check
14243 pop-up-frames for 'unset initialization.
14244 (display-buffer-normalize-specifiers-2): Major rewrite using
14245 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14246 (pop-up-frames, display-buffer-reuse-frames)
14247 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14248 Suggested by David Engster <deng@randomsample.de>.
14249 (even-window-heights): Initialize to 'unset.
14250 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14251 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14252 other window case.
dbad4f69 14253
9b9c9e3a
MR
142542011-06-16 Martin Rudalics <rudalics@gmx.at>
14255
bcd70d97
SM
14256 * window.el (display-buffer-normalize-specifiers-1):
14257 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14258 second argument of display-buffer (Bug#8865).
981d5c09
MR
14259 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14260 (switch-to-buffer-other-window-same-frame)
14261 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14262 Adams (Bug#8875).
9c2755e9
MR
14263 (display-buffer): Don't check noninteractive when calling
14264 display-buffer-pop-up-frame.
14265 (display-buffer-pop-up-frame): Never pop up a frame in
14266 noninteractive mode (Bug#8857).
67222e1d
MR
14267 (enlarge-window, shrink-window): Don't report an error when the
14268 window can't be resized as requested (Bug#8862).
9b9c9e3a 14269
2b75be67
SM
142702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14271
9ffdd3ba
SM
14272 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14273
cb581a67
SM
14274 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14275
2b75be67
SM
14276 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14277
8c0e3589
AM
142782011-06-15 Alan Mackenzie <acm@muc.de>
14279
cb581a67
SM
14280 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14281 for declarators, disable knr checking to speed up for normal files.
14282 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14283
b96e6cde
LMI
142842011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14285
4bba86e6
LMI
14286 * net/network-stream.el (open-network-stream): Add the keyword
14287 :always-query-capabilities for the case where you want to force a
14288 `plain' network connection, but the protocol still requires the
14289 capabilitiy command (i.e., SMTP and EHLO).
14290
2b75be67 14291 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14292 consistency with other `-live-p' functions.
14293
efdcdbf8
SM
142942011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * window.el (same-window-buffer-names, same-window-regexps)
14297 (special-display-frame-alist, special-display-popup-frame)
14298 (special-display-function, special-display-buffer-names)
14299 (special-display-regexps, pop-up-frame-alist)
14300 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14301 (pop-up-windows, split-window-preferred-function)
14302 (split-height-threshold, split-width-threshold, even-window-heights)
14303 (display-buffer-mark-dedicated): Don't encourage the use of
14304 display-buffer-alist from Elisp code.
14305
c5cde042
DN
143062011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14307
14308 * progmodes/python.el (python-mode): Derive from prog-mode.
14309 * progmodes/ps-mode.el (ps-mode):
14310 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14311 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14312 * progmodes/ld-script.el (ld-script-mode): Likewise.
14313
baa1c9ab
MR
143142011-06-15 Martin Rudalics <rudalics@gmx.at>
14315
14316 * window.el (display-buffer-alist): Trim default value to avoid
14317 popping up a new frame (Bug#8857) or reusing an arbitrary window
14318 on another frame.
14319 (display-buffer): Do not fall back on popping up a new frame in
14320 batch mode (Bug#8857).
14321
c5dd5a51
CY
143222011-06-14 Chong Yidong <cyd@stupidchicken.com>
14323
14324 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14325 (custom-theme-summary): New function.
14326 (customize-themes): Use it.
14327
d647b7c4
GM
143282011-06-13 Glenn Morris <rgm@gnu.org>
14329
14330 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14331
9481c002
MR
143322011-06-13 Martin Rudalics <rudalics@gmx.at>
14333
357f93d2
MR
14334 * help.el (help-window): Remove variable.
14335 (help-window-point-marker, temp-buffer-max-height)
14336 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14337 (help-print-return-message): Don't set help-window.
14338 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14339 (help-window-setup-finish): Remove.
14340 (help-window-display-message, help-window-setup)
14341 (with-help-window): Major rewrite based on new
14342 display-buffer-window variable.
14343
14344 * help-mode.el (help-mode-finish): Remove help-window related
14345 code.
14346
14347 * view.el (view-exits-all-viewing-windows): Remove reference to
14348 view-return-to-alist in doc-string.
14349 (view-return-to-alist): Make obsolete.
14350 (view-buffer): Call pop-to-buffer-same-window and remove
14351 undo-window code.
14352 (view-buffer-other-window): Call pop-to-buffer-other-window and
14353 simplify code. Ignore second argument.
14354 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14355 simplify code. Ignore second argument.
14356 (view-return-to-alist-update): Make obsolete.
14357 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14358 Rewrite using quit-restore window parameters.
2b75be67
SM
14359 (view-mode-exit): Rename second argument to EXIT-ONLY.
14360 Rewrite using quit-restore-window.
357f93d2
MR
14361 (View-exit, View-exit-and-edit, View-leave, View-quit)
14362 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14363 appropriate arguments.
14364 (view-end-message): Use quit-restore window parameter.
14365
9481c002
MR
14366 * window.el (display-buffer-function): Rewrite doc-string.
14367 (display-buffer-window, display-buffer-alist): New variables.
14368 (display-buffer-split-specifiers)
14369 (display-buffer-side-specifiers)
14370 (display-buffer-macro-specifiers): New constants.
14371 (display-buffer-even-window-sizes, display-buffer-set-height)
14372 (display-buffer-set-width, display-buffer-select-window)
14373 (display-buffer-in-window, display-buffer-reuse-window)
14374 (display-buffer-split-window-1, display-buffer-split-window)
14375 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14376 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14377 (display-buffer-in-side-window, normalize-buffer-to-display)
14378 (display-buffer-normalize-specifiers-1)
14379 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14380 (display-buffer-normalize-specifiers, display-buffer-frame):
14381 New functions.
9481c002
MR
14382 (display-buffer): Major rewrite.
14383 (display-buffer-other-window, display-buffer-other-frame)
14384 (pop-to-buffer, switch-to-buffer-other-window)
14385 (switch-to-buffer-other-frame): Rewrite.
14386 (display-buffer-same-window, display-buffer-same-frame)
14387 (display-buffer-same-frame-other-window)
14388 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14389 (pop-to-buffer-other-window)
14390 (pop-to-buffer-same-frame-other-window)
14391 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14392 (switch-to-buffer-other-window-same-frame): New functions.
14393 (same-window-p, special-display-p): Rewrite disabling warnings.
14394 Make obsolete.
14395 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14396 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14397 Make obsolete
14398 (same-window-buffer-names, same-window-regexps)
14399 (special-display-frame-alist, special-display-popup-frame)
14400 (special-display-function, special-display-buffer-names)
14401 (special-display-regexps, pop-up-frame-alist)
14402 (pop-up-frame-function, split-window-preferred-function)
14403 (split-height-threshold, split-width-threshold)
14404 (even-window-heights): Make obsolete.
14405
9db51aca
GM
144062011-06-12 Glenn Morris <rgm@gnu.org>
14407
14408 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14409 Misc simplifications.
9db51aca 14410
39cffb44
MR
144112011-06-12 Martin Rudalics <rudalics@gmx.at>
14412
14413 * window.el (window-safely-shrinkable-p): Restore function which
14414 was inadvertently removed in change from 2011-06-11. Declare as
14415 obsolete.
14416
2b75be67
SM
14417 * calendar/calendar.el (calendar-generate-window):
14418 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14419 window-safely-shrinkable-p.
14420
a8955be7
GM
144212011-06-12 Glenn Morris <rgm@gnu.org>
14422
14423 * progmodes/fortran.el (fortran-mode-syntax-table):
14424 * progmodes/f90.el (f90-mode-syntax-table):
14425 Set % to punctuation. (Bug#8820)
14426 (f90-find-tag-default): Remove, no longer needed.
14427
f0d4059d
DC
144282011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14429
14430 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14431
1100a63c
CY
144322011-06-11 Chong Yidong <cyd@stupidchicken.com>
14433
14434 * image.el (image-animated-p): Return animation delay in seconds.
14435 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14436 (image-animate-timeout): Remove DELAY argument. Don't assume
14437 every subimage has the same delay; get it from image-animated-p.
14438 (image-animate): Caller changed.
14439
def722bf
MA
144402011-06-11 Michael Albinus <michael.albinus@gmx.de>
14441
14442 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14443 to ignored backtrace functions.
14444
0a2bb1a9
GM
144452011-06-11 Glenn Morris <rgm@gnu.org>
14446
14447 * calendar/appt.el (appt-disp-window-function): Doc fix.
14448 (appt-check): Handle overlapping appointments. (Bug#8337)
14449
6198ccd0
MR
144502011-06-11 Martin Rudalics <rudalics@gmx.at>
14451
14452 * window.el (window-tree-1, window-tree): New functions, moving
14453 the latter to window.el.
14454 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14455 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14456 (bw-refresh-edges): Remove.
14457 (balance-windows-1, balance-windows-2): New functions.
14458 (balance-windows): Rewrite in terms of window tree functions,
14459 balance-windows-1 and balance-windows-2.
14460 (bw-adjust-window): Remove.
14461 (balance-windows-area-adjust): New function with functionality of
14462 bw-adjust-window but using resize-window.
2b75be67
SM
14463 (set-window-text-height): Rewrite doc-string.
14464 Use normalize-live-window and resize-window.
14465 (enlarge-window-horizontally, shrink-window-horizontally):
14466 Rename argument to DELTA.
6198ccd0
MR
14467 (window-buffer-height): New function.
14468 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14469 Rewrite using new window resize routines.
2b75be67
SM
14470 (kill-buffer-and-window, mouse-autoselect-window-select):
14471 Use ignore-errors instead of condition-case.
6198ccd0
MR
14472 (quit-window): Call delete-frame instead of delete-windows-on
14473 for the only buffer on frame.
14474
9397e56f
MR
144752011-06-10 Martin Rudalics <rudalics@gmx.at>
14476
14477 * loadup.el (top-level): Load window before files for the sake
14478 of replace-buffer-in-windows.
14479
14480 * files.el (read-buffer-to-switch)
14481 (switch-to-buffer-other-window)
2b75be67
SM
14482 (switch-to-buffer-other-frame, display-buffer-other-frame):
14483 Move to window.el.
9397e56f
MR
14484
14485 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14486 (previous-buffer): Move to window.el.
14487
14488 * bindings.el (unbury-buffer): Move to window.el.
14489
14490 * window.el (delete-other-windows-vertically): Move after
14491 definition of delete-other-windows.
14492 (other-window, delete-windows-on, replace-buffer-in-windows):
14493 Move here from window.c.
14494 (record-window-buffer, unrecord-window-buffer)
14495 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14496 (switch-to-next-buffer): New functions.
14497 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14498 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14499 (previous-buffer): Move here from simple.el.
14500 Call switch-to-prev-buffer.
9397e56f
MR
14501 (bury-buffer): Move here from buffer.c. Switch to previous
14502 buffer when window cannot be deleted.
14503 (unbury-buffer): Move here from bindings.el.
14504 (ctl-x-map): Move binding for other-window from window.c to
14505 here.
14506 (read-buffer-to-switch, switch-to-buffer-other-window)
14507 (switch-to-buffer-other-frame): Move here from files.el.
14508 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14509 (switch-to-buffer): Move here from buffer.c.
14510 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14511
562dd5e9
MR
145122011-06-10 Martin Rudalics <rudalics@gmx.at>
14513
14514 * window.el (window-min-height, window-min-width): Move here
14515 from window.c. Add defcustoms and rewrite doc-strings.
14516 (resize-mini-window, resize-window): New functions.
14517 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14518 Move here from window.c.
14519 (maximize-window, minimize-window): New functions.
14520 (delete-window, delete-other-windows, split-window): Move here
14521 from window.c.
14522 (window-split-min-size): New function.
14523 (split-window-keep-point): Mention split-window-above-each-other
14524 instead of split-window-vertically.
2b75be67 14525 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14526 Rename split-window-vertically to split-window-above-each-other
14527 and provide defalias for old definition.
14528 (split-window-side-by-side, split-window-horizontally):
14529 Rename split-window-horizontally to split-window-side-by-side
14530 and provide defalias for the old definition.
562dd5e9
MR
14531 (ctl-x-map): Move bindings for delete-window,
14532 delete-other-windows and enlarge-window here from window.c.
14533 Replace bindings for split-window-vertically and
14534 split-window-horizontally by bindings for
14535 split-window-above-each-other and split-window-side-by-side.
14536
14537 * cus-start.el (all): Remove entries for window-min-height and
14538 window-min-width. Add entries for window-splits and
14539 window-nest.
14540
f0da764a
GM
145412011-06-09 Glenn Morris <rgm@gnu.org>
14542
80675c21
GM
14543 * calendar/appt.el (appt-mode-line): New function.
14544 (appt-check, appt-disp-window): Use it.
14545
f0da764a
GM
14546 * files.el (hack-one-local-variable-eval-safep):
14547 Allow minor-modes with explicit +/-1 arguments.
14548
59f623b7
TZ
145492011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14550
14551 * term/xterm.el (xterm): Add defgroup.
14552 (xterm-extra-capabilities): Add defcustom to supply known xterm
14553 capabilities, skip querying them, or query them (default).
14554 (terminal-init-xterm): Use it.
14555 (terminal-init-xterm-modify-other-keys): New function to set up
14556 modifyOtherKeys support to simplify `terminal-init-xterm'.
14557
9aab8e0d
MR
145582011-06-09 Martin Rudalics <rudalics@gmx.at>
14559
14560 * window.el (resize-window-reset, resize-window-reset-1)
14561 (resize-subwindows-skip-p, resize-subwindows-normal)
14562 (resize-subwindows, resize-other-windows, resize-this-window)
14563 (resize-root-window, resize-root-window-vertically)
14564 (window-deletable-p, window-or-subwindow-p)
14565 (frame-root-window-p): New functions.
14566
e8b08aee
GM
145672011-06-09 Glenn Morris <rgm@gnu.org>
14568
14569 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14570 (ange-ftp-get-files): Use it.
14571
254c37a5
AK
145722011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14573
14574 * mail/sendmail.el (mail-recover-1, mail-recover):
14575 * files.el (recover-file, recover-session):
14576 Handle dired-listing-switches not being just a single short option.
14577
35d7dbd3
GM
145782011-06-09 Glenn Morris <rgm@gnu.org>
14579
14580 * calendar/appt.el (appt-display-message, appt-disp-window):
14581 Handle lists of appointments.
14582
387522b2
MR
145832011-06-08 Martin Rudalics <rudalics@gmx.at>
14584
2b75be67
SM
14585 * window.el (one-window-p): Move down in code.
14586 Rewrite doc-string.
14587 (window-current-scroll-bars): Rewrite doc-string.
14588 Normalize live window argument.
387522b2
MR
14589 (walk-windows, get-window-with-predicate, count-windows):
14590 Rewrite doc-string. Use window-list-1.
14591 (window-in-direction-2, window-in-direction, get-mru-window):
14592 New functions.
14593
d8e4b68b 145942011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14595
14596 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14597 Doc fix (Bug#8713).
14598
145992011-06-08 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14602
146032011-06-08 Juanma Barranquero <lekktu@gmail.com>
14604
14605 * loadhist.el (unload-feature-special-hooks):
14606 Add `comint-output-filter-functions'.
14607
0de12c52
IK
146082011-06-08 Ivan Kanis <gnu@kanis.fr>
14609
14610 * calendar/appt.el (appt-check): Move some initializations into the let.
14611
f3d1777e
MR
146122011-06-08 Martin Rudalics <rudalics@gmx.at>
14613
14614 * window.el (window-height): Defalias to window-total-height.
14615 (window-width): Defalias to window-body-width.
14616
18af70d0
CY
146172011-06-07 Chong Yidong <cyd@stupidchicken.com>
14618
14619 * image-mode.el (image-toggle-animation): New command.
14620 (image-mode-map): Bind it to RET.
14621 (image-mode): Update message.
14622 (image-toggle-display-image): Avoid a spurious cache flush.
14623 (image-transform-rotation): Doc fix.
14624 (image-transform-properties): Return quickly in the normal case.
14625 (image-animate-loop): Rename from image-animate-max-time.
14626
2b75be67 14627 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14628 (create-animated-image): Remove unnecessary function.
14629 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14630 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14631 (image-animate-timer): Use car-safe.
14632 (image-animate-timeout): Rename argument.
14633
190b47e6
MR
146342011-06-07 Martin Rudalics <rudalics@gmx.at>
14635
14636 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14637 window.c. Rename first argument to ALL-FRAMES.
14638 Rephrase doc-strings.
14639 (get-buffer-window-list): Rewrite using window-list-1.
14640 Rephrase doc-string.
a1511caf
MR
14641 (window-safe-min-height, window-safe-min-width): New constants.
14642 (window-size-ignore, window-min-size, window-min-size-1)
14643 (window-sizable, window-sizable-p, window-size-fixed-1)
14644 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14645 (window-max-delta-1, window-max-delta, window-resizable)
14646 (window-resizable-p, window-total-height, window-total-width)
14647 (window-body-width): New functions.
14648 (window-full-height-p, window-full-width-p): Rewrite using
14649 window-total-size.
14650 (window-body-height): Rewrite using window-body-size.
190b47e6 14651
85cc1f11
MR
146522011-06-06 Martin Rudalics <rudalics@gmx.at>
14653
14654 * window.el (window-right, window-left, window-child)
14655 (window-child-count, window-last-child, window-any-p)
14656 (normalize-live-buffer, normalize-live-frame)
14657 (normalize-any-window, normalize-live-window)
14658 (window-iso-combination-p, window-iso-combined-p)
14659 (window-iso-combinations)
14660 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14661 (windows-with-parameter, window-with-parameter)
14662 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14663 (window-atom-check, window-side-check, window-check):
14664 New functions.
85cc1f11
MR
14665 (ignore-window-parameters, window-sides, window-sides-vertical)
14666 (window-sides-slots): New variables.
14667 (window-size-fixed): Move down in code. Minor doc-string fix.
14668
e7156492
AS
146692011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14670
14671 * comint.el (comint-dynamic-complete-as-filename)
14672 (comint-dynamic-complete-filename): Correctly call
14673 completion-in-region.
14674
7e821d0d
DD
146752011-06-05 Deniz Dogan <deniz@dogan.se>
14676
14677 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14678 in last change.
14679
ac09b8a1
DD
146802011-06-05 Deniz Dogan <deniz@dogan.se>
14681
14682 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14683 (rcirc): Use it to prompt for encryption.
14684
34699b85
RW
146852011-06-05 Roland Winkler <winkler@gnu.org>
14686
14687 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14688 (bibtex-search-entries): New command bound to C-c C-a.
14689 (bibtex-display-entries): New function.
14690
004dedd3
RW
146912011-06-05 Roland Winkler <winkler@gnu.org>
14692
14693 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14694 (bibtex-insert-kill): After yanking insert newline if necessary.
14695 (bibtex-initialize): Call bibtex-string-files-init only once.
14696 (bibtex-mode): Do not call easy-menu-add.
14697 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14698 (bibtex-yank): Set arg properly if nil.
14699
022fe7ce
RW
147002011-06-05 Roland Winkler <winkler@gnu.org>
14701
2b75be67
SM
14702 * textmodes/bibtex.el (bibtex-search-entry-globally):
14703 New variable.
022fe7ce
RW
14704 (bibtex-search-entry): Use it.
14705
b7c3692a
RW
147062011-06-05 Roland Winkler <winkler@gnu.org>
14707
14708 * textmodes/bibtex.el (bibtex-entry-format): New option
14709 sort-fields.
14710 (bibtex-format-entry, bibtex-reformat): Honor this option.
14711 (bibtex-parse-entry): Return fields in proper order.
14712
8eda563d
JB
147132011-06-05 Juanma Barranquero <lekktu@gmail.com>
14714
14715 * doc-view.el (doc-view-remove-if): Move computation of result out
14716 of `dolist' to silence misleading lexical-binding warning.
14717
7dbe3dbc
CY
147182011-06-04 Chong Yidong <cyd@stupidchicken.com>
14719
14720 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14721 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14722
0c33dd17
MA
147232011-06-04 Michael Albinus <michael.albinus@gmx.de>
14724
14725 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14726 "SunOS 5.10".
14727
f8f91c2b
MA
147282011-06-04 Michael Albinus <michael.albinus@gmx.de>
14729
14730 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14731 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14732 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14733 (tramp-parse-putty):
14734 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14735 (tramp-completion-function-alist-ssh)
14736 (tramp-completion-function-alist-telnet)
14737 (tramp-completion-function-alist-su)
14738 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14739 cookie.
14740
14741 * net/tramp-ftp.el:
14742 * net/tramp-sh.el:
14743 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14744 load "tramp.el" `tramp-set-completion-function'.
14745
e17d9003
SM
147462011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14747
14748 * shell.el: Require and use pcomplete.
14749 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14750 (shell-completion-vars): Set pcomplete-default-completion-function.
14751
6c4cab03
DD
147522011-06-04 Deniz Dogan <deniz@dogan.se>
14753
14754 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14755 `memq' (Bug#8799).
14756
ea9fafe0
SM
147572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14758
14759 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14760
b3e945d3
JB
147612011-06-02 Juanma Barranquero <lekktu@gmail.com>
14762
14763 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14764 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14765 * vc/log-view.el (log-view-beginning-of-defun):
14766 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14767 (smerge-refine-forward, smerge-refine-chopup-region):
14768 Silence warning for unused `dotimes' counter variables.
14769
7d520089
SM
147702011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14771
14772 * net/tramp.el (tramp-with-progress-reporter): Rename from
14773 with-progress-reporter. Use `declare'.
14774 * net/tramp-smb.el:
14775 * net/tramp-sh.el:
14776 * net/tramp-gvfs.el: Update all uses.
14777
a1c2400f
JB
147782011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14779
14780 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14781 buffer isn't killed before making it current.
14782
2403c841
SM
147832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 Silence various byte-compiler warnings.
14786 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14787 `access-type' and new obsolescence format.
14788 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14789 new format.
14790 (byte-compile-check-variable): New `access-type' argument.
14791 Only warn if the access-type is obsolete.
14792 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14793 (byte-compile-variable-set): Adjust callers.
14794 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14795 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14796 setting it as obsolete.
14797 * simple.el (minibuffer-completing-symbol):
14798 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14799 access as obsolete.
14800 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14801 obsolete yet.
14802 * international/quail.el (quail-mouse-choose-completion): Remove unused
14803 code referring to obsolete var.
14804 (quail-choose-completion-string): Remove.
14805 * server.el (server-clients-with, server-kill-buffer-query-function)
14806 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14807 * proced.el (proced-send-signal):
14808 * emacs-lisp/lisp.el (lisp-complete-symbol):
14809 Replace completion-annotate-function with completion-extra-properties.
14810
2462470b
SM
148112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14812
fb5b2591
SM
14813 * simple.el (goto-line): Use read-number.
14814 (overriding-map-is-bound): Remove.
14815 (saved-overriding-map): Change default.
14816 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14817 Take the map as argument.
14818 (universal-argument, negative-argument, digit-argument): Use it.
14819 (restore-overriding-map): Adjust.
14820 (do-auto-fill): Use fill-forward-paragraph.
14821 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14822
fd6fa53f
SM
14823 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14824 (minibuffer-inactive-mode): New major mode.
14825 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14826 the *Messages* buffer" hack.
14827 (mouse-popup-menubar): Don't burp if the event is a normal key.
14828
2462470b
SM
14829 Miscellaneous tweaks.
14830 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14831 lexical scoping as in subr.el's dolist and dotimes.
14832 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14833 Silence compiler warning.
14834 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14835 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14836 * international/ccl.el (ccl-compile): Trivial simplification.
14837 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14838 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14839 `printflag' argument.
14840 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14841 Purecopy the whole obsolescence data.
14842
108bf785
LL
148432011-06-01 Leo Liu <sdl.web@gmail.com>
14844
14845 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14846 improve doc-string as suggested by Marco Pessotto
14847 <melmothx@gmail.com>.
14848 (rcirc-print): Fix last change.
14849
30a23501
SM
148502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14851
14852 * minibuffer.el (complete-with-action): Return nil for the metadata and
14853 boundaries of non-functional tables.
14854 (completion-table-dynamic): Return nil for the metadata.
14855 (completion-table-with-terminator): Add default case, using
14856 complete-with-action.
14857 (completion--metadata): New function.
14858 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14859 to try and avoid pathological performance problems.
14860 (completion--embedded-envvar-table): Return `category' metadata.
14861
bcd54f83
LMI
148622011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14863
14864 * subr.el (process-alive-p): New tiny convenience function.
14865
e227544d
SM
148662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14867
14868 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14869 content but also its previous major mode.
14870
e8296fdc
HE
148712011-05-31 Helmut Eller <eller.helmut@gmail.com>
14872
4d61f28d 14873 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14874 *Backtrace* buffer when we exit with C-M-c.
14875
620c53a6
SM
148762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14877
14878 * minibuffer.el: Add metadata method to completion tables.
14879 (completion-category-overrides): New defcustom.
14880 (completion-metadata, completion--field-metadata)
14881 (completion-metadata-get, completion--styles)
14882 (completion--cycle-threshold): New functions.
14883 (completion-try-completion, completion-all-completions):
14884 Add `metadata' argument to choose completion-styles.
14885 (completion--do-completion): Use metadata to choose cycling.
14886 (completion-all-sorted-completions): Use metadata for sorting.
14887 Remove :completion-cycle-penalty which is not needed any more.
14888 (completion--try-word-completion): Add `metadata' argument.
14889 (minibuffer-completion-help): Check metadata for annotation function
14890 and sorting.
14891 (completion-file-name-table): Return `category' metadata.
14892 (minibuffer-completing-file-name): Make obsolete.
14893 * simple.el (minibuffer-completing-symbol): Make obsolete.
14894 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14895 completion-try-completion.
14896
1257e755
SM
148972011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14900
3767e706
LL
149012011-05-30 Leo Liu <sdl.web@gmail.com>
14902
14903 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14904 (rcirc-print): Decode all incoming messages (bug#8744).
14905 (rcirc-decode-coding-system): Allow value nil for automatic coding
14906 system detection.
3767e706 14907
d1a5d56a
GM
149082011-06-01 Glenn Morris <rgm@gnu.org>
14909
14910 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14911
e8cbec34
CY
149122011-05-29 Chong Yidong <cyd@stupidchicken.com>
14913
14914 * image.el (image-animate-max-time): Allow nil and t values.
14915 Default to nil.
14916 (create-animated-image): Doc fix.
14917 (image-animate-start): Remove second arg; just use
14918 image-animate-max-time.
14919 (image-animate-timeout): Doc fix. Args changed.
14920
14921 * image-mode.el (image-toggle-display-image): Ensure that the
14922 image spec passed to the animate timer is the same object as in
58179cce 14923 the buffer's display property (Bug#6981).
e8cbec34
CY
14924 (image-transform-properties): Doc fix.
14925
14926 * image.el (image-animate-max-time): Default to nil.
14927
159daf87
MR
149282011-05-29 Martin Rudalics <rudalics@gmx.at>
14929
14930 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14931 entire buffer list (Bug#8184).
14932
d66c4c7c
CY
149332011-05-29 Chong Yidong <cyd@stupidchicken.com>
14934
14935 * image.el (imagemagick-types-inhibit)
14936 (imagemagick-register-types): Doc fix.
14937
80aec780
DD
149382011-05-29 Deniz Dogan <deniz@dogan.se>
14939
14940 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14941 default.
14942
1dd3c2d9
CY
149432011-05-29 Chong Yidong <cyd@stupidchicken.com>
14944
14945 * select.el: Don't perform clipboard-manager saving in hooks;
14946 leave the hooks empty.
14947
60e56523
LL
149482011-05-28 Leo Liu <sdl.web@gmail.com>
14949
14950 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14951 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14952 (occur-edit-mode): New major mode (Bug#8463).
14953 (occur-after-change-function): New function.
14954 (occur-engine): Give Occur tags a read-only property.
14955
2b1e1a22
KR
149562011-05-28 Kevin Ryde <user42@zip.com.au>
14957
14958 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14959
5d344e88
CY
149602011-05-28 Chong Yidong <cyd@stupidchicken.com>
14961
8e6ca83d
CY
14962 * bindings.el (help-echo): Make the initial non-indicator dash
14963 empty on graphical terminals (Bug#7295).
14964
5d344e88
CY
14965 * files.el (auto-mode-alist): Move config rule after the
14966 in-stripping one (Bug#8547).
14967
bfbbace7
CY
14968 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14969
fbeba6e2
CY
14970 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14971 setting (Bug#8740).
14972
60ed8c72
AA
149732011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14974
4ac619f0
AA
14975 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14976 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14977 (Bug#8539).
60ed8c72 14978
23db196e
CY
149792011-05-28 Chong Yidong <cyd@stupidchicken.com>
14980
14981 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14982
5012f24c
DK
149832011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14984
14985 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14986 (hs-hide-block-at-point, hs-find-block-beginning)
14987 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14988 (Bug#8279).
14989
6a639b16
GM
149902011-05-28 Glenn Morris <rgm@gnu.org>
14991
14992 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14993
d43eaf2c
CY
149942011-05-28 Chong Yidong <cyd@stupidchicken.com>
14995
5199bde1
CY
14996 * help-fns.el (describe-function-1): If the function is a derived
14997 major mode, print the parent mode.
14998
d43eaf2c
CY
14999 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15000 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15001
423428a8
SM
150022011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15003
0ff8e1ba 15004 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15005 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15006 * progmodes/etags.el (tags-completion-at-point-function):
15007 * info-look.el (info-lookup-completions-at-point): Mark as
15008 non-exclusive.
15009 (info-complete): Adjust accordingly.
15010
423428a8
SM
15011 * info-look.el: Convert to lexical-binding and completion-at-point.
15012 (info-lookup-completions-at-point): New function.
15013 (info-complete): Use it and completion-in-region.
15014
b74aa22b
DA
150152011-05-28 Drew Adams <drew.adams@oracle.com>
15016
15017 * isearch.el: Let M-e start with point at the first mismatched char.
15018 (isearch-fail-pos): New function.
15019 (isearch-edit-string): Use it.
15020
66e2e71d
DK
150212011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15022
15023 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15024
b1890b0f 150252011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15026
15027 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15028 traversal functions for avl-trees.
15029 (avl-tree--stack): New struct.
15030 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15031 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15032 (avl-tree--do-enter): Add optional `updatefun' arg.
15033 Change return value.
eb95d01d 15034 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15035 (avl-tree--do-delete): Add `test' and `nilflag' args.
15036 Change return value.
eb95d01d
TC
15037 (avl-tree-member): Add optional `nilflag'
15038 (avl-tree-member-p): New function.
15039 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15040 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15041 (avl-tree-stack-empty-p): New functions.
15042
3769ddcf
TC
15043 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15044 avl-tree--del-balance1 and make it work both ways.
15045 (avl-tree--del-balance2): Remove.
15046 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15047 make it work both ways.
15048 (avl-tree--enter-balance2): Remove.
15049 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15050 New macros.
15051 (avl-tree--mapc, avl-tree-map): Add direction argument.
15052
eb95d01d 150532011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15054
15055 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15056
a9f737ee
CY
150572011-05-27 Chong Yidong <cyd@stupidchicken.com>
15058
15059 * select.el: Support clipboard managers with built-in function
15060 x-clipboard-manager-save, via delete-frame-functions and
15061 kill-emacs-hook.
15062 (xselect-convert-to-targets): Add MULTIPLE target to list.
15063 (xselect-convert-to-save-targets): New function.
15064
c92a1e54
KH
150652011-05-27 Kenichi Handa <handa@m17n.org>
15066
15067 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15068 let-binding rfc2047-encode-encoded-words to nil.
15069
e145f188
GM
150702011-05-27 Glenn Morris <rgm@gnu.org>
15071
5ec8a862
GM
15072 * mail/emacsbug.el: Don't require url-util.
15073
4b29d9fb
GM
15074 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15075
e145f188
GM
15076 * files.el (set-auto-mode):
15077 Also respect mode: entries at the end of the file. (Bug#8586)
15078
7d15102b
GM
150792011-05-26 Glenn Morris <rgm@gnu.org>
15080
98f593b8
GM
15081 * files.el (hack-local-variables-prop-line, hack-local-variables):
15082 Downcase mode names, as seems to be traditional.
27b48e63 15083 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15084
7d15102b
GM
15085 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15086 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15087
51d5b4ec
JD
150882011-05-25 Julien Danjou <julien@danjou.info>
15089
15090 * textmodes/rst.el (rst-define-level-faces): Do not define face
15091 symbol if it is already defined.
15092
91513f63
VB
150932011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15094
15095 * play/5x5.el (5x5-new-game, 5x5-randomize):
15096 Reset 5x5-solver-output to nil when a new grid is cast.
15097 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15098 these debugging traces, as defmacro breaks the compiled code.
15099
4d90d6d0
DK
151002011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15101
15102 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15103
e1b90ef6
LL
151042011-05-24 Leo Liu <sdl.web@gmail.com>
15105
15106 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15107 (vc-bzr-sha1): Adapt.
15108
d8e4b68b 15109 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15110
15111 * bindings.el: Provide sha1 feature.
15112
db0406bb 151132011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15114
15115 * mail/sendmail.el: Require `rfc2047'.
15116 (mail-insert-from-field): Do not perform RFC2047 encoding.
15117 (mail-encode-header): New function.
15118 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15119 buffer to the return value of select-message-coding-system.
15120 Call mail-encode-header.
b8d747b9
KH
15121
15122 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15123
db0406bb 151242011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15125
4d90d6d0
DK
15126 * mail/supercite.el (sc-default-cite-frame):
15127 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15128
eb8a5e9b
GM
151292011-05-24 Glenn Morris <rgm@gnu.org>
15130
f8630703
GM
15131 * progmodes/python.el (brm-menu): Declare.
15132
8831bbed
GM
15133 * emulation/viper.el (viper-set-hooks): Declare.
15134
eb8a5e9b
GM
15135 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15136 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15137 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15138 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15139 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15140 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15141
a2a25d24
SM
151422011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 Add an :exit-function for completion-at-point.
15145
15146 * minibuffer.el (completion--done): New fun.
15147 (completion--do-completion): Use it. New arg `expect-exact'.
15148 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15149 since completion--do-completion does it for us now.
15150 (minibuffer-force-complete): Use completion--done and
15151 completion--replace. Handle sole-completion case with more care.
15152 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15153 (completion-extra-properties): New var.
15154 (completion-annotate-function): Make obsolete.
15155 (minibuffer-completion-help): Adjust accordingly.
15156 Use completion-list-insert-choice-function.
15157 (completion-at-point, completion-help-at-point):
15158 Bind completion-extra-properties.
15159 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15160 * simple.el (completion-list-insert-choice-function): New var.
15161 (completion-setup-function): Preserve it.
15162 (choose-completion): Pay attention to it, shuffle the code a bit.
15163 (choose-completion-string): New arg `insert-function'.
15164
15165 * textmodes/bibtex.el: Convert to lexical binding.
15166 (bibtex-mode-map): Use completion-at-point.
15167 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15168 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15169 (bibtex-complete): Define as obsolete alias.
15170 (bibtex-complete-internal): Remove.
15171 (bibtex-format-entry): Remove unused sub-group in regexp.
15172 * shell.el (shell--command-completion-data)
15173 (shell-environment-variable-completion):
15174 * pcomplete.el (pcomplete-completions-at-point):
15175 * comint.el (comint--complete-file-name-data): Use :exit-function
15176 instead of completion-table-with-terminator so it also works for
15177 choose-completion.
15178
e44e373d
SM
151792011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15180
4f91a816
SM
15181 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15182
782fc819
SM
15183 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15184 (bug#8710).
15185
e44e373d
SM
15186 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15187
381987c3
KM
151882011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15189
15190 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15191 customization variable and implement: If non-nil, auto-fill will
15192 be inhibited while on topic's header line.
15193
b776bc70
VB
151942011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15195
15196 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15197 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15198 always have a solution in grid size = 5 cases.
15199 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15200 (5x5-solver-output, 5x5-log-buffer): New vars.
15201 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15202 Make these variables buffer local to achieve 5x5 multi-session-ness.
15203 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15204 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15205 (5x5-solve-suggest): New funs.
15206 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15207 randomize a grid so that we ensure that there is always a solution.
15208 (5x5-make-random-grid): Allow other movement than flipping.
15209
7de88b6e
KR
152102011-05-23 Kevin Ryde <user42@zip.com.au>
15211
15212 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15213 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15214 advice and passes PREDICATE.
15215
b1ef1257
SM
152162011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15217
bbca48fe
SM
15218 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15219 byte-compile-lambda if it's actually a lambda.
15220
b1ef1257
SM
15221 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15222 Fix function quoting. Use backquote better.
15223
92a9cc65
YS
152242011-05-22 Yuanle Song <sylecn@gmail.com>
15225
15226 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15227 matching (Bug#8516).
15228
f0fb8059
JA
152292011-01-22 Jari Aalto <jari.aalto@cante.net>
15230
15231 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15232 different face (Bug#8178).
15233
d5b44c93
CY
152342011-05-22 Chong Yidong <cyd@stupidchicken.com>
15235
15236 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15237 defface (Bug#8144).
15238
79106a44
SM
152392011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15240
9c848d8a
SM
15241 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15242 funcall as well (bug#8712). Warn when performing those conversions.
15243 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15244
79106a44
SM
15245 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15246
88dfa756
GM
152472011-05-22 Glenn Morris <rgm@gnu.org>
15248
15249 * files.el (hack-local-variables-prop-line): Small simplifications.
15250 (hack-local-variables, hack-local-variables-prop-line):
15251 If MODE-ONLY, return the mode, rather than just `t'.
15252
b7cf2c79
SM
152532011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15254
15255 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15256
3f1a8558
GM
152572011-05-21 Glenn Morris <rgm@gnu.org>
15258
7e4ccca3
GM
15259 * files.el (hack-local-variables-prop-line, hack-local-variables):
15260 If only interested in the mode, don't bother doing the other stuff.
15261
637d46ca
GM
15262 * image-mode.el (image-after-revert-hook):
15263 Redraw all frames on which the image is visible. (Bug#8567)
15264
973d955b
GM
15265 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15266
3f1a8558
GM
15267 * wid-edit.el (widget-checklist-match-inline):
15268 Fix 2011-04-19 change. (Bug#8649)
15269
96479927
SM
152702011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15271
1dcf791f
SM
15272 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15273 Also allow singlespace after single-letter capitals followed by a dot.
15274
96479927
SM
15275 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15276 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15277
35fd0881
N
152782011-05-20 Nix <nix@esperi.org.uk>
15279
15280 * files.el (basic-save-buffer-2):
15281 Fix handling of break-hardlink-on-save with non-existent files.
15282
82745640
DD
152832011-05-19 Deniz Dogan <deniz@dogan.se>
15284
15285 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15286 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15287
4a720484
GM
152882011-05-19 Glenn Morris <rgm@gnu.org>
15289
d1f21341
GM
15290 * progmodes/f90.el (f90-type-def-re):
15291 Handle "type, bind(c)". (Bug#8691)
15292
4a720484
GM
15293 * emacs-lisp/autoload.el (batch-update-autoloads):
15294 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15295
2fb0a219
MA
152962011-05-18 Michael Albinus <michael.albinus@gmx.de>
15297
15298 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15299 property for the correct connection in case of multihops.
15300
e565dd37
GM
153012011-05-18 Glenn Morris <rgm@gnu.org>
15302
c2571358 15303 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15304 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15305
e565dd37
GM
15306 Rationalize calendar handling of day and month abbrev-arrays.
15307 * calendar/calendar.el (calendar-customized-p): New function.
15308 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15309 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15310 Add :set function.
15311 (calendar-abbrev-length, calendar-day-abbrev-array)
15312 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15313 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15314 Elements may no longer be nil.
15315 (calendar-day-name, calendar-month-name):
15316 Update for changed nature of abbrev arrays.
15317 * calendar/diary-lib.el (diary-name-pattern):
15318 Update for changed nature of abbrev arrays.
15319 (diary-mark-entries-1): Update calendar-make-alist calls.
15320 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15321 * calendar/cal-html.el (cal-html-day-abbrev-array):
15322 Simply inherit from calendar-day-abbrev-array.
15323
1d99a745
SM
153242011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15325
15326 * progmodes/grep.el (grep-mode): Disable default
15327 compilation-directory-matcher setting (bug#8684).
15328
7c1d9aa0
MA
153292011-05-17 Michael Albinus <michael.albinus@gmx.de>
15330
15331 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15332 instead of "head" and "tail". There were problems with SunOS 5.9,
15333 and it performs better.
15334
3952e9d8
GM
153352011-05-17 Glenn Morris <rgm@gnu.org>
15336
2dd12e7f
GM
15337 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15338
e4157b9c
GM
15339 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15340 Replace obsolete function.
15341
8e249bbd
GM
15342 * shell.el (pcomplete-parse-arguments-function): Declare.
15343
3952e9d8
GM
15344 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15345 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15346 (appt-check): Doc fixes.
15347 (appt-disp-window-function, appt-delete-window-function):
15348 Remove needless special case in custom :type.
15349 (appt-display-count): Default to 0, not nil.
15350 (appt-check): Reset appt-display-count to 0, not nil.
15351
c71a0d48 153522011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15353
c71a0d48
GM
15354 * progmodes/python.el (python-font-lock-keywords):
15355 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15356
31d55be9
SM
153572011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15358
15359 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15360
3bfacb2f
KR
153612011-05-16 Kevin Ryde <user42@zip.com.au>
15362
15363 * info-look.el (makefile-automake-mode): New setups, looking in
15364 automake manual, then makefile-mode.
15365 (makefile-mode): Remove automake manual, have it just in
15366 makefile-automake-mode since there's various things different or
15367 not relevant to plain make.
15368 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15369 believe a hypothetical automake-mode would go to makefile-mode,
15370 not the other way around.
15371
c8e83751
CY
153722011-05-15 Chong Yidong <cyd@stupidchicken.com>
15373
5e9e35cd
CY
15374 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15375 hunk-end tags (Bug#8672).
15376
c8e83751
CY
15377 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15378 vc-annotate-show-diff-revision-at-line (Bug#8671).
15379
50b23e5a
GM
153802011-05-14 Glenn Morris <rgm@gnu.org>
15381
7210a739
GM
15382 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15383 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15384 (change-log-font-lock-keywords): Also handle multiple author lines
15385 with leading tabs. (Bug#8644)
7210a739 15386
4691905a
GM
15387 * calendar/appt.el (appt-check): Rename some local variables.
15388 Some simplification/reordering.
15389
50b23e5a
GM
15390 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15391 (feedmail-sendmail-f-doesnt-sell-me-out)
15392 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15393 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15394 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15395 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15396 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15397 (feedmail-binmail-gnulinuxish-template):
15398 Rename from feedmail-binmail-linuxish-template.
15399 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15400 Use insert-buffer-substring.
15401
215cda7c
BC
154022011-05-14 Bill Carpenter <bill@carpenter.org>
15403
15404 * mail/feedmail.el (feedmail-patch-level): Increase.
15405 (feedmail-debug): New custom group.
15406 (feedmail-confirm-outgoing-timeout)
15407 (feedmail-sendmail-f-doesnt-sell-me-out)
15408 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15409 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15410 (feedmail-sender-line, feedmail-from-line)
15411 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15412 (feedmail-spray-this-address)
215cda7c
BC
15413 (feedmail-spray-address-fiddle-plex-list)
15414 (feedmail-queue-use-send-time-for-date)
15415 (feedmail-queue-use-send-time-for-message-id)
15416 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15417 (feedmail-buffer-eating-function):
15418 Doc fixes.
15419 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15420 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15421 (feedmail-message-action-scroll-down): New functions.
15422 (feedmail-queue-directory, feedmail-queue-draft-directory):
15423 Use expand-file-name.
15424 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15425 Remove C-v help entry.
15426 (feedmail-queue-buffer-file-name): New variable.
15427 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15428 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15429 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15430 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15431 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15432 (feedmail-message-action-toggle-spray)
15433 (feedmail-run-the-queue-no-prompts)
15434 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15435 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15436 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15437 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15438 (feedmail-envelope-deducer, feedmail-fiddle-from)
15439 (feedmail-fiddle-sender, feedmail-default-date-generator)
15440 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15441 (feedmail-fiddle-spray-address)
15442 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15443 (feedmail-fiddle-list-of-fiddle-plexes)
15444 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15445 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15446 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15447 Change default. Doc fix.
15448 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15449 (feedmail-binmail-linuxish-template): New constant.
15450 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15451 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15452 (feedmail-send-it): Add debug call.
15453 Use feedmail-queue-buffer-file-name, and
15454 feedmail-send-it-immediately-wrapper.
15455 (feedmail-message-action-send): Add debug call.
15456 Use feedmail-send-it-immediately-wrapper.
15457 (feedmail-queue-express-to-queue): Add debug call.
15458 Run feedmail-queue-express-hook.
15459 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15460 (feedmail-message-action-help-blat):
15461 Rename from feedmail-queue-send-edit-prompt-help-first.
15462 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15463 Check line-endings. Handle errors better.
15464 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15465 Doc fix. Add debug call.
15466 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15467 Use feedmail-queue-send-edit-prompt-inner.
15468 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15469 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15470 from feedmail-queue-send-edit-prompt.
15471 (feedmail-queue-send-edit-prompt-help)
15472 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15473 (feedmail-tidy-up-slug): Add debug call.
15474 Respect feedmail-queue-slug-suspect-regexp.
15475 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15476 (feedmail-dump-message-to-queue): Add debug call.
15477 Expand queue-directory.
15478 (feedmail-dump-message-to-queue): Change message slightly.
15479 Use feedmail-say-chatter.
15480 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15481 (feedmail-send-it-immediately-wrapper): New function.
15482 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15483 Insert empty string rather than newline. Handle full-frame case.
15484 Use catch/throw. Use feedmail-say-chatter.
15485 (feedmail-fiddle-from): Try mail-host-address.
15486 (feedmail-default-message-id-generator): Doc fix.
15487 Bind system-time-locale. Handle missing end.
15488 (feedmail-fiddle-x-mailer): Add debug call.
15489 Handle feedmail-x-mailer-line being nil.
15490 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15491 Add debug call. Use buffer-substring-no-properties.
15492 (feedmail-say-debug, feedmail-say-chatter): New functions.
15493 (feedmail-find-eoh): Give an explicit error.
15494
42c7e61e
UJ
154952011-05-13 Ulf Jasper <ulf.jasper@web.de>
15496
c2571358 15497 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15498 family from helvetica to sans.
c2571358 15499 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15500 etc/images/newsticker.
15501
c2571358 15502 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15503 family from helvetica to sans.
15504
15505 * net/newst-plainview.el (newsticker-new-item-face)
15506 (newsticker-old-item-face, newsticker-immortal-item-face)
15507 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15508 (newsticker-statistics-face): Change default family from
42c7e61e 15509 helvetica to sans.
c2571358 15510 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15511 etc/images/newsticker.
15512
5d3385a0
JB
15513 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15514 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15515 auto-marking.
15516
8497a297
DV
155172011-05-13 Didier Verna <didier@xemacs.org>
15518
15519 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15520 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15521 TODO entries.
8497a297
DV
15522 (lisp-lambda-list-keyword-parameter-indentation)
15523 (lisp-lambda-list-keyword-parameter-alignment)
15524 (lisp-lambda-list-keyword-alignment): New customizable user options.
15525 (lisp-indent-defun-method): Improve docstring.
15526 (extended-loop-p): Fix comment.
15527 (lisp-indent-lambda-list-keywords-regexp): New variable.
15528 (lisp-indent-lambda-list): New function.
15529 (lisp-indent-259): Use it.
15530 (lisp-indent-defmethod): Support for more than one
15531 method qualifier and properly indent methods lambda-lists.
15532 (defgeneric): Provide a missing common-lisp-indent-function property.
15533
f278f87f
SM
155342011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15535
15536 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15537 bounds for the empty string (bug#8667).
15538
5233edd7
GM
155392011-05-13 Glenn Morris <rgm@gnu.org>
15540
5237a44f
GM
15541 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15542
8340026c 15543 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15544 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15545
5233edd7 15546 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15547 (appt-time-msg-list): Doc fix.
a5464014 15548 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15549
92d10796
AS
155502011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15551
15552 * progmodes/ld-script.el (ld-script-keywords)
15553 (ld-script-builtins): Update keywords list.
15554
914a0ae1
SM
155552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15556
c89be45f
SM
15557 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15558
914a0ae1
SM
15559 * shell.el (shell-completion-vars): New function.
15560 (shell-mode):
15561 * simple.el (read-shell-command): Use it.
15562 (blink-matching-open): No need for " [...]" in minibuffer-message.
15563
98dc3df3
GM
155642011-05-12 Glenn Morris <rgm@gnu.org>
15565
15566 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15567 (appt-check): Simplify.
15568
d2fc7e3d 155692011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15570
4d61f28d 15571 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15572 literal "/dev/null".
15573
d2fc7e3d 155742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15575
15576 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15577 Fix typo.
15578
d2fc7e3d 155792011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15580
3f254caa
SM
15581 * progmodes/which-func.el (which-function):
15582 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15583 which might not be defined (Bug#8260).
15584
d45885f7
GM
155852011-05-12 Glenn Morris <rgm@gnu.org>
15586
15587 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15588 Let byte-compile-initial-macro-environment always take precedence.
15589
488086f4
SM
155902011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15591
15592 * net/rcirc.el: Add support for SSL/TLS connections.
15593 (rcirc-server-alist): New field `encryption'.
15594 (rcirc): Check `encryption' settings.
15595 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15596 Merge make-local-variable into `set'.
15597 (rcirc--connection-open-p): New function.
15598 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15599 the process is not a network process (e.g. running gnutls-cli).
15600 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15601 Make rcirc-(en|de)code-coding-system local here.
15602 (rcirc-mode): Merge make-local-variable into `set'.
15603 (rcirc-parent-buffer): Make permanent buffer-local.
15604 (rcirc-multiline-minor-mode): Don't do it here.
15605 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15606 there's no server buffer.
15607
7d3b9d44
GM
156082011-05-11 Glenn Morris <rgm@gnu.org>
15609
f64049c6
GM
15610 * newcomment.el (comment-kill): Prefix "unused" local.
15611
93c9df73
GM
15612 * term/w32console.el (get-screen-color): Declare.
15613
7d3b9d44
GM
15614 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15615 Handle symbol elements of byte-compile-initial-macro-environment.
15616
9e2dd53f
LL
156172011-05-10 Leo Liu <sdl.web@gmail.com>
15618
488086f4
SM
15619 * bookmark.el (bookmark-bmenu-mode-map):
15620 Bind bookmark-bmenu-search to `/'.
8b340240 15621
9e2dd53f 15622 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15623 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15624 (Footnote-unicode): New function.
15625 (footnote-style-alist): Add unicode style to the list.
15626 (footnote-style): Doc fix.
9e2dd53f 15627
79b70037
GM
156282011-05-10 Jim Meyering <meyering@redhat.com>
15629
15630 Fix doubled-word typos.
15631 * international/quail.el (quail-insert-kbd-layout): and and -> and
15632 * kermit.el: and and -> and
15633 * net/ldap.el (ldap-search-internal): to to -> to
15634 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15635 * progmodes/js.el (js-mode): and and -> and
15636 * textmodes/artist.el (artist-move-to-xy): at at -> at
15637 (artist-draw-region-trim-line-endings): if if -> if
15638 And Safetyc -> Safety.
15639 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15640
b8f82dc1 156412011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15642 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15643
15644 * files.el (hack-one-local-variable-eval-safep):
15645 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15646
4f99f44b
GM
156472011-05-10 Glenn Morris <rgm@gnu.org>
15648
15649 * calendar/diary-lib.el (diary-list-entries-hook)
15650 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15651 (diary-nongregorian-marking-hook, diary-list-entries)
15652 (diary-include-other-diary-files, diary-mark-entries)
15653 (diary-mark-included-diary-files): Doc fixes.
15654
84f29e6b
JB
156552011-05-09 Juanma Barranquero <lekktu@gmail.com>
15656
15657 * misc.el: Require tabulated-list.el during compilation.
15658
9bedd73a
CY
156592011-05-09 Chong Yidong <cyd@stupidchicken.com>
15660
488086f4
SM
15661 * progmodes/compile.el (compilation-start):
15662 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15663 (compilation-filter-hook): Doc fix.
15664
797c735c
DD
156652011-05-09 Deniz Dogan <deniz@dogan.se>
15666
15667 * wdired.el: Remove outdated installation comment. Fix usage
15668 comment.
15669
5f4b1dfe
JB
156702011-05-09 Juanma Barranquero <lekktu@gmail.com>
15671
15672 * misc.el: Implement new command `list-dynamic-libraries'.
15673 (list-dynamic-libraries--loaded-only-p): New variable.
15674 (list-dynamic-libraries--refresh): New function.
15675 (list-dynamic-libraries): New command.
15676
4c44026c
CY
156772011-05-09 Chong Yidong <cyd@stupidchicken.com>
15678
488086f4
SM
15679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15680 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15681 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15682 higher priority to avoid clobbering by gnu.
15683
027f966d
CY
156842011-05-08 Chong Yidong <cyd@stupidchicken.com>
15685
15686 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15687 if the face has existing theme settings (Bug#8454).
15688
085f5d7d
CY
156892011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15690
488086f4
SM
15691 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15692 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15693
2a86a00c
RS
15694 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15695 special file names `.' and `..' (Bug#8259).
15696
d9c54a06
CY
156972011-05-08 Chong Yidong <cyd@stupidchicken.com>
15698
488086f4
SM
15699 * progmodes/grep.el (grep-mode-font-lock-keywords):
15700 Remove buffer-changing entries.
d9c54a06
CY
15701 (grep-filter): New function.
15702 (grep-mode): Add it to compilation-filter-hook.
15703
15704 * progmodes/compile.el (compilation-filter-hook)
15705 (compilation-filter-start): New defvars.
15706 (compilation-filter): Call compilation-filter-hook prior to
15707 updating the process mark.
15708
c4662635
SM
157092011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15710
15711 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15712
b0512a1d
EZ
157132011-05-07 Eli Zaretskii <eliz@gnu.org>
15714
605c9376
EZ
15715 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15716 mailclient-send-it even if window-system is nil. (Bug#8595)
15717
c4662635
SM
15718 * term/w32console.el (terminal-init-w32console):
15719 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15720 background-mode. (Bug#8597)
15721
d1dc2cc2
SM
157222011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15725 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15726 New functions.
15727 (defgeneric, eieio--defmethod): Use them.
15728 (eieio-defgeneric): Remove.
15729 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15730
915d1300
GM
157312011-05-07 Glenn Morris <rgm@gnu.org>
15732
a3961c3e
GM
15733 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15734 Use let rather than let*.
15735 (timeclock-find-discrep): Remove unused local.
15736
314347b9
GM
15737 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15738
915d1300
GM
15739 * calendar/appt.el (appt-time-msg-list): Doc fix.
15740
275b59b0
NF
157412011-05-06 Noah Friedman <friedman@splode.com>
15742
15743 * apropos.el (apropos-print-doc): Only use
15744 emacs-lisp-docstring-fill-column when it is bound to an integer,
15745 per that variable's documentation.
15746
6c19f744
SM
157472011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15748
15749 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15750 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15751
60f884b2
GM
157522011-05-06 Glenn Morris <rgm@gnu.org>
15753
5006e634
GM
15754 * calendar/appt.el (appt-message-warning-time): Doc fix.
15755 (appt-warning-time-regexp): New option.
15756 (appt-make-list): Respect appt-message-warning-time.
15757
548d0a63
GM
15758 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15759 New options.
15760 (diary-add-to-list): Strip comments from the displayed string.
15761 (diary-mode): Set comment-start and comment-end.
15762
60f884b2
GM
15763 * vc/diff-mode.el (smerge-refine-subst): Declare.
15764 (diff-refine-hunk): Don't require smerge-mode when compiling.
15765
989681bb
JB
157662011-05-06 Juanma Barranquero <lekktu@gmail.com>
15767
15768 * simple.el (list-processes): Return nil as the docstring says.
15769
a6bc05e1
MA
157702011-05-05 Michael Albinus <michael.albinus@gmx.de>
15771
15772 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15773 to "".
15774 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15775 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15776 determining of binary transfer. (Bug#7383)
15777
23c22e9a
MA
157782011-05-05 Michael Albinus <michael.albinus@gmx.de>
15779
c4662635
SM
15780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15781 Fix port computation bug. (Bug#8618)
23c22e9a 15782
0bff894f
GM
157832011-05-05 Glenn Morris <rgm@gnu.org>
15784
b8296902
GM
15785 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15786
1f522ce8
GM
15787 * simple.el (shell-dynamic-complete-functions)
15788 (comint-dynamic-complete-functions): Declare.
15789
cf5bee67
GM
15790 * net/network-stream.el (gnutls-negotiate):
15791 * simple.el (tabulated-list-print): Fix declarations.
15792
15793 * progmodes/gud.el (syntax-symbol, syntax-point):
15794 Remove unnecessary and incorrect declarations.
15795
0bff894f
GM
15796 * emacs-lisp/check-declare.el (check-declare-scan):
15797 Handle byte-compile-initial-macro-environment in bytecomp.el
15798
9869b3ae
SM
157992011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 Fix earlier half-done eieio-defmethod change (bug#8338).
15802 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15803 Streamline and change calling convention.
15804 (defmethod): Adjust accordingly and simplify.
15805 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15806 new eieio--defmethod.
15807 (slot-boundp): Minor CSE simplification.
15808
9c1d5ac5
MZ
158092011-05-05 Milan Zamazal <pdm@zamazal.org>
15810
15811 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15812 (glasses-make-readable): Use glasses-separate-capital-groups.
15813
455c834e
JB
158142011-05-05 Juanma Barranquero <lekktu@gmail.com>
15815
15816 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15817 (warning-series): Doc fix.
15818 (display-warning): Don't try to create the buffer if we just found it.
15819
9ed7c8cb
CY
158202011-05-04 Chong Yidong <cyd@stupidchicken.com>
15821
15822 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15823 (autoload-find-generated-file): New function.
15824 (generate-file-autoloads): Bind generated-autoload-file to
15825 buffer-file-name.
9869b3ae
SM
15826 (update-file-autoloads, update-directory-autoloads):
15827 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15828 output file (Bug#7989).
15829 (batch-update-autoloads): Doc fix.
15830
0898ca10
JB
158312011-05-04 Juanma Barranquero <lekktu@gmail.com>
15832
15833 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15834
31dfb76c
GM
158352011-05-04 Glenn Morris <rgm@gnu.org>
15836
f330b642
GM
15837 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15838 function, so it follows changes in calendar-date-style.
15839 (diary-fancy-date-matcher): New function.
15840 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15841 (diary-fancy-font-lock-fontify-region-function):
15842 Use diary-fancy-date-pattern as a function.
15843
31dfb76c
GM
15844 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15845 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15846
48e79d6a
TZ
158472011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15848
15849 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15850 instead of positional arguments. Allow :keylist and :crlfiles
15851 arguments.
15852 (open-gnutls-stream): Call it.
15853
15854 * net/network-stream.el (network-stream-open-starttls): Adjust to
15855 call `gnutls-negotiate' with :process and :hostname arguments.
15856
dd5a5ee0
SM
158572011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15858
ef80fc09
SM
15859 * minibuffer.el (completion--message): New function.
15860 (completion--do-completion, minibuffer-complete)
15861 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15862 (completion--do-completion): Don't ignore completion-auto-help when in
15863 icomplete-mode.
15864
dd5a5ee0
SM
15865 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15866 internal encoding (e.g. tibetan zero is not whitespace).
15867 (global-whitespace-mode): Prefer save-current-buffer.
15868 (whitespace-trailing-regexp): Remove useless save-match-data.
15869 (whitespace-empty-at-bob-regexp): Minor simplification.
15870
b7d22a83
CY
158712011-05-03 Chong Yidong <cyd@stupidchicken.com>
15872
15873 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15874
5192af46
AM
158752011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15876
15877 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15878 Use `concat' to create string for insertion.
5192af46 15879
5767d190
SM
158802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15881
15882 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15883 Avoid open-line which runs post-self-insert-hook.
15884 (bibtex-fill-entry): Remove unused `end' var.
15885
bf242939
AM
158862011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15887
5767d190
SM
15888 * textmodes/ispell.el (ispell-add-per-file-word-list):
15889 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15890
25666126
LL
158912011-05-03 Leo Liu <sdl.web@gmail.com>
15892
15893 * isearch.el (isearch-yank-pop): New command.
5767d190 15894 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15895 (isearch-forward): Mention it.
15896
52d3c2d0
SM
158972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15898
1bcace58
SM
15899 * simple.el (minibuffer-complete-shell-command): Remove.
15900 (minibuffer-local-shell-command-map): Use completion-at-point.
15901 (read-shell-command): Setup completion vars here instead.
15902 (read-expression-map): Bind TAB to symbol completion.
15903
52d3c2d0
SM
15904 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15905 error directly rather via storing it into `results'.
15906
35813471
LL
159072011-05-02 Leo Liu <sdl.web@gmail.com>
15908
15909 * vc/diff.el: Fix description.
15910
e793a940
LMI
159112011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15912
15913 * server.el (server-eval-at): New function.
15914
8de66e05
LMI
159152011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916
15917 * net/network-stream.el (open-network-stream): Take a :nowait
15918 parameter and pass it on to `make-network-process'.
15919 (network-stream-open-plain): Ditto.
15920
dcb79f20
AS
159212011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15922
15923 * faces.el (face-spec-set-match-display): Don't match toolkit
15924 options on terminal frames.
15925
14a7fbd8
SM
159262011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15927
7eabc1be
SM
15928 * progmodes/pascal.el: Use lexical binding.
15929 (pascal-mode-map): Remove author preferences.
15930
14a7fbd8
SM
15931 * pcomplete.el (pcomplete-std-complete): Don't abuse
15932 completion-at-point.
15933
50f84510
JB
159342011-04-28 Juanma Barranquero <lekktu@gmail.com>
15935
6e087a44
JB
15936 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15937 removing code that has been dead since 1991 or so.
15938
50f84510
JB
15939 * startup.el (command-line): When warning about "_emacs", use a
15940 delayed warning to allow the user to filter it out.
15941
0ba690bd
DD
159422011-04-28 Deniz Dogan <deniz@dogan.se>
15943
15944 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15945 user has not joined.
15946
08abfaad
SM
159472011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15948
15949 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15950 aren't any completions at point.
15951
638f053a
JB
159522011-04-28 Juanma Barranquero <lekktu@gmail.com>
15953
15954 * subr.el (display-delayed-warnings): New function.
15955 (delayed-warnings-hook): New variable.
15956
8fff8daa
SM
159572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15958
08abfaad
SM
15959 * minibuffer.el (completion-at-point, completion-help-at-point):
15960 Don't presume that a given completion-at-point-function will always
15961 use the same calling convention.
15962
8fff8daa
SM
15963 * pcomplete.el (pcomplete-completions-at-point):
15964 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15965 pcomplete-seen is non-nil.
15966 (pcomplete-comint-setup): Also recognize the new comint/shell
15967 completion functions.
15968 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15969 pcomplete-seen is non-nil.
15970
841a1577 159712011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15972
841a1577 15973 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15974 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15975 the first character in the entry. This allows for code to add its
211ec907
UJ
15976 own uid to the entry.
15977 (icalendar--convert-float-to-ical): Add export of
15978 `diary-float'-entries save for those with the optional DAY
15979 argument.
15980
2a782793
DC
159812011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15982
15983 * subr.el (shell-quote-argument): Use alternate escaping strategy
15984 when we spot a variable reference in a string.
15985
0438ce91
DC
159862011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15987
15988 * cus-start.el (all): Define customization for debug-on-event.
15989
841a1577 159902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15991
15992 * subr.el (shell-quote-argument): Escape correctly under Windows.
15993
d090ed6c
SM
159942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15997
bfd31217
MA
159982011-04-25 Michael Albinus <michael.albinus@gmx.de>
15999
d090ed6c
SM
16000 * net/tramp.el (tramp-process-actions): Add POS argument.
16001 Delete region between POS and (pos).
bfd31217 16002
d090ed6c
SM
16003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16004 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16005 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16006
16007 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16008 position in `tramp-process-actions' call.
16009
16010 * net/trampver.el: Update release number.
16011
e92f3bd3
SM
160122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16013
850256b5
SM
16014 * custom.el (defcustom): Obey lexical-binding.
16015
e92f3bd3
SM
16016 Fix octave-inf completion problems reported by Alexander Klimov.
16017 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16018 Inherit from octave-mode-syntax-table.
16019 (inferior-octave-mode): Set info-lookup-mode.
16020 (inferior-octave-completion-at-point): New function.
16021 (inferior-octave-complete): Use it and completion-in-region.
16022 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16023 comint-filename-completion.
16024 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16025 symbol elements which shouldn't be word elements.
16026 (octave-font-lock-keywords, octave-beginning-of-defun)
16027 (octave-function-header-regexp): Adjust regexps accordingly.
16028 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16029
cd22b309
JB
160302011-04-25 Juanma Barranquero <lekktu@gmail.com>
16031
16032 * net/gnutls.el (gnutls-errorp): Declare before first use.
16033
8b492194
TZ
160342011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16035
16036 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16037 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16038 default trustfile exists before going to use it. Add missing
5a5fa834 16039 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16040 Reported by Claudio Bley <claudio.bley@gmail.com>.
16041 (open-gnutls-stream): Add usage example.
16042
16043 * net/network-stream.el (network-stream-open-starttls): Give host
16044 parameter to `gnutls-negotiate'.
16045 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16046 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16047
841a1577 160482011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16049
cd22b309
JB
16050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16051 Use correct match group (bug#8438).
05842630 16052
3ba7869c
CY
160532011-04-24 Chong Yidong <cyd@stupidchicken.com>
16054
512e3ae1
CY
16055 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16056 (package-menu--generate): New arg specifying packages to show.
16057 (package-menu-refresh, package-menu-execute, list-packages):
16058 Callers changed.
16059 (package-show-package-list): New function, replacing deleted
16060 package--list-packages (renamed because it is non-internal).
16061
16062 * finder.el (finder-list-matches): Use package-show-package-list
16063 instead of deleted package--list-packages.
16064
e92f3bd3
SM
16065 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16066 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16067 (vc-annotate-mode-map): Bind it to RET.
16068
7031be6d
UR
160692011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16070
16071 * progmodes/etags.el (next-file): Don't use set-buffer to change
16072 buffers (Bug#8478).
16073
4ef177aa
CY
160742011-04-24 Chong Yidong <cyd@stupidchicken.com>
16075
c8d173eb
CY
16076 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16077
4ef177aa
CY
16078 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16079 (apropos-accumulator): Doc fix.
16080 (apropos-function, apropos-macro, apropos-command)
16081 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16082 (apropos-plist): Add face property.
16083 (apropos-symbols-internal): Fix indentation.
16084 (apropos-print): Simplify help, and recognize apropos-multi-type.
16085 (apropos-print-doc): Use button-type-get to extract the button's
16086 face property. Fill docstring (Bug#8352).
16087
4ffd0d6b 160882011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16089
16090 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16091
c6c32125 16092 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16093 (mpuz-mode-map): Use mapc.
c6c32125
JB
16094 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16095 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16096 Fix typos in docstrings.
16097
58d468b4
JB
16098 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16099 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16100
6470c3c6
JB
16101 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16102
4ffd0d6b 161032011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16104
16105 * minibuffer.el (completion--do-completion): Avoid the "Next char
16106 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16107
3ad8bad0
CY
16108 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16109 mouse-2 into unread-command-events, it is interpreted correctly.
16110
71d73c9c 16111 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16112 (image-toggle-display): Doc fix.
71d73c9c 16113
841a1577 161142011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16115
4ffd0d6b
GM
16116 * textmodes/page.el (what-page): Use line-number-at-pos to
16117 calculate line number (Bug#6825).
6e1dbaa9 16118
c2fb1b60
JB
161192011-04-22 Juanma Barranquero <lekktu@gmail.com>
16120
16121 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16122 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16123 Pass argument NO-DEFAULT to `find-tag-interactive'.
16124
e02f48d7
JB
161252011-04-22 Juanma Barranquero <lekktu@gmail.com>
16126
16127 Lexical-binding cleanup.
16128
16129 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16130 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16131 * progmodes/ada-prj.el (ada-prj-initialize-values)
16132 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16133 (ada-prj-show-value):
16134 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16135 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16136 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16137 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16138 * progmodes/bug-reference.el (bug-reference-push-button):
16139 * progmodes/fortran.el (fortran-line-length):
16140 * progmodes/glasses.el (glasses-change):
16141 * progmodes/octave-mod.el (octave-fill-paragraph):
16142 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16143 (python-pdbtrack-grub-for-buffer, python-sentinel):
16144 * progmodes/sql.el (sql-save-connection):
16145 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16146 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16147 Mark unused parameters.
16148
16149 * progmodes/compile.el (compilation--flush-directory-cache)
16150 (compilation--flush-parse, compile-internal): Mark unused parameters.
16151 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16152 (compilation-next-error-function): Remove unused variable `timestamp'.
16153
16154 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16155 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16156
16157 * progmodes/dcl-mode.el (dcl-end-of-command):
16158 Remove unused variable `start'.
16159 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16160 (dcl-option-value-basic, dcl-option-value-offset)
16161 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16162 Mark unused parameters.
16163 (dcl-save-local-variable): Remove unused variable `val'.
16164 (mode): Declare.
16165
16166 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16167 Mark unused parameters.
16168 (delphi-ignore-changes): Move before first use.
16169 (delphi-charset-token-at): Remove unused variable `start'.
16170 (delphi-else-start): Remove unused variable `if-count'.
16171 (delphi-comment-block-start, delphi-comment-block-end):
16172 Remove unused variable `kind'.
16173 (delphi-indent-line): Remove unused variable `new-point'.
16174
16175 * progmodes/ebrowse.el (ebrowse-files-list)
16176 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16177 Mark unused parameters. Don't quote `lambda'.
16178 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16179 Don't quote `lambda'.
16180 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16181 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16182 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16183 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16184 Use `ignore-errors'.
16185 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16186 (ebrowse-view/find-file-and-search-pattern)
16187 (ebrowse-view/find-member-declaration/definition):
16188 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16189 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16190 Rename parameter PREFIX-ARG to PREFIX.
16191 (ebrowse-tags-read-name): Remove unused variables `start' and
16192 `member-info'.
16193 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16194 to `tags-file'.
16195
16196 * progmodes/etags.el (local-find-tag-hook): Declare.
16197 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16198 Mark unused parameters.
16199
16200 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16201 (executable-interpret): Mark unused parameter.
16202
16203 * progmodes/flymake.el (flymake-process-sentinel)
16204 (flymake-after-change-function)
16205 (flymake-create-temp-with-folder-structure)
16206 (flymake-get-include-dirs-dot): Mark unused parameters.
16207 (flymake-safe-delete-directory): Remove unused variable `err'.
16208
16209 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16210 (speedbar-timer-fn, speedbar-line-text)
16211 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16212 (speedbar-center-buffer-smartly): Declare functions.
16213 (gdb-find-watch-expression): Remove unused variable `array'.
16214 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16215 (gdb-starting): Mark unused parameters.
16216 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16217 (gdb-table-string): Remove unused variable `res'.
16218 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16219 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16220 (gdb-display-buffer): Remove unused variable `cur-size'.
16221
16222 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16223 allow lexical-binding compilation.
16224 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16225 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16226 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16227 Mark unused parameters.
16228 (gud-gdb-marker-filter): Remove unused variable `match'.
16229 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16230 lambda expressions and funcall them, instead of using `fset'.
16231
16232 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16233 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16234
16235 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16236 variable `header-beg'; use `let'.
16237
16238 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16239 `restart', `last-sexp' and `at-do'.
16240
16241 * progmodes/js.el (js--debug): Mark unused parameter.
16242 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16243 (js--splice-into-items): Remove unused variable `item'.
16244 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16245
16246 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16247 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16248 (makefile-complete): Remove unused variable `try'.
16249 (makefile-fill-paragraph, makefile-match-function-end):
16250 Mark unused parameters.
16251
16252 * progmodes/octave-inf.el (inferior-octave-complete):
16253 Remove unused variable `proc'.
16254 (inferior-octave-output-digest): Mark unused parameter.
16255
16256 * progmodes/perl-mode.el (perl-calculate-indent):
16257 Remove unused variable `err'.
16258
16259 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16260 (prolog-indent-line): Mark unused parameters.
16261 (prolog-indent-line): Remove unused variable `beg'.
16262
16263 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16264 (reporter-dont-compact-list): Declare.
16265
16266 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16267 Remove unused variable `char'.
16268 (sh-debug): Mark unused parameter.
16269 (sh-get-indent-info): Remove unused variable `start'.
16270 (sh-calculate-indent): Remove unused variable `var'.
16271
16272 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16273 (simula-electric-keyword): Remove unused variable `null'.
16274 (simula-search-backward, simula-search-forward): Remove unused
16275 variables `begin' and `end'.
16276
16277 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16278 Remove unused variable `pos'.
16279 (vera-electric-tab, vera-comment-uncomment-region):
16280 Mark unused parameters.
16281 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16282
7ede3b65
CY
162832011-04-22 Chong Yidong <cyd@stupidchicken.com>
16284
16285 * emacs-lisp/package.el (package--builtins, package-alist)
16286 (package-load-descriptor, package-built-in-p, package-activate)
16287 (define-package, package-installed-p)
16288 (package-compute-transaction, package-buffer-info)
16289 (package--push): Doc fix. Distinguish more clearly between
16290 version strings and version lists.
16291
121656e9
JB
162922011-04-21 Juanma Barranquero <lekktu@gmail.com>
16293
16294 Lexical-binding cleanup.
16295
16296 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16297 (5x5-make-mutate-best):
16298 * play/fortune.el (fortune-in-buffer):
16299 * play/gomoku.el (gomoku-init-display):
16300 * play/solitaire.el (solitaire, solitaire-do-check):
16301 * play/tetris.el (tetris-default-update-speed-function):
16302 Mark unused parameters.
16303
16304 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16305 (bubbles--shift): Remove unused variable `char-org'.
16306 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16307 (bubbles--show-images): Remove unused variable `char'.
16308
16309 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16310 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16311 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16312 (decipher-analyze-buffer): Use ?\s.
16313 (decipher-make-checkpoint): Remove unused variable `mapping'.
16314
16315 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16316
16317 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16318 Remove unused variable `result'; use `let'.
16319
16320 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16321 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16322 (gametree-children-shown-p, gametree-compute-reduced-score):
16323 Use `ignore-errors'.
16324
16325 * play/handwrite.el (ps-lpr-switches): Declare.
16326 (handwrite): Remove unused variables `pmin' and `lastp'.
16327
16328 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16329
16330 * play/landmark.el (landmark-init-display)
16331 (landmark-update-naught-weights): Mark unused parameters.
16332 (landmark-y): Remove unused variable `noise'. Simplify.
16333 (landmark-human-plays): Remove unused variable `score'.
16334
16335 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16336 (mpuz-try-proposal): Remove unused variable `game'.
16337
16338 * play/zone.el (life-patterns): Declare.
16339
80f499c7
JB
163402011-04-20 Juanma Barranquero <lekktu@gmail.com>
16341
16342 * vc/vc.el (ediff-vc-internal): Declare function.
16343
024ff170
SM
163442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16345
c0a193ea
SM
16346 * shell.el: Use lexical-binding and std completion UI.
16347 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16348 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16349 comint-preoutput-filter-functions rather than on
16350 comint-output-filter-functions.
16351 (shell-command-completion, shell--command-completion-data)
16352 (shell-filename-completion, shell-environment-variable-completion)
16353 (shell-c-a-p-replace-by-expanded-directory): New functions.
16354 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16355 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16356 (shell-dynamic-complete-environment-variable): Use them.
16357 (shell-dynamic-complete-as-environment-variable)
16358 (shell-dynamic-complete-as-command): Remove.
16359 (shell-match-partial-variable): Match past point.
16360 * comint.el: Clean up use of completion-at-point-functions.
16361 (comint-completion-at-point): New function.
16362 (comint-mode): Use it completion-at-point-functions.
16363 (comint-dynamic-complete): Make it obsolete.
16364 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16365 (comint-c-a-p-replace-by-expanded-history): New function.
16366 (comint-dynamic-complete-functions)
16367 (comint-replace-by-expanded-history): Use it.
16368 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16369 termination strings. Try harder to avoid second try-completion.
16370 (completion-in-region-mode-map): Disable bindings that don't work yet.
16371
2dbaa080
SM
16372 * comint.el: Use lexical-binding. Require CL.
16373 (comint-dynamic-complete-functions): Use comint-filename-completion.
16374 (comint-completion-addsuffix): Tweak custom type.
16375 (comint-filename-completion, comint--common-suffix)
16376 (comint--common-quoted-suffix, comint--table-subvert)
16377 (comint--complete-file-name-data): New functions.
16378 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16379 (comint-dynamic-list-filename-completions): Use them.
16380 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16381
2dbaa080
SM
16382 * minibuffer.el (completion-in-region-mode):
16383 Keep completion-in-region-mode--predicate global.
16384 (completion-in-region--postch):
16385 Assume completion-in-region-mode--predicate is not null.
16386
c79a6f38
SM
16387 * progmodes/flymake.el (flymake-start-syntax-check-process):
16388 Obey `dir'. Simplify.
16389
024ff170
SM
16390 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16391 we're in VC after all.
16392
1c6c854e
CS
163932011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16394
16395 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16396 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16397 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16398
bed7f140
SM
163992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16400
332e62ab
SM
16401 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16402 add sanity check.
16403
bed7f140
SM
16404 * obsolete/erc-hecomplete.el: Make obsolete.
16405 * obsolete/: Standardize obsolescence info in the header.
16406
f195c582
GM
164072011-04-20 Glenn Morris <rgm@gnu.org>
16408
16409 * calendar/solar.el (solar-horizontal-coordinates):
16410 Use the longitude argument rather than `calendar-longitude'.
16411 (solar-date-next-longitude): Remove unused locals.
16412
cb79b8c0
VJL
164132011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16414
16415 * whitespace.el: New version 13.2.1.
16416
164172011-04-20 felix <EmacsWiki> (tiny change)
16418
d8e4b68b 16419 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16420 switching between major modes on a file.
16421
602ea69d
SM
164222011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16425 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16426 multi-line comments as well.
16427
06b60517
JB
164282011-04-19 Juanma Barranquero <lekktu@gmail.com>
16429
16430 Lexical-binding cleanup.
16431
16432 * arc-mode.el (archive-mode-revert):
16433 * cmuscheme.el (scheme-interactively-start-process):
16434 * custom.el (custom-initialize-delay):
16435 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16436 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16437 * emacs-lock.el (emacs-lock-clear-sentinel):
16438 * ezimage.el (defezimage):
16439 * follow.el (follow-avoid-tail-recenter):
16440 * fringe.el (set-fringe-mode-1):
16441 * generic-x.el (bat-generic-mode-compile):
16442 * help-mode.el (help-info-variable, help-do-xref)
16443 (help-mode-revert-buffer):
16444 * help.el (view-emacs-todo):
16445 * iswitchb.el (iswitchb-completion-help):
16446 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16447 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16448 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16449 * locate.el (locate-update):
16450 * longlines.el (longlines-encode-region)
16451 (longlines-after-change-function):
16452 * outline.el (outline-isearch-open-invisible):
16453 * ps-def.el (declare-function, charset-dimension, char-width)
16454 (encode-char):
16455 * ps-mule.el (ps-mule-plot-string):
16456 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16457 (recentf-edit-list-select, recentf-edit-list-validate)
16458 (recentf-open-files-action):
16459 * rect.el (delete-whitespace-rectangle-line)
16460 (rectangle-number-line-callback):
16461 * register.el (window-configuration-to-register)
16462 (frame-configuration-to-register):
16463 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16464 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16465 (xselect-convert-to-targets, xselect-convert-to-delete)
16466 (xselect-convert-to-filename, xselect-convert-to-charpos)
16467 (xselect-convert-to-lineno, xselect-convert-to-colno)
16468 (xselect-convert-to-os, xselect-convert-to-host)
16469 (xselect-convert-to-user, xselect-convert-to-class)
16470 (xselect-convert-to-name, xselect-convert-to-integer)
16471 (xselect-convert-to-atom, xselect-convert-to-identity):
16472 * subr.el (declare, ignore, process-kill-without-query)
16473 (text-clone-maintain):
16474 * terminal.el (te-get-char, te-tic-sentinel):
16475 * tool-bar.el (tool-bar-make-keymap):
16476 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16477 * type-break.el (type-break-mode, type-break-noninteractive-query):
16478 * view.el (View-back-to-mark):
16479 * wid-browse.el (widget-browse-action, widget-browse-widget)
16480 (widget-browse-widgets, widget-browse-sexp):
16481 * widget.el (define-widget-keywords):
16482 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16483 Mark unused parameters.
16484
16485 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16486 (align-areas): Remove unused variable `look'.
16487 (align-region): Remove unused variables `real-end' and `pos-list'.
16488
16489 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16490
16491 * bindings.el (mode-line-modified, mode-line-remote):
16492 Mark unused parameters.
16493 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16494
16495 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16496 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16497
16498 * comint.el (comint-history-isearch-pop-state)
16499 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16500 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16501 (comint-substitute-in-file-name): Doc fix.
16502
16503 * completion.el (cmpl-statistics-block): Mark unused parameter.
16504 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16505 (save-completions-to-file, load-completions-from-file):
16506 Remove unused local variable `e'.
16507
16508 * composite.el (compose-chars): Remove unused variable `len'.
16509 (lgstring-insert-glyph): Remove unused variable `g'.
16510 (compose-glyph-string): Remove unused variables `ascent',
16511 `descent', `lbearing' and `rbearing'.
16512 (compose-glyph-string-relative): Remove unused variables
16513 `lbearing', `rbearing' and `wadjust'.
16514 (compose-gstring-for-graphic): Remove unused variables `header',
16515 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16516 (compose-gstring-for-terminal): Remove unused variables `header'
16517 and `nchars'. Use `let', not `let*'.
16518
16519 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16520 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16521 (Custom-buffer-done, custom-buffer-create-internal)
16522 (custom-browse-visibility-action, custom-browse-group-tag-action)
16523 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16524 (widget-magic-mouse-down-action, custom-toggle-parent)
16525 (custom-add-parent-links, custom-toggle-hide-variable)
16526 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16527 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16528 (custom-face-menu-create, custom-variable-menu-create, get)
16529 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16530 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16531 (customize-apropos): Remove unused variable `tests'.
16532 (custom-group-value-create): Remove unused variable `hidden-p'.
16533 (sort-fold-case): Declare.
16534
16535 * cus-theme.el (custom-reset-standard-faces-list)
16536 (custom-reset-standard-variables-list): Declare.
16537 (customize-create-theme, custom-theme-revert, custom-theme-write)
16538 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16539 Mark unused parameters.
16540
16541 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16542
16543 * delim-col.el (delimit-columns-max): Move defvar before first use.
16544
16545 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16546 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16547
16548 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16549 (auto-insert): Declare.
16550 (desktop-restore-file-buffer): Rename desktop-* parameters;
16551 mark unused ones.
16552 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16553 (desktop-buffer): Rename desktop-* parameters.
16554
16555 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16556 (dframe-reposition-frame-xemacs, dframe-help-echo)
16557 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16558 Mark unused parameters.
16559
16560 * dired-aux.el (backup-extract-version-start, overwrite-query)
16561 (overwrite-backup-query, rename-regexp-query)
16562 (rename-non-directory-query): Declare.
16563 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16564 (dired-add-entry): Remove unused variable `orig-file-name'.
16565 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16566 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16567 `dired-copy-preserve-time' directly.
16568 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16569 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16570
16571 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16572 (dired-virtual-revert, dired-make-relative-symlink):
16573 Mark unused parameters.
16574 (manual-program): Declare.
16575 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16576 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16577 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16578
16579 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16580
16581 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16582
16583 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16584 Declare.
16585
16586 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16587
16588 * electric.el (Electric-command-loop): Rename parameter
16589 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16590
16591 * expand.el (expand-in-literal): Remove unused variable `here'.
16592
16593 * facemenu.el (facemenu-add-new-color):
16594 Remove unused variable `docstring'.
16595
16596 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16597 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16598 (face-attr-construct): Mark unused parameter. Doc fix.
16599 (read-color): Remove unused variable `hex-string'.
16600
16601 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16602 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16603 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16604 (display-buffer-other-frame): Remove unused variable `old-window'.
16605 (kill-buffer-hook): Declare.
16606 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16607 Mark unused parameters.
16608 (after-find-file): Pass 1 to `auto-save-mode', not t.
16609
16610 * files-x.el (auto-insert): Declare.
16611 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16612
16613 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16614 variable `buf'. Mark unused parameter.
06b60517
JB
16615 (find-lisp-insert-directory): Mark unused parameter.
16616
16617 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16618 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16619 (format-common-tail): Remove, unused.
16620 (format-deannotate-region): Remove unused variable `loc'.
16621 (format-annotate-region): Remove unused variable `p'.
16622 (format-annotate-single-property-change): Remove unused variables
16623 `default' and `tail'.
16624
16625 * forms.el (read-file-filter): Declare.
16626 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16627
16628 * frame.el (frame-creation-function-alist): Mark unused parameter.
16629 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16630
16631 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16632 Remove unused parameters.
16633 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16634 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16635
16636 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16637 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16638 (hfy-prepare-tag-map): Mark unused parameters.
16639 (htmlfontify-buffer): Use `called-interactively-p'.
16640
16641 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16642 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16643 (ibuffer-do-occur): Mark unused parameters.
16644 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16645 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16646
16647 * ibuffer.el: Don't quote `lambda'.
16648 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16649 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16650 Mark unused parameters.
16651
16652 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16653 (ido-completing-read): Mark unused parameters.
16654 (ido-copy-current-word): Mark unused parameters;
16655 remove unused variable `name'.
16656 (ido-sort-merged-list): Remove unused parameter `dirs'.
16657
16658 * ielm.el (ielm-input-sender): Mark unused parameter.
16659 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16660 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16661 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16662 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16663 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16664
16665 * image-dired.el (image-dired-display-thumbs): Remove unused
16666 variables `curr-file' and `count'.
16667 (image-dired-remove-tag): Remove unused variable `start'.
16668 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16669 variable `curr-file'
16670 (image-dired-rotate-original): Remove unused variable `temp-file'.
16671 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16672 Remove unused variable `file'.
16673 (image-dired-gallery-generate): Remove unused variable `curr'.
16674 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16675
16676 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16677
16678 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16679
16680 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16681
16682 * isearch.el (minibuffer-history-symbol): Declare.
16683 (isearch-edit-string): Remove unused variable `err'.
16684 (isearch-message-prefix, isearch-message-suffix):
16685 Mark unused parameters.
16686
16687 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16688
16689 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16690
16691 * makesum.el (double-column): Remove unused variable `cnt'.
16692
16693 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16694 (ido-ignore-item-temp-list): Declare.
16695
16696 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16697 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16698 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16699 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16700 `mouse-col-delta'.
16701
16702 * mouse-sel.el (mouse-extend-internal):
16703 Remove unused variable `orig-window-frame'.
16704
16705 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16706 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16707 Move declarations before first use.
16708 (pcomplete-opt): Mark unused parameters; doc fix.
16709
16710 * proced.el (proced-revert): Mark unused parameter.
16711 (proced-send-signal): Remove unused variable `err'.
16712
16713 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16714 Rename parameter PREFIX-ARG to ARG.
16715 (ps-basic-plot-string, ps-basic-plot-whitespace):
16716 Mark unused parameters.
16717
16718 * replace.el (replace-count): Define.
16719 (occur-revert-function): Mark unused parameters.
16720 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16721 (isearch-case-fold-search, isearch-string): Declare.
16722 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16723 bind `case-fold-search'. Remove unused variables `beg' and `end',
16724 and simplify.
16725 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16726 COUNT and bind `replace-count'.
16727 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16728 to COUNT.
16729
16730 * savehist.el (print-readably, print-string-length): Declare.
16731
16732 * shadowfile.el (shadow-expand-cluster-in-file-name):
16733 Remove unused variable `cluster'.
16734 (shadow-copy-file): Remove unused variable `i'.
16735 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16736 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16737 (shadow-define-literal-group, shadow-define-regexp-group)
16738 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16739
16740 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16741 (shell): Use `called-interactively-p'.
16742 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16743
16744 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16745 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16746 (delete-backward-char): Remove unused variable `ocol'.
16747 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16748 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16749 (event-apply-hyper-modifier, event-apply-shift-modifier)
16750 (event-apply-control-modifier, event-apply-meta-modifier):
16751 Mark unused parameters.
16752 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16753 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16754
16755 * speedbar.el (speedbar-ignored-directory-expressions)
16756 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16757 (speedbar-find-file, speedbar-dir-follow)
16758 (speedbar-directory-buttons-follow, speedbar-tag-find)
16759 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16760 (speedbar-buffers-line-directory, speedbar-buffer-click):
16761 Mark unused parameters.
16762 (speedbar-tag-file): Remove unused variable `mode'.
16763 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16764
16765 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16766
16767 * talk.el (talk): Remove unused variable `display'.
16768
16769 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16770 (tar-write-region-annotate): Mark unused parameter.
16771
16772 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16773 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16774 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16775 warning by another.
16776
16777 * time-stamp.el (time-stamp-string-preprocess):
16778 Remove unused variable `require-padding'.
16779
16780 * tree-widget.el (widget-glyph-enable): Declare.
16781 (tree-widget-action): Mark unused parameter.
16782
16783 * w32-fns.el (x-get-selection): Mark unused parameter.
16784 (autoload-make-program, generated-autoload-file): Declare.
16785
16786 * wdired.el (wdired-revert): Mark unused parameters.
16787 (wdired-xcase-word): Remove unused variable `err'.
16788
16789 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16790 (whitespace-help-scroll): Remove unused variable `data-help'.
16791
16792 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16793 (widget-image-insert, widget-after-change, default)
16794 (widget-default-format-handler, widget-default-notify)
16795 (widget-default-prompt-value, widget-info-link-action)
16796 (widget-url-link-action, widget-function-link-action)
16797 (widget-variable-link-action, widget-file-link-action)
16798 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16799 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16800 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16801 (widget-insert-button-action, widget-delete-button-action, visibility)
16802 (widget-documentation-link-action, widget-documentation-string-action)
16803 (widget-const-prompt-value, widget-regexp-match, symbol)
16804 (widget-coding-system-prompt-value)
16805 (widget-key-sequence-value-to-external, sexp)
16806 (widget-sexp-value-to-internal, character, vector, cons)
16807 (widget-choice-prompt-value, widget-boolean-prompt-value)
16808 (widget-color--choose-action): Mark unused parameters.
16809 (widget-item-match-inline, widget-choice-match-inline)
16810 (widget-checklist-match, widget-checklist-match-inline)
16811 (widget-group-match): Rename parameter VALUES to VALS.
16812 (widget-field-value-set): Remove unused variable `size'.
16813 (widget-color-action): Remove unused variables `value' and `start'.
16814
16815 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16816 variable `dir'. Doc fix.
06b60517
JB
16817 (windmove-find-other-window): Don't pass it.
16818
16819 * window.el (count-windows): Mark unused parameter.
16820 (bw-adjust-window): Remove unused variable `err'.
16821
16822 * woman.el (woman-file-name): Remove unused variable `default'.
16823 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16824 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16825 (global-font-lock-mode): Declare.
16826 (woman-decode-region): Mark unused parameter.
16827 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16828
16829 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16830 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16831 (x-dnd-handle-moz-url): Remove unused variable `title'.
16832 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16833
16834 * xml.el (xml-parse-tag, xml-parse-attlist):
16835 Remove unused variable `pos'.
16836
bc4f7f3d
GM
168372011-04-19 Glenn Morris <rgm@gnu.org>
16838
16839 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16840 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16841 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16842 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16843 * calendar/cal-html.el (cal-html-insert-minical):
16844 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16845 (calendar-mark-date-pattern):
16846 Prefix "unused" locals.
16847
16848 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16849 optional argument `style'.
16850
16851 * calendar/appt.el (appt-make-list):
16852 * calendar/cal-china.el (calendar-chinese-date-string):
16853 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16854 (diary-hebrew-yahrzeit):
16855 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16856 * calendar/calendar.el (calendar-generate-window):
16857 * calendar/time-date.el (time-to-days):
16858 Remove unused local variables.
16859
16a43933
CY
168602011-04-18 Chong Yidong <cyd@stupidchicken.com>
16861
16862 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16863 glyphless-char-display table.
16864 (tabulated-list-glyphless-char-display): New var.
16865
7eed1860
SS
168662011-04-18 Sam Steingold <sds@gnu.org>
16867
16868 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16869 to acknowledgments.
16870
4d2d1ccd
GM
168712011-04-17 Glenn Morris <rgm@gnu.org>
16872
16873 * calendar/diary-lib.el (diary-sexp-entry):
16874 * calendar/holidays.el (holiday-sexp):
16875 Set debug-on-error rather than the removed stack-trace-on-error.
16876
239da61d
GM
168772011-04-16 Glenn Morris <rgm@gnu.org>
16878
16879 * progmodes/f90.el: Use lexical-binding.
16880 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16881
8b05752a
SM
168822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16883
daca8ba5
SM
16884 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16885 (mail-mode): Setup mailalias completion here instead.
16886 * mail/mailalias.el: Use lexical-binding.
16887 (pattern, mailalias-done): Declare dynamic.
16888 (mail-completion-at-point-function): New function, from mail-complete.
16889 (mail-complete): Use it.
16890 (mail-completion-expand): New function.
16891 (mail-get-names): Use it.
16892 (mail-directory, mail-directory-process, mail-directory-stream):
16893 Don't use `pattern' for lexically bound arg.
16894
6f542485
SM
16895 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16896
037e7c3f
SM
16897 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16898 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16899 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16900
8b05752a
SM
16901 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16902 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16903 (byte-interactive-p): Define them again, for use when inlining
16904 old code.
16905
49093f60
JB
169062011-04-15 Juanma Barranquero <lekktu@gmail.com>
16907
16908 * loadup.el: Use `string-to-number', not `string-to-int'.
16909
b5b8e7de
SM
169102011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16911
16912 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16913 gud-gdb-complete-command.
16914 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16915 (gud-gdb-completion-at-point): New function.
16916 (gud-gdb-completions): Remove.
16917
f42efeb5
MA
169182011-04-14 Michael Albinus <michael.albinus@gmx.de>
16919
49093f60
JB
16920 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16921 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16922 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16923 whether `executable-find' is bound.
f42efeb5
MA
16924
16925 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16926
e240cc21
SM
169272011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16928
16929 * minibuffer.el (completion-in-region-mode-predicate)
16930 (completion-in-region-mode--predicate): New vars.
16931 (completion-in-region, completion-in-region--postch)
16932 (completion-in-region-mode): Use them.
16933 (completion--capf-wrapper): Also return the hook function.
16934 (completion-at-point, completion-help-at-point):
16935 Adjust and provide a predicate.
c2bd2ab0
SM
16936
16937 Preserve arg names for advice of subr and lexical functions (bug#8457).
16938 * help-fns.el (help-function-arglist): Consolidate the subr and
16939 new-byte-code cases. Add argument `preserve-names' to extract names
16940 from the docstring when needed.
16941 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16942 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16943 (ad-arglist): Use help-function-arglist's new arg.
16944 (ad-definition-type): Use cond.
16945
c183f693
JB
169462011-04-13 Juanma Barranquero <lekktu@gmail.com>
16947
06641a47
JB
16948 * autorevert.el (auto-revert-handler):
16949 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16950 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16951 Don't quote lambda.
16952
c183f693
JB
16953 * image-mode.el (image-transform-set-scale):
16954 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16955
1e3b6001
G
169562011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16957
16958 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16959 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16960 Upgrades via gnutls-cli are too slow to be done opportunistically.
16961
2d6af8dd
JB
169622011-04-12 Juanma Barranquero <lekktu@gmail.com>
16963
16964 * dframe.el (dframe-current-frame): Remove spurious quote.
16965
c0749a51
GM
169662011-04-12 Glenn Morris <rgm@gnu.org>
16967
088d0d61
GM
16968 * calendar/cal-tex.el (cal-tex-end-document):
16969 Try to automatically use latin1 input if needed.
16970
c0749a51
GM
16971 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16972 Don't try to cons a mark onto an empty element.
16973
5c90fde0
LL
169742011-04-11 Leo Liu <sdl.web@gmail.com>
16975
16976 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16977 buffers.
16978 (ido-kill-buffer-at-head): Support killing virtual buffers.
16979
369e974d
CY
169802011-04-10 Chong Yidong <cyd@stupidchicken.com>
16981
16982 * minibuffer.el (completion-show-inline-help): New var.
16983 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16984 (minibuffer-force-complete, minibuffer-complete-word):
16985 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16986
16987 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16988 to avoid interference from inline help (Bug#5849).
16989
37f1c930
LL
169902011-04-10 Leo Liu <sdl.web@gmail.com>
16991
099c39a4
JB
16992 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16993 Fix typo.
37f1c930 16994
a32d4040
CY
169952011-04-09 Chong Yidong <cyd@stupidchicken.com>
16996
16997 * image-mode.el (image-toggle-display-image): Signal an error if
16998 not in Image mode.
16999 (image-transform-mode, image-transform-resize)
17000 (image-transform-set-rotation): Doc fix.
daca8ba5 17001 (image-transform-set-resize): Delete.
a32d4040
CY
17002 (image-transform-set-scale, image-transform-fit-to-height)
17003 (image-transform-fit-to-width): Handle image-toggle-display-image
17004 and image-transform-resize directly.
17005
099c39a4 170062011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17007
17008 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17009 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17010 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17011 (doc-view-mode-map): Add bindings for the new functions.
17012
099c39a4 170132011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17014
4d61f28d 17015 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17016 Fix typo in docstring.
17017
3726838a
EZ
170182011-04-08 Eli Zaretskii <eliz@gnu.org>
17019
04f33f1e
EZ
17020 * files.el (file-size-human-readable): Produce one digit after
17021 decimal, like "ls -lh" does.
17022
17023 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17024 the file size representation.
17025
3726838a
EZ
17026 * simple.el (list-processes): If async subprocesses are not
17027 available, error out with a clear error message.
17028
cbb59342
CY
170292011-04-08 Chong Yidong <cyd@stupidchicken.com>
17030
17031 * help.el (help-form-show): New function, to be called from C.
17032 Put help-form output in a buffer named differently than *Help*.
17033
e3971c44
EZ
170342011-04-08 Eli Zaretskii <eliz@gnu.org>
17035
17036 * files.el (file-size-human-readable): New function.
17037
17038 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17039 computing the representation inline. Don't require `cl'.
17040
12544bbe
GM
170412011-04-08 Glenn Morris <rgm@gnu.org>
17042
a1de6c6a
GM
17043 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17044
3c4671f4
GM
17045 * net/browse-url.el (browse-url-firefox):
17046 Test system-type, not system-configuration.
17047
b605679c
GM
17048 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17049 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17050 Use log-edit-empty-buffer-p. (Bug#7598)
17051
56442f0c
GM
17052 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17053 (rlogin-mode-map): Initialize in the defvar.
17054 (rlogin): Use ignore-errors.
17055
12544bbe
GM
17056 * replace.el (occur-mode-map): Some fixes for menu items.
17057
eb237b0f
AH
170582011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17059
17060 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17061
7d668f2c
CY
170622011-04-06 Chong Yidong <cyd@stupidchicken.com>
17063
e67a13ab
CY
17064 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17065 issuing unused warnings.
17066
17067 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17068 macro directly.
17069
7d668f2c
CY
17070 * simple.el: Lisp reimplement of list-processes. Based on an
17071 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17072 (process-menu-mode): New major mode.
17073 (list-processes--refresh, list-processes):
17074 (process-menu-visit-buffer): New functions.
17075
17076 * files.el (save-buffers-kill-emacs): Don't assume any return
17077 value of list-processes, which is undocumented anyway.
17078
a83ec3c9
CY
170792011-04-06 Chong Yidong <cyd@stupidchicken.com>
17080
17081 * emacs-lisp/tabulated-list.el: New file.
17082
e91a96fe
CY
17083 * emacs-lisp/package.el: Use Tabulated List mode.
17084 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17085 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17086 table format using Tabulated List mode variables.
17087 (package--push): New macro, replacing package-list-maybe-add.
17088 (package-menu--generate): Use package--push. Renamed from
17089 package--generate-package-list.
17090 (package-menu-refresh, list-packages): Use it.
daca8ba5 17091 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17092 Return insertion data instead of inserting it directly.
099c39a4
JB
17093 (package-menu-describe-package, package-menu-execute):
17094 Use tabulated-list-get-id.
e91a96fe
CY
17095 (package-menu-mark-delete, package-menu-mark-install)
17096 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17097 (package-menu-mark-obsolete-for-deletion):
17098 Use tabulated-list-put-tag.
e91a96fe
CY
17099 (package--list-packages, package-menu-revert)
17100 (package-menu-get-package, package-menu-get-version)
17101 (package-menu-sort-by-column): Functions deleted.
17102 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17103 (package-menu--status-predicate, package-menu--version-predicate)
17104 (package-menu--name-predicate)
17105 (package-menu--description-predicate): Handle arguments in the
17106 Tabulated List format.
17107 (package-list-packages-no-fetch): Call list-packages.
17108
3e214b50
JB
171092011-04-06 Juanma Barranquero <lekktu@gmail.com>
17110
17111 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17112 (after-find-file): Don't bind it.
3e214b50
JB
17113 (revert-buffer-in-progress-p): New variable.
17114 (revert-buffer): Bind it.
17115 Pass nil for `after-find-file-from-revert-buffer'.
17116
17117 * saveplace.el (save-place-find-file-hook): Use new variable
17118 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17119
3f0f1700
GM
171202011-04-06 Glenn Morris <rgm@gnu.org>
17121
c0274801
GM
17122 * Makefile.in (AUTOGEN_VCS): New variable.
17123 (autoloads): Use $AUTOGEN_VCS.
17124
3f0f1700
GM
17125 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17126 * calendar/calendar.el (calendar-mode-map):
17127 Check for toolkit scroll bars. (Bug#8305)
17128
41ea9e48
CY
171292011-04-05 Chong Yidong <cyd@stupidchicken.com>
17130
17131 * minibuffer.el (completion-in-region--postch)
17132 (completion-in-region-mode): Remove unnecessary messages.
17133
6194c800
JB
171342011-04-05 Juanma Barranquero <lekktu@gmail.com>
17135
33256f14
JB
17136 * font-lock.el (font-lock-refresh-defaults):
17137 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17138 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17139
6194c800
JB
17140 * info.el (Info-directory-list, Info-read-node-name-2)
17141 (Info-split-parameter-string): Doc fixes.
17142 (Info-virtual-nodes): Reflow docstring.
17143 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17144 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17145 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17146 Fix typos in docstrings.
17147 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17148 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17149 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17150 (Info-restore-desktop-buffer): Mark unused parameters.
17151 (Info-directory-find-file, Info-directory-find-node)
17152 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17153 (Info-virtual-index-find-node, Info-apropos-find-file)
17154 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17155 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17156 (Info-virtual-index): Remove unused local variable `nodename'.
17157
b87a8200 171582011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17159
b87a8200
DD
17160 * net/rcirc.el: Update my e-mail address.
17161 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17162
3b2ff876
CY
171632011-04-05 Chong Yidong <cyd@stupidchicken.com>
17164
17165 * startup.el (command-line): Save the cursor's theme-face
17166 directly, instead of using face-override-spec.
17167
17168 * custom.el (load-theme): Minor optimization in assigning faces.
17169
8d17e7ca
JB
171702011-04-04 Juanma Barranquero <lekktu@gmail.com>
17171
17172 * help-fns.el (describe-variable): Complete all variables having
17173 documentation, including keywords.
17174 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17175
2fbc1934
JB
171762011-04-04 Juanma Barranquero <lekktu@gmail.com>
17177
17178 Convert to lexical-binding.
17179
17180 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17181 (bs--get-marked-string, bs--get-modified-string)
17182 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17183 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17184 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17185
17186 * ehelp.el (electric-help-execute-extended)
17187 (electric-help-ctrl-x-prefix):
17188 * hexl.el (hexl-revert-buffer-function):
17189 * linum.el (linum-after-change, linum-after-scroll):
17190 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17191
17192 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17193
74f50695
DU
171942011-04-04 Daiki Ueno <ueno@unixuser.org>
17195
17196 * epa-dired.el:
17197 * epa-mail.el:
17198 * epa-hook.el:
17199 * epa-file.el:
17200 * epa.el:
17201 * epg.el: Use lexical binding.
17202
c11325f7
CY
172032011-04-03 Chong Yidong <cyd@stupidchicken.com>
17204
0d9e9a12
CY
17205 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17206
c11325f7 17207 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17208 dictionary case for flyspell-mark-duplications-exceptions.
17209 Use regexp matching for languages.
c11325f7
CY
17210 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17211 default dictionary (Bug#7926).
17212
da91b5f2
CY
172132011-04-02 Chong Yidong <cyd@stupidchicken.com>
17214
099c39a4
JB
17215 * emacs-lisp/package.el (package--with-work-buffer):
17216 Recognize https URLs.
da91b5f2 17217
099c39a4
JB
17218 * net/network-stream.el: Move from gnus/proto-stream.el.
17219 Change prefix to network-stream throughout.
da91b5f2
CY
17220 (open-protocol-stream): Merge into open-network-stream, leaving
17221 open-protocol-stream as an alias. Handle nil BUFFER args.
17222
17223 * subr.el (open-network-stream): Move to net/network-stream.el.
17224
afa8e9f6
GM
172252011-04-02 Glenn Morris <rgm@gnu.org>
17226
1d2e369d
GM
17227 * find-dired.el (find-exec-terminator): New option.
17228 (find-ls-option): Test for -ls support.
17229 (find-ls-subdir-switches): Test for -b in find-ls-option.
17230 (find-dired, find-grep-dired): Doc fixes.
17231 (find-dired): Use find-exec-terminator.
17232
8abb7da8 17233 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17234 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17235 (find-name-arg): Remove purecopy.
8abb7da8 17236
f3ca7378
GM
17237 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17238 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17239 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17240 accordingly. Don't add the null-device if not needed.
17241
afa8e9f6
GM
17242 * files.el (save-some-buffers): Doc fix.
17243
35eae264
EZ
172442011-04-02 Eli Zaretskii <eliz@gnu.org>
17245
17246 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17247
26b51db5
JB
172482011-04-01 Juanma Barranquero <lekktu@gmail.com>
17249
17250 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17251 Use `dolist' rather than `mapcar'.
17252
7200d79c
SM
172532011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17254
03408648 17255 Add lexical binding.
7200d79c 17256
03408648
SM
17257 * subr.el (apply-partially): Use new closures rather than CL.
17258 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17259 (dolist, dotimes): Use slightly different expansion for lexical code.
17260 (functionp): Move to C.
17261 (letrec): New macro.
17262 (with-wrapper-hook): Use it and apply-partially instead of CL.
17263 (eval-after-load): Preserve lexical-binding.
17264 (save-window-excursion, with-output-to-temp-buffer): Turn them
17265 into macros.
7200d79c 17266
03408648
SM
17267 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17268
17269 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17270 than the arglist.
17271 (help-add-fundoc-usage): Don't add `Not documented'.
17272 (help-function-arglist): Handle closures, subroutines, and new
17273 byte-code-functions.
17274 (help-make-usage): Remove leading underscores.
17275 (describe-function-1): Handle closures.
17276 (describe-variable): Use special-variable-p for completion.
17277
17278 * files.el (lexical-binding): Declare safe.
f488fb65 17279
03408648
SM
17280 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17281 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17282 (pcase): Add `let' pattern.
17283 Change memoization so it actually works.
17284 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17285 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17286 <let>: New case.
f488fb65 17287
03408648
SM
17288 * emacs-lisp/macroexp.el: Use lexical binding.
17289 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17290 Don't convert ' to #' without checking that it's indeed quoting
17291 a lambda.
17292
17293 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17294 Use eval-sexp-add-defvars.
03408648
SM
17295 (eval-sexp-add-defvars): New fun.
17296
17297 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17298
17299 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17300 Don't autoload.
17301 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17302 than the internal `byte-compile-lambda'.
17303 (defmethod): Don't hide code under quotes.
17304 (eieio-defmethod): New `code' argument.
17305
17306 * emacs-lisp/eieio-comp.el: Remove.
17307
17308 * emacs-lisp/edebug.el (edebug-eval-defun)
17309 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17310 (edebug-toggle): Avoid `eval'.
17311
17312 * emacs-lisp/disass.el (disassemble-internal): Handle new
17313 `closure' objects.
17314 (disassemble-1): Handle new byte codes.
17315
17316 * emacs-lisp/cl.el (pushnew): Silence warning.
17317
17318 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17319 (cl-byte-compile-throw): Remove.
17320 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17321
17322 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17323 closures.
17324
17325 * emacs-lisp/cconv.el: New file.
17326
17327 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17328 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17329 (byte-compile-initial-macro-environment):
17330 Handle declare-function here.
17331 (byte-compile--lexical-environment): New var.
17332 (byte-stack-ref, byte-stack-set, byte-discardN)
17333 (byte-discardN-preserve-tos): New lap codes.
17334 (byte-interactive-p): Don't use any more.
17335 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17336 New macros.
17337 (byte-compile-lapcode): Use them and handle new lap codes.
17338 (byte-compile-obsolete): Remove.
17339 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17340 (byte-compile-arglist-warn): Check late def of inlinable funs.
17341 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17342 since they should have been expanded by now.
17343 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17344 (byte-compile-from-buffer): Remove unused second arg.
17345 (byte-compile-preprocess): New function.
17346 (byte-compile-toplevel-file-form): New function to distinguish
17347 file-form calls from outside from file-form calls from hunk-handlers.
17348 (byte-compile-file-form): Simplify.
17349 (byte-compile-file-form-defsubst): Remove.
17350 (byte-compile-file-form-defmumble): Simplify now that
17351 byte-compile-lambda always returns a byte-code-function.
17352 (byte-compile): Preprocess.
17353 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17354 Remove, not used any more.
17355 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17356 (byte-compile-make-args-desc): New funs.
17357 (byte-compile-lambda): Handle lexical functions. Always return
17358 a byte-code-function.
17359 (byte-compile-reserved-constants): New var, to make up room for
17360 closed-over variables.
17361 (byte-compile-constants-vector): Obey it.
17362 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17363 (byte-compile-macroexpand-declare-function): New function.
17364 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17365 byte-code-functions.
17366 (byte-compile-form): Check obsolescence here.
17367 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17368 (byte-compile-variable-ref): Remove.
17369 (byte-compile-dynamic-variable-op): New fun.
17370 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17371 (byte-compile-variable-set): New funs.
17372 (byte-compile-discard): Add 2 args.
17373 (byte-compile-stack-ref, byte-compile-stack-set)
17374 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17375 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17376 macroexpand-all instead.
17377 (byte-compile-quote-form): Remove.
17378 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17379 (byte-compile-bind, byte-compile-unbind): New funs.
17380 (byte-compile-let): Handle let* and lexical binding.
17381 (byte-compile-let*): Remove.
17382 (byte-compile-catch, byte-compile-unwind-protect)
17383 (byte-compile-track-mouse, byte-compile-condition-case):
17384 Handle a new :fun-body form, used for lexical scoping.
17385 (byte-compile-save-window-excursion)
17386 (byte-compile-with-output-to-temp-buffer): Remove.
17387 (byte-compile-defun): Simplify.
17388 (byte-compile-stack-adjustment): New fun.
17389 (byte-compile-out): Use it.
17390 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17391
17392 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17393 handler any more.
17394
17395 * emacs-lisp/byte-opt.el: Use lexical binding.
17396 (byte-inline-lapcode): Remove (to bytecomp).
17397 (byte-compile-inline-expand): Pay attention to inlining to/from
17398 lexically bound code.
17399 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17400 any more.
17401 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17402 any more and don't call compiler-macros.
17403 (byte-compile-splice-in-already-compiled-code): Remove.
17404 (byte-code): Don't inline any more.
17405 (disassemble-offset): Receive `bytes' as argument rather than via
17406 dynamic scoping.
17407 (byte-compile-tag-number): Declare before first use.
17408 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17409 `return' even if make-spliceable.
17410 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17411 obsolete interactive-p.
17412 (byte-optimize-lapcode): Optimize new lap-codes.
17413 Don't trip up on new form of `byte-constant' lap code.
17414
17415 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17416
17417 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17418
17419 * custom.el (custom-initialize-default, custom-declare-variable):
17420 Use `defvar'.
17421
17422 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17423 New variables.
17424 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17425 (COMPILE_FIRST): Add macroexp and cconv.
17426 * makefile.w32-in: Mirror changes in Makefile.in.
17427
17428 * vc/cvs-status.el:
17429 * vc/diff-mode.el:
17430 * vc/log-edit.el:
17431 * vc/log-view.el:
17432 * vc/smerge-mode.el:
17433 * textmodes/bibtex-style.el:
090bd7cb 17434 * textmodes/css-mode.el:
03408648
SM
17435 * startup.el:
17436 * uniquify.el:
da91b5f2
CY
17437 * minibuffer.el:
17438 * newcomment.el:
17439 * reveal.el:
17440 * server.el:
17441 * mpc.el:
17442 * emacs-lisp/smie.el:
17443 * doc-view.el:
17444 * dired.el:
03408648
SM
17445 * abbrev.el: Use lexical binding.
17446
0f0c1f27
EZ
174472011-04-01 Eli Zaretskii <eliz@gnu.org>
17448
17449 * info.el (info-display-manual): New function.
17450
c82b2579
SM
174512011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17452
17453 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17454
221ddf68
TH
174552011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17456
17457 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17458 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17459
cba6e77e
GM
174602011-03-31 Glenn Morris <rgm@gnu.org>
17461
e040639f
GM
17462 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17463
cba6e77e
GM
17464 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17465
6d0f1c9e
CS
174662011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17467
17468 * progmodes/python.el (python-default-interpreter)
17469 (python-python-command-args, python-jython-command-args)
17470 (python-which-shell, python-which-args, python-which-bufname)
17471 (python-file-queue, python-comint-output-filter-function)
17472 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17473 variables and functions.
17474
3e2d70fd
SM
174752011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17476
17477 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17478 (completion-in-region-mode): New minor mode.
17479 (completion-in-region): Use it.
17480 (completion-in-region--data, completion-in-region-mode-map): New vars.
17481 (completion-in-region--postch): New function.
17482 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17483 New vars.
17484 (completion--capf-wrapper): New function.
17485 (completion-at-point): Use it to track well-behavedness of
17486 hook functions.
17487 (completion-help-at-point): New command.
17488
f3e4086c
JM
174892011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17490
17491 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17492 syntax class to search for whitespace on a single line
17493 (Message-ID: <4D938140.4030905@redhat.com>).
17494
eb7ffc14
LL
174952011-03-30 Leo Liu <sdl.web@gmail.com>
17496
17497 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17498 New commands.
17499 (edit-abbrevs-map): Bind them here.
17500 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17501
d806ab68
KM
175022011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17503
17504 * allout.el (allout-hide-by-annotation, allout-flag-region):
17505 Reduce possibility of overlay leakage by making them volatile.
17506
17507 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17508 hash is not shared between buffers. Mode initialization is
17509 responsible for giving it a useful starting value.
17510 (allout-item-span): Reduce possibility of overlay leakage by
17511 making them volatile.
17512 (allout-widgets-count-buttons-in-region): Add diagnostic function
17513 for tracking down button overlay leaks.
17514
ea622834
LL
175152011-03-29 Leo Liu <sdl.web@gmail.com>
17516
17517 * ido.el (ido-read-internal): Use the default history var
17518 minibuffer-history if no HISTORY is specified.
17519
b62f8267
G
175202011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17521
03408648
SM
17522 * net/imap.el (imap-shell-open, imap-process-connection-type):
17523 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17524 Kerberos, SSL, other subprocesses.
17525
947b6566
LL
175262011-03-28 Leo Liu <sdl.web@gmail.com>
17527
17528 * abbrev.el (abbrev-table-empty-p): New function.
17529 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17530 nonempty ones. (Bug#5937)
17531
5ffb62aa
JD
175322011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17533
17534 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17535
7a097943
LL
175362011-03-27 Leo Liu <sdl.web@gmail.com>
17537
17538 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17539 for foreground and background colors.
17540 (ansi-color-make-color-map): Adapt.
17541
c5b40130
LL
175422011-03-25 Leo Liu <sdl.web@gmail.com>
17543
1f48f7d2
LL
17544 * midnight.el (midnight-time-float): Remove. Note it calculates
17545 the microsecond component incorrectly and seconds-to-time does the
17546 same job.
625897ec 17547 Remove redundant (require 'timer).
1f48f7d2 17548
c5b40130
LL
17549 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17550 (ido-completions): Remove unused arguments. (Bug#8329)
17551
d86d2721
SM
175522011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17553
17554 * minibuffer.el (completion--flush-all-sorted-completions):
17555 Remove itself from hook.
17556 (completion-at-point): Let the functions perform the completion
17557 immediately and return nil or t.
17558 * comint.el (comint-dynamic-complete-functions): Now identical to
17559 completion-at-point-functions.
17560 (comint-dynamic-list-input-ring): Remove unused var `index'.
17561 (comint--match-partial-filename, comint--unquote&expand-filename):
17562 New funs, split from comint-match-partial-filename.
17563 (comint-dynamic-complete): Use completion-at-point.
17564 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17565
e8974c48
DA
175662011-03-24 Drew Adams <drew.adams@oracle.com>
17567
17568 * thingatpt.el: Support `defun'.
17569
def71b5e
LL
175702011-03-23 Leo Liu <sdl.web@gmail.com>
17571
cb5af48e
LL
17572 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17573
def71b5e
LL
17574 * help-mode.el (help-mode-finish): Tweak regexp.
17575
927c53e7
GM
175762011-03-23 Glenn Morris <rgm@gnu.org>
17577
18d05bed
GM
17578 * eshell/esh-opt.el (eshell-eval-using-options):
17579 Do not bind unused local variable `eshell-option-stub'.
17580
927c53e7
GM
17581 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17582
9d0da923
JB
175832011-03-22 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17586 keymap variable in `with-no-warnings' to avoid a warning when the
17587 keymap has been already `defconst'ed.
17588
4b978a67
LL
175892011-03-22 Leo Liu <sdl.web@gmail.com>
17590
17591 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17592 encode all chars in abbrevs; otherwise use emacs-mule or
17593 utf-8-emacs. (Bug#8308)
17594
5fd62452
JB
175952011-03-22 Juanma Barranquero <lekktu@gmail.com>
17596
0b1596c6
JB
17597 * simple.el (backward-delete-char-untabify):
17598 Avoid warning about using `delete-backward-char'.
17599
5fd62452
JB
17600 * image.el (image-type-file-name-regexps): Make it variable.
17601 `imagemagick-register-types' modifies it, and the user may want
17602 to add new extensions for known image types.
17603 (imagemagick-register-types): Throw error if not using ImageMagick.
17604
0b4e93f1
LL
176052011-03-22 Leo Liu <sdl.web@gmail.com>
17606
17607 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17608 located before rcirc-prompt-end-marker.
17609 (rcirc-complete): Error if point is not after rcirc prompt.
17610 Handle the case when table is nil.
9882e214 17611 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17612
fccee4ab
CY
176132011-03-22 Chong Yidong <cyd@stupidchicken.com>
17614
17615 * custom.el (custom--inhibit-theme-enable): Make it affect only
17616 custom-theme-set-variables and custom-theme-set-faces.
17617 (provide-theme): Ignore custom--inhibit-theme-enable.
17618 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17619 (custom-enabling-themes): Delete variable.
d86d2721
SM
17620 (enable-theme): Accept only loaded themes as arguments.
17621 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17622 (custom-enabled-themes): Forbid themes from setting this.
17623 Eliminate use of custom-enabling-themes.
17624 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17625
af896da6
LL
176262011-03-21 Leo Liu <sdl.web@gmail.com>
17627
17628 * ido.el (ido-read-internal): Add ido-selected to history instead
17629 of user input.
17630
78f64af0
SM
176312011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17632
17633 * subr.el (deferred-action-list, deferred-action-function):
17634 Mark obsolete.
17635
b16ac1ec
LL
176362011-03-21 Leo Liu <sdl.web@gmail.com>
17637
810f7698
LL
17638 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17639 change on 2011-02-13 (bug#8309).
17640
b16ac1ec
LL
17641 * minibuffer.el (read-file-name-function): Change default value.
17642 (read-file-name--defaults): Rename from read-file-name-defaults.
17643 (read-file-name-default): Rename from read-file-name.
17644 (read-file-name): Call read-file-name-function.
17645
4e05e67e
GM
176462011-03-21 Glenn Morris <rgm@gnu.org>
17647
17648 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17649 Doc fixes.
17650
4359915b
CY
176512011-03-21 Chong Yidong <cyd@stupidchicken.com>
17652
17653 * cus-theme.el: Add missing provide statement.
17654 (customize-create-theme): Extract theme value correctly.
17655 (custom-theme-visit-theme): Autoload.
17656 (customize-create-theme): Prompt before inserting default faces.
17657
1fe275ee
JB
176582011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17659
17660 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17661 units and musical notes.
17662
cd394be1 176632011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17664
17665 * ido.el (ido-read-internal): Use completing-read-default.
17666 (ido-completing-read): Fix compatibility with completing-read.
17667
7d476bde
CO
176682011-03-20 Christian Ohler <ohler@gnu.org>
17669
17670 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17671 (ert-delete-all-tests): Use `called-interactively-p' rather than
17672 `interactive-p'.
17673 (ert--make-xrefs-region): Respect END.
17674
fe0fb33e
CY
176752011-03-19 Chong Yidong <cyd@stupidchicken.com>
17676
ff854b0b
CY
17677 * dired-aux.el (dired-create-directory): Signal an error if the
17678 directory already exists (Bug#8246).
17679
fe0fb33e
CY
17680 * facemenu.el (list-colors-display): Call list-faces-display
17681 inside with-help-window.
17682 (list-colors-print): Use display property to align the final
17683 column, instead of checking window-width.
17684
576bce32
EZ
176852011-03-19 Eli Zaretskii <eliz@gnu.org>
17686
4d61f28d 17687 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17688 windows-nt systems.
17689 (emerge-protect-metachars): Quote correctly for ms-dos and
17690 windows-nt systems.
17691
89c41d68 176922011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17693
17694 * info.el (info-initialize): Replace all uses of `:' with
17695 path-separator for compatibility with non-Unix systems.
17696 Cache quoting of path-separator. (Bug#8258)
17697
b14e3e21 176982011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17699
17700 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17701 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17702 (mouse-avoidance-mode): Fix typos in docstrings.
17703
4525ce3e
CY
177042011-03-19 Chong Yidong <cyd@stupidchicken.com>
17705
17706 * startup.el (package-subdirectory-regexp): Move from package.el.
17707 Omit \\` and \\', and let callers add them.
17708
17709 * emacs-lisp/package.el (package-strip-version)
17710 (package-load-all-descriptors): Add \\` and \\' to
17711 package-subdirectory-regexp before using it.
17712 (package-untar-buffer): New arg DIR; ensure that file untars only
17713 into this expected directory. Remove superfluous delete-region.
17714 (package-unpack): Caller changed.
17715 (package-tar-file-info): Use package-subdirectory-regexp.
17716
a904a09a 177172011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17718
a904a09a
SM
17719 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17720 diff-mode-shared-map (bug#8284).
17721 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17722
177232011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17724
17725 * calendar/time-date.el (format-seconds): Use assoc instead of
17726 assoc-string, since assoc-string doesn't exist in XEmacs.
17727
171fc304
JB
177282011-03-17 Juanma Barranquero <lekktu@gmail.com>
17729
17730 * custom.el (custom-known-themes): Reflow docstring.
17731 (custom-theme-load-path): Fix typo in docstring.
17732 (load-theme): Fix typo in error message.
17733 (custom-available-themes, custom-variable-theme-value):
17734 Use `let', not `let*'.
17735
d71990a1
JB
177362011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17737
17738 * calc/README: Mention inclusion of musical notes.
17739
17740 * calc/calc-units.el (calc-lu-quant): Rename from
17741 `calc-logunits-quantity'.
17742 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17743 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17744 (calc-db): Rename from `calc-dblevel'.
17745 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17746 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17747 (calc-np): Rename from `calc-nplevel'.
17748 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17749 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17750 (calc-lu-plus): Rename from `calc-logunits-add'.
17751 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17752 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17753 (calc-lu-minus): Rename from `calc-logunits-sub'.
17754 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17755 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17756 (calc-lu-times): Rename from `calc-logunits-mul'.
17757 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17758 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17759 (calc-lu-divide): Rename from `calc-logunits-div'.
17760 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17761 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17762
17763 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17764 functions being autoloaded.
17765
17766 * calc/calc.el (calc-lu-power-reference): Rename from
17767 `calc-logunits-power-reference'.
17768 (calc-lu-field-reference): Rename from
17769 `calc-logunits-field-reference'.
17770
7a71b18d
GM
17771 * calc/calc-help.el (calc-l-prefix-help):
17772 Mention musical note functions.
d71990a1 17773
40c2934b
SM
177742011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17775
17776 * minibuffer.el (completion-all-sorted-completions):
17777 Use :completion-cycle-penalty text property if present.
17778
b0911414
KM
177792011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17780
17781 * allout.el (allout-yank-processing): Adjust for new rebulleting
17782 regime so bullet being yanked is used without prompting the user
17783 for a choice.
17784
8a05b668
JB
177852011-03-16 Juanma Barranquero <lekktu@gmail.com>
17786
17787 * startup.el (command-line): Warn the user that _emacs is deprecated.
17788
5ba5fb81
JB
177892011-03-16 Juanma Barranquero <lekktu@gmail.com>
17790
17791 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17792 (delphi-verbose, delphi-comment-face, delphi-string-face)
17793 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17794 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17795 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17796 (delphi-new-comment-line, delphi-font-lock-defaults)
17797 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17798 Fix typos in docstrings.
17799
2dab465b
KM
178002011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17801
5ba5fb81 17802 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17803 Invert the roles of character and string values for INSTEAD, so a
17804 string is used for the more common case of a defaulting prompt.
17805
0adf5618
SM
178062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * progmodes/ruby-mode.el (ruby-backward-sexp):
17809 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17810 * play/gamegrid.el (gamegrid-make-face):
17811 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17812 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17813 * notifications.el (notifications-notify):
17814 * net/xesam.el (xesam-search-engines):
17815 * net/quickurl.el (quickurl-list-insert):
17816 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17817
d72700e5
CY
178182011-03-15 Chong Yidong <cyd@stupidchicken.com>
17819
17820 * startup.el (command-line): Update package subdirectory regexp.
17821
49c5410a
SM
178222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17823
c6eee9aa
SM
17824 * allout.el (allout-abbreviate-flattened-numbering)
17825 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17826
49c5410a
SM
17827 * subr.el (read-char-choice): Only show the cursor after the prompt,
17828 not after the answer.
17829
047b2bb9
KR
178302011-03-15 Kevin Ryde <user42@zip.com.au>
17831
17832 * help-fns.el (variable-at-point): Skip leading quotes, if any
17833 (bug#8253).
17834
0a57d256
SM
178352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17838 warning message.
17839
77c992bc
MA
178402011-03-14 Michael Albinus <michael.albinus@gmx.de>
17841
17842 * shell.el (shell): When called interactively, offer to change the
17843 shell file name on remote hosts.
17844
eebc475d
TZ
178452011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17846
17847 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17848 integration for LDAP parameters. The host, base, user or binddn,
17849 and secret tokens can be specified in a netrc file, for instance.
17850 This is optional because an `auth-source' parameter must be
17851 specified in the search attributes.
17852
9d05d1ba
JB
178532011-03-13 Juanma Barranquero <lekktu@gmail.com>
17854
17855 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17856
09d9db2c
GM
178572011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17858
17859 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17860 into declaration. Remove redundant and harmful binding.
17861
178622011-03-12 Eli Zaretskii <eliz@gnu.org>
17863
17864 * files.el (file-ownership-preserved-p): Pass `integer' as an
17865 explicit 2nd argument to `file-attributes'. If the file's owner
17866 is the Administrators group on Windows, and the current user is
17867 Administrator, consider that a match.
17868
17869 * server.el (server-ensure-safe-dir): Consider server directory
17870 safe on MS-Windows if its owner is the Administrators group while
17871 the current Emacs user is Administrator. Use `=' to compare
17872 numerical UIDs, since they could be integers or floats.
17873
219bd536
JB
178742011-03-12 Juanma Barranquero <lekktu@gmail.com>
17875
17876 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17877
f3afd36b
MA
178782011-03-12 Michael Albinus <michael.albinus@gmx.de>
17879
17880 Sync with Tramp 2.2.1.
17881
17882 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17883
17884 * net/trampver.el: Update release number.
17885
3aaaa6f1
SM
178862011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17887
94642599
SM
17888 * progmodes/compile.el (compilation--previous-directory): Fix up
17889 various nil/dead-marker mismatches (bug#8014).
17890 (compilation-directory-properties, compilation-error-properties):
17891 Don't call it at a position past the one we're about to change.
17892
3aaaa6f1
SM
17893 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17894 Disable obsolescence warnings in the file that declares it.
17895
14239447
KM
178962011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17897
099c39a4
JB
17898 * allout-widgets.el (allout-widgets-tally):
17899 Initialize allout-widgets-tally as a hash table rather than nil to
17900 prevent mode-line redisplay warnings. Also, clarify the module
17901 description and fix a comment typo.
14239447 17902
135e287c
JB
179032011-03-11 Juanma Barranquero <lekktu@gmail.com>
17904
17905 * help-fns.el (describe-variable): Don't complete keywords.
17906 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17907
ffbf300e
CY
179082011-03-10 Chong Yidong <cyd@stupidchicken.com>
17909
ba08b241
CY
17910 * emacs-lisp/package.el (package-version-join): Impose a standard
17911 string representation for pre/alpha/beta version lists.
17912 (package-unpack-single): Standardize the directory name by passing
17913 it through package-version-join.
17914 (package-strip-rcs-id): Accept any version string that does not
17915 signal an error in version-to-list.
ffbf300e 17916
f346fd6b
MA
179172011-03-10 Michael Albinus <michael.albinus@gmx.de>
17918
17919 * simple.el (delete-trailing-whitespace): Return nil for the
17920 benefit of `write-file-functions'.
17921
ccb55d27
GM
179222011-03-10 Glenn Morris <rgm@gnu.org>
17923
5ceaac0c
GM
17924 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17925
02da65ff
GM
17926 * vc/vc-git.el (vc-git-program): New option.
17927 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17928 (vc-git--call): Use it.
17929
b2f603cc
GM
17930 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17931
5772caab
GM
17932 * cus-edit.el (Custom-newline): If no button at point, look
17933 for a subgroup button at start-of-line. (Bug#2298)
17934
ccb55d27
GM
17935 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17936
ec6ecaed
JD
179372011-03-10 Julien Danjou <julien@danjou.info>
17938
17939 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17940 `cursor-type' is nil.
17941
9d5aa01d
JB
179422011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17943
17944 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17945
b6a5875b
KM
179462011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17947
7a71b18d 17948 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17949 preserves the existing header prefix, rebulleting it if necessary,
17950 rather than replacing it. This is necessary for proper operation
17951 of cooperative addons like allout-widgets.
1154d12e
JB
17952 (allout-make-topic-prefix, allout-rebullet-heading):
17953 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17954 value as alternate bullet to be used, instead of prompting the user
17955 for a bullet character.
b6a5875b 17956
ee545c35
MA
179572011-03-09 Michael Albinus <michael.albinus@gmx.de>
17958
d86d2721
SM
17959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17960 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17961 `tramp-default-port'.
17962
c47971d7
DD
179632011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17964
17965 * net/rcirc.el (rcirc-handler-001): Remove useless
17966 with-rcirc-process-buffer.
17967 (rcirc-check-auth-status): Swap arguments to string-match.
17968
13522cb4
GM
179692011-03-09 Glenn Morris <rgm@gnu.org>
17970
0be6f4f1
GM
17971 * shell.el (shell-mode):
17972 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17973
13522cb4
GM
17974 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17975 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17976
515de2e3
CY
179772011-03-08 Chong Yidong <cyd@stupidchicken.com>
17978
17979 * emacs-lisp/package.el (package-refresh-contents)
17980 (package-menu-execute): Use condition-case-no-debug.
17981
b511b994
MA
179822011-03-08 Michael Albinus <michael.albinus@gmx.de>
17983
17984 * simple.el (shell-command-to-string): Use `process-file'.
17985
17986 * emacs-lisp/package.el (package-tar-file-info): Handle also
17987 remote files.
17988
d86d2721
SM
17989 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17990 Use `equal' for upload base check.
b511b994 17991
25bbfb31
AM
179922011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17993
17994 * textmodes/texinfo.el (texinfo-environments):
17995 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17996
be996521
GM
179972011-03-08 Glenn Morris <rgm@gnu.org>
17998
e9c8529f
GM
17999 * cus-start.el (cursor-in-non-selected-windows):
18000 Fix :set quoting oddness. (Bug#8192)
18001
be996521
GM
18002 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18003 in some setf expressions. (Bug#2159)
18004
2bb5649e
CY
180052011-03-08 Chong Yidong <cyd@stupidchicken.com>
18006
18007 * custom.el (custom-available-themes): Return themes in
18008 alphabetical order.
18009
33383987 18010See ChangeLog.15 for earlier changes.
e3d51b27
MR
18011
18012;; Local Variables:
18013;; coding: utf-8
e3d51b27
MR
18014;; End:
18015
acaf905b 18016 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18017
18018 This file is part of GNU Emacs.
18019
18020 GNU Emacs is free software: you can redistribute it and/or modify
18021 it under the terms of the GNU General Public License as published by
18022 the Free Software Foundation, either version 3 of the License, or
18023 (at your option) any later version.
18024
18025 GNU Emacs is distributed in the hope that it will be useful,
18026 but WITHOUT ANY WARRANTY; without even the implied warranty of
18027 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18028 GNU General Public License for more details.
18029
18030 You should have received a copy of the GNU General Public License
18031 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.