* admin/bzrmerge.el (bzrmerge-merges): Allow unversioned files in the tree.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
eada0861 12012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2
806f0cc7
LL
3 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4 completion-at-point. (Bug#12220)
5
3bb213b9
LL
6 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7
22ab32ef
LL
8 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9
eada0861 102012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 11
19c17fc1
CY
12 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
13 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 14
eada0861 152012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
16
17 * progmodes/hideif.el (hif-compress-define-list):
18 Fix typo. (Bug#11951)
19
eada0861 202012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
21
22 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
23 buffer local setting.
24
27d6c5a8
LL
25 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
26 rcirc-encode-coding-system.
27
eada0861 282012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
29
30 * net/rcirc.el (rcirc-split-message): New function.
31 (rcirc-send-message): Use it. (Bug#12051)
32
d44688e4
JL
332012-08-28 Juri Linkov <juri@jurta.org>
34
35 * info.el (Info-fontify-node): Hide empty lines at the end of
36 the node. (Bug#12272)
37
34f10d41
MR
382012-08-27 Drew Adams <drew.adams@oracle.com>
39
40 * dired.el (dired-pop-to-buffer): Make window start at beginning
41 of buffer (Bug#12281).
42
77f1f99c
CY
432012-08-26 Chong Yidong <cyd@gnu.org>
44
45 * window.el (special-display-regexps, special-display-frame-alist)
46 (special-display-buffer-names, special-display-function)
47 (display-buffer-reuse-frames): Mark as obsolete.
48
49 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
50
51 * help.el (help-print-return-message): Don't treat
52 display-buffer-reuse-frames specially.
53
d97af5a0
CY
542012-08-26 Chong Yidong <cyd@gnu.org>
55
56 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action): New
57 variable, replacing gdb-frame-parameters.
58 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
59 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
60 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
61 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
62 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
63 the functions directly with gdb-display-buffer-other-frame-action.
64 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
65 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
66 (gdb-display-stack-buffer, gdb-display-locals-buffer)
67 (gdb-display-registers-buffer): Define directly.
68 (def-gdb-display-buffer): Macro deleted.
69 (gdb-display-buffer): Remove second and third args, callers don't
70 use them. Defer to the default display-buffer behavior, apart
71 from making windows dedicated.
72 (gdb-setup-windows): Don't call display-buffer unnecessarily.
73
74 * progmodes/gud.el (gud-display-line): Just use display-buffer.
75
76 * window.el (display-buffer-pop-up-frame): Handle a
77 pop-up-frame-parameters alist entry.
78 (display-buffer): Document it.
79
dd7ffad6
CY
802012-08-26 Chong Yidong <cyd@gnu.org>
81
82 * isearch.el (search-whitespace-regexp): Make string and nil
83 values apply to both ordinary and regexp search. Allow a cons
84 cell value to distinguish between the two.
85 (isearch-whitespace-regexp, isearch-search-forward)
86 (isearch-search-backward): New functions.
87 (isearch-occur, isearch-search-fun-default, isearch-search)
88 (isearch-lazy-highlight-new-loop): Use them.
89 (isearch-forward, isearch-forward-regexp): Doc fix.
90
4c47bd1e
CY
912012-08-26 Chong Yidong <cyd@gnu.org>
92
93 * faces.el (help-argument-name): Always inherit from italic
94 (Bug#12213).
95
9aba119d
MR
962012-08-25 Martin Rudalics <rudalics@gmx.at>
97
98 * window.el (window--even-window-heights): Even heights when
99 WINDOW and the selected window form a vertical combination.
100 (display-buffer-use-some-window): Provide that window used gets
101 sized back by quit-window. (Bug#11880) and (Bug#12091)
102
ca5256ad
PE
1032012-08-24 Paul Eggert <eggert@cs.ucla.edu>
104
105 Fix file time stamp problem with bzr and CVS (Bug#12001).
106 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
107 in the file's time stamp, since the version control system loses
108 that information.
109
d1c0d176
JL
1102012-08-22 Juri Linkov <juri@jurta.org>
111
112 * info.el (Info-fontify-node): Hide the suffix of the
113 Info file name in the header line. (Bug#12187)
114
141562ff
GM
1152012-08-22 Glenn Morris <rgm@gnu.org>
116
117 * calendar/cal-tex.el (cal-tex-weekly-common):
118 Restore leading blank page.
119
61a48e19 1202012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
121
122 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
123 the region under `shift-select-mode'. (Bug#12231)
124
1252012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
126
127 * progmodes/executable.el (executable-prefix): Set to "#!" instead
128 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
129 gives details on why the space is never needed.
130
ea95074e
MR
1312012-08-22 Martin Rudalics <rudalics@gmx.at>
132
133 * window.el (walk-window-tree, window-with-parameter): New
134 optional argument MINIBUF to control whether these functions
135 should run on the minibuffer window.
136 (window-at-side-list): Don't operate on minibuffer window.
137 (window-in-direction): Simplify and rewrite doc-string.
842e3a93
MR
138 (window--size-ignore): Rename to window--size-ignore-p. Update
139 callers.
caceae25
MR
140 (display-buffer-in-atom-window, window--major-non-side-window)
141 (window--major-side-window, display-buffer-in-major-side-window)
142 (delete-side-window, display-buffer-in-side-window): New
143 functions.
144 (window--side-check, window-deletable-p, delete-window)
145 (delete-other-windows, split-window): Handle side windows and
146 atomic windows appropriately.
147 (window--display-buffer): Call display-buffer-record-window also
148 when the window buffer did not change.
ea95074e 149
80a51fa0
CS
1502012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
151
152 * help-fns.el (help-fns--key-bindings):
153 Abbreviate non-symbol remap targets. (Bug#12174)
154
fbb6300b
MR
1552012-08-22 Martin Rudalics <rudalics@gmx.at>
156
157 * dired.el (dired-mark-remembered): Don't clobber point.
158 (Bug#11795)
159
2b2c0794
GM
1602012-08-22 Glenn Morris <rgm@gnu.org>
161
162 * progmodes/bug-reference.el (bug-reference): New custom group.
163 (bug-reference-bug-regexp): Make it a defcustom.
164
37219830
DU
1652012-08-22 Daiki Ueno <ueno@unixuser.org>
166
167 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
168 (js-paren-indent-offset, js-square-indent-offset)
169 (js-curly-indent-offset): Add :safe (Bug#12257).
170
94e0e559
EC
1712012-08-22 Edward O'Connor <hober0@gmail.com>
172
173 * json.el (json-key-format): Add error properties.
174 (json-encode-key): New function.
175 (json-encode-hash-table, json-encode-alist, json-encode-plist):
176 Use json-encode-key.
177
da485f5e
GM
1782012-08-22 Glenn Morris <rgm@gnu.org>
179
180 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
181 (cal-tex-leftday, cal-tex-rightday): Remove functions.
182 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
183 Update for above change.
184
c6cc78b8
AS
1852012-08-21 Andreas Schwab <schwab@linux-m68k.org>
186
187 * cus-face.el (custom-face-attributes): Fix customize type for the
188 :underline attribute. (Bug#11805)
189
5481664a
MR
1902012-08-21 Martin Rudalics <rudalics@gmx.at>
191
192 * window.el (window-point-1, set-window-point-1): Remove.
193 (window-in-direction, record-window-buffer)
194 (set-window-buffer-start-and-point, split-window-below)
195 (window--state-get-1, display-buffer-record-window): Replace
196 calls to window-point-1 and set-window-point-1 by calls to
197 window-point and set-window-point respectively.
198
6d74698e
GM
1992012-08-21 Glenn Morris <rgm@gnu.org>
200
b7fa2691
GM
201 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
202 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
203 Use it.
204
52f56d5a
GM
205 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
206 (cal-tex-shortday): New function.
207 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
208 (cal-tex-cursor-filofax-daily): Use the above.
209
9f1ee09e
GM
210 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
211 New functions.
212 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
213 (cal-tex-cursor-filofax-week): Use them.
214
79858159
GM
215 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
216 New constants.
217 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
218 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
219
d346b2b4
GM
220 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
221 (cal-tex-end-document): Don't rely on buffer name.
222
b2403709
GM
223 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
224 Use cal-tex-vspace.
225 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
226 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
227 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
228 Use cal-tex-arg.
b2403709 229
1cebb5c0
GM
230 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
231 (cal-tex-cursor-week, cal-tex-cursor-week2)
232 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
233 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
234 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
235 (cal-tex-insert-preamble, cal-tex-b-document)
236 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
237 Improve cal-tex-cmd usage.
238
c68cd5d4
GM
239 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
240 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
241 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
242 (cal-tex-weekly-paper): New function.
243 (cal-tex-cursor-week, cal-tex-cursor-week2)
244 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
245 (cal-tex-cursor-day): Use it.
246
9dca4801
GM
247 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
248 (cal-tex-cursor-filofax-week): Remove leading blank page.
249
1941e134
GM
250 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
251 Add autoload cookie. For now at least, don't use color, since
252 no other cal-tex function does.
253
6d74698e
GM
254 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
255 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
256 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
257
64cde199
JL
2582012-08-21 Juri Linkov <juri@jurta.org>
259
260 * info.el (Info-file-attributes): New variable.
261 (info-insert-file-contents): Add file attributes to
262 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
263 `Info-toc-nodes' when previous modtime of the Info file is less
264 than new modtime.
265 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
266 of info.el. (Bug#12230)
267
32757648
GM
2682012-08-20 Glenn Morris <rgm@gnu.org>
269
270 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
271 * calendar/holidays.el (calendar-holiday-list):
272 Report errors with display-warning rather than beep'n'sleep.
273
a32fbbcf
MA
2742012-08-20 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp.el (tramp-accept-process-output): Accept only output
277 from PROC. Otherwise, process filters and sentinels might be
278 confused. (Bug#12145)
279
a05731a0
CY
2802012-08-20 Chong Yidong <cyd@gnu.org>
281
282 * descr-text.el (describe-text-properties-1): Use overlays-in to
283 report on empty overlays (Bug#3322).
284
36e8d1eb
GM
2852012-08-20 Glenn Morris <rgm@gnu.org>
286
3d300447
GM
287 * mail/rmailout.el (rmail-output-read-file-name):
288 Trap and report errors in rmail-output-file-alist elements.
289
36e8d1eb
GM
290 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
291 since most non-font-lock faces are not also variables).
292
b96e5814
ER
2932012-08-20 Edward Reingold <reingold@iit.edu>
294
295 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
296 New function. (Bug12160)
297
7cef3569
GM
2982012-08-19 Glenn Morris <rgm@gnu.org>
299
300 * mail/rmailout.el (rmail-output-read-file-name):
301 Fix previous change (when the alist is nil or does not match).
302
17975d7f
CY
3032012-08-19 Chong Yidong <cyd@gnu.org>
304
305 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
306 (Bug#12228).
307
2170b1bd
CY
3082012-08-18 Chong Yidong <cyd@gnu.org>
309
310 * simple.el (yank-handled-properties): New defcustom.
311 (yank-excluded-properties): Add font-lock-face and category.
312 (yank): Doc fix.
313
314 * subr.el (remove-yank-excluded-properties): Obey
315 yank-handled-properties. The special handling of font-lock-face
316 and category is now done this way, instead of being hard-coded.
317 (insert-for-yank-1): Remove font-lock-face handling.
318 (yank-handle-font-lock-face-property)
319 (yank-handle-category-property): New function.
320
ee218151
GM
3212012-08-17 Glenn Morris <rgm@gnu.org>
322
323 * mail/rmailout.el (rmail-output-read-file-name):
324 Check rmail-output-file-alist against the full message body
325 in the correct rmail buffer. (Bug#12214)
326
4a6bc3fd
MA
3272012-08-17 Michael Albinus <michael.albinus@gmx.de>
328
329 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Eliminate
330 superfluous prompt. (Bug#12203)
331
383dcbf9
CY
3322012-08-17 Chong Yidong <cyd@gnu.org>
333
334 * mouse.el (mouse-appearance-menu): If x-select-font returns a
335 font spec, set the font directly (Bug#3228).
336
998c4a6a
MR
3372012-08-17 Martin Rudalics <rudalics@gmx.at>
338
339 * window.el (delete-window): Fix last fix.
340
52162052
MR
3412012-08-16 Martin Rudalics <rudalics@gmx.at>
342
343 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
344 (window-child, window-child-count, window-last-child)
345 (window-normalize-window, window-combined-p)
346 (window-combinations, window-atom-root, window-min-size)
347 (window-sizable, window-sizable-p, window-size-fixed-p)
348 (window-min-delta, window-max-delta, window--resizable)
349 (window--resizable-p, window-resizable, window-total-size)
350 (window-full-height-p, window-full-width-p, window-body-size)
351 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
352 (minimize-window, window-deletable-p, delete-window)
353 (delete-other-windows, set-window-buffer-start-and-point)
354 (next-buffer, previous-buffer, split-window, balance-windows-2)
355 (set-window-text-height, window-buffer-height)
356 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
357 (truncated-partial-width-window-p): Minor code adjustments. In
358 doc-strings state whether the argument window has to denote a
359 live, valid or any window.
52162052 360
1c308380
PS
3612012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
362
363 * progmodes/subword.el (subword-forward-function)
364 (subword-backward-function, subword-forward-regexp)
365 (subword-backward-regexp): New variables.
366 (subword-forward, subword-forward-internal, subword-backward-internal):
367 Use new variables, eg so that different "word" definitions
368 can be easily used. (Bug#11411)
369
94c9ece1
SM
3702012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
373 for composite selectors.
374 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
375 operation just because we can't find a previous revision.
376
f2045622
CY
3772012-08-15 Chong Yidong <cyd@gnu.org>
378
379 * frame.el (set-frame-font): Accept font objects.
380
582db660
SM
3812012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
384
2f29c200
WJ
3852012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
386
456e62c2
WJ
387 * man.el (Man-overstrike-face, Man-underline-face)
388 (Man-reverse-face): Remove variables.
389 (Man-overstrike, Man-underline, Man-reverse): New faces.
390 (Man-fontify-manpage): Use them instead of the variables.
391 (Man-cleanup-manpage): Comment change.
392 (Man-ansi-color-map): New variable.
393 (Man-fontify-manpage): Use it.
394 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
395
2f29c200
WJ
396 Implement ANSI SGR parameters 22-27 (bug#12146).
397 * ansi-color.el (ansi-colors): Doc fix.
398 (ansi-color-context, ansi-color-context-region): Doc fix.
399 (ansi-color--find-face): New function.
400 (ansi-color-apply, ansi-color-apply-on-region): Use it.
401 Rename the local variable `face' to `codes' since it is now a list of
402 ansi codes. Doc fix.
403 (ansi-color-get-face): Remove.
404 (ansi-color-parse-sequence): New function, derived from
405 ansi-color-get-face.
406 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
407 codes 22-27.
408
b4f5e9df
SM
4092012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * subr.el (read-passwd): Allow use from a minibuffer.
412
ba025fbd
EZ
4132012-08-14 Eli Zaretskii <eliz@gnu.org>
414
415 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
416 inside comments and strings as identifiers.
417
418 * progmodes/gud.el (gud-tooltip-print-command): Quote the
419 expression to evaluate. This allows to evaluate expressions with
420 embedded whitespace.
421 (gud-tooltip-tips): Add a blank before the newline in the
422 message-box text, for the benefit of message-box emulation on
423 MS-Windows.
424
425 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
426 messages from GDB, pop them up in a tooltip to give feedback to
427 user.
b4f5e9df
SM
428 (gdb-tooltip-print-1): Quote the expression to evaluate.
429 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
430 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
431 if the TTY name is nil or empty (which happens when communicating
432 with the inferior via pipes, e.g. on MS-Windows).
433 (gdb-internals): If GDB sends a "&\n" empty debugging message,
434 don't send that to the GUD buffer.
435
c548f821
GM
4362012-08-14 Glenn Morris <rgm@gnu.org>
437
438 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
439 Optimize away setq-default with no args, as for setq. (Bug#12195)
440
55802e4a
CY
4412012-08-14 Chong Yidong <cyd@gnu.org>
442
4abcdac8
CY
443 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
444
55802e4a
CY
445 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
446 (Bug#12085).
447
3c3cda1a
GM
4482012-08-14 Glenn Morris <rgm@gnu.org>
449
450 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
451
e1873bd0
MA
4522012-08-14 Michael Albinus <michael.albinus@gmx.de>
453
454 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
455 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
456 Use cached shell name.
457
925411b4
FEG
4582012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
459
460 * progmodes/python.el (python-shell-send-string):
3c3cda1a 461 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 462
e636fafe
DG
4632012-08-14 Dmitry Gutov <dgutov@yandex.ru>
464
465 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
466 (ruby-percent-literal-beg-re): New constant.
467 (ruby-syntax-general-delimiters-goto-beg): Rename to
468 `ruby-syntax-enclosing-percent-literal', improve literal type check.
469 (ruby-syntax-propertize-general-delimiters): Rename to
470 `ruby-syntax-propertize-percent-literal', it's a shorter and more
471 popular term. Adjust comments everywhere.
472 (ruby-syntax-propertize-percent-literal): Only propertize when not
473 inside a simple string or comment. When the literal is unclosed,
474 leave the text after it unpropertized.
f063063a
DG
475 (ruby-syntax-methods-before-regexp): New constant.
476 (ruby-syntax-propertize-function): Use it to recognize regexps.
477 Don't look at the text after regexp, just use the whitelist.
e636fafe 478
e5b19827
AS
4792012-08-14 Andreas Schwab <schwab@linux-m68k.org>
480
481 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
482 non-nil always load the compiled file if it exists. (Bug#12197)
483
a9f6f311
CY
4842012-08-14 Chong Yidong <cyd@gnu.org>
485
486 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
487 (hi-lock-set-pattern): When deciding whether to use font lock or
488 overlays, look at font-lock-mode instead of font-lock-fontified
489 (Bug#12168).
490 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
491 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
492
7d806b1e
DU
4932012-08-14 Daiki Ueno <ueno@unixuser.org>
494
495 * subr.el (internal--after-with-selected-window): Fix typo
496 (Bug#12193).
497
5beed586
FEG
4982012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
499
500 Use `completion-table-dynamic' for completion functions.
501 * progmodes/python.el
502 (python-shell-completion--do-completion-at-point)
e636fafe
DG
503 (python-shell-completion--get-completions):
504 Remove functions.
5beed586
FEG
505 (python-shell-completion-complete-at-point): New function.
506 (python-completion-complete-at-point): Use it.
507
92cb3b04
J
5082012-08-13 Jambunathan K <kjambunathan@gmail.com>
509
510 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
511 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
512
89660017
SM
5132012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
514
3c98c962
SM
515 * subr.el (function-get): Refine `autoload' arg so it can also
516 autoload functions for gv.el (bug#12191).
517 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
518 autoloads macros.
519
aa7c6dbe
SM
520 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
521 Prefer pcase-let over destructuring-bind.
522 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
523 Also, remove whitespace as we go, rather than after accumulating the
524 various places.
525
89660017
SM
526 * subr.el (internal--before-with-selected-window)
527 (internal--after-with-selected-window): Fix typo seleted->selected.
528 (with-selected-window): Adjust callers.
529 Reported by Dmitry Gutov <dgutov@yandex.ru>.
530
31cd32c9
BG
5312012-08-13 Bastien Guerry <bzg@gnu.org>
532
0fcd3d9f 533 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
534 enhancement. (Bug#12172)
535
1b15d8ad
AS
5362012-08-13 Andreas Schwab <schwab@linux-m68k.org>
537
31e54db0
AS
538 * tar-mode.el (tar-header-data-end): Only ignore size for files of
539 type 1-6.
540 (tar-header-block-summarize, tar-get-descriptor): Handle pax
541 extended headers.
542
1b15d8ad
AS
543 * files.el (hack-local-variables-filter): Remove useless eval.
544
35cb9c06
MR
5452012-08-13 Martin Rudalics <rudalics@gmx.at>
546
547 * subr.el (with-selected-window): Fix last change.
548
1439443b
SM
5492012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * subr.el (internal--before-with-seleted-window)
552 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
553 (with-selected-window): Use them, to replace dependency on
554 tty-top-frame.
1439443b 555
0d9e2599
NN
5562012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
557
558 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
559 binding for `newline'.
560 (ruby-move-to-block): When moving backward, stop at block opening,
561 not indentation.
562 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
563 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
564 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
565 `ruby-toggle-block'.
566
ba10c48c
SM
5672012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * ibuffer.el (ibuffer-do-toggle-read-only):
570 * dired.el (dired-toggle-read-only):
571 * buff-menu.el (Buffer-menu-toggle-read-only):
572 * bindings.el (mode-line-toggle-read-only):
573 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
574
9229c658
AS
5752012-08-12 Andreas Schwab <schwab@linux-m68k.org>
576
577 * descr-text.el (describe-char): Put the overlays over the
578 "displayed as" character.
579
0fd09128
JB
5802012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
581
582 * calc/calc-units.el (math-default-units-table): Give an
583 initial value.
584 (math-put-default-units): Add options to put composite units and
585 unit systems in the default units table.
586 (calc-convert-units): Send composite units to
587 `math-put-default-units' when appropriate.
588
9ff9402d 5892012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 590
fbb5e336
GM
591 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
592
7aacaf15
GM
593 * tutorial.el (help-with-tutorial):
594 * emacs-lisp/copyright.el (copyright-update-directory):
595 * emacs-lisp/autoload.el (autoload-find-generated-file)
596 (autoload-find-file): Disable local eval: (for insurance).
597
f40b9f10
GM
598 * files.el (hack-local-variables-filter): If an eval: form is not
599 known to be safe, and enable-local-variables is :safe, then ignore
600 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 601 This is CVE-2012-3479.
f40b9f10 602
daa9f1a6
SM
6032012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
606 (rx-form): Simplify.
607
9cd80478
DG
6082012-08-09 Dmitry Gutov <dgutov@yandex.ru>
609
0d9e2599
NN
610 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
611 ?, _, and : are symbol constituents, ! is not (but kinda should be).
612 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
613 (ruby-syntax-propertize-function): Adjust for changes in
614 `ruby-syntax-propertize-heredoc'.
615
6162012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
617
9cd80478
DG
618 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
619 binding (use `M-;' instead).
9cd80478 620 (ruby-singleton-class-p): New function.
0d9e2599 621 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 622
d301b413
SM
6232012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
626
1530c98e
CY
6272012-08-10 Chong Yidong <cyd@gnu.org>
628
629 * progmodes/python.el (python-shell-get-process-name): Don't mess
630 with same-window-buffer-names.
631
632 * eshell/eshell.el (eshell-add-to-window-buffer-names)
633 (eshell-remove-from-window-buffer-names): Make obsolete.
634 (eshell-buffer-name, eshell-unload-hook): Don't use them.
635 (eshell): Just use pop-to-buffer-same-window instead.
636
e1293765
CY
6372012-08-10 Chong Yidong <cyd@gnu.org>
638
639 * bindings.el: Bind M-= back to count-words-region.
640
641 * simple.el (count-words-region): Accept a prefix arg for acting
642 on the entire buffer.
643 (count-words--buffer-message): New helper function.
644
e1894109
SM
6452012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
648 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
649 (event-start, event-end): Use posn-at-point to return a more
650 informative posn.
651 (posnp): New function.
652 * mouse.el (popup-menu-normalize-position): Use it.
653
c69f56a2
MY
6542012-08-10 Masatake YAMATO <yamato@redhat.com>
655
656 * mouse.el (popup-menu-normalize-position): New function.
657 (popup-menu): Use `popup-menu-normalize-position' to normalize
658 the form for POSITION argument.
659
660 * term/x-win.el (x-menu-bar-open):
661 Use the value returend from (posn-at-point) as position
662 passed to `popup-menu'.
663
31673780
JB
6642012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
665
666 * calc/calccomp.el (math-compose-expr): Add extra argument
667 indicating that parentheses should be put around products in
668 denominators. Give multiplication precedence over division during
669 composition.
670
dab7711b
CY
6712012-08-09 Chong Yidong <cyd@gnu.org>
672
dee4ef93
CY
673 * man.el (Man-switches, Man-sed-command, Man-awk-command)
674 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
675 (Man-untabify-command, manual-program): Convert to defcustom
676 (Bug#10429).
677
73e2bbc5
CY
678 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
679
3e861c8a
CY
680 * descr-text.el (describe-char): Don't insert extra newlines
681 (Bug#10127).
682
a9f5a649
CY
683 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
684 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
685
dab7711b
CY
686 * align.el (align-region): Delete temporary markers (Bug#10047).
687 Plus some code cleanups.
688
e0cc4efa
FEG
6892012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
690
691 * progmodes/python.el (python-pdbtrack-tracked-buffer)
692 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
693 (python-shell-internal-last-output): Use make-local-variable
694 instead of make-variable-buffer-local.
695
489af14f
FEG
6962012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
697
698 * progmodes/python.el: Enhancements to forward-sexp.
699 (python-nav-forward-sexp): Rename from
700 python-nav-forward-sexp-function.
c69f56a2
MY
701 (python-nav--forward-sexp, python-nav--backward-sexp):
702 New functions.
489af14f 703
0fc50303
JB
7042012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
705
706 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
707 modes and simplification modes.
708
5d65606a
SM
7092012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * delsel.el (delete-selection-pre-hook): Don't propagate the
712 file-supersession signals (bug#12161).
713
4250fdf5
SM
7142012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
717 (cl-map-extents): Add compatibility aliases (bug#12135).
718
d9f9b465
MA
7192012-08-08 Michael Albinus <michael.albinus@gmx.de>
720
721 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
722 tests by `ignore-error'.
723 (tramp-find-shell): Open also a new shell, when cache is already
724 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
725
ce0fcefa
JL
7262012-08-08 Juri Linkov <juri@jurta.org>
727
728 * bookmark.el: Add `defaults' property to the bookmark record.
729 (bookmark-current-buffer): Doc fix.
730 (bookmark-make-record): Add `defaults' property with default values
731 to the bookmark record.
732 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
733 with `bookmark-insert-current-bookmark'.
734 (bookmark-set): Get `defaults' property from the bookmark record
735 and use it in `read-from-minibuffer'.
736 (bookmark-insert-current-bookmark): Remove function.
737
738 * info.el (Info-bookmark-make-record): Add `defaults' property
739 with values of canonical Info node name, the current Info file
740 name and the current Info node name. (Bug#12107)
741
53fa8652
JL
7422012-08-08 Juri Linkov <juri@jurta.org>
743
744 * files.el (basic-save-buffer): Use `buffer-name' as the default
745 of `read-file-name' when buffer is not visiting a file (bug#12128).
746
242c0a95
JL
7472012-08-08 Juri Linkov <juri@jurta.org>
748
749 * info.el (Info-isearch-search): Doc fix.
750 (Info-search): Change search-failed message from "initial node" to
751 "end of node" (bug#12078).
752 (Info-isearch-search): Change `isearch-string-state' to
753 `isearch--state-string'.
754
32ac3a6b
GM
7552012-08-08 Glenn Morris <rgm@gnu.org>
756
757 * language/persian.el: Remove file.
f8c1afd5 758 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
759 * loadup.el: Remove language/persian.
760
2c2d9c9c
OF
7612012-08-08 Óscar Fuentes <ofv@wanadoo.es>
762
763 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
764
2d79ec42
FEG
7652012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
766
767 * progmodes/python.el Fixed defsubst warning.
768 (python-syntax-context) Rename from python-info-ppss-context.
769 (python-syntax-context-type): Rename from
770 python-info-ppss-context-type.
771 (python-syntax-comment-or-string-p): Rename from
772 python-info-ppss-comment-or-string-p.
773
2bd255dd
JB
7742012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
775
776 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
777
c395097f
AS
7782012-08-07 Andreas Schwab <schwab@linux-m68k.org>
779
6125983e
AS
780 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
781 a defcustom that is quoted with backquote.
782
4250fdf5
SM
783 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
784 Fix handling of interactive spec when the body uses return.
651eaf36
AS
785 (math-do-arg-check, math-define-function-body): Use backquote forms.
786 * calc/calc-ext.el (math-defcache): Likewise.
787 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
788 * allout.el (allout-new-exposure): Likewise.
789 * calc/calcalg2.el (math-tracing-integral): Likewise.
790 * info.el (Info-last-menu-item): Likewise.
791 * emulation/vip.el (vip-loop): Likewise.
792 * textmodes/artist.el (artist-funcall): Likewise.
793 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
794 Construct menu-item directly.
795
4250fdf5
SM
796 * progmodes/autoconf.el (font-lock-syntactic-keywords):
797 Don't declare.
c395097f 798
5fb50dd3
CY
7992012-08-07 Chong Yidong <cyd@gnu.org>
800
801 * simple.el (deactivate-mark): Preserve text properties when
802 saving the primary selection (Bug#8384).
803
54eea618
KR
8042012-08-07 Kevin Ryde <user42@zip.com.au>
805
806 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
807 (woman-parse-numeric-value): On a bad .IP line, issue a warning
808 and continue processing (Bug#12110).
809
638eaeb9
SM
8102012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
813 syntax-propertize-function (bug#10095).
814
ea376861
SM
8152012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
816
f91b35be
SM
817 * help-fns.el (help-fns--key-bindings, help-fns--signature)
818 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
819 describe-function-1.
820 (describe-function-1): Use them. Move compiler macro after sig.
821 (help-fns--compiler-macro): Use function-get. Assume we're already in
822 standard-output. Adjust layout to new call order.
823
ea376861
SM
824 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
825 re-binding a symbol that has a symbol-macro (bug#12119).
826
d5be7bd0
MB
8272012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
828
829 * language/persian.el: New file. (Bug#11812)
830 * loadup.el: Add language/persian.el.
831
90749b53
CY
8322012-08-06 Chong Yidong <cyd@gnu.org>
833
834 * window.el (window--maybe-raise-frame): New function.
835 (window--display-buffer): Split off from here.
836 (display-buffer-reuse-window, display-buffer-pop-up-frame)
837 (display-buffer-pop-up-window, display-buffer-use-some-window):
838 Obey an inhibit-switch-frame action alist entry.
839 (display-buffer): Update doc.
840
841 * replace.el (occur-after-change-function): Avoid losing focus by
842 using the inhibit-switch-frame display parameter (Bug#12139).
843
ba7b0154
FEG
8442012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
845
846 Make internal shell process buffer names start with space.
847 * progmodes/python.el (python-shell-make-comint): Add optional
848 argument INTERNAL.
849 (run-python-internal): Use it.
850 (python-shell-internal-get-or-create-process): Check for new
851 internal buffer names.
852
5eaeacb5
GM
8532012-08-06 Glenn Morris <rgm@gnu.org>
854
e296d94b 855 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
856 Do less getting and setting of environment variables.
857
b7ccbdc2
CY
8582012-08-05 Chong Yidong <cyd@gnu.org>
859
777fe95e
CY
860 * proced.el (proced): Add substitution string to docstring to
861 trigger autoloading of the proced library on C-h f (Bug#1768).
862
4250fdf5
SM
863 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
864 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
865
866 * imenu.el (imenu-generic-expression): Move documentation here
867 from imenu--generic-function.
868 (imenu--generic-function): Refer to imenu-generic-expression.
869
9e3b7800 8702012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
871
872 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
873 indentation declaration.
874 (viper-loop): Add indentation declaration (Bug#7025).
875
e5d9c0d1
CY
8762012-08-05 Chong Yidong <cyd@gnu.org>
877
f0422feb
CY
878 * help-fns.el (describe-variable): Add hyperlink for
879 directory-local variables files. Improve buffer-local and
880 permanent-local reporting; suggested by MON KEY (Bug#6644).
881
882 * help-mode.el (help-dir-local-var-def): New button type.
883
e5d9c0d1
CY
884 * files.el (kill-buffer-hook): Provide a defvar.
885
a4f2deaa
GM
8862012-08-05 Glenn Morris <rgm@gnu.org>
887
888 * eshell/esh-ext.el (eshell/addpath):
889 Also update eshell-path-env. (Bug#12013)
890
a9dd5754
CY
8912012-08-05 Chong Yidong <cyd@gnu.org>
892
a4f2deaa 893 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 894
d014c740
CY
895 * fringe.el (fringe-styles): Add docstring.
896 (fringe--check-mode): New function.
897 (set-fringe-mode, set-fringe-style): Use it.
898 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
899
a9dd5754
CY
900 * files.el (set-auto-mode): Fix invalid setq call.
901
7c2dc8bd
SM
9022012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * isearch.el: Misc simplification; use defstruct.
905 (isearch-mode-map): Dense maps now work like sparse ones.
906 (isearch--state): New defstruct.
907 (isearch-string-state, isearch-message-state, isearch-point-state)
908 (isearch-success-state, isearch-forward-state)
909 (isearch-other-end-state, isearch-word-state, isearch-error-state)
910 (isearch-wrapped-state, isearch-barrier-state)
911 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
912 replaced by defstruct's accessors.
913 (isearch--set-state): Rename from isearch-top-state and change
914 calling convention.
915 (isearch-push-state): Use new isearch--get-state.
916 (isearch-toggle-word): Disable regexp when enabling word.
917 (isearch-message-prefix): Remove unused arg _c-q-hack.
918 (isearch-message-suffix): Remove unused arg _ellipsis.
919
7fcc0070
AS
9202012-08-04 Andreas Schwab <schwab@linux-m68k.org>
921
922 * simple.el (list-processes--refresh): For a server use :host or
923 :local as the address.
97ad0769 924 (list-processes): Doc fix.
7fcc0070 925
00340faf
MN
9262012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
927
928 * lisp/mpc.el: Support password in host argument.
929 (mpc--proc-connect): Parse and use new password element.
930 Set mpc-proc variable instead of returning process.
931 (mpc-proc): Adjust accordingly.
932
6dad7178
EZ
9332012-08-03 Eli Zaretskii <eliz@gnu.org>
934
18949c2f
EZ
935 * whitespace.el (whitespace-display-mappings): Use Unicode
936 codepoints, instead of emacs-mule codepoints. See
937 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
938 for the details.
939
6dad7178
EZ
940 * files.el (file-truename): Don't skip symlink-chasing part on
941 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
942 Windows into the loop that recursively chases symlinks.
943 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
944 MS-DOS.
945
385b0198
CY
9462012-08-03 Chong Yidong <cyd@gnu.org>
947
6200f3c4
CY
948 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
949
385b0198
CY
950 * sort.el (sort-regexp-fields): Doc fix.
951
b9e74744
TH
9522012-08-03 Tassilo Horn <tsdh@gnu.org>
953
954 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
955 labels regex position point at the expected place.
956
41013cb4
MK
9572012-08-03 MON KEY <monkey@sandpframing.com>
958
959 * net/imap.el (imap-interactive-login, imap-authenticate)
960 (imap-mailbox-lsub, imap-mailbox-list)
961 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
962 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
963 (imap-parse-response): Doc fix.
964
0ffee616
JT
9652012-08-03 João Távora <joaotavora@gmail.com>
966
967 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
968 if sexp scanning does not move point (Bug#5734).
969
cfcc9cc8
TH
9702012-08-02 Tassilo Horn <tsdh@gnu.org>
971
972 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
973 Add listings, minted, and ctable packages.
974 (reftex-label-alist-builtin): Move listings, minted, and ctable
975 entries before LaTeX.
a01bbb84 976 (reftex-label-alist): Docfix.
cfcc9cc8 977
66ec2442
BG
9782012-08-02 Bastien Guerry <bzg@gnu.org>
979
980 * replace.el (occur): Fix docstring (bug#12122).
981
837b365b
GM
9822012-08-02 Glenn Morris <rgm@gnu.org>
983
984 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
985
e098de97
PE
9862012-08-02 Paul Eggert <eggert@cs.ucla.edu>
987
988 Obsolete alias inactivate-current-input-method-function (Bug#10150).
989 * international/mule-cmds.el: Create
990 inactivate-current-input-method-function as an obsolete alias for
991 deactivate-current-input-method-function. See Katsumi Yamaoka in
992 <http://bugs.gnu.org/10150#46>.
993
a0f95636
JB
9942012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
995
996 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
997 of nested `if's.
998
0d26d7c4
GM
9992012-08-01 Glenn Morris <rgm@gnu.org>
1000
1001 * progmodes/autoconf.el (autoconf-definition-regexp):
1002 Add AH_TEMPLATE, adjust submatch numbering.
1003 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1004 (autoconf-current-defun-function): Update for above change.
1005 (autoconf-current-defun-function): First skip to end of current word.
1006
b686ba06
RS
10072012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1008
1009 * calendar/cal-html.el (cal-html-insert-agenda-days):
1010 Fix typo. (Bug#12018)
1011
0d49da68
FEG
10122012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1013
1014 Shell processes: enhancements to startup and CEDET compatibility.
1015 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1016 (python-shell-make-comint): accept-process-output at startup.
1017 (run-python-internal): Set inferior-python-mode-hook to nil.
1018 (python-shell-internal-get-or-create-process): call sit-for.
1019 (python-preoutput-result): Add obsolete alias.
1020 (python-shell-internal-send-string): Use it.
1021 (python-shell-send-setup-code): Remove call to
1022 accept-process-output.
1023
f1a71c6e
AS
10242012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1025
1026 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1027 (Bug#12108)
1028
d2605269
JB
10292012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1030
1031 * calc-mode.el (calc-basic-simplification-mode): Rename from
1032 `calc-limited-simplification-mode'.
1033 (calc-alg-simplification-mode): New function.
d66060f8 1034 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1035
d2605269
JB
1036 * calc.el (calc-set-mode-line): Adjust mode line display for
1037 basic simplification mode.
1038
1039 * calc-help.el (calc-m-prefix-help): Update help message.
1040
1041 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1042 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1043
a3827a43
BG
10442012-07-31 Bastien Guerry <bzg@gnu.org>
1045
1046 * man.el (man): Fix comment. (bug#12101)
1047
502e3f89
MR
10482012-07-31 Martin Rudalics <rudalics@gmx.at>
1049
1050 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1051 Don't return a non-nil value when no suitable buffer was found.
1052
d7714961
FEG
10532012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1054
1055 * progmodes/python.el (run-python-internal): Disable font lock for
1056 internal shells.
1057
1f45e27e
SM
10582012-07-30 Stefan Merten <smerten@oekonux.de>
1059
1060 * rst.el: Silence `checkdoc-ispell'.
1061 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1062 (rst-official-version, rst-official-cvs-rev)
1063 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1064 (rst-mode-map): New key binding.
1065
0aee6912
PE
10662012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1067
1068 Update .PHONY listings in makefiles.
1069 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1070 autoloads, update-subdirs, updates, bzr-update, update-authors,
1071 compile-onefile, compile-calc, backup-compiled-files,
1072 compile-after-backup, compile-one-process, mh-autoloads,
1073 bootstrap-clean, distclean, maintainer-clean.
1074
9052f9f0
JB
10752012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1076
1823ac5a
JB
1077 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1078 (calc-set-mode-line): Don't display "AlgSimp ".
1079
1080 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1081 (calc-lim-simplify-mode): New function.
1082 (calc-set-simplify-mode): Default to 'alg.
1083 (calc-default-simplify-mode): Make algebraic simplifications
1084 the default.
1085
1086 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1087 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1088
8d7c7eed 1089 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1090 indicate new simplification modes.
1091
1823ac5a
JB
1092 * calc/README: Mention new default simplification mode.
1093
9052f9f0
JB
1094 * calc/calc.el (math-normalize-error): New variable.
1095 (math-normalize): Set `math-normalize-error' to t
1096 when there's an error.
1097
1098 * calc/calc-alg.el (math-simplify): Don't simplify when
1099 `math-normalize' returns an error.
1100
20ba0cb4
EZ
11012012-07-29 Eli Zaretskii <eliz@gnu.org>
1102
1103 * international/mule-cmds.el (set-locale-environment): Revert last
1104 change, since display-graphic-p returns nil when this function is
1105 called during startup. Instead...
1106
1107 * term/w32console.el (terminal-init-w32console): ...setup the
1108 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1109
a5dcc929
JL
11102012-07-29 Juri Linkov <juri@jurta.org>
1111
1112 * simple.el (goto-line): Don't display default line number in the
1113 prompt because it should be displayed by `read-number' (bug#9952).
1114 Add the current line number to the defaults of `goto-line' to
1115 allow its easier modification by users with `M-n' (bug#9201).
1116
1117 * subr.el (read-number): Support multiple default values like in
1118 other minibuffer reading functions. Replace `read' with
1119 `string-to-number' for consistency with `number-to-string'.
1120
72b255c7
PE
11212012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1122
1123 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1124 * emulation/viper-init.el (viper-deactivate-input-method-action):
1125 Rename from viper-inactivate-input-method-action.
1126 (viper-deactivate-input-method):
1127 Rename from viper-inactivate-input-method.
1128 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1129 * international/mule-cmds.el (deactivate-input-method):
1130 Rename from inactivate-input-method.
1131 Also run input-method-deactivate-hook.
1132 (deactivate-current-input-method-function):
1133 Rename from inactivate-current-input-method-function.
1134 (input-method-deactivate-hook): New hook.
1135 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1136 (inactivate-input-method): Mark obsolete.
1137
72b255c7
PE
1138 * international/quail.el (quail-activate):
1139 Also run quail-deactivate-hook.
1140 (quail-deactivate): Rename from quail-inactivate.
1141 * international/robin.el (robin-activate):
1142 Also run robin-deactivate-hook.
1143 (robin-deactivate): Rename from robin-inactivate.
1144
2549c068
CY
11452012-07-29 Chong Yidong <cyd@gnu.org>
1146
1147 * simple.el (indicate-copied-region): New function.
1148 (kill-ring-save): Split off from here.
1149
1150 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1151 (kill-rectangle): Set deactivate-mark to t on read-only error.
1152
1153 * register.el (copy-to-register, copy-rectangle-to-register):
1154 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1155 (append-to-register, prepend-to-register):
1156 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1157
1158 * simple.el (async-shell-command-buffer): New defcustom.
1159 (shell-command): Use it. (Bug#4719)
1160
01bd1b0d
EZ
11612012-07-28 Eli Zaretskii <eliz@gnu.org>
1162
1163 * international/mule-cmds.el (set-locale-environment): In a
1164 console session on MS-Windows, set up keyboard and terminal
1165 encoding from the OEM codepage, not the ANSI codepage.
1166 (Bug#12055)
1167
a55739d3
CY
11682012-07-28 Chong Yidong <cyd@gnu.org>
1169
1170 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1171 gdb-get-location.
1172
0e1a094f 11732012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1174
1175 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1176 the alist (bug#12029).
1177
20329d73
EZ
11782012-07-28 Eli Zaretskii <eliz@gnu.org>
1179
1180 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1181 (compile-always, compile-first)
1182 ($(lisp)/calendar/cal-loaddefs.el)
1183 ($(lisp)/calendar/diary-loaddefs.el)
1184 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1185 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1186 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1187 instead of on update-subdirs.
1188 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1189
345a2258
CY
11902012-07-28 Chong Yidong <cyd@gnu.org>
1191
1eee6341
CY
1192 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1193 directory if vc-deduce-backend returns nil (Bug#7350).
1194
345a2258
CY
1195 * simple.el (delete-trailing-lines): New option.
1196 (delete-trailing-whitespace): Obey it (Bug#11879).
1197
049a0936
DE
11982012-07-28 David Engster <deng@randomsample.de>
1199
1200 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1201 Explanation of new 'symbol-qnames feature in doc-strings.
1202 (xml-maybe-do-ns): Return expanded names as plain symbols if
1203 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1204 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1205
aa81af71
FEG
12062012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1207
1208 Consistent completion in inferior python with emacs -nw.
1209 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1210 binding in inferior-python-mode-map with "\t".
1211 (python-shell-completion-complete-at-point)
1212 (python-completion-complete-at-point): Remove interactive spec.
1213
e827b1eb
JB
12142012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1215
1216 * calc/calccomp.el (math-compose-expr): Undo previous change.
1217
a90dfb95
FEG
12182012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1219
4250fdf5 1220 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1221 run-python.
1222 (python-shell-make-comint): Fix pop-to-buffer call.
1223 (run-python): Autoload. New arg SHOW.
1224 (python-shell-get-or-create-process): Do not pop python process
1225 buffer.
1226
32770973 12272012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1228
1229 * notifications.el (notifications-on-action-signal)
1230 (notifications-on-closed-signal): Use also the bus address for the map.
1231 (notifications-notify, notifications-close-notification)
1232 (notifications-get-capabilities): Add optional argument BUS.
1233
86332df2
TH
12342012-07-27 Tassilo Horn <tsdh@gnu.org>
1235
4250fdf5
SM
1236 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1237 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1238 ctable macro.
1239 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1240 labels written in keyvals syntax.
1241
ca1302a4
JB
12422012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1243
1244 * calc/calccomp.el (math-compose-expr): Use parentheses when
1245 there is a product in the denominator of a fraction.
1246
f8b91036
EZ
12472012-07-26 Eli Zaretskii <eliz@gnu.org>
1248
1249 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1250 ($(lisp)/calendar/diary-loaddefs.el)
1251 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1252 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1253 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1254 rewritten while the autoload files are built at the same time,
1255 which needs to load subdirs.el.
1256
c8e5a42c
MR
12572012-07-26 Martin Rudalics <rudalics@gmx.at>
1258
1259 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1260 (mouse-drag-line): Don't exit tracking when a switch-frame or
1261 switch-window event occurs (Bug#12006).
1262
670d85ea
SM
12632012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * mouse.el (popup-menu): Fix last change.
1266
7abaf5cc
SM
12672012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 Autoload from Lisp with more care. Follow aliases when looking for
1270 function properties.
1271 * subr.el (autoloadp): New function.
1272 (symbol-file): Use it.
1273 (function-get): New function.
1274 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1275 autoload-do-load.
1276 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1277 (lisp-indent-function):
1278 * emacs-lisp/gv.el (gv-get):
1279 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1280 * emacs-lisp/byte-opt.el (byte-optimize-form):
1281 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1282 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1283 Use function-get.
1284 * emacs-lisp/cl.el: Don't propagate function properties any more.
1285
1286 * speedbar.el (speedbar-add-localized-speedbar-support):
1287 * emacs-lisp/disass.el (disassemble-internal):
1288 * desktop.el (desktop-load-file):
1289 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1290 (describe-function-1):
1291 * emacs-lisp/find-func.el (find-function-noselect):
1292 * emacs-lisp/elp.el (elp-instrument-function):
1293 * emacs-lisp/advice.el (ad-has-proper-definition):
1294 * apropos.el (apropos-safe-documentation, apropos-macrop):
1295 * emacs-lisp/debug.el (debug-on-entry):
1296 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1297 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1298 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1299
b1364986
AA
13002012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1301
1302 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1303 function, not an obsolete variable (Bug#12046).
1304
67ada220
AS
13052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1306
1307 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1308
f08088e3
CS
13092012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1310
1311 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1312 window only if it is still live (Bug#12034).
1313
8137e7b3
MR
13142012-07-25 Martin Rudalics <rudalics@gmx.at>
1315
1316 * subr.el (redirect-frame-focus): Add advertised calling
1317 convention (Bug#12030).
1318
09ae5da1
PE
13192012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1320
1321 Prefer typical American spelling for "acknowledgment".
1322 * vc/add-log.el (change-log-acknowledgment): Rename from
1323 change-log-acknowledgement, with an alias for the old name.
1324
3cc5a3a8
JB
13252012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1326
1327 * calc-alg.el (math-simplify-divide): Don't cross multiply
1328 in an equation when the lhs is a variable.
1329
b7af7f62
JD
13302012-07-24 Julien Danjou <julien@danjou.info>
1331
1332 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1333 Remove, unused.
1334
ec1b09b1
EZ
13352012-07-23 Eli Zaretskii <eliz@gnu.org>
1336
1337 * startup.el (command-line): Don't display an empty user name in
1338 the error message about non-existent home directory, when
1339 init-file-user was set to an empty string. See
1340 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1341 for the details and context.
1342
b525fd8a
VB
13432012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1344
1345 * ses.el (ses-cell-formula-aset): New macro.
1346 (ses-cell-references-aset): New macro.
1347 (ses-cell-p): New function.
1348 (ses-rename-cell): Do no longer rely on complex operations like
1349 ses-cell-set-formula or ses-set-cell to change the cell and handle
1350 the undo at the same time, but rather use lower level new macros
1351 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1352 the undo directly. Refresh the mode line.
1353
2c73e345
LL
13542012-07-21 Leo Liu <sdl.web@gmail.com>
1355
670d85ea
SM
1356 * progmodes/cc-cmds.el (c-defun-name):
1357 Use match-string-no-properties instead for consistency.
2c73e345 1358
542dfbde
LL
13592012-07-20 Leo Liu <sdl.web@gmail.com>
1360
3646bcd6
LL
1361 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1362 (Bug#7879)
1363
542dfbde
LL
1364 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1365
25721031
CY
13662012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1367
1368 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1369 * progmodes/bug-reference.el, misearch.el: Provide themselves
1370 (bug#11915).
1371
1372 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1373 of narrowed buffer (bug#11966).
1374
316e68a7
VB
13752012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1376
1377 * ses.el (ses-rename-cell): Set new name also in reference list of
1378 cells of which the renamed cell depends.
1379
bbf0e7d9
MY
13802012-07-20 Masatake YAMATO <yamato@redhat.com>
1381
1382 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1383 to check whether menu-bar is shown or not. If not shown,
1384 show the menu-bar as a popup menu instead of using tmm.
1385 * mouse.el (popup-menu): Accept `point' as `position' argument.
1386
c28662a8
DG
13872012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1388
1389 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1390 up inside string symbol literal (bug#11923).
1391
87ab808f
EZ
13922012-07-20 Eli Zaretskii <eliz@gnu.org>
1393
1394 * startup.el (fancy-startup-text): Read the whole tutorial, not
1395 just its first 256 bytes. Prevents gibberish in display of the
1396 tutorial title.
1397
89dea803
DA
13982012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1399
1400 Drop idle buffer compaction due to an absence of the
1401 proved efficiency.
1402 * compact.el: Remove.
1403
8a4e6db8
SS
14042012-07-19 Sam Steingold <sds@gnu.org>
1405
1406 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1407 vc-bzr-pull & vc-bzr-merge-branch.
1408 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1409 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1410 for consistency with compilation-error-regexp-alist.
1411 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1412 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1413 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1414 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1415
5db81e33
SM
14162012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * emacs-lisp/chart.el: Use lexical-binding.
1419 (chart-emacs-storage): Don't hardcode the list of entries.
1420
5b835e1d
DA
14212012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1422
1423 Next round of tweaks caused by Fgarbage_collect changes.
1424 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1425
9cd47b72
DA
14262012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1427
1428 Compact buffers when idle.
1429 * compact.el: New file.
1430
1d6fc0df
SM
14312012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * subr.el (eventp): Presume that if it looks vaguely like an event,
1434 it's an event (bug#10190).
1435
1d29cc7d
FEG
14362012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1437
1438 Enhancements to ppss related code (thanks Stefan).
1439 * progmodes/python.el (python-indent-context)
1440 (python-indent-calculate-indentation, python-indent-dedent-line)
1441 (python-indent-electric-colon, python-nav-forward-block)
1442 (python-mode-abbrev-table)
1d6fc0df 1443 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1444 for ppss context.
1445 (python-info-continuation-line-p): Cleanup.
1446 (python-info-ppss-context): Do not catch 'quote.
1447 (python-info-ppss-context-type)
1448 (python-info-ppss-comment-or-string-p): Simplify.
1449
d583cbe6
FEG
14502012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1451
1452 * progmodes/python.el: Enhancements to eldoc support.
1453 (python-info-current-symbol): New function.
1454 (python-eldoc-at-point): Use python-info-current-symbol.
1455 (python-info-current-defun): Fix cornercase on first defun scan.
1456 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1457 and signal error when no inferior python process is available.
1458
eceb6feb
DG
14592012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1460
1461 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1462 assume it's always t.
1463 (vc-git-registered): Remove caching, the function is only called
1464 once.
1465 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1466
4c8ff0fe
CY
14672012-07-18 Chong Yidong <cyd@gnu.org>
1468
19fb7186
CY
1469 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1470
9587c688
CY
1471 * simple.el (count-words): Report on narrowing (Bug#9959).
1472
0fe776a1
CY
1473 * bindings.el: Bind M-= to count-words.
1474
4c8ff0fe
CY
1475 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1476
7f5331cc
MY
14772012-07-18 Masatake YAMATO <yamato@redhat.com>
1478
1479 * progmodes/sh-script.el (sh-imenu-generic-expression):
1480 Capture a function with `function' keyword and without parentheses
1481 like "function FOO" (bug#11856).
1482
2dc2a609
TH
14832012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1484
1485 * window.el (split-window-sensibly): Make WINDOW argument
1486 optional.
1487
439f7677
CY
14882012-07-18 Chong Yidong <cyd@gnu.org>
1489
9aeb25a6
CY
1490 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1491
439f7677
CY
1492 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1493 and make C-x 8 RET exit isearch (Bug#11439).
1494
1495 * international/iso-transl.el: Move isearch-mode-map key
1496 definitions to isearch.el.
1497
12999ea8
SM
14982012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1501 (eieio-defclass): Use gv-define-setter when possible.
1502
3ab6e069
DA
15032012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1504
1505 Reflect recent changes in Fgarbage_collect.
1506 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1507 reflect new format of data returned by Fgarbage_collect.
1508
0a60bc10
FEG
15092012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1510
1511 New utility functions + python-info-ppss-context fix (Bug#11910).
1512 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1513 (python-info-ppss-comment-or-string-p): New functions.
1514 (python-info-ppss-context): Small fix for string check.
1515
6dafa0d5
JL
15162012-07-17 Juri Linkov <juri@jurta.org>
1517
1518 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1519 (dired-do-async-shell-command): Don't add `*' at the end of the
1520 command (Bug#11815).
1521 (dired-do-shell-command): Doc fix.
1522 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1523 Join the individual commands using either "&" or ";" as the
1524 separator depending on the values of these trailing characters.
1525 At the end re-add the trailing "&". (Bug#10598)
1526
1527 * simple.el (async-shell-command): Sync the interactive spec with
1528 `shell-command'. Doc fix.
1529 (shell-command): Doc fix.
1530
b19dd9d1
JL
15312012-07-17 Juri Linkov <juri@jurta.org>
1532
1533 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1534
bcdc27d7 15352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1536
bcdc27d7 1537 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1538 * progmodes/python.el (python-nav-beginning-of-statement):
1539 Rename from python-nav-statement-start.
bcdc27d7
FEG
1540 (python-nav-end-of-statement): Rename from
1541 python-nav-statement-end.
1542 (python-nav-beginning-of-block): Rename from
1543 python-nav-block-start.
1544 (python-nav-end-of-block): Rename from python-nav-block-end.
1545
191da00e
FEG
15462012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1547
7f5331cc
MY
1548 * progmodes/python.el (python-shell-send-string-no-output):
1549 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1550 future interactions (Bug#11868).
1551
4dc7c8d5 15522012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1553
88ecaf8f
SM
1554 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1555
ef501ef0
SM
1556 * emacs-lisp/elint.el (elint-find-args-in-code):
1557 Use help-function-arglist, so as to handle lexical byte-code.
1558
aa7aaf8f
SM
1559 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1560 change (bug#11826).
1561
45fd731c
SM
15622012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1563
2143fa32
SM
1564 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1565 Avoid spuriously marking the buffer as modified because of c-is-sws.
1566
efc26dbe
SM
1567 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1568 as not-a-comment (bug#11946).
1569
f5695c9a
SM
1570 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1571 for uninterned vars.
1572
1573 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1574 Use read-event since we don't really want to read chars but bytes.
1575
45fd731c
SM
1576 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1577 $$..$$ but also $..$ using regexps (bug#11953).
1578 Use tex-verbatim for \url and \path.
1579 (tex-font-lock-keywords): Define as defconst like the others.
1580 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1581
ddfc8813
RK
15822012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1583
1584 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1585 alias for insert-char.
1586
758e556a
FEG
15872012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1588
1589 * progmodes/python.el: Simplified imenu implementation.
1590 (python-nav-jump-to-defun): Remove command.
1591 (python-mode-map): Use `imenu' instead.
1592 (python-nav-list-defun-positions-cache)
1593 (python-imenu-include-defun-type, python-imenu-make-tree)
1594 (python-imenu-subtree-root-label, python-imenu-index-alist):
1595 Remove vars.
1596 (python-nav-list-defun-positions, python-nav-read-defun)
1597 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1598 (python-imenu-make-tree, python-imenu-create-index):
1599 Remove functions.
758e556a
FEG
1600 (python-mode): Update to interact with imenu by setting
1601 `imenu-extract-index-name-function' only.
1602
032d23ab
FEG
16032012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1604
1605 * progmodes/python.el: Enhancements to navigation commands.
1606 (python-nav-backward-sentence)
1607 (python-nav-forward-sentence): Remove.
1608 (python-nav-backward-statement, python-nav-forward-statement)
1609 (python-nav-statement-start, python-nav-statement-end)
1610 (python-nav-backward-block, python-nav-forward-block)
1611 (python-nav-block-start, python-nav-block-end)
1612 (python-nav-forward-sexp-function)
1613 (python-info-current-line-comment-p)
1614 (python-info-current-line-empty-p): New functions.
1615 (python-indent-context): Use `python-nav-statement-start'.
1616
01795a1b
MA
16172012-07-16 Michael Albinus <michael.albinus@gmx.de>
1618
9328d9aa
MA
1619 * eshell/em-ls.el (eshell/ls): Use `apply'.
1620
1621 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1622 multi-hops, instead of Tramp internals.
1623
01795a1b
MA
1624 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1625
1626 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1627 when F1 and F2 are located on different hosts.
1628
63408057
CY
16292012-07-14 Chong Yidong <cyd@gnu.org>
1630
1631 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1632 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1633 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1634 (xterm-mouse--read-event-sequence-1000)
1635 (xterm-mouse--read-event-sequence-1006): New functions. For old
1636 mouse protocol, handle M-mouse-X events correctly.
1637 (xterm-mouse-event): New arg specifying mouse protocol.
1638 (turn-on-xterm-mouse-tracking-on-terminal)
1639 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1640 sequence to toggle extended coordinates on newer XTerms.
1641 This appears to be harmless on terminals which do not support this.
63408057 1642
cd276f6e
LL
16432012-07-14 Leo Liu <sdl.web@gmail.com>
1644
28ca98ac
LL
1645 Add fringe bitmap indicators for flymake. (Bug#11253)
1646 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1647 (flymake-make-overlay): New arg BITMAP.
1648 (flymake-error-bitmap, flymake-warning-bitmap)
1649 (flymake-fringe-indicator-position): New user variables.
1650
cd276f6e
LL
1651 * fringe.el: New bitmap exclamation-mark.
1652
04408072
JD
16532012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1654
1655 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1656 also (Bug#7879).
1657
b5cf7fc4
CY
16582012-07-14 Chong Yidong <cyd@gnu.org>
1659
1660 * electric.el (electric-pair-post-self-insert-function): Fix pair
1661 insertion in empty-region case (Bug#11520).
1662
be755c79
RT
16632012-07-14 Chong Yidong <cyd@gnu.org>
1664
45fd731c
SM
1665 * bindings.el: Consolidate ctl-x-r-map bindings.
1666 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1667
1668 * rect.el, register.el: Move bindings to bindings.el.
1669
16702012-07-14 Reuben Thomas <rrt@sc3d.org>
1671
1672 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1673
7f5b3198
AS
16742012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1675
1676 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1677
97662200
JB
16782012-07-13 Juanma Barranquero <lekktu@gmail.com>
1679
80185fed
JB
1680 * bindings.el (top): Use `mapc' instead of `mapcar'.
1681
97662200
JB
1682 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1683
2bb1ae55
MA
16842012-07-13 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * progmodes/sql.el (sql-comint): Suppress the check for program on
1687 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1688 (Bug#11908)
1689
dea31bd3
CY
16902012-07-13 Chong Yidong <cyd@gnu.org>
1691
1692 * bindings.el: Assign a non-nil permanent-local property to
1693 per-buffer variables which lack a default value (Bug#11930).
1694
1695 * help-fns.el (describe-variable): In the "automatically becomes
1696 local" notice, take note of permanent-local variables.
1697
b68b3337
CY
16982012-07-13 Chong Yidong <cyd@gnu.org>
1699
1700 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1701 to allow printing the message when called from Lisp.
1702
1703 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1704 Remove toggle-read-only.
1705
1706 * bs.el (bs-toggle-readonly):
45fd731c
SM
1707 * buff-menu.el (Buffer-menu-toggle-read-only):
1708 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1709
1710 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1711 Remove with-no-warnings around toggle-read-only.
1712 (ffap-read-only, ffap-read-only-other-window)
1713 (ffap-read-only-other-frame): Callers changed.
1714
1715 * help-mode.el: Don't require view package.
1716 (help-mode-finish): Set buffer-read-only instead of calling
1717 toggle-read-only.
1718
1719 * bindings.el (mode-line-toggle-read-only):
1720 * dired.el (dired-toggle-read-only):
1721 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1722 with non-nil second arg.
1723
1724 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1725 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1726 directly.
1727
56bc1586
EZ
17282012-07-12 Eli Zaretskii <eliz@gnu.org>
1729
1730 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1731 not incf.
1732
a464a6c7
SM
17332012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 More CL cleanups and reduction of use of cl.el.
1736 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1737 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1738 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1739 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1740 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1741 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1742 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1743 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1744 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1745 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1746 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1747 * eshell/em-cmpl.el, eshell/em-banner.el:
1748 * calendar/parse-time.el: Use cl-lib.
1749 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1750 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1751 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1752 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1753 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1754 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1755 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1756 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1757 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1758 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1759 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1760 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1761 `lambda' rather than with `quote'.
1762 (eshell-do-opt): Adjust accordingly.
1763 (eshell-process-option): Simplify.
1764 * eshell/esh-var.el:
1765 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1766 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1767 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1768 to `pcase--dontcare'.
1769 * emacs-lisp/cl.el (labels): Mark obsolete.
1770 (cl--letf, letf): Move to cl-lib.
1771 (cl--letf*, letf*): Remove.
1772 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1773 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1774 (cl-progv): Rewrite.
1775 (cl--letf, cl-letf): Move from cl.el.
1776 (cl-letf*): New macro.
1777 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1778
7ad4afe1
MA
17792012-07-11 Michael Albinus <michael.albinus@gmx.de>
1780
1781 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1782
9af57756
CY
17832012-07-11 Chong Yidong <cyd@gnu.org>
1784
1785 * vc/log-edit.el (log-edit-vc-backend): New variable.
1786 (log-edit): Doc fix.
1787
1788 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1789 argument of log-edit to set up all local variables.
1790 (vc-start-logentry): New optional arg specifying VC backend.
1791
1792 * vc/vc.el (vc-checkin): Use it.
1793 (vc-deduce-fileset): Handle Log Edit buffers.
1794 (vc-diff): Make first argument optional too.
1795
1796 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1797
8477cc7a
MA
17982012-07-10 Michael Albinus <michael.albinus@gmx.de>
1799
1800 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1801 command, just in case. The function is not needed anymore.
1802 (eshell-external-command): Do not call `eshell-remote-command'.
1803
19faa8e8
SM
18042012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1805
f58e0fd5
SM
1806 Reduce use of (require 'cl).
1807 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1808 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1809 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1810 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1811 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1812 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1813 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1814 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1815 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1816 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1817 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1818 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1819 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1820 (byte-compile-unfold-bcf, byte-compile-check-variable):
1821 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1822 (byte-compile-nilconstp):
1823 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1824 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1825
2519d43a
SM
1826 * emacs-lisp/gv.el (cond): Make it a valid place.
1827 (if): Simplify slightly.
1828
19faa8e8
SM
1829 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1830 (pcase--self-quoting-p): New function.
1831 (pcase--u1): Use it.
1832
c4907a5e
GM
18332012-07-10 Glenn Morris <rgm@gnu.org>
1834
1835 * emacs-lisp/authors.el (authors-fixed-entries):
1836 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1837
c4444d16
PE
18382012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1839
1840 Rename configure.in to configure.ac (Bug#11603).
1841 * emacs-lisp/authors.el (authors-canonical-file-name):
1842 * progmodes/autoconf.el (autoconf-mode):
1843 Prefer configure.ac to configure.in.
1844
d75be97d
CY
18452012-07-08 Chong Yidong <cyd@gnu.org>
1846
01ac65bd
CY
1847 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1848 Implement the mouse-1-click-follows-link handling properly.
1849
1850 * info.el (Info-link-keymap): Use follow-link mechanism for
1851 header-line links (Bug#374).
1852
d75be97d
CY
1853 * simple.el (deactivate-mark): Do not set the primary selection
1854 if another program has acquired it (Bug#11772).
1855
87a92845 18562012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1857
1858 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1859 (woman-decode-region): Replace escaped-escapes without destroying
1860 bold or underline (Bug#11552).
87a92845 1861 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1862
621b9d6c
CY
18632012-07-07 Chong Yidong <cyd@gnu.org>
1864
1865 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1866 (interprogram-cut-function, interprogram-paste-function):
1867 Mention that we typically mean the clipboard.
621b9d6c 1868
133a11fc
GM
18692012-07-06 Glenn Morris <rgm@gnu.org>
1870
0d27a45e
GM
1871 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1872
133a11fc
GM
1873 * files.el (toggle-read-only): Restrict message to interactive use.
1874
07b151f1
MA
18752012-07-06 Michael Albinus <michael.albinus@gmx.de>
1876
1877 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1878
1879 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1880
211b896b
GM
18812012-07-06 Glenn Morris <rgm@gnu.org>
1882
50394322
GM
1883 * Makefile.in (compile-one-process): Rename from "recompile".
1884
211b896b
GM
1885 * Makefile.in (bzr-update): "compile" is the same as "recompile
1886 autoloads", but parallelizable, so use that instead.
1887
4737eec9
DG
18882012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * window.el (quit-window): Always restore window height when
8137e7b3 1891 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1892
226c3633 18932012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1894
1895 * simple.el (kill-whole-line): Doc tweak.
1896
226c3633 18972012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1898
1899 * files.el (file-relative-name): Compare file names
1900 case-insensitively if on MS-Windows or MS-DOS, or if
1901 read-file-name-completion-ignore-case is non-nil. Don't use
1902 case-fold-search for this purpose. (Bug#11827)
1903
4dc7c8d5
SM
19042012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1905
1906 * calendar/cal-dst.el (calendar-current-time-zone):
1907 Return calendar-current-time-zone-cache if non-nil.
1908
19092012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 19102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1911
19faa8e8
SM
1912 * calendar/cal-dst.el (calendar-current-time-zone):
1913 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1914
60198fc9
GM
19152012-07-06 Glenn Morris <rgm@gnu.org>
1916
1917 * Makefile.in (cvs-update): Remove old alias.
1918
957b3189
MA
19192012-07-05 Michael Albinus <michael.albinus@gmx.de>
1920
1921 Sync with Tramp 2.2.6-pre.
1922
1923 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1924 compatible declaration.
1925
19faa8e8
SM
1926 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1927 Protect `list-load-path-shadows' call.
957b3189
MA
1928
1929 * net/tramp-compat.el (top): Require packages, which aren't
1930 autoloaded anymore for XEmacs. Protect call of
1931 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1932 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1933 it hurts at least for SXEmacs.
1934 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1935 standard-value for `temporary-file-directory'.
1936
1937 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1938 Redirect stderr to /dev/null.
1939 (tramp-sh-handle-write-region): uid and gid can be floats.
1940 Reported by Russell Sim <russell.sim@gmail.com>.
1941 (tramp-sh-handle-vc-registered): Hide errors.
1942 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1943 and `start-file-process'.
1944 (tramp-maybe-open-connection): Check also whether `non-essential'
1945 is bound.
1946
566df3fc
CY
19472012-07-04 Chong Yidong <cyd@gnu.org>
1948
1949 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1950 (xml-parse-tag): Likewise, and avoid changing entity tables.
1951 (xml-syntax-table): Define from scratch, making sure not to give
1952 x2000 and other Unicode spaces whitespace syntax, since those are
1953 not spaces in XML.
1954 (xml-parse-fragment): Delete unused function.
1955 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1956 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1957 (xml-entity-ref, xml-pe-reference-re)
1958 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1959 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1960 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1961 (xml-entity-value-re): Use syntax references in regexps where
1962 possible; no need to define inside a let-binding.
1963 (xml-parse-dtd): Use xml-pe-reference-re.
1964 (xml-entity-or-char-ref-re): New defconst.
1965 (xml-parse-string, xml-substitute-special): Use it.
1966
30eabd7a
SM
19672012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1968
0781098a
SM
1969 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1970 (find-file--read-only): New function.
1971 (find-file-read-only, find-file-read-only-other-window)
1972 (find-file-read-only-other-frame): Use it.
1973 (insert-file-contents-literally): Don't `fset'.
1974 (get-free-disk-space): Use locate-dominating-file.
1975
b5771c0d
SM
1976 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1977 function is already compiled.
1978
30eabd7a
SM
1979 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1980
b4886f6e
MA
19812012-07-03 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1984 files on the same host.
1985
b9d82339
AS
19862012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1987
1988 * help-fns.el (describe-function-1): Only call
1989 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1990
a76e6535
CY
19912012-07-03 Chong Yidong <cyd@gnu.org>
1992
1993 * xml.el: Protect parser against XML bombs.
1994 (xml-entity-expansion-limit): New variable.
1995 (xml-parse-string, xml-substitute-special): Use it.
1996 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1997
b544fef2
GM
19982012-07-03 Glenn Morris <rgm@gnu.org>
1999
2000 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2001 Allow linking to specific messages in debbugs reports (eg 123#5).
2002
a7aef6f5
CY
20032012-07-02 Chong Yidong <cyd@gnu.org>
2004
2005 * xml.el: Fix entity and character reference expansion, allowing
2006 them to expand into markup as per XML spec.
2007 (xml-default-ns): New variable.
2008 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2009 (xml-parse-region): Make first two arguments optional.
2010 Discard text properties.
2011 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2012 All callers changed.
a7aef6f5
CY
2013 (xml-parse-tag): Call xml-parse-tag-1. For backward
2014 compatibility, this function should not modify buffer contents.
2015 (xml-parse-tag-1): Fix opening-tag regexp.
2016 (xml-parse-string): Rewrite, handling entity and character
2017 references properly.
2018 (xml--entity-replacement-text): Signal an error if a parameter
2019 entity is undefined.
2020
3df31c9f
SM
20212012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2b5208f1
SM
2023 * comint.el (comint-output-filter): Filter out repeated prompts.
2024
3df31c9f
SM
2025 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2026 and file-name-absolute-p.
2027 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2028 internal calls.
2029
e3ac1281
PE
20302012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2031
2032 Spelling fixes.
2033 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2034 Rename from byte-compile--refiy-function. All uses changed.
2035
fbf2e7ad
CY
20362012-07-01 Chong Yidong <cyd@gnu.org>
2037
2038 * xml.el (xml--parse-buffer): New function. Move most of
2039 xml-parse-region here.
2040 (xml-parse-region): Copy region into a temporary buffer, since
2041 parameter entity substitution requires changing buffer contents.
2042 Use xml--parse-buffer.
2043 (xml-parse-file): Use xml--parse-buffer.
2044 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2045 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2046
9bf0aa15
GM
20472012-06-30 Glenn Morris <rgm@gnu.org>
2048
bbce2853
GM
2049 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2050
9bf0aa15
GM
2051 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2052 Remove outdated and unnecessary dbus declarations.
2053
0d23c240
EZ
20542012-06-30 Eli Zaretskii <eliz@gnu.org>
2055
2056 * emacs-lisp/timer.el (timer-until): Subtract results of
2057 float-time, instead of taking float-time of the result of
2058 time-subtract, since float-time signals an error for negative time
2059 arguments.
2060
b3218de1
CY
20612012-06-30 Chong Yidong <cyd@gnu.org>
2062
2063 * xml.el (xml-*-re): Convert defvars into defconsts, and
2064 eval-and-compile them so eval-and-compile works on derivatives.
2065 (xml--entity-replacement-text): Use eval-and-comple.
2066
a40c87a0
MA
20672012-06-30 Michael Albinus <michael.albinus@gmx.de>
2068
2069 * vc/vc-git.el (vc-git-registered): Use cache property
2070 `git-registered'.
2071 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2072 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2073 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2074
ac87de97
DG
20752012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2076
2077 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2078 removed (likely outside Emacs). (Bug#11757)
ac87de97 2079
ac10fe06
SM
20802012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2081
3df31c9f 2082 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2083
7f3fbd5d
CY
20842012-06-30 Chong Yidong <cyd@gnu.org>
2085
2086 * xml.el: Implement XML parameter entities.
2087 (xml-parameter-entity-alist): New variable.
2088 (xml-parse-region, xml-parse-fragment): Preserve previous values
2089 of xml-entity-alist and xml-parameter-entity-alist, so that
2090 repeated calls on different documents do not change them.
2091 (xml-parse-tag): Fix doctype regexp.
2092 (xml--entity-replacement-text): New function.
2093 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2094 properly requires url retrieval which is unimplemented.
2095 (xml-escape-string): Doc fix.
2096
3cfbebba
SM
20972012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2100
2af3565e
DA
21012012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2102
2103 * fringe.el (fringe-mode): Doc fix.
2104
929df0e7
MA
21052012-06-29 Michael Albinus <michael.albinus@gmx.de>
2106
2107 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2108 is non-nil.
2109 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2110 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2111
c8d3a25c 21122012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2113
c8d3a25c
GM
2114 * calendar/cal-dst.el (calendar-current-time-zone):
2115 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2116
c8d3a25c 21172012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2118
2119 * progmodes/which-func.el (which-func-format):
2120 Add mouse-face. (Bug#11698)
2121
c8d3a25c
GM
21222012-06-29 Leo Liu <sdl.web@gmail.com>
2123
2124 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2125
21262012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * minibuffer.el (minibuffer-confirm-exit-commands):
2129 Add completion-at-point (bug#11725).
2130
21312012-06-29 Glenn Morris <rgm@gnu.org>
2132
2133 * progmodes/f90.el (f90-font-lock-keywords-2):
2134 Add some preprocessor elements. (Bug#10499)
2135
21362012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2139 Use syntax-propertize (bug#11739).
2140
2badeec4
JB
21412012-06-28 Juanma Barranquero <lekktu@gmail.com>
2142
2143 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2144
ae4969c2
JD
21452012-06-28 Julien Danjou <julien@danjou.info>
2146
2147 * term.el (term-handle-colors-array): Use a set of new faces to
2148 color the terminal. Also uses :inverse-video property.
2149 (term-default-fg-color): Set to nil by default, deprecate in favor
2150 of `term-face'.
2151 (term-default-bg-color): Set to nil by default, deprecate in favor
2152 of `term-face'.
2153 (term-current-face): Use `term-face' by default.
2154 (term-bold-attribute): Variable deleted.
2155
1c9bd870
GM
21562012-06-28 Glenn Morris <rgm@gnu.org>
2157
2158 * simple.el (completion-list-mode-finish):
2159 Don't use toggle-read-only. (Since completion-list-mode has
2160 a special mode-class, it wasn't doing anything extra anyway.)
2161
c207708c
SM
21622012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 Make inlining of other-mode interpreted functions work (bug#11799).
2165 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2166 (byte-compile): Use it to fix compilation of lexical-binding closures.
2167 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2168 function, if needed.
2169
3fd56834
SM
21702012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2171
04901786
SM
2172 * help-mode.el (help-make-xrefs): Don't just withstand
2173 cyclic-variable-indirection but any error in documentation-property.
2174
1ec4b7b2
SM
2175 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2176 memory use.
2177 * bindings.el (bindings--define-key): New function.
2178 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2179 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2180 * bindings.el: Use it to purecopy define-key bindings.
2181
e309e2a5
SM
2182 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2183
d5c6faf9
SM
2184 * emacs-lisp/cl.el (flet): Mark obsolete.
2185 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2186 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2187 * progmodes/js.el (js-c-fill-paragraph):
2188 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2189 (ebrowse-switch-member-buffer-to-derived-class):
2190 * play/5x5.el (5x5-solver): Use cl-flet.
2191
6e9590e2
SM
2192 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2193 (cl--symbol-function): New macro.
2194 (cl--letf, cl--letf*): Use it.
2195
3fd56834
SM
2196 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2197 Strip "toggle-" if any.
2198
35ff222c
GM
21992012-06-27 Glenn Morris <rgm@gnu.org>
2200
1ba6038a
GM
2201 * info.el (Info-default-directory-list): Move here from paths.el.
2202 * paths.el: Remove file, which is now empty.
2203 * loadup.el: No longer load "paths".
2204
0ea0e51b
GM
2205 * custom.el (custom-initialize-delay): Doc fix.
2206
35ff222c
GM
2207 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2208 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2209 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2210 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2211 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2212 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2213 * eshell/eshell.el (eshell-defgroup): Remove alias.
2214
c89926a5
CY
22152012-06-27 Chong Yidong <cyd@gnu.org>
2216
2217 * help.el (help-enable-auto-load): New variable.
2218
2219 * help-fns.el (help-fns--autoloaded-p): New function.
2220 (describe-function-1): Refer to a function as "autoloaded" if it
2221 was autoloaded at any time in the past. Perform autoloading if
2222 help-enable-auto-load is non-nil.
2223
cc06e7e7
EZ
22242012-06-26 Eli Zaretskii <eliz@gnu.org>
2225
2226 * makefile.w32-in (compile, compile-always): Depend on
2227 update-subdirs, not on subdirs.el. Otherwise, several different
2228 sub-targets of 'bootstrap' running in parallel could
2229 simultaneously write to subdirs.el, producing a garbled file.
2230
d2c32364
SS
22312012-06-26 Sam Steingold <sds@gnu.org>
2232
2233 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2234 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2235 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2236 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2237 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2238 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2239 * textmodes/tex-mode.el: Use it.
2240 Did not touch cedet and org because they are maintained elsewhere.
2241
5cf983b2
MR
22422012-06-26 Martin Rudalics <rudalics@gmx.at>
2243
2244 * calendar/calendar.el (calendar-exit): Don't try to delete or
2245 iconify last frame. See:
2246 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2247
8c4f2952
JD
22482012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2249
2250 * server.el (server-process-filter): Remember dir in the
2251 process's `server-client-directory' properties.
2252
772b2e2c
CY
22532012-06-24 Chong Yidong <cyd@gnu.org>
2254
2255 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2256 non-tag text.
2257
711b11e1
JB
22582012-06-23 Juanma Barranquero <lekktu@gmail.com>
2259
2260 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2261
dc5d230c
SM
22622012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * help-fns.el (describe-variable): Don't croak when doc is not found.
2265 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2266 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2267 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2268 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2269 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2270 ((lambda ..) ..).
2271 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2272
136e1c1d
CY
22732012-06-23 Chong Yidong <cyd@gnu.org>
2274
e8c1cabf
CY
2275 * info.el (Info-mouse-follow-link): Accept symbol values of
2276 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2277 (Info-fontify-node): Use Info-link-keymap for all navigation
2278 buttons, with link-args property to perform the desired action.
2279 (Info-link-keymap): Doc fix.
2280 (Info-next-link-keymap, Info-prev-link-keymap)
2281 (Info-up-link-keymap): Delete now-unused keymaps.
2282
0e9e6c6a
CY
22832012-06-23 Chong Yidong <cyd@gnu.org>
2284
05e89fea
CY
2285 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2286
0e9e6c6a
CY
2287 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2288 system abbrevs.
2289
2290 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2291
e33c6771
SM
22922012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2293
b68581e2
SM
2294 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2295 (bug#11719).
2296
e33c6771
SM
2297 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2298 the requote function doesn't work properly (bug#11714).
2299
7117e105
GM
23002012-06-23 Glenn Morris <rgm@gnu.org>
2301
2302 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2303
36cec983
SM
23042012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 Further GV/CL cleanups.
2307 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2308 gv-expander.
2309 (gv--defun-declaration): New function.
2310 (defun-declarations-alist): Use it.
2311 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2312 (gv-place): Autoload.
2313 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2314 original definition of dotimes and dolist.
2315 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2316 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2317 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2318 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2319 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2320 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2321 to the function's definition.
2322 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2323 * window.el:
2324 * files.el:
2325 * faces.el:
2326 * env.el: Don't use CL.
2327
d35af63c
PE
23282012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2329
2330 Support higher-resolution time stamps (Bug#9000).
2331
2332 * calendar/time-date.el (with-decoded-time-value): New arg
2333 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2334 (encode-time-value): New optional arg PICO. New type 3.
2335 (time-to-seconds) [!float-time]: Support the new picoseconds
2336 component if it's used.
2337 (seconds-to-time, time-subtract, time-add):
2338 Support ps-resolution time stamps as well.
2339
2340 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2341 (timerp): Timer vectors now have length 9, not 8.
2342 (timer--time): Support new-style (4-part) time stamps.
2343 (timer-next-integral-multiple-of-time): Time stamps now have
2344 picosecond resolution, so take a bit more care about rounding.
2345 (timer-relative-time, timer-inc-time): New optional arg psecs.
2346 (timer-set-time-with-usecs): Set psecs to 0.
2347 (timer--activate): Check psecs component, too.
2348
2349 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2350
ac77b21a
SM
23512012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2352
f143bfe3
SM
2353 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2354 Move the non-essential binding to the post/pre-command-hook where it is
2355 more obviously correct.
2356
ac77b21a
SM
2357 * subr.el (read-passwd): Don't use a history at all.
2358 * savehist.el (savehist-save): Remove password saved accidentally
2359 because of the above bug.
2360
76386c5a
BG
23612012-06-22 Bastien Guerry <bzg@gnu.org>
2362
2363 * files.el (toggle-read-only): Display a message telling whether
2364 the buffer is read-only or not (bug#11726).
2365
2ee3d7f0
SM
23662012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * emacs-lisp/gv.el: New file.
2369 * subr.el (push, pop): Extend to generalized variables.
2370 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2371 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2372 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2373 gv-define-simple-setter, and gv-define-expander.
2374 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2375 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2376 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2377 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2378 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2379 gv-letplace.
2380 (cl-defstruct): Don't define setf-method any more.
2381 * emacs-lisp/cl.el (flet): Don't autoload.
2382 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2383 (define-setf-expander, defsetf, define-modify-macro)
2384 (cl-struct-setf-expander): Move from cl-lib.el.
2385 * emacs-lisp/syntax.el:
2386 * emacs-lisp/ewoc.el:
2387 * emacs-lisp/smie.el:
2388 * emacs-lisp/cconv.el:
2389 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2390 (timer--time): Use gv-define-simple-setter.
2391 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2392 to avoid coding-system problems in subr.el. Adjust all users.
2393 (macroexp--maxsize, macroexp-small-p): New functions.
2394 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2395 * scroll-bar.el (scroll-bar-mode):
2396 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2397 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2398 * winner.el (winner-configuration, winner-make-point-alist)
2399 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2400 * files.el (locate-file-completion-table): Avoid list*.
2401
c5695d1d
CY
24022012-06-22 Chong Yidong <cyd@gnu.org>
2403
2404 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2405 (dired-create-files): Doc fix (Bug#11329).
2406 (dired-do-copy): Doc fix (Bug#11334).
2407 (dired-mark-read-string): Doc fix (Bug#11553).
2408
2ee3d7f0
SM
2409 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2410 Doc fix (Bug#11326).
c5695d1d
CY
2411 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2412 (dired-dwim-target): Doc fix.
2413
2414 * wdired.el (wdired-mode): Doc fix.
2415
89b5595a
GM
24162012-06-22 Glenn Morris <rgm@gnu.org>
2417
575db3f1
GM
2418 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2419 (pcmpl-rpm-cache-stamp-file): New constant.
2420 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2421 (pcmpl-rpm-packages): Optionally cache list of packages.
2422
a4c8dd51
GM
2423 * pcmpl-rpm.el (pcmpl-rpm): New group.
2424 (pcmpl-rpm-query-options): New option.
2425 (pcmpl-rpm-packages): No need to inline it.
2426 Use pcmpl-rpm-query-options.
2427
89b5595a
GM
2428 * calendar/calendar.el (calendar-in-read-only-buffer):
2429 Avoid some needless mode changes.
2430
e76f0800
CY
24312012-06-21 Chong Yidong <cyd@gnu.org>
2432
2433 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2434 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2435 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2436
297a8f1d
CY
24372012-06-20 Chong Yidong <cyd@gnu.org>
2438
2439 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2440
d34c18b1
DR
24412012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2442
2443 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2444 (bug#11201).
2445
32f7f28e
CY
24462012-06-20 Chong Yidong <cyd@gnu.org>
2447
2448 * term.el (term-window-width): Handle the case of a missing right
2449 fringe (Bug#8837).
2450 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2451 (term-mode): Use define-derived-mode. Minor cleanups.
2452 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2453 (term-move-columns, term-insert-char, term-emulate-terminal)
2454 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2455
493c6688
MA
24562012-06-20 Michael Albinus <michael.albinus@gmx.de>
2457
d34c18b1
DR
2458 * net/ange-ftp.el (ange-ftp-get-passwd):
2459 Bind `enable-recursive-minibuffers'.
493c6688
MA
2460 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2461
3f06ecf4
DR
24622012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2463
2464 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2465
68f12411
GM
24662012-06-19 Glenn Morris <rgm@gnu.org>
2467
2468 * progmodes/python.el (python-mode): Derive from prog-mode.
2469
b3820318
KG
24702012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2471
2472 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2473 (edt-user-menu-bar-update-buffers): New functions.
2474 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2475
c6bf3022
CY
24762012-06-19 Chong Yidong <cyd@gnu.org>
2477
2478 * subr.el (with-selected-window): Preserve the selected window's
2479 terminal's top-frame (Bug#4702).
2480
2481 * window.el (save-selected-window): Likewise.
2482
25f09295
SM
24832012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * progmodes/python.el (python-rx-constituents): Move backquote.
2486 (python-skeleton-define, python-define-auxiliary-skeleton):
2487 Use `declare'.
2488
6b11952a
MA
24892012-06-18 Michael Albinus <michael.albinus@gmx.de>
2490
2491 * minibuffer.el (read-file-name-default): Revert the patch from
2492 2012-06-17.
2493
ee4b1330
SM
24942012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2497 (pcase--u1, pcase--q1): Don't use apply-partially.
2498
35647f79
GM
24992012-06-18 Glenn Morris <rgm@gnu.org>
2500
2501 * progmodes/python.el (python-proc, python-buffer)
2502 (python-send-receive, python-send-string): Fix obsolete versions.
2503
24b0cff0
MR
25042012-06-18 Martin Rudalics <rudalics@gmx.at>
2505
2506 * window.el (special-display-p): Completely remove stringp
2507 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2508
29855149
MA
25092012-06-17 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2512
2513 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2514
2515 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2516 * net/tramp-sh.el (tramp-maybe-open-connection):
2517 Throw if `non-essential' is non-nil.
2518
07463363
MR
25192012-06-17 Martin Rudalics <rudalics@gmx.at>
2520
2521 * window.el (special-display-p): Signal an error if BUFFER-NAME
2522 is not a string (Bug#11713).
2523
48d1354e
PE
25242012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2525
2526 * progmodes/python.el (python-info-beginning-of-backslash):
2527 Rename from python-info-beginning-of-backlash, as a spelling fix.
2528
eb4a8a9a
CY
25292012-06-17 Chong Yidong <cyd@gnu.org>
2530
2531 * term.el (term-emulate-terminal): If term-check-size is called,
2532 move point to the process mark without resetting point (Bug#4635).
2533
ddfbf826 25342012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2535
2536 * international/mule-cmds.el (mule-menu-keymap)
2537 (set-language-environment, set-locale-environment): Doc tweaks.
2538
9b0e3eba
AA
25392012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2540
2541 * cus-face.el (custom-face-attributes): Add wave-style underline
2542 attribute.
2543 * faces.el (set-face-attribute): Update docstring to describe
2544 wave-style underline attribute.
2545
771e3eae
CY
25462012-06-16 Chong Yidong <cyd@gnu.org>
2547
2548 * term/xterm.el (terminal-init-xterm): Discard input before
2549 querying background mode (Bug#10959).
2550
7ae2ea10
SM
25512012-06-16 Stefan Merten <smerten@oekonux.de>
2552
2553 * textmodes/rst.el: Added and corrected some comments.
2554 (rst-re-alist-def): Improve symbol syntax.
2555 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2556 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2557 (rst-official-version, rst-official-cvs-rev): Update version
2558 information.
7ae2ea10 2559
b6974efa
JB
25602012-06-15 Juanma Barranquero <lekktu@gmail.com>
2561
2562 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2563 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2564
8826d473
GM
25652012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2566
2567 * progmodes/python.el: New python.el merge.
2568 (python-guess-indent): Obsolete var.
2569 (python-indent-guess-indent-offset): New defcustom.
2570 (python-indent): Obsolete var.
2571 (python-indent-offset): New defcustom.
2572 (python-python-command, python-jython-command): Delete var.
2573 (python-shell-interpreter): New defcustom.
2574 (python-pdbtrack-do-tracking-p): Delete var.
2575 (python-pdbtrack-activate): New defcustom.
2576 (python-use-skeletons): Obsolete var.
2577 (python-skeleton-autoinsert): New defcustom.
2578 (inferior-python-filter-regexp, python-continuation-offset)
2579 (python-honour-comment-indentation, python-indent-string-contents)
2580 (python-jython-packages, python-mode-hook)
2581 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2582 (python-shell-prompt-alist)
2583 (python-source-modes): Delete defcustoms.
2584 (python-check-buffer-name, python-eldoc-setup-code)
2585 (python-eldoc-string-code, python-ffap-setup-code)
2586 (python-ffap-string-code, python-fill-comment-function)
2587 (python-fill-decorator-function, python-fill-paren-function)
2588 (python-fill-string-function, python-imenu-include-defun-type)
2589 (python-imenu-make-tree, python-imenu-subtree-root-label)
2590 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2591 (python-shell-compilation-regexp-alist)
2592 (python-shell-completion-module-string-code)
2593 (python-shell-completion-pdb-string-code)
2594 (python-shell-completion-setup-code)
2595 (python-shell-completion-string-code)
2596 (python-shell-enable-font-lock, python-shell-exec-path)
2597 (python-shell-extra-pythonpaths)
2598 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2599 (python-shell-process-environment)
2600 (python-shell-prompt-block-regexp)
2601 (python-shell-prompt-output-regexp)
2602 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2603 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2604 (python-shell-virtualenv-path): New defcustoms.
2605 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2606 (inferior-python-mode-syntax-table, python--prompt-regexp)
2607 (python-buffer, python-command python-python-command)
2608 (python-default-template, python-imports, python-indent-index)
2609 (python-indent-list, python-indent-list-length)
2610 (python-mode-running, python-pdbtrack-is-tracking-p)
2611 (python-preoutput-continuation, python-preoutput-leftover)
2612 (python-preoutput-result, python-preoutput-skip-next-prompt)
2613 (python-prev-dir/file, python-recursing)
2614 (python-saved-check-command, python-version-checked)
2615 (python-which-func-length-limit)
2616 (view-return-to-alist): Delete vars.
2617 (python-check-custom-command, python-dotty-syntax-table)
2618 (python-imenu-index-alist, python-indent-current-level)
2619 (python-indent-dedenters, python-indent-levels)
2620 (python-nav-beginning-of-defun-regexp)
2621 (python-nav-list-defun-positions-cache)
2622 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2623 (python-shell-internal-buffer)
2624 (python-skeleton-available): New vars.
2625 (def-python-skeleton): Delete macro.
2626 (python-skeleton-define): New macro.
2627 (python-define-auxiliary-skeleton, python-rx): New macros.
2628 (python-insert-class): Delete command.
2629 (python-skeleton-class): New command.
2630 (python-insert-def): Delete command.
2631 (python-skeleton-def): New command.
2632 (python-insert-for): Delete command.
2633 (python-skeleton-for): New command.
2634 (python-insert-if): Delete command.
2635 (python-skeleton-if): New command.
2636 (python-insert-try/except, python-insert-try/finally): Delete commands.
2637 (python-skeleton-try): New command.
2638 (python-insert-while): Delete command.
2639 (python-skeleton-while): New command.
2640 (python-backspace): Delete command.
2641 (python-indent-dedent-line-backspace): New command.
2642 (python-electric-colon): Delete command.
2643 (python-indent-electric-colon): New command.
2644 (python-guess-indent): Delete command.
2645 (python-indent-guess-indent-offset): New command.
2646 (python-shift-left): Delete command.
2647 (python-indent-shift-left): New command.
2648 (python-shift-right): Delete command.
2649 (python-indent-shift-right): New command.
2650 (python-find-function): Delete command.
2651 (python-nav-jump-to-defun): New command.
2652 (python-next-statement): Delete command.
2653 (python-nav-forward-sentence): New command.
2654 (python-previous-statement): Delete command.
2655 (python-nav-backward-sentence): New command.
2656 (python-fill-paragraph): Delete command.
2657 (python-fill-paragraph-function): New command.
2658 (python-send-buffer): Delete command.
2659 (python-shell-send-buffer): New command.
2660 (python-send-defun): Delete command.
2661 (python-shell-send-defun): New command.
2662 (python-send-region, python-send-region-and-go): Delete commands.
2663 (python-shell-send-region)
2664 (python-shell-switch-to-shell): New commands.
2665 (python-send-string): Delete command.
2666 (python-shell-send-string): New command.
2667 (python-switch-to-python): Delete command.
2668 (python-shell-switch-to-shell): New command.
2669 (python-describe-symbol): Delete command.
2670 (python-eldoc-at-point): New command.
2671 (python--set-prompt-regexp, python-args-to-list)
2672 (python-after-info-look, python-check-version)
2673 (python-check-comint-prompt, python-find-imports)
2674 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2675 (python-unload-function, python-expand-template)
2676 (python-maybe-jython, python-preoutput-filter)
2677 (python-pdbtrack-get-source-buffer)
2678 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2679 (python-pdbtrack-toggle-stack-tracking)
2680 (python-pdbtrack-track-stack-file, python-initial-text)
2681 (python-first-word, python-comment-line-p, python-send-command)
2682 (python-setup-brm, python-sentinel, python-set-proc)
2683 (python-skip-out, python-input-filter, python-outdent-p)
2684 (python-outline-level, python-backslash-continuation-line-p)
2685 (python-end-of-block, python-end-of-statement, python-mark-block)
2686 (python-beginning-of-block, python-beginning-of-statement)
2687 (python-blank-line-p, python-beginning-of-string)
2688 (python-open-block-statement-p): Delete functions.
2689 (python-indent-line, python-indent-line-1): Delete functions.
2690 (python-indent-line): New function.
2691 (python-indentation-levels): Delete function.
2692 (python-indent-calculate-levels): New function.
2693 (python-proc): Delete function.
2694 (python-shell-get-process): New function.
2695 (python-send-receive): Delete function.
2696 (python-shell-send-string-no-output): New function.
2697 (python-module-path): Delete function.
2698 (python-ffap-module-path): New function.
2699 (python-completion-at-point)
2700 (python-symbol-completions): Delete functions.
2701 (python-completion-complete-at-point): New function.
2702 (python-load-file): Delete function.
2703 (python-shell-send-file): New function.
2704 (python-calculate-indentation): Delete function.
2705 (python-indent-calculate-indentation): New function.
2706 (python-skip-comments/blanks): Delete function.
2707 (python-util-forward-comment): New function.
2708 (python-continuation-line-p): Delete function.
2709 (python-info-continuation-line-p): New function.
2710 (python-which-func, python-current-defun): Delete function.
2711 (python-info-current-defun): New function.
2712 (python-beginning-of-defun): Delete function.
2713 (python-nav-beginning-of-defun): New function.
2714 (python-close-block-statement-p)
2715 (python-block-end-p): Delete function.
2716 (python-info-closing-block): New function.
2717 (python-comint-output-filter-function)
2718 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2719 (python-fill-comment, python-fill-decorator, python-fill-paren)
2720 (python-fill-string, python-imenu-make-element-tree)
2721 (python-imenu-make-tree, python-imenu-tree-assoc)
2722 (python-indent-context, python-indent-dedent-line)
2723 (python-indent-line-function)
2724 (python-indent-post-self-insert-function)
2725 (python-indent-toggle-levels)
2726 (python-info-assignment-continuation-line-p)
2727 (python-info-beginning-of-backlash)
2728 (python-info-block-continuation-line-p)
2729 (python-info-closing-block-message)
2730 (python-info-line-ends-backslash-p)
2731 (python-info-looking-at-beginning-of-defun)
2732 (python-info-ppss-context, python-info-ppss-context-type)
2733 (python-nav-list-defun-positions, python-nav-read-defun)
2734 (python-nav-sentence-end, python-nav-sentence-start)
2735 (python-pdbtrack-comint-output-filter-function)
2736 (python-pdbtrack-set-tracked-buffer)
2737 (python-shell-calculate-exec-path)
2738 (python-shell-calculate-process-environment)
2739 (python-shell-completion--do-completion-at-point)
2740 (python-shell-completion--get-completions)
2741 (python-shell-completion-complete-at-point)
2742 (python-shell-completion-complete-or-indent)
2743 (python-shell-get-or-create-process)
2744 (python-shell-get-process-name)
2745 (python-shell-internal-get-or-create-process)
2746 (python-shell-internal-get-process-name)
2747 (python-shell-internal-send-string, python-shell-make-comint)
2748 (python-shell-parse-command, python-shell-send-setup-code)
2749 (python-skeleton-add-menu-items)
2750 (python-util-clone-local-variables, python-util-position)
2751 (run-python-internal, python-indentation-levels)
2752 (python-nav-beginning-of-defun)
2753 (python-completion-complete-at-point): New functions.
2754 (run-python): Change arguments. New API requirements.
2755
4302f5ba
SM
27562012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2757
f38ea36d
SM
2758 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2759 (bug#11649).
2760
2761 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2762 (macroexp--expand-all): Use it.
2763
4302f5ba
SM
2764 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2765 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2766 Use `cl-function' instead.
2767
33377562
JB
27682012-06-14 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2771 Suggested by Stefan Monnier while discussing bug#11657.
2772
54c5ba1a
SS
27732012-06-14 Sam Steingold <sds@gnu.org>
2774
2775 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2776
f9f1b1fe
AS
27772012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2778
2779 * play/doctor.el (doctor-doc): Remove parameter and use
2780 doctor-sent instead of sent.
2781 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2782
a81068ba
SM
27832012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2784
5a315f9c
SM
2785 * files.el: Require cl-lib.
2786 (file-name-non-special): Replace case -> cl-case.
2787
2788 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2789
a81068ba
SM
2790 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2791 mapping from #' to function*.
2792
8cca9703
CY
27932012-06-13 Chong Yidong <cyd@gnu.org>
2794
2795 * mouse.el (mouse-drag-track): Do not set the mark if the user
2796 releases the mouse without selecting anything (Bug#11588).
2797
a12ac9d7
SM
27982012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2799
ccf1dc18
SM
2800 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2801 as well (bug#11646).
2802
ef62b23d
SM
2803 * loadup.el: Count byte-code functions as well.
2804
c4c8444a
SM
2805 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2806 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2807
a12ac9d7
SM
2808 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2809 (bug#11649). Add cl-defun and cl-defmacro.
2810
87e6e64f
DA
28112012-06-13 Drew Adams <drew.adams@oracle.com>
2812
2813 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2814 Fix last change.
2815
682cefaf
MA
28162012-06-13 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2819 Otherwise, it blocks in batch mode.
2820
773e1f08
JB
28212012-06-13 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * help-mode.el (bookmark-make-record-default): Declare.
2824
60057926
CY
28252012-06-13 Chong Yidong <cyd@gnu.org>
2826
2827 * emacs-lisp/package.el (list-packages): Compute a list of
2828 packages that are newly-available since the last list-packages
2829 invocation.
2830 (package-menu--new-package-list): New var.
2831 (package-menu--generate, package-menu--print-info)
2832 (package-menu--status-predicate, package-menu-mark-install):
2833 Handle new status label "new".
2834
ad4d226c
SM
28352012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2838 conversion to backquotes.
2839
f1a4e679
CY
28402012-06-12 Chong Yidong <cyd@gnu.org>
2841
2842 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2843 Rename from gud-inhibit-global-bindings.
2844
2845 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2846
2847 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2848 hook from nxml-glyph-set-hook.
2849
2850 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2851 declaration.
2852
2853 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2854
2855 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2856 Convert to defcustom.
2857
0c9e42b5
DA
28582012-06-12 Drew Adams <drew.adams@oracle.com>
2859
2860 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2861 New functions.
2862 (help-mode): Use them.
2863
09e06855
GM
28642012-06-11 Glenn Morris <rgm@gnu.org>
2865
2866 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2867 Use preprocessor face for directives.
2868 (fortran-directive-re): Doc fix.
2869
71adb94b
SM
28702012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2871
2eb87922
SM
2872 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2873 conversion to backquotes (bug#11652).
2874
71adb94b
SM
2875 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2876 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2877 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2878 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2879 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2880 (cl-ninth, cl-tenth): Mark them as inlinable.
2881 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2882 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2883 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2884 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2885 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2886 (cl-list*, cl-adjoin): Don't put an autoload manually.
2887 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2888 (cl--compiler-macro-list*): Add autoload cookie.
2889 (cl--compiler-macro-cXXr): New function.
2eb87922 2890
71adb94b
SM
2891 * help-fns.el (help-fns--compiler-macro): New function extracted from
2892 describe-function-1; follow aliases and use `compiler-macro' property.
2893 (describe-function-1): Use it.
2894
a6674402
CY
28952012-06-11 Chong Yidong <cyd@gnu.org>
2896
2897 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2898 is uninstalled, if imagemagick is installed.
2899
bb3faf5b
SM
29002012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * emacs-lisp/cl-lib.el: Use lexical-binding.
2903 (cl-map-extents, cl-maclisp-member): Remove.
2904 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2905 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2906 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2907 * emacs-lisp/cl-extra.el: Use lexical-binding.
2908 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2909 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2910 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2911 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2912 * emacs-lisp/cl-seq.el: Use lexical-binding.
2913 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2914 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2915 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2916 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2917 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2918 CL's internals.
2919
2fe4b125
MA
29202012-06-11 Michael Albinus <michael.albinus@gmx.de>
2921
2922 Sync with Tramp 2.2.6-pre.
2923
2924 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2925 `print-length' and `print-level' to nil, in order to avoid
2926 truncation. Reported by Christopher Schmidt
2927 <christopher@ristopher.com>.
2928
2929 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2930
2931 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2932 New defmacro.
2933 (tramp-compat-copy-directory): Add optional argument
2934 COPY-CONTENTS. It is not handled yet.
2935
2936 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2937 (tramp-ftp-file-name-p): Simplify.
2938
2939 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2940 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2941 connection vector.
2942
2943 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2944 (tramp-methods): Do not use `tramp-password-end-of-line'.
2945 (tramp-completion-function-alist-putty): Handle UNIX case.
2946 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2947 (tramp-do-file-attributes-with-stat)
2948 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2949 gid as real numbers. They could run out of integer range on cygwin.
2950 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2951 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2952 (tramp-open-connection-setup-interactive-shell):
2953 Use `tramp-cleanup'. Move check for busyboxes ...
2954 (tramp-find-shell): ... here. Simplify implementation.
2955 Set "remote-shell" property also for alternative shells.
2956 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2957 If failing, a regular file would be written otherwise.
2958 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2959 (tramp-find-inline-encoding): Cache the coding commands in the
2960 process cache. Apply test command on the remote side, if defined.
2961 (tramp-find-inline-compress): Cache the compress commands in the
2962 process cache.
2963 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2964 when requested. Handle hops.
2965 (tramp-current-connection): New defvar.
87e6e64f
DA
2966 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2967 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2968 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2969 (tramp-get-inline-compress, tramp-get-inline-coding):
2970 Read connection properties from the process cache.
2fe4b125
MA
2971
2972 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2973 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2974 New defconsts.
2fe4b125
MA
2975 (tramp-smb-prompt): Extend for powershell prompt.
2976 (tramp-smb-file-name-handler-alist): Add handlers for
2977 `process-file', `shell-command' and `start-file-process'.
2978 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2979 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2980 (tramp-smb-file-name-p): Simplify.
2981 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2982 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2983 (tramp-smb-shell-quote-argument): New defuns.
2984 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2985 Implement using "tar". By this, time-stamps are preserved.
2986 (tramp-smb-handle-copy-file): Handle also the case of directories.
2987 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2988 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2989 Use `tramp-get-connection-buffer').
2fe4b125
MA
2990 (tramp-smb-handle-rename-file): Use "rename", when source and
2991 target are on the same share.
87e6e64f
DA
2992 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2993 Use `tramp-smb-server-version'.
2fe4b125
MA
2994 (tramp-smb-wait-for-output): Remove prompt.
2995
2996 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2997 (tramp-methods, tramp-rsh-end-of-line):
2998 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2999 (tramp-save-ad-hoc-proxies): New defcustom.
3000 (tramp-completion-function-alist): Adapt docstring.
3001 (tramp-default-password-end-of-line): Remove defcustom.
3002 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3003 (tramp-user-regexp, tramp-file-name-regexp-unified)
3004 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3005 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3006 (tramp-remote-file-name-spec-regexp): New defconst.
3007 (tramp-file-name-structure): Extend structure for hops.
3008 (tramp-get-method-parameter): Move up.
3009 (tramp-file-name-p, tramp-dissect-file-name)
3010 (with-parsed-tramp-file-name): Handle hops.
3011 (tramp-file-name-hop): New defun.
3012 (tramp-make-tramp-file-name): New optional arg HOP.
3013 (tramp-message-show-progress-reporter-message): New defvar.
3014 (tramp-with-progress-reporter): Use it. We cannot use
3015 `tramp-message-show-message' here, because this suppresses also
3016 error buffers.
3017 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3018 `tramp-message-show-message' is nil.
3019 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3020 (tramp-cleanup): New defun.
3021 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3022 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3023 an error unchanged.
3024 (tramp-completion-handle-file-name-all-completions): Handle hops.
3025 Fix an error when called from ido.
3026 (tramp-completion-dissect-file-name): Use better local variable
3027 name. Add hop to the vector.
3028 (tramp-handle-insert-file-contents): Use progress-reporter for the
3029 whole scenario.
3030 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3031 to `t'.
3032 (tramp-check-for-regexp): Simplify search.
3033 (tramp-enter-password): Remove it. Move implementation ...
3034 (tramp-action-password): ... here.
3035 (tramp-mode-string-to-int, tramp-local-host-p)
3036 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3037 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3038 Set tramp-autoload cookie.
2fe4b125
MA
3039
3040 * net/trampver.el: Update release number.
3041
30422012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3043 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3046 (tramp-parse-group, tramp-parse-file)
3047 (tramp-parse-shostkeys-sknownhosts): New defuns.
3048 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3049 (tramp-parse-shosts-group, tramp-parse-sconfig)
3050 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3051 (tramp-parse-sknownhosts, tramp-parse-hosts)
3052 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3053 Use them.
3054 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3055 (tramp-parse-putty-group): Don't narrow.
3056 (tramp-parse-putty): Make a loop.
3057 (tramp-file-name-handler): Catch the `suppress' signal.
3058
72834e10
CY
30592012-06-11 Chong Yidong <cyd@gnu.org>
3060
3061 * image.el (imagemagick-register-types): Put the ImageMagick entry
3062 at the end of image-type-file-name-regexps.
3063
a4712e11
JB
30642012-06-11 Johan Bockgård <bojohan@gnu.org>
3065
3066 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3067 (pcase, pcase-let*, pcase-dolist): Use them.
3068
82ad98e3
SM
30692012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * emacs-lisp/pcase.el (pcase--let*): New function.
3072 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3073 (pcase--expand): Use macroexp-let².
3074
f80efb86
SM
30752012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3078 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3079 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3080 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3081 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3082 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3083
31ca4639 30842012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3085
31ca4639
CY
3086 * mail/rmail.el (rmail-yank-current-message): Leave point at
3087 correct position. (Bug#11660)
94f0aa34 3088
31ca4639 30892012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3090
31ca4639 3091 * allout-widgets.el: Fix code header.
9e1b8ec4 3092
31ca4639 30932012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3094
f80efb86
SM
3095 * cus-edit.el (customize-changed-options-previous-release):
3096 Bump to 24.1.
31ca4639 3097
642b6d30
AS
30982012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3099
3100 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3101
4f5d2ba1
CY
31022012-06-09 Chong Yidong <cyd@gnu.org>
3103
3104 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3105
e75852fd
MR
31062012-06-09 Martin Rudalics <rudalics@gmx.at>
3107
3108 * window.el (special-display-popup-frame): Don't use
3109 window--display-buffer (Bug#11651).
3110
1e48e282
EZ
31112012-06-09 Eli Zaretskii <eliz@gnu.org>
3112
8a26b487
EZ
3113 Fix parallel builds: make sure loaddefs.el is not being written
3114 while Lisp files are compiled.
3115 (compile): Don't depend on 'mh-autoloads'.
3116 (compile-CMD, compile-SH): Depend on 'autoloads'.
3117 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3118
1e48e282
EZ
3119 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3120
6175e34b
CY
31212012-06-09 Chong Yidong <cyd@gnu.org>
3122
3123 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3124 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3125 Doc fixes (Bug#11225).
3126
d9857e53
SM
31272012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3130 a function if there's a clear indication that it has a compiler-macro.
3131 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3132 (macro-declarations-alist): Add arglist to declaration functions.
3133 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3134 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3135 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3136 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3137 Also add autoload to find the compiler macro.
3138 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3139 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3140 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3141 (cl--compiler-macro-get): New functions, replacing calls to
3142 cl-define-compiler-macro.
3143 (cl-typep) [compiler-macro]: Use macroexp-let².
3144
f81298f8 31452012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3146
3147 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3148 string properly, fixes Bug#11473.
3149
4b56d0fe
CY
31502012-06-08 Chong Yidong <cyd@gnu.org>
3151
3152 * faces.el (set-face-attribute): Doc fix.
3153 (modify-face): Don't use :bold and :italic.
3154 (error, warning, success): Tweak definitions.
3155
3156 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3157 (custom-modified, custom-set, custom-changed, custom-themed)
3158 (custom-saved, custom-button, custom-button-mouse)
3159 (custom-button-pressed, custom-state, custom-comment-tag)
3160 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3161 (custom-group-subtitle): Use new-style face specs.
3162 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3163 (custom-set-face, custom-changed-face, custom-saved-face)
3164 (custom-button-face, custom-button-pressed-face)
3165 (custom-documentation-face, custom-state-face)
3166 (custom-comment-face, custom-comment-tag-face)
3167 (custom-variable-tag-face, custom-variable-button-face)
3168 (custom-face-tag-face, custom-group-tag-face-1)
3169 (custom-group-tag-face): Remove obsolete face alias.
3170
3171 * epa.el (epa-validity-high, epa-validity-medium)
3172 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3173 (epa-field-name, epa-field-body):
3174 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3175 (font-lock-keyword-face, font-lock-builtin-face)
3176 (font-lock-function-name-face, font-lock-variable-name-face)
3177 (font-lock-type-face, font-lock-constant-face):
3178 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3179 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3180 * speedbar.el (speedbar-button-face, speedbar-file-face)
3181 (speedbar-directory-face, speedbar-tag-face)
3182 (speedbar-selected-face, speedbar-highlight-face)
3183 (speedbar-separator-face):
3184 * whitespace.el (whitespace-newline, whitespace-space)
3185 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3186 (whitespace-line, whitespace-space-before-tab)
3187 (whitespace-space-after-tab, whitespace-indentation)
3188 (whitespace-empty):
3189 * emulation/cua-base.el (cua-global-mark):
3190 * eshell/em-prompt.el (eshell-prompt):
3191 * net/newst-plainview.el (newsticker-new-item-face)
3192 (newsticker-old-item-face, newsticker-immortal-item-face)
3193 (newsticker-obsolete-item-face, newsticker-date-face)
3194 (newsticker-statistics-face, newsticker-default-face):
3195 * net/newst-reader.el (newsticker-feed-face)
3196 (newsticker-extra-face, newsticker-enclosure-face):
3197 * net/newst-treeview.el (newsticker-treeview-face)
3198 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3199 (newsticker-treeview-immortal-face)
3200 (newsticker-treeview-obsolete-face)
3201 (newsticker-treeview-selection-face):
3202 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3203 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3204 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3205 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3206 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3207 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3208 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3209 (mpuz-text):
3210 * progmodes/vera-mode.el (vera-font-lock-number)
3211 (vera-font-lock-function, vera-font-lock-interface):
3212 * textmodes/table.el (table-cell): Use new-style face specs, and
3213 don't use the old :bold and :italic attributes.
3214
3215 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3216 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3217 (ebrowse-member-class, ebrowse-progress): Likewise.
3218 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3219 (ebrowse-file-name-face, ebrowse-default-face)
3220 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3221 (ebrowse-progress-face): Remove obsolete faces.
3222
3223 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3224 Inherit from error and warning faces respectively.
3225
3226 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3227 Likewise.
f80efb86
SM
3228 (flyspell-incorrect-face, flyspell-duplicate-face):
3229 Remove obsolete aliases.
4b56d0fe 3230
03310646
MA
32312012-06-08 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3234 Avoid infloop.
3235
513749ee
SM
32362012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * startup.el (argv, argi): Make lexically scoped.
3239 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3240 * emacs-lisp/cl-macs.el: Use lexical-binding.
3241 Rename cl-bind-* to cl--bind-*.
3242 * files.el: Don't require `cl' since it doesn't use it.
3243 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3244
595ef4ad
JB
32452012-06-08 Juanma Barranquero <lekktu@gmail.com>
3246
3247 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3248 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3249 instead of calling external sort utility.
3250 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3251
e9f66fcb
EZ
32522012-06-08 Eli Zaretskii <eliz@gnu.org>
3253
3254 * descr-text.el (describe-char): Mention how to insert the
3255 character, if the current input method doesn't support it.
3256 See the discussion in this thread for the details:
3257 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3258
3d10db47
SS
32592012-06-08 Sam Steingold <sds@gnu.org>
3260
3261 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3262 XF86Back to previous-buffer.
3263 (minibuffer-local-map): Bind them to next-history-element and
3264 previous-history-element respectively.
3265 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3266 help-go-back respectively.
3267 * info.el (Info-mode-map): Bind them to Info-history-forward and
3268 Info-history-back respectively.
3269 These are the keys next to Up on the ThinkPad keyboard.
3270
de7e2b36
SM
32712012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3274 * emacs-lisp/cl-macs.el: Provide itself.
3275 (cl--labels-convert-cache): New var.
3276 (cl--labels-convert): New function.
3277 (cl-flet, cl-labels): New implementation with new semantics, relying on
3278 lexical-binding.
3279 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3280 (cl-closure-vars, cl--function-convert-cache)
3281 (cl--function-convert): Move from cl-macs.el.
3282 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3283 rename by removing the "cl-" prefix.
3284 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3285
6fa6c4ae
SM
32862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3289 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3290 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3291 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3292 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3293 (cl-hash-table-count): Add old compatibility aliases.
3294
3295 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3296 Use macroexpand-all-environment instead.
3297 (cl--old-macroexpand): New var.
3298 (cl--sm-macroexpand): New function.
3299 (cl-symbol-macrolet): Use it during macro expansion.
3300 (cl--function-convert-cache): New var.
3301 (cl--function-convert): New function, extracted from
3302 cl-macroexpand-all.
3303 (cl-lexical-let): Use it.
3304
3305 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3306 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3307 (cl-member): Remove old alias.
3308
3309 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3310 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3311 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3312 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3313 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3314 (cl-macroexpand-cmacs): Remove var.
3315 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3316 Use macroexpand-all instead.
3317
4dd1c416
SM
33182012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3321 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3322 (macroexp-copyable-p): New functions and macros.
3323 * emacs-lisp/edebug.el (edebug-unwrap):
3324 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3325 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3326 (pcase--let*): Remove.
3327 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3328 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3329 macroexp-const-p instead.
3330 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3331
3332 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3333 instead of "cl-" for internal definitions. Use macroexp-const-p.
3334 (cl-old-bc-file-form): Remove var.
3335 (cl-const-exprs-p): Remove fun.
3336 (cl-labels, cl-macrolet): Use backquote.
3337 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3338 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3339 (cl-define-setf-expander): Rename from cl-define-setf-method.
3340 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3341
3342 * international/mule-cmds.el: Don't require CL.
3343 (view-hello-file): Don't use `letf'.
3344
ed8bd4d7
SM
33452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3346
7287f2f3
SM
3347 * tmm.el (tmm-prompt): Use string-prefix-p.
3348 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3349 (tmm-add-prompt): Use minibuffer-completion-help.
3350 (tmm-delete-map): Remove.
3351
ed8bd4d7
SM
3352 * subr.el (kbd): Make it its own function.
3353
7b4cdbf4
SM
33542012-06-07 Stefan Merten <smerten@oekonux.de>
3355
3356 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3357 Silence compiler warnings. Fix versions.
ed8bd4d7 3358 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3359 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3360 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3361 (rst-package-emacs-version-alist): Correct Emacs version to
3362 represent major merge with upstream.
ed8bd4d7 3363 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3364
2b48d721
GM
33652012-06-06 Glenn Morris <rgm@gnu.org>
3366
3367 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3368 Only print environment variables if set.
3369
fa779ab0
SM
33702012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3373 (macroexp--cons): Rename from maybe-cons.
3374 (macroexp--accumulate): Rename from macroexp-accumulate.
3375 (macroexp--all-forms): Rename from macroexpand-all-forms.
3376 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3377 (macroexp--expand-all): Rename from macroexpand-all-1.
3378
628299e0
SS
33792012-06-06 Sam Steingold <sds@gnu.org>
3380
3381 * calendar/calendar.el (calendar-in-read-only-buffer):
3382 Call `special-mode' to enable the standard read-only keybindings.
3383
b7bb5838
SM
33842012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3387 with "loading" messages (bug#11635).
3388
dfb308ba
MA
33892012-06-06 Michael Albinus <michael.albinus@gmx.de>
3390
3391 * files.el (enable-remote-dir-locals): New option.
3392 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3393
0372ee92
MA
3394 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3395 Ensure, that the temp directory is local.
3396
3397 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3398 `temporary-file-directory'.
3399
eed0bb91
MA
3400 * progmodes/python.el (python-send-region): Ensure, that the
3401 temporary file is created also in the remote case.
3402
7a58f64d
GM
34032012-06-06 Glenn Morris <rgm@gnu.org>
3404
f7dd4e98
GM
3405 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3406 (vc-rcs-update-changelog): Use it.
3407
090bd7cb 3408 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3409
7a58f64d
GM
3410 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3411 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3412 (vc-sccs-diff): Replace use of the external vcdiff script.
3413
daed4003
GM
34142012-06-05 Glenn Morris <rgm@gnu.org>
3415
3416 * ledit.el: Move to obsolete/.
3417
48c455c7
SS
34182012-06-05 Sam Steingold <sds@gnu.org>
3419
ed9265fc 3420 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3421 patch (Bug#11140).
3422
57a7d507
SM
34232012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3424
090bd7cb 3425 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3426
53aacf21
SM
3427 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3428 compiler-macro expansion.
3429
57a7d507
SM
3430 Add native compiler-macro support.
3431 * emacs-lisp/macroexp.el (macroexpand-all-1):
3432 Support compiler-macros directly. Properly follow aliases and apply
3433 the compiler macros more thoroughly.
3434 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3435 macroexpand now properly follows aliases.
3436 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3437 (cl-compiler-macroexpand): Use new prop.
3438 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3439
3440 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3441
51a5f9d8
MR
34422012-06-05 Martin Rudalics <rudalics@gmx.at>
3443
3444 * window.el (get-lru-window, get-mru-window, get-largest-window):
3445 New argument NOT-SELECTED to avoid picking the selected window.
3446 (window--display-buffer-1, window--display-buffer-2): Replace by
3447 new function window--display-buffer
3448 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3449 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3450 Use window--display-buffer.
51a5f9d8
MR
3451 (display-buffer-use-some-window): Remove temporary dedication
3452 hack by calling get-lru-window and get-largest-window with
3453 NOT-SELECTED argument non-nil. Call window--display-buffer.
3454
08f9f738
GM
34552012-06-05 Glenn Morris <rgm@gnu.org>
3456
3457 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3458 Replace external vcdiff script.
3459
e364a2b7
SM
34602012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3463
041df390
CY
34642012-06-04 Chong Yidong <cyd@gnu.org>
3465
e364a2b7
SM
3466 * image.el (imagemagick-types-inhibit): Revert last change.
3467 Add INFO and M.
47b36b94 3468 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3469
7c1898a7
SM
34702012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * emacs-lisp/cl-lib.el: Rename from cl.el.
3473 * emacs-lisp/cl.el: New compatibility file.
3474 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3475 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3476 to obey the "cl-" prefix.
3477 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3478
0c3461de
GM
34792012-06-03 Glenn Morris <rgm@gnu.org>
3480
1e266c88
GM
3481 * emacs-lisp/authors.el (authors-aliases): Addition.
3482
0c3461de
GM
3483 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3484 Fix :version.
3485
d8a52e15
SM
34862012-06-03 Stefan Merten <smerten@oekonux.de>
3487
3488 * textmodes/rst.el: Add comments.
3489 (rst-transition, rst-adornment): New faces.
3490 (rst-adornment-faces-alist): Make default safe to reevaluate.
3491 Fixes
3492 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3493 Improve customization tags.
3494 (rst-define-level-faces): Clarify meaning.
3495
5205d6f6
CY
34962012-06-03 Chong Yidong <cyd@gnu.org>
3497
3498 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3499 (compilation-mode-line-run, compilation-mode-line-exit):
3500 New faces.
5205d6f6
CY
3501 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3502
757ee657
JD
35032012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3504
7c1898a7
SM
3505 * progmodes/which-func.el (which-func-update-ediff-windows):
3506 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3507
5f2c76c6
CY
35082012-06-03 Chong Yidong <cyd@gnu.org>
3509
3510 * bindings.el: Remove explicit help text from format-mode-line.
3511 It is now supplied by mode-line-default-help-echo.
3512 (mode-line-front-space, mode-line-end-spaces)
3513 (mode-line-misc-info): New variables.
3514 (mode-line-modes, mode-line-position): Move the default value to
3515 the variable definition.
3516 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3517 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3518 (mode-line-modified-help-echo): New functions.
3519 (mode-line-mule-info, mode-line-modified): Use them.
3520 (mode-line-eol-desc, propertized-buffer-identification):
3521 Consistency fixes for help text.
cbe46e5f
CY
3522 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3523 set-buffer-file-coding-system (Bug#289).
3524 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3525
f2d6a3df
SM
35262012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * simple.el (execute-extended-command): Set real-this-command
3529 (bug#11506).
3530
37269466
CY
35312012-06-02 Chong Yidong <cyd@gnu.org>
3532
3533 Remove incorrect uses of "modeline" in comments, docstrings, and
3534 function/variable names (Bug#10329).
3535
3536 * cus-edit.el (mode-line):
3537 * dframe.el (dframe-mouse-hscroll):
3538 * emacs-lisp/re-builder.el:
3539 * emacs-lisp/easy-mmode.el (define-minor-mode):
3540 * frame.el (set-frame-name):
3541 * help.el (lookup-minor-mode-from-indicator):
3542 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3543 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3544 (c-toggle-hungry-state):
3545 * progmodes/antlr-mode.el (antlr-language-alist):
3546 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3547 * progmodes/vhdl-mode.el (vhdl-mode):
3548 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3549 * term/ns-win.el (ns-face-at-pos):
3550 * term/sup-mouse.el (sup-mouse-report):
3551 * textmodes/flyspell.el (flyspell-mode-line-string):
3552 * textmodes/ispell.el (ispell-highlight-face):
3553 * textmodes/reftex-global.el:
3554 * vc/vc-arch.el (vc-arch-mode-line-string):
3555 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3556 * vc/vc-git.el (vc-git-mode-line-string):
3557 * vc/vc-hooks.el (vc-display-status)
3558 (vc-default-mode-line-string):
3559 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3560
3561 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3562
3563 * dired.el (dired-sort-set-mode-line): Rename from
3564 dired-sort-set-modeline. All callers changed.
3565
3566 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3567 eshell-status-in-modeline.
3568
3569 * foldout.el (foldout-mode-line-string): Rename from
3570 foldout-modeline-string. All callers changed.
3571 (foldout-update-mode-line): Rename from foldout-update-modeline.
3572
3573 * subr.el (redraw-modeline): Make into obsolete alias.
3574
3575 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3576 timeclock-modeline-display. Make old name an alias.
3577 (timeclock-update-mode-line): Likewise. All callers changed.
3578 (timeclock-mode-line-display): No need to check before using
3579 add-hook.
3580 (timeclock-relative, timeclock-day-over-hook)
3581 (timeclock-use-elapsed, timeclock-mode-string)
3582 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3583
3584 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3585 crisp-mode-modeline-string.
3586
3587 * play/solitaire.el (solitaire-build-mode-line): Rename from
3588 solitaire-build-modeline. All callers changed.
3589
3590 * play/zone.el (zone-hiding-mode-line): Rename from
3591 zone-hiding-modeline. All callers changed.
3592 (zone): Remove unusued `modeline-hidden-level' property.
3593
3594 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3595 xscheme-modeline-initialize. All callers changed.
3596
3597 * strokes.el (strokes-lighter): Rename from
3598 strokes-modeline-string.
3599
3600 * textmodes/sgml-mode.el (html-face-tag-alist)
3601 (html-tag-face-alist): Use mode-line face instead of obsolete
3602 alias modeline.
3603
42152ee4
SM
36042012-06-02 Stefan Merten <smerten@oekonux.de>
3605
3606 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3607 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3608
95f520b5
CY
36092012-06-02 Chong Yidong <cyd@gnu.org>
3610
3611 * image.el (imagemagick-enabled-types): Rename from
3612 imagemagick-types-enable. Add many more types.
3613 (imagemagick-types-inhibit): Change default to nil.
3614 (imagemagick-filter-types): Caller changed.
3615
4a5f187a
SM
36162012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3617
03fef3e6
SM
3618 * emacs-lisp/cl-macs.el: Use backquotes.
3619 (cl-transform-function-property): Use eval-and-compile rather than
3620 abusing `require'.
3621 (defstruct): Use declare-function instead of with-no-warnings.
3622
4a5f187a
SM
3623 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3624 (byte-compile-output-docform): Re-add the print-circle bindings.
3625 (byte-compile-fix-header): Use #$ just because it's shorter.
3626 (byte-compile-output-file-form): Remove defun/defmacro.
3627
bd56924f
MR
36282012-06-01 Martin Rudalics <rudalics@gmx.at>
3629
3630 * simple.el (choose-completion): Remove now obsolete binding for
3631 owindow.
3632
046e38ce
MA
36332012-06-01 Michael Albinus <michael.albinus@gmx.de>
3634
3635 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3636 in order to avoid "Stack overflow in regexp matcher".
3637
32d72c2f
GM
36382012-05-31 Glenn Morris <rgm@gnu.org>
3639
3640 * image.el: For clarity, call imagemagick-register-types at
3641 top-level, rather than relying on a custom :initialize.
3642 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3643 (imagemagick-filter-types): New function. (Bug#7406)
3644 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3645 If disabling support, remove elements altogether rather
3646 than using an impossible regexp.
3647 (imagemagick-types-inhibit): Give it the default init function.
3648
dd41169b
SM
36492012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3650
4a5f187a
SM
3651 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3652 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3653
efc00ab1 36542012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3655
3656 * desktop.el (desktop-read): Clear previous and next buffers for
3657 all windows and bury *Messages* buffer (bug#11556).
3658
500fcedc
SM
36592012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 Add `declare' for `defun'. Align `defmacro's with it.
3662 * emacs-lisp/easy-mmode.el (define-minor-mode)
3663 (define-globalized-minor-mode): Don't autoload the var definitions.
3664 * emacs-lisp/byte-run.el: Use lexical-binding.
3665 (defun-declarations-alist, macro-declarations-alist): New vars.
3666 (defmacro, defun): Use them.
3667 (make-obsolete, define-obsolete-function-alias)
3668 (make-obsolete-variable, define-obsolete-variable-alias):
3669 Use `declare'.
3670 (macro-declaration-function): Mark obsolete.
3671 * emacs-lisp/autoload.el: Use lexical-binding.
3672 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3673
6e8a1786
AM
36742012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3675
3676 * textmodes/ispell.el (ispell-with-no-warnings):
3677 Define as a macro.
500fcedc
SM
3678 (ispell-kill-ispell, ispell-change-dictionary):
3679 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3680 `interactive-p'.
3681
61b108cc
SM
36822012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3685 (macro-declaration-function): Move var from C code.
3686 (macro-declaration-function): Define function with defalias.
3687 * emacs-lisp/macroexp.el (macroexpand-all-1):
3688 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3689 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3690 defun/defmacro any more.
3691 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3692 Provide fallback for unknown arglist.
3693 (byte-compile-arglist-warn): Change calling convention.
3694 (byte-compile-output-file-form): Move print-vars binding.
3695 (byte-compile-output-docform): Simplify accordingly.
3696 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3697 (byte-compile-defmacro-declaration): Remove.
3698 (byte-compile-file-form-defmumble): Generalize to defalias.
3699 (byte-compile-output-as-comment): Return byte-positions.
3700 Simplify callers accordingly.
3701 (byte-compile-lambda): Use `assert'.
3702 (byte-compile-defun, byte-compile-defmacro): Remove.
3703 (byte-compile-file-form-defalias):
3704 Use byte-compile-file-form-defmumble.
3705 (byte-compile-defalias-warn): Remove.
3706
6d3f7c2f
SM
37072012-05-29 Stefan Merten <smerten@oekonux.de>
3708
3709 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3710 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3711
3712 (rst-mode-abbrev-table): Merge definition.
3713 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3714 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3715
6dbaa1c7
UJ
37162012-05-29 Ulf Jasper <ulf.jasper@web.de>
3717
3718 * calendar/icalendar.el
3719 (icalendar-export-region): Export UID properly.
3720
d209e2fb 37212012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3722 * calendar/icalendar.el (icalendar-import-format):
3723 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3724 (icalendar-import-format-uid): New.
3725 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3726 Export UID.
3727
6876a58d
SM
37282012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3731 different alternative patterns.
3732 (pcase-codegen): Be more careful to preserve identity.
3733 (pcase--u1): Don't forget to mark vars as used.
3734
3735 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3736 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3737 (byte-compile-from-buffer): ...rather than here.
3738
3739 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3740 functions from byte-compile-function-environment.
3741
46b7967e
TN
37422012-05-29 Troels Nielsen <bn.troels@gmail.com>
3743
3744 * window.el (window-deletable-p): Avoid deleting the root window
3745 of a frame with an active minibuffer.
3746
69d565e2
MR
37472012-05-29 Martin Rudalics <rudalics@gmx.at>
3748
3749 * simple.el (choose-completion): Use quit-window (Bug#11567).
3750
a149fa51
CY
37512012-05-29 Chong Yidong <cyd@gnu.org>
3752
3753 * whitespace.el (whitespace-cleanup): Fix usage of
3754 whitespace-empty-at-bob-regexp (Bug#11492).
3755
2b311310
AH
37562012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3757
3758 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3759 revert (Bug#11488).
3760
b9cb2387
JL
37612012-05-29 Juri Linkov <juri@jurta.org>
3762
3763 * isearch.el (isearch-mode-map): Bind `M-s _' to
3764 `isearch-toggle-symbol'. Bind `M-s c' to
3765 `isearch-toggle-case-fold'.
3766 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3767 (isearch-forward): Add `M-s _' to the docstring.
3768 (isearch-forward-symbol, isearch-toggle-case-fold)
3769 (isearch-symbol-regexp): New functions. (Bug#11381)
3770
d5e61c1c
JL
37712012-05-29 Juri Linkov <juri@jurta.org>
3772
3773 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3774 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3775 a function, call it to get the regexp.
3776 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3777 property `isearch-message-prefix' instead of the string "word ".
3778 (isearch-search-fun-default): For the case of `isearch-word',
3779 return a lambda that calls re-search-forward/re-search-backward
3780 with a regexp returned by `word-search-regexp' or by the function
3781 in `isearch-word'.
3782
8cbd80f7
JL
37832012-05-29 Juri Linkov <juri@jurta.org>
3784
3785 * isearch.el (isearch-search-fun-default): New function.
3786 (isearch-search-fun): Move default part to the new function
3787 `isearch-search-fun-default'.
3788 (isearch-search-fun-function): Set the default value to
3789 `isearch-search-fun-default'. (Bug#11381)
3790
3791 * comint.el (comint-history-isearch-end):
3792 Use `isearch-search-fun-default'.
3793 (comint-history-isearch-search): Use `isearch-search-fun-default'
3794 and remove spacial case for `isearch-word'.
3795 (comint-history-isearch-wrap): Remove spacial case for
3796 `isearch-word'.
3797
3798 * hexl.el (hexl-isearch-search-function):
3799 Use `isearch-search-fun-default'.
3800
3801 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3802 Use `word-search-regexp' for `isearch-word'.
3803
3804 * misearch.el (multi-isearch-search-fun):
3805 Use `isearch-search-fun-default'.
3806
3807 * simple.el (minibuffer-history-isearch-search):
3808 Use `isearch-search-fun-default' and remove spacial case for
3809 `isearch-word'.
3810 (minibuffer-history-isearch-wrap): Remove spacial case for
3811 `isearch-word'.
3812
3813 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3814 Remove spacial case for `isearch-word'.
3815 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3816
85c8c5b6
AM
38172012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3818
3819 Decrease XEmacs incompatibilities.
3820 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3821 Use `string-match'.
3822 (flyspell-delete-region-overlays): Use alternative definition for
3823 XEmacs.
3824 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3825 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3826 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3827 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3828 `define-obsolete-face-alias' under XEmacs, but old method.
3829
3830 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3831 `with-no-warnings' definition or Emacs alias.
3832 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3833 (ispell-word): Do not use `region-p' if XEmacs.
3834
8cab9efc
AM
38352012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3836
3837 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3838 Check for `ispell-dictionary-base-alist' instead of full
3839 `ispell-dictionary-alist'.
3840 (ispell-init-process): Show spellchecker when starting new Ispell
3841 process.
3842
fda91268
RZ
38432012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3846 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3847
694ea8e3
JB
38482012-05-27 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * version.el (motif-version-string, gtk-version-string)
3851 (ns-version-string): Declare.
3852
e4d4f539
JL
38532012-05-27 Juri Linkov <juri@jurta.org>
3854
3855 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3856 after the `eval-defun-1' specialcaseing
3857 like in `edebug-eval-defun' (bug#10181).
3858
3859 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3860 like in `eval-defun-1'.
3861
33017faf 38622012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3863
fda91268
RZ
3864 * mail/sendmail.el (mail-yank-region):
3865 Recognize rmail-yank-current-message in addition to insert-buffer.
3866 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3867 a *mail* buffer created through rmail-start-mail with sendmail as
3868 mail-user-agent.
3869
33017faf
GM
38702012-05-27 Chong Yidong <cyd@gnu.org>
3871
3872 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3873 Default to 256 (Bug#11267).
3874
3875 * help.el (describe-mode): Doc fix.
3876
04188bb9
GM
38772012-05-26 Glenn Morris <rgm@gnu.org>
3878
38264cc9
GM
3879 * w32-fns.el (w32-init-info): Remove.
3880 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3881
eb7afdad
GM
3882 * info.el (info-initialize): For self-contained NS builds, put the
3883 included info/ directory at the front. (Bug#2791)
3884
04188bb9
GM
3885 * paths.el (Info-default-directory-list): Make it a defcustom,
3886 mainly so that we can use custom-initialize-delay.
3887
a179e3f7
SM
38882012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3889
43416392
SM
3890 * subr.el (buffer-has-markers-at): Mark obsolete.
3891
a179e3f7 3892 * subr.el (lambda): Use declare.
43416392 3893
a179e3f7
SM
3894 * emacs-lisp/lisp-mode.el (lambda):
3895 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3896
34a008d9
AH
38972012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3898
3899 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3900
0a3b289f
GM
39012012-05-26 Glenn Morris <rgm@gnu.org>
3902
3903 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3904
758c81e8
GM
39052012-05-25 Glenn Morris <rgm@gnu.org>
3906
f9f334f0
GM
3907 * paths.el: Remove no-byte-compile.
3908 * loadup.el: No need to load paths.el uncompiled.
3909
87eb79c2
GM
3910 * image.el (imagemagick-types-inhibit): Doc fix.
3911
758c81e8
GM
3912 * version.el: Remove no-byte-compile and associated formatting.
3913 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3914 is ancient code from when there was an "inc-vers.el".
3915
e7e85dc0
SM
39162012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * progmodes/gdb-mi.el: Minor style changes.
3919 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3920 Turn into minor modes.
3921 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3922 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3923 (gdb-shell): Remove unneeded let-binding.
3924 (gdb-get-many-fields): Eliminate O(n²) behavior.
3925
f31237a4
EZ
39262012-05-25 Eli Zaretskii <eliz@gnu.org>
3927
3928 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3929 platforms that don't link in fontset.c.
3930
bc1b21bb
JL
39312012-05-25 Juri Linkov <juri@jurta.org>
3932
3933 Use the same diff color scheme as in modern VCSes (bug#10181).
3934
3935 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3936 to avoid confusion with `diff-added' that now uses green colors.
3937 (diff-removed): Use shades of red.
3938 (diff-added): Use shades of green.
3939 (diff-changed): Leave just the yellow color.
3940 (diff-use-changed-face): New variable.
3941 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3942 how to highlight context diff changes.
3943 (diff-refine-change): Use shades of yellow.
3944 (diff-refine-removed): New face that uses shades of red.
3945 (diff-refine-added): New face that uses shades of green.
3946 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3947 `diff-refine-removed' in the call to `smerge-refine-subst'
3948 depending on the value of `diff-use-changed-face'.
3949
3950 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3951 (smerge-other): Use shades of green.
3952 (smerge-base): Use shades of yellow.
3953 (smerge-refined-change): Empty face.
3954 (smerge-refined-removed): New face that uses shades of red.
3955 (smerge-refined-added): New face that uses shades of green.
3956 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3957 args `props-r' and `props-a', and use them. Doc fix.
3958 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3959 on its value use different faces `smerge-refined-change',
3960 `smerge-refined-removed', `smerge-refined-added' in the call to
3961 `smerge-refine-subst'.
3962
3963 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3964 Add face condition `min-colors 88' with shades of red.
3965 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3966 `min-colors 88' with shades of green.
3967 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3968 `min-colors 88' with shades of yellow.
3969
6df9112c
GM
39702012-05-24 Glenn Morris <rgm@gnu.org>
3971
ead5edc0
GM
3972 * paths.el (prune-directory-list, remote-shell-program): Move to...
3973 * files.el (prune-directory-list, remote-shell-program): ...here.
3974 For the latter, delay initialization, prefer ssh, just search PATH.
3975
f18b81e6
GM
3976 * paths.el (term-file-prefix): Move to faces.el (the only user).
3977 * faces.el (term-file-prefix): Move here, make it a defcustom.
3978
ee2f89a6
GM
3979 * paths.el (news-directory, news-path, news-inews-program):
3980 Move to gnus/nnspool.el.
61a583ca 3981
f8815e4c
GM
3982 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3983
c8f3b42c
GM
3984 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3985 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3986 Make the latter a defcustom, with a delayed initialization.
3987
6df9112c
GM
3988 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3989 These were deleted from Gnus itself late 2010.
3990
5dadff36
JB
39912012-05-22 Juanma Barranquero <lekktu@gmail.com>
3992
9e1701c6
JB
3993 * progmodes/which-func.el (which-func-ff-hook):
3994 Check against user-error, not error.
3995
bd7239f5 3996 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3997 cl-specs.el, which no longer exists.
3998
3290526d
GM
39992012-05-22 Glenn Morris <rgm@gnu.org>
4000
4001 * info.el (info-emacs-bug): New command.
4002 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4003 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4004
ff0c3cfb
GM
40052012-05-21 Glenn Morris <rgm@gnu.org>
4006
4007 * makefile.w32-in (update-subdirs-SH):
4008 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4009
5814f126
SM
40102012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4011
a52c0aa0
SM
4012 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4013
5814f126
SM
4014 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4015 Simplify Maven regexp, and make sure the file can't start with a space
4016 (bug#11517).
4017
b847032c
GM
40182012-05-21 Glenn Morris <rgm@gnu.org>
4019
4020 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4021 Scrap superfluous subshells.
4022
3858bfe7
SM
40232012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4026 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4027
d14b0029
JB
40282012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4029
4030 * calc/calc.el (calc-ensure-consistent-units): New variable.
4031
a52c0aa0
SM
4032 * calc/calc-units.el (math-consistent-units-p)
4033 (math-check-unit-consistency): New functions.
4034 (calc-quick-units, calc-convert-units):
4035 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4036 is non-nil.
d14b0029
JB
4037 (calc-extract-units): Fix typo.
4038
60c4db3a
SM
40392012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4040
77f3b62e
SM
4041 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4042
60c4db3a
SM
4043 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4044 (flyspell-default-deplacement-commands): Don't spell check after
4045 repeated window/frame switches (e.g. triggered by mouse-movement).
4046 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4047 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4048 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4049 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4050 Remove unused vars.
4051 (flyspell-get-casechars, flyspell-get-not-casechars):
4052 Simplify; Don't bother removing a ] just to add it back.
4053 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4054
d209e2fb 40552012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4056
4057 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4058 New functions.
bd7239f5 4059 (math-function-table): Add support for more C functions.
b1a10716 4060
3f1b25b5
AM
40612012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4062
090bd7cb
JB
4063 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4064 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4065 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4066
b581bb5c
SM
40672012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4070 their respective macro declarations.
4071 * skeleton.el (define-skeleton):
4072 * progmodes/compile.el (define-compilation-mode):
4073 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4074 (define-ibuffer-filter):
4075 * emacs-lisp/generic.el (define-generic-mode):
4076 * emacs-lisp/easy-mmode.el (define-minor-mode)
4077 (define-globalized-minor-mode):
4078 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4079 * emacs-lisp/byte-run.el (defsubst):
4080 * custom.el (deftheme): Add doc-string metadata.
4081
70b8ef8f
SM
40822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4085
b1198e17
SM
40862012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4087
9abdc45d
SM
4088 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4089
b1198e17
SM
4090 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4091 * emacs-lisp/cl-macs.el: Idem.
4092 * emacs-lisp/cl-specs.el: Remove.
4093
4735906a
SM
40942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 Minor renaming of internal CL functions and variables.
4097 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4098 (cl--position): Rename from cl-position.
4099 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4100 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4101 (cl--random-state): Rename from *random-state*.
4102
ac348012
SM
41032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4106 parens around the arg list (bug#11499).
4107
a0a79cde
JL
41082012-05-17 Juri Linkov <juri@jurta.org>
4109
4110 * isearch.el (word-search-regexp, word-search-backward)
4111 (word-search-forward, word-search-backward-lax)
4112 (word-search-forward-lax): Move functions from search.c
4113 (bug#10145, bug#11381).
4114
65034a51
AM
41152012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4116
090bd7cb
JB
4117 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4118 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4119 Delay for otherchars as for normal word components.
65034a51 4120
1a72a195
SM
41212012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * minibuffer.el (completion--sifn-requote): Fix last change.
4124 (minibuffer-local-must-match-filename-map):
4125 Move define-obsolete-variable-alias before its var.
4126
fdb058c2
SM
41272012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4128
c41045e6
SM
4129 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4130
036dfb8b
SM
4131 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4132 behavior.
4133 (completion--string-equal-p): New function.
4134 (completion--twq-all): Use it to get better assertion failure data.
4135
2473256d
SM
4136 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4137 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4138 (shell--requote-argument): New functions.
4139 (shell-completion-vars): Use them.
4140 (shell--parse-pcomplete-arguments): Rename from
4141 shell-parse-pcomplete-arguments.
4142 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4143 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4144 Obey comint-file-name-quote-list.
4145
fdb058c2
SM
4146 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4147 (smie-indent-keyword): Use it.
4148
51fa99f1
SM
41492012-05-14 Stefan Merten <smerten@oekonux.de>
4150
4151 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4152
e18afed7 41532012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4154
4155 * net/rlogin.el (rlogin-mode-map): Fix last change.
4156
e18afed7 41572012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4158
4159 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4160 the following \r\n using a single `process-send-string', since the
4161 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4162 with two `process-send-string's (Bug#11444).
8633b1f4 4163
e18afed7 41642012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4165
fdb058c2
SM
4166 * shell.el (shell-parse-pcomplete-arguments):
4167 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4168
2d21d7f6
WJ
41692012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4170
e18afed7 4171 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4172 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4173 (image-transform-width, image-transform-fit-width): New functions.
4174 (image-transform-properties): Use them.
4175 (image-transform-check-size): New function.
4176 (image-toggle-display-image): Use it (for testing).
4177 (image-transform-set-rotation): Reduce angle mod 360.
4178 Delete obsolete comment.
4179
7102e6d0
WJ
41802012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4181
4182 * image-mode.el: Fix scaling (bug#11399).
4183 (image-transform-resize): Doc fix.
4184 (image-transform-properties): Default scale is 1 and height should
4185 be an integer.
4186
06bc5e6e
SM
41872012-05-13 Johan Bockgård <bojohan@gnu.org>
4188
4189 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4190 than hard-coding `car', to fix misbehavior when moving forward.
4191
0ae03b6a
CY
41922012-05-13 Chong Yidong <cyd@gnu.org>
4193
4194 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4195 (tabulated-list-entries, tabulated-list-padding)
4196 (tabulated-list-sort-key): Make permanent-local.
4197
4198 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4199 (electric-buffer-list): Put electric buffer menu
4200 command descriptions in this docstring, instead of the docstring
4201 of electric-buffer-menu-mode. Code cleanups.
4202 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4203 Electric-buffer-menu-mode.
4204 (electric-buffer-update-highlight): Minor code cleanup.
4205
205a7391
MA
42062012-05-13 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4209 (Bug#11447)
4210
e5bd0a28
SM
42112012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 Move define-obsolete-variable-alias before the var's definition.
4214 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4215 * tooltip.el (tooltip-hook):
4216 * textmodes/reftex-toc.el (reftex-toc-map):
4217 * textmodes/reftex-sel.el (reftex-select-label-map)
4218 (reftex-select-bib-map):
4219 * textmodes/reftex-index.el (reftex-index-map)
4220 (reftex-index-phrases-map):
4221 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4222 * progmodes/meta-mode.el (meta-mode-map):
4223 * novice.el (disabled-command-hook):
4224 * loadhist.el (unload-hook-features-list):
4225 * frame.el (blink-cursor):
4226 * files.el (find-file-not-found-hooks, write-file-hooks)
4227 (write-contents-hooks):
4228 * emulation/tpu-edt.el (GOLD-map):
4229 * emacs-lock.el (emacs-lock-from-exiting):
4230 * emacs-lisp/generic.el (generic-font-lock-defaults):
4231 * emacs-lisp/chart.el (chart-map):
4232 * dos-fns.el (register-name-alist):
4233 * dired-x.el (dired-omit-files-p):
4234 * desktop.el (desktop-enable):
4235 * cus-edit.el (custom-mode-hook):
4236 * buff-menu.el (buffer-menu-mode-hook):
4237 * bookmark.el (bookmark-read-annotation-text-func)
4238 (bookmark-exit-hooks):
4239 * allout.el (allout-mode-deactivate-hook)
4240 (allout-exposure-change-hook, allout-structure-added-hook)
4241 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4242 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4243 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4244 comes before the corresponding variable's definition.
4245
ac59c2f6
CY
42462012-05-12 Chong Yidong <cyd@gnu.org>
4247
4248 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4249 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4250 (Buffer-menu-mode-map): Bind it.
4251 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4252
dee6c9a3
SM
42532012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4254
2171cea5
SM
4255 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4256 (prolog-upper-case-string, prolog-lower-case-string)
4257 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4258 (prolog-use-smie, prolog-smie-grammar): New vars.
4259 (prolog-smie-forward-token, prolog-smie-backward-token)
4260 (prolog-smie-rules): New funs.
4261 (prolog-comment-indent): Remove.
4262 (prolog-mode-variables): Use default comment indentation instead.
4263 Setup SMIE.
4264 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4265 (prolog-mode): Don't call them any more.
4266 (prolog-electric-colon, prolog-electric-dash)
4267 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4268
aa0382bd
SM
4269 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4270
dbacb4bd
SM
4271 * minibuffer.el (completion--twq-all): Again, allow case differences.
4272
13bdd94c
SM
4273 * term.el: Move keymap initialization code to be more idiomatic.
4274 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4275 (term-terminal-menu): Move initialization into declaration.
4276 (term-escape-char): Let the user set it in her .emacs.
4277
ff46c759
SM
4278 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4279 Provide SMIE-based indentation (not enabled by default yet).
4280 (sh-mode-map): Don't bind electric keys.
4281 Use electric-pair-mode instead of skeleton-pair.
4282 (sh-assignment-regexp): Fit within 80 columns.
4283 (sh-indent-supported): Specify actual shell name instead of boolean.
4284 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4285 (sh-maybe-here-document): Use it. Make obsolete.
4286 (sh-electric-here-document-mode) New minor mode.
4287 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4288 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4289 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4290 (sh-smie-rc-grammar, sh-use-smie): New vars.
4291 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4292 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4293 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4294 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4295 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4296 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4297 (sh-set-shell): Use smie-setup if requested.
4298
dee6c9a3
SM
4299 * term.el (term-set-escape-char): Properly set term-escape-char.
4300 See http://stackoverflow.com/questions/10524656.
4301
9f9aa044
CY
43022012-05-10 Chong Yidong <cyd@gnu.org>
4303
4304 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4305 Use url-generic-parse-url, and handle host names and Windows
4306 filenames properly.
4307 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4308 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4309 URL schemes to work on.
4310 (ffap--toggle-read-only): New function.
4311 (ffap-read-only, ffap-read-only-other-window)
4312 (ffap-read-only-other-frame): Use it.
4313 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4314 necessary for ffap-url-unwrap-remote.
4315
836d29b3
DA
43162012-05-10 Dave Abrahams <dave@boostpro.com>
4317
4318 * cus-start.el (create-lockfiles): Add it.
4319
00fd78ed
CY
43202012-05-09 Chong Yidong <cyd@gnu.org>
4321
4322 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4323 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4324
666b903b 43252012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4326
4327 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4328
666b903b 43292012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4330
4331 * ansi-color.el (ansi-color-process-output): Check for validity of
4332 comint-last-output-start before using it. This avoids a bad
4333 interaction with gdb-mi's input/output buffer.
4334
666b903b 43352012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4336
4337 * files.el (dir-locals-read-from-file):
4338 Mention dir-locals in any error message.
4339
666b903b 43402012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4341
4342 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4343 package (Bug#11410).
4344
f677562b
CY
4345 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4346 variables into description.
4347
666b903b 43482012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4349
4350 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4351 shell-delimiter-argument-list (bug#11348).
4352 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4353
b499d8d0
JB
43542012-05-09 Juanma Barranquero <lekktu@gmail.com>
4355
8f6b6da8
JB
4356 * textmodes/rst.el: Silence byte-compiler warnings.
4357 (rst-re-alist, rst-reset-section-caches): Move around.
4358 (rst-re): Use `characterp', not `char-valid-p'.
4359 (font-lock-beg, font-lock-end): Declare.
4360
4824146a
JB
4361 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4362 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4363
b499d8d0
JB
4364 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4365
ad89bb83
GM
43662012-05-08 Glenn Morris <rgm@gnu.org>
4367
4368 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4369
8bba5a75
SM
43702012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4371
49ed9c8e
SM
4372 * vc/log-edit.el: Add GNU coding standards highlighting.
4373 (log-edit-font-lock-gnu-style)
4374 (log-edit-font-lock-gnu-keywords): New vars.
4375 (log-edit-font-lock-keywords): New fun.
4376 (log-edit-mode): Don't fold case in font-lock.
4377 (log-edit-font-lock-keywords): Do not assume case-folding.
4378
07d00b56
SM
4379 * imenu.el: Misc cleanup. Make docstrings out of comments.
4380 Use lexical-binding.
4381 (imenu--index-alist, imenu--last-menubar-index-alist)
4382 (imenu-menubar-modified-tick): Use defvar-local.
4383 (imenu--split-menu): Remove unused var.
4384 (imenu--cleanup-seen): Declare as global.
4385 (imenu--cleanup): Use dolist.
4386
8bba5a75
SM
4387 * subr.el (defvar-local): Add debug spec and doc-string position.
4388
5075bdb5
GM
43892012-05-08 Glenn Morris <rgm@gnu.org>
4390
090bd7cb 4391 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4392 * language/english.el, language/georgian.el, language/greek.el:
4393 * language/japanese.el, language/khmer.el, language/korean.el:
4394 * language/lao.el, language/misc-lang.el, language/romanian.el:
4395 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4396 * language/thai.el, language/utf-8-lang.el:
4397 Remove no-byte-compile setting.
4398
5075bdb5
GM
4399 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4400
06f679a7
AH
44012012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4402
4403 * progmodes/make-mode.el (makefile-browse):
4404 Remove unnecessary interactive. (Bug#11324)
4405
03794570
GM
44062012-05-07 Glenn Morris <rgm@gnu.org>
4407
af8630f4
GM
4408 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4409
03794570
GM
4410 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4411
f0809a9d
SM
44122012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4413
28be5ce7
SM
4414 * loadup.el: Preload newcomment.el.
4415 * newcomment.el: Move autoload-only code to toplevel.
4416
f0809a9d
SM
4417 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4418 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4419 Handle new :right-align column property.
4420 (tabulated-list-print-col): Idem, plus use `display' text-property to
4421 try and preserve alignment for variable pitch fonts.
4422
1241b724
CY
44232012-05-07 Chong Yidong <cyd@gnu.org>
4424
4425 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4426 (tabulated-list-use-header-line): New var.
4427 (tabulated-list-init-header): Use it.
4428 (tabulated-list-print-fake-header): New function.
4429 (tabulated-list-print): Use it.
4430 (tabulated-list-sort-button-map): Add non-header-line commands.
4431 (tabulated-list-init-header): Add column name property to basic
4432 labels as well.
4433 (tabulated-list-col-sort): Handle non-header-line button case.
4434 (tabulated-list--sort-by-column-name): Fix a corner case.
4435
f0809a9d
SM
4436 * buff-menu.el (list-buffers--refresh):
4437 Handle Buffer-menu-use-header-line.
1241b724 4438
e5f9458f
CY
44392012-05-06 Chong Yidong <cyd@gnu.org>
4440
4441 * buff-menu.el: Convert to Tabulated List mode.
4442 (Buffer-menu-buffer+size-width): Make obsolete.
4443 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4444 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4445 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4446 documentation into docstring of buffer-menu.
4447 (Buffer-menu-toggle-files-only): Add an informative message.
4448 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4449 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4450 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4451 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4452 (Buffer-menu-execute, Buffer-menu-select)
4453 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4454 (Buffer-menu-bury): Use Tabulated List machinery.
4455 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4456 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4457 Delete.
e5f9458f
CY
4458 (list-buffers--refresh): New function.
4459 (list-buffers-noselect): Use it.
4460 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4461 (Buffer-menu--pretty-file-name): New helper functions.
4462
4463 * loadup.el: Preload tabulated-list.
4464
4465 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4466 tabulated-list-sort-column.
4467 (tabulated-list-init-header): Add the initial aligning space even
4468 if tabulated-list-padding is zero.
4469
e129292c
CS
44702012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4471
4472 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4473 whose cdr is not a cons cell correctly (bug#11038).
4474
6632d361
CY
44752012-05-06 Chong Yidong <cyd@gnu.org>
4476
e129292c
CS
4477 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4478 Accept additional plist in column descriptors.
6632d361
CY
4479 (tabulated-list-init-header): Obey it.
4480 (tabulated-list-get-entry): New function.
4481 (tabulated-list-put-tag): Use it. Use string-width instead of
4482 length.
4483 (tabulated-list--column-number): New function.
4484 (tabulated-list-print): Use it.
e129292c
CS
4485 (tabulated-list-print-col): New function.
4486 Set `tabulated-list-column-name' property on each column's text.
6632d361 4487 (tabulated-list-print-entry): Use it.
e129292c
CS
4488 (tabulated-list-delete-entry, tabulated-list-set-col):
4489 New functions.
6632d361
CY
4490 (tabulated-list-sort-column): New command (Bug#11337).
4491
3cc99f68
CY
4492 * buff-menu.el (list-buffers): Move C-x C-b binding from
4493 buff-menu.el to bindings.el.
4494
4495 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4496 :advertised-binding feature.
4497
52b61776
TN
44982012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4499
4500 * progmodes/compile.el (compilation-internal-error-properties):
4501 Calculate start position correctly when end-col is set but
4502 end-line is not (Bug#11382).
4503
ebfe2597
WJ
45042012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4505
4506 * man.el (Man-unindent): Use text-property-default-nonsticky to
4507 prevent untabify from inheriting face properties (Bug#11408).
4508
6d3f7c2f
SM
45092012-05-05 Stefan Merten <smerten@oekonux.de>
4510
4511 * textmodes/rst.el: Major merge with upstream development up to
4512 Docutils SVN r7399 / rst.el V1.2.1.
4513
4514 Clarify maintainership and authors.
4515
4516 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4517 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4518 (rst-official-version, rst-official-cvs-rev, rst-version)
4519 (rst-package-emacs-version-alist): New functions and variables
4520 for version information.
4521
4522 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4523 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4524 (rst-mode-syntax-table, rst-mode): New and corrected functions
4525 and variables representing reStructuredText features.
4526
4527 (rst-re): New function for reStructuredText regexes. Use in
4528 many places.
4529
4530 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4531 (rst-mode-map): Rebind keys.
4532
4533 (rst-mode-lazy, rst-font-lock-keywords)
4534 (rst-font-lock-extend-region)
4535 (rst-font-lock-extend-region-internal)
4536 (rst-font-lock-extend-region-extend)
4537 (rst-font-lock-find-unindented-line-limit)
4538 (rst-font-lock-find-unindented-line-match)
4539 (rst-adornment-level, rst-font-lock-adornment-level)
4540 (rst-font-lock-adornment-match)
4541 (rst-font-lock-handle-adornment-pre-match-form)
4542 (rst-font-lock-handle-adornment-matcher): Major revision of
4543 font-locking. Integrate with other code. Use `jit-lock-mode'.
4544
4545 (rst-preferred-adornments, rst-adjust-hook)
4546 (rst-new-adornment-down, rst-preferred-bullets)
4547 (rst-preferred-bullets, rst-indent, rst-indent-width)
4548 (rst-indent-field, rst-indent-literal-normal)
4549 (rst-indent-literal-minimized, rst-indent-comment): Change,
4550 extend and improve customization.
4551
4552 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4553 (rst-normalize-cursor-position, rst-get-decoration)
4554 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4555 (rst-rstrip, rst-toc-insert-find-delete-contents)
4556 (rst-shift-fill-region, rst-compute-bullet-tabs)
4557 (rst-debug-print-tabs, rst-debug-mark-found)
4558 (rst-shift-region-guts, rst-shift-region-right)
4559 (rst-shift-region-left, rst-use-char-classes)
4560 (rst-font-lock-keywords-function)
4561 (rst-font-lock-indentation-point)
4562 (rst-font-lock-find-unindented-line-begin)
4563 (rst-font-lock-find-unindented-line-end)
4564 (rst-font-lock-find-unindented-line)
4565 (rst-font-lock-adornment-point, rst-font-lock-level)
4566 (rst-adornment-level-alist): Remove functions and variables.
4567
4568 (rst-compare-adornments, rst-get-adornment-match)
4569 (rst-suggest-new-adornment, rst-get-adornments-around)
4570 (rst-adornment-complete-p, rst-get-next-adornment)
4571 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4572 (rst-straighten-adornments): Standardize function names to
4573 use "adornment" instead of "decoration". Correct callers.
4574 Similar standardizing in many places.
4575
4576 (rst-update-section, rst-adjust, rst-promote-region)
4577 (rst-enumerate-region, rst-bullet-list-region)
4578 (rst-repeat-last-character): Correct use of `interactive'.
4579
4580 (rst-classify-adornment, rst-find-all-adornments)
4581 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4582 (rst-find-leftmost-column, rst-repeat-last-character):
4583 Refactor functions.
4584
4585 (rst-find-title-line, rst-reset-section-caches)
4586 (rst-get-adornments-around, rst-adjust-adornment-work)
4587 (rst-arabic-to-roman, rst-roman-to-arabic)
4588 (rst-insert-list-pos, rst-insert-list-new-item)
4589 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4590 New functions.
4591
4592 (rst-all-sections, rst-section-hierarchy)
4593 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4594 New variables.
4595
4596 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4597 configuration instead of only buffer. Change where necessary.
4598
4599 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4600 (rst-shift-region, rst-adaptive-fill): New functions for
4601 indentation and filling.
4602
4603 (rst-comment-line-break, rst-comment-indent)
4604 (rst-comment-insert-comment, rst-comment-region)
4605 (rst-uncomment-region): New functions for handling comments.
4606
4607 (rst-compile): Quote shell arguments.
4608
4609 (rst-compile-pdf-preview, rst-compile-slides-preview):
4610 Delete temporary files after use.
4611
a43f98b3
GM
46122012-05-05 Glenn Morris <rgm@gnu.org>
4613
48176e8b
GM
4614 * calendar/cal-html.el: Optionally include holidays in the output.
4615 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4616 (cal-html-holidays): New option.
4617 (cal-html-css-default): Add holiday entry.
4618 (holiday-in-range): Autoload it.
4619 (cal-html-htmlify-entry): Add optional class argument.
4620 (cal-html-htmlify-list): Add optional holidays argument.
4621 (cal-html-insert-agenda-days): Include holidays in the output.
4622 (cal-html-one-month): Maybe include holidays.
4623
a43f98b3
GM
4624 * calendar/holidays.el (holiday-in-range):
4625 Move here from cal-tex-list-holidays.
4626 * calendar/cal-tex.el (cal-tex-list-holidays):
4627 Make it an obsolete alias for holiday-in-range. Update all callers.
4628
fef9d149 46292012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4630
4631 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4632 Nextstep.
4633
248da2f4
RW
46342012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4635
4636 * files.el (file-auto-mode-skip): New var.
4637 (set-auto-mode-1): Use it.
4638
f95e9344
SM
46392012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4640
df96ab1e
SM
4641 * repeat.el: Use lexical-binding.
4642 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4643 (repeat-undo-count): Remove.
4644 (repeat):
4645 * progmodes/octave-mod.el (octave-abbrev-start):
4646 * progmodes/f90.el (f90-abbrev-start):
4647 * face-remap.el (text-scale-adjust):
4648 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4649
5342bb06
SM
4650 * emacs-lisp/pcase.el (pcase--let*): New function.
4651 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4652 a bit more.
4653 (pcase--split-pred): Be more clever about ruling out overlap between
4654 a predicate and some constant pattern.
4655 (pcase--q1): Use `null' instead of (eq foo nil).
4656
f95e9344
SM
4657 * subr.el (setq-local, defvar-local): New macros.
4658 (kbd): Redefine as an alias.
4659 (with-selected-window): Leave unrelated frames alone.
4660 (set-temporary-overlay-map): New function.
4661
71873e2b
SM
46622012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * subr.el (user-error): New function.
4665 * window.el (switch-to-buffer):
4666 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4667 (smerge-match-conflict):
4668 * simple.el (previous-matching-history-element)
4669 (next-matching-history-element, goto-history-element, undo-more)
4670 (undo-start):
4671 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4672 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4673 (next-file, tags-loop-scan, list-tags, complete-tag):
4674 * progmodes/compile.el (compilation-loop):
4675 * mouse.el (mouse-minibuffer-check):
4676 * man.el (Man-bgproc-sentinel, Man-goto-page):
4677 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4678 (Info-history-forward, Info-follow-reference, Info-menu)
4679 (Info-extract-menu-item, Info-extract-menu-counting)
4680 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4681 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4682 (Info-next-reference, Info-prev-reference, Info-index)
4683 (Info-index-next, Info-follow-nearest-node)
4684 (Info-copy-current-node-name):
4685 * imenu.el (imenu--make-index-alist)
4686 (imenu-default-create-index-function, imenu-add-to-menubar):
4687 * files.el (basic-save-buffer, recover-file):
4688 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4689 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4690 (checkdoc-message-text, checkdoc-defun):
4691 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4692 * cus-edit.el (customize-changed-options, customize-rogue)
4693 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4694 (custom-variable-mark-to-reset-standard)
4695 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4696 (custom-file):
4697 * completion.el (check-completion-length):
4698 * comint.el (comint-search-arg)
4699 (comint-previous-matching-input-string-position)
4700 (comint-previous-matching-input)
4701 (comint-replace-by-expanded-history-before-point, comint-send-input)
4702 (comint-copy-old-input, comint-backward-matching-input)
4703 (comint-goto-process-mark, comint-set-process-mark):
4704 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4705 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4706
8a61ee22
SM
47072012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4708
66408d1e
SM
4709 * dabbrev.el (dabbrev--ignore-case-p): New function.
4710 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4711 Use it.
4712
8a61ee22
SM
4713 * files.el (automount-dir-prefix): Mark as obsolete.
4714
3c74813a
GM
47152012-05-04 Glenn Morris <rgm@gnu.org>
4716
4717 * patcomp.el, play/bruce.el: Move to obsolete/.
4718
0bfcf5c5
PE
47192012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4720
4721 Fix minor Y10k bugs.
4722 * arc-mode.el (archive-unixdate):
4723 * autoinsert.el (auto-insert-alist):
4724 * calc/calc-forms.el (math-this-year):
4725 * emacs-lisp/copyright.el (copyright-current-year)
4726 (copyright-update-year, copyright):
4727 * tar-mode.el (tar-clip-time-string):
4728 * time.el (display-time-update):
4729 Don't assume years have 4 digits.
4730
78f3273a
CY
47312012-05-04 Chong Yidong <cyd@gnu.org>
4732
4733 * dos-w32.el (file-name-buffer-file-type-alist)
4734 (direct-print-region-use-command-dot-com):
4735 * ffap.el (ffap-menu-regexp):
4736 * find-file.el (ff-special-constructs):
4737 * follow.el (follow-debug):
4738 * forms.el (forms--debug):
4739 * iswitchb.el (iswitchb-all-frames):
4740 * ido.el (ido-all-frames):
4741 * emacs-lisp/timer.el (timer-max-repeats):
4742 * mail/feedmail.el (feedmail-mail-send-hook)
4743 (feedmail-mail-send-hook-queued):
4744 * mail/footnote.el (footnote-signature-separator):
4745 * mail/mailabbrev.el (mail-alias-separator-string)
4746 (mail-abbrev-mode-regexp):
4747 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4748 * progmodes/idlwave.el (idlwave-libinfo-file)
4749 (idlwave-default-completion-case-is-down)
4750 (idlwave-library-routines): Convert defvars to defcustoms.
4751
4752 * mail/rmail.el (rmail-decode-mime-charset):
4753 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4754 (idlwave-shell-fix-inserted-breaks)
4755 (idlwave-shell-activate-alt-keybindings)
4756 (idlwave-shell-use-breakpoint-glyph):
4757 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4758
f7ae6719
SM
47592012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4762
47086495
WS
47632012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4764
4765 * progmodes/verilog-mode.el (font-lock-keywords):
4766 Fix mis-highligting auto. Reported by Craig Barner.
4767 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4768 defines from global name space. Reported by Dan Dever.
4769 (verilog-auto-reset, verilog-auto-reset-widths)
4770 (verilog-auto-tieoff): Support using unbased numbers for
4771 AUTORESET and AUTOTIEOFF.
4772 (verilog-submit-bug-report): Update variable list.
4773 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4774 parenthesis from not matching. Reported by Michael Rytting.
4775 (verilog-auto-template-lint): Fix hash error when linting modules
4776 with no used templates.
4777 (verilog-warn, verilog-warn-error)
4778 (verilog-warn-fatal): When non-interactive report multiple
4779 warnings before exiting. Suggested by Brad Dobbie.
4780 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4781 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4782 to report unused template errors. Reported by Brad Dobbie.
4783 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4784 nets, bug438. Reported by Vns Blore.
4785 (verilog-auto-inout-module, verilog-auto-reg)
4786 (verilog-read-decls, verilog-read-sub-decls-sig)
4787 (verilog-signals-edit-wire-reg, verilog-signals-with):
4788 Fix passing of Verilog data types in ANSI input/output ports
4789 such as "output logic" into the AUTOs. Special case "wire" and
4790 "reg" for backwards compatibility presuming Verilog 2001.
4791 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4792 (verilog-preprocess): Fix replication of preprocess output.
4793 Reported by Brad Dobbie.
4794 (verilog-auto-inst-interfaced-ports):
4795 Create verilog-auto-inst-interfaced-ports, bug429.
4796 Reported by Julian Gorfajn.
4797 (verilog-after-save-font-hook)
4798 (verilog-before-save-font-hook): New variable.
4799 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4800 (verilog-save-font-mods): Wrap disabling fontification, reported
4801 by David Rogoff.
4802 (verilog-do-indent, verilog-pretty-declarations-auto)
4803 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4804 Reported by Pierre-David Pfister.
4805 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4806 of class declarations, bug292. Reported by Kevin Heilman.
4807 (verilog-read-decls): Fix 'parameter type' not appearing in
4808 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4809 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4810 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4811 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4812 Reported by David Kravitz.
4813
48142012-05-03 Michael McNamara <mac@mail.brushroad.com>
4815
4816 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4817 assignment with tests in ifs and for loops.
4818 (verilog-extended-complete-re, verilog-complete-reg): Change so
4819 that DPI inport functions don't look like fuction declarations.
4820 (verilog-pretty-expr): Don't line up assignment
4821 operations to the test and increment in if and for loops
4822 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4823 that DPI inport functions don't look like fuction declarations.
47086495 4824
2e51d4b5
KH
48252012-05-03 Kenichi Handa <handa@m17n.org>
4826
4827 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4828 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4829 (Bug#11282).
4830
2bd785a2
SM
48312012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * emacs-lisp/bytecomp.el
4834 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4835 since cconv.el might have introduced :fun-body, internal-make-closure,
4836 and friends for bytecomp to handle (bug#11391).
4837 * custom.el (defcustom): Avoid ((λ ..) ..).
4838
99d27583
SM
48392012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4842
55a71479
JB
48432012-05-02 Juanma Barranquero <lekktu@gmail.com>
4844
4845 * notifications.el (dbus-debug):
4846 * term/linux.el (gpm-mouse-enable):
4847 * term/screen.el (xterm-register-default-colors): Declare.
4848
7b97c764
CY
48492012-05-02 Chong Yidong <cyd@gnu.org>
4850
2bc356d7
CY
4851 * cus-start.el (gc-cons-percentage, exec-suffixes)
4852 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4853 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4854 (make-cursor-line-fully-visible, void-text-area-pointer)
4855 (font-list-limit): Add customization data.
4856
7b97c764
CY
4857 * allout.el (allout-exposure-change-functions)
4858 (allout-structure-added-functions)
4859 (allout-structure-deleted-functions)
4860 (allout-structure-shifted-functions): Rename abnormal hooks from
4861 *-hook, and convert to defcustoms.
5d3385a0
JB
4862 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4863 Convert to defcustoms.
7b97c764
CY
4864 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4865
4866 * allout-widgets.el: Hook callers changed.
4867
90207a15 48682012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4869
4870 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4871 the yanked message in preference to the default value of
4872 buffer-file-coding-system.
4873
90207a15 48742012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4875
5d3385a0
JB
4876 * window.el (display-buffer--action-function-custom-type):
4877 Fix entry.
d9558cad 4878
90207a15 48792012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4880
4881 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4882
d80ac57b
GM
48832012-05-01 Glenn Morris <rgm@gnu.org>
4884
976f7668
GM
4885 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4886
beb83b5a
GM
4887 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4888
d80ac57b
GM
4889 * cus-edit.el (custom-variable-documentation): Simplify with format.
4890
b593d6a9 48912012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4892 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4893
4894 * simple.el (suggest-key-bindings, execute-extended-command):
4895 Move from keyboard.c.
4896
782fbf2a
CY
48972012-05-01 Chong Yidong <cyd@gnu.org>
4898
4899 * follow.el: Eliminate advice.
4900 (set-process-filter, process-filter, sit-for): Advice deleted.
4901 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4902 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4903 Vars deleted.
782fbf2a
CY
4904 (follow-auto): Use a :set function.
4905 (follow-mode): Rewritten. Don't advise process filters.
4906 (follow-switch-to-current-buffer-all, follow-scroll-up)
4907 (follow-scroll-down): Assume follow-mode is bound.
4908 (follow-comint-scroll-to-bottom)
4909 (follow-align-compilation-windows): New functions.
4910 (follow--window-sorter): New function.
4911 (follow-all-followers): Use it to explicitly sort windows by their
4912 positions; don't make assumptions about next-window order.
4913 (follow-windows-start-end, follow-delete-other-windows-and-split)
4914 (follow-calc-win-start): Doc fix.
4915 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4916 vertical-motion unnecessarily.
4917 (follow-adjust-window): New function.
4918 (follow-post-command-hook): Use it.
4919 (follow-call-set-process-filter, follow-call-process-filter)
4920 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4921 (follow-stop-intercept-process-output, follow-generic-filter):
4922 Functions deleted.
4923 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4924 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4925 New functions, replacing advice on scroll-bar-* commands.
87233a14 4926 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4927
4928 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4929 (comint-postoutput-scroll-to-bottom): Use it.
4930 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4931
290af740
GM
49322012-05-01 Glenn Morris <rgm@gnu.org>
4933
4934 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4935 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4936 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4937 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4938 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4939 Remove no-byte-compile setting.
4940
6eac8dc9
SM
49412012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4944 all-completions code to not return a number in the last cdr.
4945
9cc7819c
LL
49462012-04-30 Leo Liu <sdl.web@gmail.com>
4947
4948 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4949 read-only error.
4950
c93b886f
CY
49512012-04-29 Chong Yidong <cyd@gnu.org>
4952
4953 * follow.el (follow-calc-win-end): Rewrite to handle partial
4954 screen lines correctly (Bug#8390).
4955 (follow-avoid-tail-recenter): Minor cleanup.
4956
8b6c19f4
SM
49572012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 Avoid the obsolete `assoc' package.
4960 * speedbar.el (speedbar-refresh): Avoid adelete.
4961 (speedbar-file-lists): Simplify and avoid aput.
4962 * man.el (Man--sections, Man--refpages): New vars, replacing
4963 Man-sections-alist and Man-refpages-alist.
4964 (Man-build-section-alist, Man-build-references-alist):
4965 Use them; avoid aput.
4966 (Man--last-section, Man--last-refpage): New vars.
4967 (Man-follow-manual-reference): Use them.
4968 Use the `default' arg of completing-read.
4969 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4970
c5bb7569
CY
49712012-04-27 Chong Yidong <cyd@gnu.org>
4972
d1d2e2e8
CY
4973 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4974
15cd8efd
CY
4975 * startup.el (x-apply-session-resources): New function.
4976
4977 * term/ns-win.el (ns-initialize-window-system):
4978 * term/w32-win.el (w32-initialize-window-system):
4979 * term/x-win.el (x-initialize-window-system): Use it to properly
4980 set menu-bar-mode and other vars from X resources, even if the
4981 initial frame is not a window-system frame (Bug#2299).
4982
c5bb7569
CY
4983 * subr.el (read-key): Avoid running filter function when setting
4984 up temporary tool bar entries (Bug#9922).
4985
a8e7d6d7 49862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4987
4988 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4989 (Bug#11344)
4990
a8e7d6d7 49912012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4992
4993 * select.el (xselect--encode-string): New function, split from
4994 xselect-convert-to-string.
4995 (xselect-convert-to-string): Use it.
4996 (xselect-convert-to-filename, xselect-convert-to-os)
4997 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4998 returned strings are properly encoded (Bug#11315).
4999
a8e7d6d7 50002012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5001
5002 * simple.el (delete-active-region): Move to killing custom group.
5003
a8e7d6d7 50042012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5005
5006 * progmodes/which-func.el (which-func-current): Quote %
5007 characters for mode-line processing.
5008
578c1d4b 50092012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5010
5011 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5012 reaching eob (Bug#11286).
5013
a8e7d6d7 50142012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5015
5016 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5017 (gdb): Make it buffer-local and init to zero.
5018 (gdb-control-commands-regexp): New variable.
5019 (gdb-send): Don't wrap in "-interpreter-exec console" if
5020 gdb-control-level is positive. Increment gdb-control-level
5021 whenever the command matches gdb-control-commands-regexp, and
5022 decrement it each time the command is "end". (Bug#11279)
5023
a8e7d6d7 50242012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5025
5026 * window.el (adjust-window-trailing-edge, enlarge-window)
5027 (shrink-window, window-resize):
5028 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5029 windows (Bug#11276).
5030
b3608390
CY
50312012-04-27 Chong Yidong <cyd@gnu.org>
5032
5033 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5034 fix "missing prefix" warning. All callers changed.
b3608390 5035
797e6e88
SM
50362012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * emacs-lisp/assoc.el: Move to obsolete/.
5039
e95a67dc
SM
50402012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5041
657c21e4 5042 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5043
5044 * term/ns-win.el (ns-define-service):
5045 * progmodes/pascal.el (pascal-goto-defun):
5046 * progmodes/js.el (js--read-tab):
5047 * progmodes/etags.el (tags-lazy-completion-table):
5048 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5049 * emacs-lisp/ewoc.el (ewoc--wrap):
5050 * emacs-lisp/assoc.el (aput, adelete, amake):
5051 * doc-view.el (doc-view-convert-current-doc):
5052 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5053
cb3e7ae0
CY
50542012-04-26 Chong Yidong <cyd@gnu.org>
5055
dce04f7f
CY
5056 * image.el (image-type-from-buffer): Only return supported image
5057 type (Bug#9045).
5058
cb3e7ae0
CY
5059 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5060 value, for symmetry with diff-end-of-hunk.
5061 (diff-split-hunk, diff-find-source-location)
5062 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5063 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5064 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5065 compute the relevant hunk or file properly (Bug#6005).
5066 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5067
0d42eb3e
SM
50682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * vc/vc-mtn.el:
5071 * vc/vc-hg.el:
5072 * vc/vc-git.el:
5073 * vc/vc-dir.el:
5074 * vc/vc-cvs.el:
5075 * vc/vc-bzr.el:
5076 * vc/vc-arch.el:
5077 * vc/vc.el: Replace lexical-let by lexical-binding.
5078 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5079 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5080 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5081
f08ae1c9
CY
50822012-04-26 Chong Yidong <cyd@gnu.org>
5083
8b71081d
CY
5084 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5085 (diff-mode-shared-map): Bind it to / and [remap undo].
5086
f08ae1c9
CY
5087 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5088 (ediff-window-setup-function): Use it as the default, to set up
5089 windows based on whether the current frame is graphical (Bug#2138).
5090 (ediff-choose-window-setup-function-automatically): Make obsolete.
5091
5092 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5093
ef24141c
SM
50942012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5095
cc356a5d
SM
5096 * ffap.el: Remove old code for obsolete package.
5097 (ffap-complete-as-file-p): Remove.
5098
b4ff4f1f
SM
5099 Use completion-table-with-quoting for comint and pcomplete.
5100 * comint.el (comint--unquote&requote-argument)
5101 (comint--unquote-argument, comint--requote-argument): New functions.
5102 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5103 (comint-quote-filename): Use regexp-opt-charset.
5104 (comint--common-suffix, comint--common-quoted-suffix)
5105 (comint--table-subvert): Remove.
5106 (comint-unquote-function, comint-requote-function): New vars.
5107 (comint--complete-file-name-data): Use them with
5108 completion-table-with-quoting.
5109 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5110 * pcomplete.el (pcomplete-arg-quote-list)
5111 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5112 (pcomplete-unquote-argument-function): Default to non-nil.
5113 (pcomplete-unquote-argument): Simplify.
5114 (pcomplete--common-quoted-suffix): Remove.
5115 (pcomplete-requote-argument-function): New var.
5116 (pcomplete--common-suffix): New function.
5117 (pcomplete-completions-at-point): Use completion-table-with-quoting
5118 and completion-table-subvert.
5119
79c4eeb4
SM
5120 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5121 (minibuffer--double-dollars): Preserve properties.
5122 (completion--sifn-requote): New function.
5123 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5124
ef24141c
SM
5125 * minibuffer.el: Add support for completion of quoted/escaped data.
5126 (completion-table-with-quoting, completion-table-subvert): New funs.
5127 (completion--twq-try, completion--twq-all): New functions.
5128 (completion--nth-completion): New function.
5129 (completion-try-completion, completion-all-completions): Use it.
5130
784e7d6e
LL
51312012-04-25 Leo Liu <sdl.web@gmail.com>
5132
dd2ac746
SM
5133 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5134 Use compilation-message if available to find real filename.
784e7d6e 5135
07875ee7
CY
51362012-04-25 Chong Yidong <cyd@gnu.org>
5137
5138 * vc/diff-mode.el (diff-setup-whitespace): New function.
5139 (diff-mode): Use it.
5140
5141 * vc/diff.el (diff-sentinel):
5142 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5143 Whitespace mode variables based on diff style (Bug#8612).
5144
5055880d
LL
51452012-04-25 Leo Liu <sdl.web@gmail.com>
5146
daf75653
LL
5147 * progmodes/python.el (python-send-region): Add suffix .py to the
5148 temp file.
5149
5055880d
LL
5150 * files.el (auto-mode-alist): Use javascript-mode instead.
5151
db9b177b
AH
51522012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5153
ef24141c 5154 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5155
090bd7cb 5156 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5157 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5158 references, see Bug#9.
ef24141c 5159 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5160 when receiving a fault reply.
ef24141c 5161 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5162
090bd7cb 5163 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5164 (soap-inspect-simple-type): New function.
db9b177b 5165
090bd7cb 5166 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5167 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5168 (soap-decode-basic-type, soap-encode-basic-type):
5169 support unsignedInt and double basic types.
db9b177b 5170 (soap-resolve-references-for-simple-type)
ef24141c
SM
5171 (soap-parse-simple-type, soap-encode-simple-type): New function.
5172 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5173
090bd7cb 5174 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5175 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5176 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5177 the local name of "soapenc:Array".
5178 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5179 decoding integer, byte and anyURI xsd types.
5180
1fc6097b
CY
51812012-04-25 Chong Yidong <cyd@gnu.org>
5182
5183 * cus-edit.el (custom-buffer-create-internal): Update header text.
5184
afc6df87
EZ
51852012-04-25 Eli Zaretskii <eliz@gnu.org>
5186
5187 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5188 settings on 'system-type', not on 'window-system'. On MS-Windows,
5189 set interactive-mode on in GDB.
5190
dfbd787f
SM
51912012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5194 (ruby-syntax-propertize-regexp): Remove.
5195 (ruby-syntax-propertize-function): Split regexp into chunks.
5196 Match following code directly.
5197
85222d44
DG
51982012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5199
51a8ea2a
DG
5200 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5201 (ruby-syntax-propertize-regexp): New function.
5202 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5203 by a special keyword.
5204
85222d44
DG
5205 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5206 (ruby-syntax-general-delimiters-goto-beg)
5207 (ruby-syntax-propertize-general-delimiters): New functions.
5208 (ruby-syntax-propertize-function): Use them to handle GDL.
5209 (ruby-font-lock-keywords): Move old handling of GDL...
5210 (ruby-font-lock-syntactic-keywords): .. to here.
5211 (ruby-calculate-indent): Adjust indentation for GDL.
5212
b613912b
MA
52132012-04-24 Michael Albinus <michael.albinus@gmx.de>
5214
b5380639
MA
5215 * notifications.el (top): Remove unneeded declarations.
5216 (notifications-specification-version): Change to "1.2".
e43042fe 5217 (notifications-interface, notifications-notify-method)
b613912b
MA
5218 (notifications-close-notification-method): Fix docstring.
5219 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5220 (notifications-notify): Add :action-items, :resident and
5221 :transient hints. Change "image_data" to "image-data" and
5222 "image_path" to "image-path".
b613912b
MA
5223 (notifications-get-capabilities): New defun.
5224
257440aa
LL
52252012-04-24 Leo Liu <sdl.web@gmail.com>
5226
5227 * progmodes/python.el: Move hideshow setup to the end.
5228
b1bac16e
MR
52292012-04-24 Martin Rudalics <rudalics@gmx.at>
5230
5231 * window.el (handle-select-window): Clear echo area since this is
5232 no more done by read_char (Bug#11304).
5233
d81bd059
SM
52342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5237 and `/ M' to filter-derived-mode.
5238 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5239 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5240 (ibuffer-mark-by-mode): Use default rather than initial-input.
5241 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5242
c4cf6d91
IA
52432012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5244
5245 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5246 (ibuffer-filter-by-derived-mode): New filter.
5247 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5248
7511ded8
CY
52492012-04-23 Andreas Politz <politza@fh-trier.de>
5250
5251 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5252
775c916b
CY
52532012-04-23 Chong Yidong <cyd@gnu.org>
5254
5255 * cus-edit.el (customize-apropos, customize-apropos-options):
5256 Disable matching of non-option variables (Bug#11176).
5257 (customize-option, customize-option-other-window)
5258 (customize-changed-options): Doc fix.
5259 (customize-apropos-options, customize-apropos-faces)
5260 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5261
5262 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5263 Fix word list splitting (Bug#11132).
46c71e23
CY
5264 (apropos-symbol, apropos-keybinding, apropos-label)
5265 (apropos-property, apropos-function-button)
5266 (apropos-variable-button, apropos-misc-button): New faces.
5267 (apropos-symbol-face, apropos-keybinding-face)
5268 (apropos-label-face, apropos-property-face, apropos-match-face):
5269 Variables removed (Bug#8396).
5270 (apropos-library-button, apropos-format-plist, apropos-print)
5271 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5272
2df41f9c
MA
52732012-04-23 Michael Albinus <michael.albinus@gmx.de>
5274
5275 * net/xesam.el (xesam-mode-map): Use let-bound map in
5276 initialization. (Bug#11292)
5277
da00640a
AM
52782012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5279
5280 Preserve ispell session localwords when switching back to
5281 original buffer.
5282
090bd7cb
JB
5283 * textmodes/ispell.el (ispell-buffer-session-localwords):
5284 New buffer-local variable to hold buffer session localwords.
ed9265fc 5285 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5286 localwords.
5287 (ispell-command-loop, ispell-change-dictionary)
5288 (ispell-buffer-local-words): Preserve session localwords when
5289 needed.
5290
090bd7cb
JB
5291 * textmodes/flyspell.el (flyspell-process-localwords)
5292 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5293
f621ccf5
AM
52942012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5295
090bd7cb
JB
5296 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5297 using obsolete `translation-table-for-input'.
ef24141c
SM
5298 (ispell-word, ispell-process-line, ispell-complete-word):
5299 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5300
c2d1019e
CY
53012012-04-22 Chong Yidong <cyd@gnu.org>
5302
5303 * cus-edit.el (custom-variable-menu)
5304 (custom-variable-reset-saved, custom-face-menu)
5305 (custom-face-reset-saved): If there is no saved value, make the
5306 "reset-saved" operation bring back the default (Bug#9509).
5307 (custom-face-state): Properly detect themed faces.
5308
eeddc531
CY
5309 * faces.el (face-spec-set): Stop supporting deprecated form of
5310 third arg.
5311
dcbf5805
MA
53122012-04-22 Michael Albinus <michael.albinus@gmx.de>
5313
5314 Move functions from C to Lisp. Make non-blocking method calls
5315 the default. Implement further D-Bus standard interfaces.
5316
ef24141c
SM
5317 * net/dbus.el (dbus-message-internal): Declare function.
5318 Remove unneeded function declarations.
dcbf5805
MA
5319 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5320 (dbus-message-type-method-return, dbus-message-type-error)
5321 (dbus-message-type-signal): Declare variables. Remove local
5322 definitions.
5323 (dbus-interface-dbus, dbus-interface-peer)
5324 (dbus-interface-introspectable, dbus-interface-properties)
5325 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5326 Adapt docstring.
5327 (dbus-interface-objectmanager): New defconst.
5328 (dbus-call-method, dbus-call-method-asynchronously)
5329 (dbus-send-signal, dbus-method-return-internal)
5330 (dbus-method-error-internal, dbus-register-service)
5331 (dbus-register-signal, dbus-register-method): New defuns, moved
5332 from dbusbind.c
5333 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5334 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5335 New defuns.
dcbf5805
MA
5336 (dbus-call-method-non-blocking): Make it an obsolete function.
5337 (dbus-unregister-object, dbus-unregister-service)
5338 (dbus-handle-event, dbus-register-property)
5339 (dbus-property-handler): Obey the new structure of
5340 `bus-registered-objects'.
5341 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5342 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5343 Use `dbus-call-method'.
5344
cf20dee0
CY
53452012-04-22 Chong Yidong <cyd@gnu.org>
5346
5347 * cus-edit.el (custom-commands, custom-reset-menu)
5348 (Custom-reset-standard): Tweak labels.
5349 (custom-reset-button-menu): Change default to t.
5350 (custom-buffer-create-internal): For the custom-reset-button-menu
5351 case, put the revert button first.
5352 (custom-group-subtitle): New face.
5353 (custom-group-value-create): Align docstring to a specific column.
5354
5355 * wid-edit.el (widget-documentation-link-add): Don't handle
5356 indentation in this function.
5357 (widget-documentation-string-indent-to): New function.
5358 (widget-documentation-string-value-create): Use it.
5359
5360 * autorevert.el (auto-revert):
5361 * epg-config.el (epg):
5362 * ibuffer.el (ibuffer):
5363 * mpc.el (mpc):
5364 * ses.el (ses):
5365 * eshell/eshell.el (eshell):
5366 * net/ange-ftp.el (ange-ftp):
5367 * progmodes/ebnf2ps.el (postscript):
5368 * progmodes/flymake.el (flymake):
5369 * progmodes/prolog.el (prolog):
5370 * progmodes/verilog-mode.el (verilog-mode):
5371 * progmodes/which-func.el (which-func):
5372 * term/xterm.el (xterm):
5373 * textmodes/picture.el (picture):
5374 * textmodes/tildify.el (tildify):
5375 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5376 customization buffers.
5377
583e23bd
AM
53782012-04-22 Alan Mackenzie <acm@muc.de>
5379
5380 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5381 Adding a ) can hide the resulting (..) from searches. Fix it.
5382 Bound the backward search to the position of the existing (.
5383
7dd51bf1
JB
53842012-04-21 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * progmodes/verilog-mode.el (verilog-mode): Check whether
5387 which-func-modes is t before adding verilog-mode.
5388 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5389
d64a438f
LL
53902012-04-21 Leo Liu <sdl.web@gmail.com>
5391
7dd51bf1 5392 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5393
081e8d65
MV
53942012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5395
5396 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5397 filling of the last column of a table (Bug#5635).
5398 (woman-find-next-control-line): New arg, specifying an additional
5399 regexp component for the control line.
5400 (woman2-roff-buffer): Use it.
5401 (woman-break-table): New function.
5402 (woman2-TS): Use it.
5403
54042012-04-21 Chong Yidong <cyd@gnu.org>
5405
5406 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5407 (woman-horizontal-escapes, woman-negative-vertical-space)
5408 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5409 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5410
ed571ccb
SM
54112012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * minibuffer.el (completion-file-name-table): Complete user names.
5414
39773899
LL
54152012-04-20 Leo Liu <sdl.web@gmail.com>
5416
5417 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5418 and pcase-let*.
5419
de6ff46d
CY
54202012-04-20 Chong Yidong <cyd@gnu.org>
5421
5422 * server.el (server-execute): Respect initial-buffer-choice if it
5423 is a string and there are no files to open (Bug#2825).
5424 (server-create-window-system-frame, server-create-tty-frame):
5425 Don't switch buffers here.
2d0e8e61
CY
5426 (server-process-filter): Only try to open a window system frame if
5427 compiled with graphical support (Bug#8314).
de6ff46d 5428
54071013
DN
54292012-04-20 Dan Nicolaescu <dann@gnu.org>
5430
5431 * battery.el (battery-echo-area-format): Display remaining time
5432 for sysfs backend too (Bug#11269).
5433 (battery-linux-sysfs): Fix conditional for the charge.
5434
f30d612a
CY
54352012-04-20 Chong Yidong <cyd@gnu.org>
5436
c07a4c0b 5437 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5438 (gdb-inferior-io--init-proc): New function.
5439 (gdb-init-1): Use it.
5440 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5441 responsible for allocating a new pty and hooking it to gdb when
5442 the old pty gets an EIO due to process exit.
5443 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5444 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5445 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5446
2116e93c
EZ
54472012-04-20 Eli Zaretskii <eliz@gnu.org>
5448
5449 * window.el (window-min-size, window-sizable, window-min-delta)
5450 (window-max-delta, window--resizable, window-resizable)
5451 (window-total-size, window-full-height-p, window-full-width-p)
5452 (window-in-direction, window--resize-mini-window, window-resize)
5453 (window--resize-child-windows-normal)
5454 (window--resize-child-windows, window--resize-siblings)
5455 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5456 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5457
c07a4c0b 54582012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5459
ef24141c
SM
5460 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5461 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5462 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5463 pty process (Bug#11273).
5464 (gdb-update): New arg to suppress talking to the gdb process.
5465 (gdb-done-or-error): Use it.
5466 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5467 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5468 sentinel not being called.
5469
5470 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5471
d02766ab
CY
5472 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5473
c07a4c0b 54742012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5475
5476 * net/network-stream.el (open-network-stream): Doc fix.
5477
c07a4c0b 54782012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5479
5480 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5481
c07a4c0b 54822012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5483
5484 Ensure searching for keywords is case sensitive.
5485
5486 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5487 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5488 (c-defun-name, c-mark-function, c-cpp-define-name)
5489 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5490 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5491
ef24141c
SM
5492 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5493 Bind case-fold-search to nil.
f0f6bc35 5494
c07a4c0b 54952012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5496
5497 * mail/sendmail.el (mail-bury): Call return action with the right
5498 Rmail buffer (Bug#11242).
5499
9a864fa2
CY
5500 * server.el (server-process-filter): Handle corner case where both
5501 tty and nowait options are present (Bug#11102).
5502
539aa513
EZ
55032012-04-20 Eli Zaretskii <eliz@gnu.org>
5504
5505 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5506 (top level): Put into the executable the ident-style '$Id:' tag on
5507 windows-nt as well.
539aa513 5508
cfc7d5da
SM
55092012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * electric.el (electric-indent-post-self-insert-function): Check that
5512 electric-indent-mode is enabled in current buffer.
5513
5b01685c
JB
55142012-04-19 Juanma Barranquero <lekktu@gmail.com>
5515
5516 * imenu.el (imenu-progress-message): Restore; it is "used" in
5517 erc/erc-imenu.el and net/snmp-mode.el.
5518
4d6769e1
JB
55192012-04-19 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5522 (mouse-avoidance-nudge-mouse): Remove unused binding.
5523
5524 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5525
5526 * descr-text.el (describe-char):
5527 * progmodes/python.el (python-describe-symbol):
5528 Don't call `toggle-read-only', set `buffer-read-only'.
5529
5530 * imenu.el (imenu-default-goto-function): Mark unused args.
5531 (imenu-progress-message): Remove obsolete macro; all callers changed.
5532
5533 * subr.el (keymap-canonicalize): Remove unused binding.
5534 (read-passwd): Mark unused arg.
5535
5536 * tutorial.el (tutorial--display-changes): Remove unused binding.
5537 (tutorial--save-tutorial-to): Remove unused variable.
5538
5539 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5540 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5541 (package-generate-autoloads, package-menu--generate)
5542 (package-menu--find-upgrades): Remove unused bindings.
5543
5544 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5545 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5546 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5547 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5548 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5549 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5550 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5551 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5552 (cua-delete-char-rectangle): Mark unused args.
5553 (cua-align-rectangle): Remove unused binding.
5554
5555 * mail/rmail.el (compilation--message->loc)
5556 (epa--find-coding-system-for-mime-charset): Declare.
5557
5558 * net/dbus.el (dbus-register-service): Declare.
5559 (dbus-name-owner-changed-handler): Remove unused binding.
5560
5561 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5562 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5563 (nxml-scan-backward-within): Mark unused arg.
5564 (nxml-dynamic-markup-word): Remove unused binding.
5565
5566 * mouse.el (mouse-menu-major-mode-map):
5567 * emacs-lisp/authors.el (authors-scan-change-log)
5568 (authors-add-to-author-list):
5569 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5570 * emacs-lisp/smie.el (smie-auto-fill):
5571 * mail/sendmail.el (mail-bury):
5572 * mail/unrmail.el (unrmail):
5573 * net/tls.el (open-tls-stream):
5574 * textmodes/picture.el (picture-mouse-set-point):
5575 Remove unused bindings.
5576
8c8fc5df
MA
55772012-04-19 Michael Albinus <michael.albinus@gmx.de>
5578
5579 * net/tramp.el (tramp-action-password): Let-bind
5580 `enable-recursive-minibuffers' to t.
5581
a77b0ac9
SS
55822012-04-18 Sam Steingold <sds@gnu.org>
5583
5584 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5585 instead of 'string to accommodate values like [f11].
5586 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5587 * progmodes/gdb-mi.el: Likewise.
5588
12a106a9
LL
55892012-04-18 Leo Liu <sdl.web@gmail.com>
5590
5591 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5592 current buffer.
5593 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5594 LOCAL is nil.
5595
bc6494ef
CY
55962012-04-18 Chong Yidong <cyd@gnu.org>
5597
5598 * simple.el (line-move): Use forward-line if in batch mode
5599 (Bug#11053).
5600
c09c46b2
CS
56012012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5602
5603 * files.el (after-find-file): Do not try to add a final newline if
5604 the buffer is read-only (Bug#11156).
5605
5f6530ea
RS
56062012-04-17 Richard Stallman <rms@gnu.org>
5607
5608 * mail/rmail.el (rmail-start-mail):
5609 Pass (rmail-mail-return...) for the return-action.
5610 Pass (rmail-yank-current-message...) for the yank-action.
5611 (rmail-yank-current-message): New function.
5612 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5613 (rmail-reply): Likewise.
5614 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5615
5616 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5617 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5618 buffer, not newbuf.
5619
197b6f3c
JB
56202012-04-17 Juanma Barranquero <lekktu@gmail.com>
5621
5622 * server.el (server-ensure-safe-dir): Simplify.
5623
2311d8e5 56242012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5625
2311d8e5
GM
5626 * emacs-lisp/smie.el: Provide smarter auto-filling.
5627 (smie-auto-fill): New function.
5628 (smie-setup): Use it.
98fb480e 5629
2311d8e5
GM
5630 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5631
56322012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5633
5634 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5635 (comment-indent): Use it.
5636
2311d8e5 56372012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5638
5639 * ses.el: The overall change is to add cell renaming, that is
5640 setting fancy names for cell symbols other than name matching
5641 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5642 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5643 (ses-create-cell-variable): New defun.
2311d8e5 5644 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5645 (ses-relocate-formula): Relocate formulas only for cells the
5646 symbols of which are not renamed, i.e. symbols whose names do not
5647 match regexp "\\`[A-Z]+[0-9]+\\'".
5648 (ses-relocate-all): Relocate values only for cells the symbols of
5649 which are not renamed.
5650 (ses-load): Create cells variables as the (ses-cell ...) are read,
5651 in order to check row col consistency with cell symbol name only
5652 for cells that are not renamed.
5653 (ses-replace-name-in-formula): New defun.
5654 (ses-rename-cell): New defun.
4bdf2ad2 5655
fc72b15c
PO
56562012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5657
5658 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5659 New option (bug#11118).
5660 (perl-calculate-indent): Respect it.
5661
12e10e61
GM
56622012-04-17 Glenn Morris <rgm@gnu.org>
5663
5664 * dired-aux.el (dired-mark-read-string): Doc fix.
5665
30009afd
DA
56662012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5667
5668 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5669 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5670
41f03f4d
GM
56712012-04-17 Glenn Morris <rgm@gnu.org>
5672
5673 * mouse.el (mouse-drag-track):
5674 * speedbar.el (speedbar-frame-mode):
5675 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5676
f45f90f3
LL
56772012-04-16 Leo Liu <sdl.web@gmail.com>
5678
5679 * progmodes/python.el: Trivial cleanup.
5680
94ee8db5
GM
56812012-04-16 Glenn Morris <rgm@gnu.org>
5682
121b8917
GM
5683 * vc/vc.el (vc-string-prefix-p):
5684 * vc/pcvs-util.el (cvs-string-prefix-p):
5685 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5686 * mpc.el (mpc-string-prefix-p):
5687 Make all of these into obsolete aliases for string-prefix-p.
5688 Update callers.
5689 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5690
1197ecfa
GM
5691 * textmodes/two-column.el: Move custom options to the start.
5692 (frame-width): Remove compat definition.
5693 (2C-associate-buffer, 2C-dissociate):
5694 Use with-current-buffer rather than save-excursion.
5695 (2C-dissociate): Force a mode-line update.
5696 (2C-autoscroll): Use ignore-errors.
5697
099e7202
GM
5698 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5699 Autoload trivia.
5700
bf350d6a
GM
5701 * emacs-lisp/cl-extra.el (*random-state*):
5702 Remove unnecessary declaration.
5703
0e829eab
GM
5704 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5705
e3ad7552
GM
5706 * play/cookie1.el (cookie-snarf):
5707 Give an explicit error if input file cannot be read.
5708
68892d27
GM
5709 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5710
20f0c46d
GM
5711 * progmodes/perl-mode.el (c-macro-expand):
5712 Remove unnecessary autoload (it is in loaddefs.el).
5713
5a0978ce
GM
5714 * textmodes/picture.el (picture-desired-column)
5715 (picture-update-desired-column): Convert comments to doc-strings.
5716 (picture-substitute): Remove function.
5717 (picture-mode-map): Initialize in the defvar.
5718
6b955486
GM
5719 * woman.el: Remove eval-after-load for tar-mode.
5720 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5721 (woman-tar-extract-file): Autoload it.
5722
94ee8db5
GM
5723 * frame.el (automatic-hscrolling): Make this alias obsolete.
5724
177eca34
AM
57252012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5726
090bd7cb 5727 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5728 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5729 (ispell-dictionary-base-alist): Revert to original XEmacs
5730 friendly version for default. [:alpha:] will be added in
090bd7cb 5731 `ispell-set-spellchecker-params' if needed.
177eca34 5732
c505aaeb
CY
57332012-04-16 Chong Yidong <cyd@gnu.org>
5734
b19dd9d1 5735 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5736 (imagemagick-register-types): Use it.
5737 (imagemagick-types-inhibit): Add :set function. Allow new value
5738 of t to inhibit all types.
5739
5740 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5741 so we can preload it.
5742
5743 * loadup.el (fboundp): Preload regexp-opt, needed by
5744 imagemagick-register-types.
5745
60efac0f
CY
57462012-04-15 Chong Yidong <cyd@gnu.org>
5747
5748 * frame.el (scrolling): Remove nearly unused customization group.
5749
5750 * scroll-all.el (scroll-all-mode): Move to windows group.
5751
5dd1713e
CY
57522012-04-15 Chong Yidong <cyd@gnu.org>
5753
5754 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5755
e6fd457e
CY
57562012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5759 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5760
e153c136
GM
57612012-04-15 Glenn Morris <rgm@gnu.org>
5762
5763 * simple.el (process-file-side-effects): Doc fix.
5764
e6fd457e 57652012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5766
5767 * international/mule-cmds.el (set-language-environment): Doc fix.
5768
3603c3b1
JB
57692012-04-14 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * server.el (server-auth-key, server-generate-key): Doc fixes.
5772 (server-get-auth-key): Doc fix. Use `string-match-p'.
5773 (server-start): Reflow docstring.
5774
e6de100c
LI
57752012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5776
5777 * server.el (server-generate-key): `called-interactively-p'
5778 requires a parameter.
5779
29734c21
MN
57802012-04-14 Michal Nazarewicz <mina86@mina86.com>
5781
5782 * server.el (server-auth-key): New variable.
75f1671a 5783 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5784 (server-start): Use the new variable and functions to allow
5785 setting a permanent server key (bug#9423).
5786
d65c9521
LL
57872012-04-14 Leo Liu <sdl.web@gmail.com>
5788
5789 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5790
5ae255c7
PE
57912012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5792
5793 Spelling fixes.
5794 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5795 Emacs uses American spelling.
5796
d5e6342e
JB
57972012-04-14 Juanma Barranquero <lekktu@gmail.com>
5798
5799 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5800 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5801 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5802 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5803
ab036cd7
SM
58042012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * progmodes/which-func.el (which-func-modes): Change default.
5807
35dc09a1 58082012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5809
5810 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5811 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5812
35dc09a1 58132012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5814
5815 * custom.el (custom-theme-set-variables): Doc fix.
5816
35dc09a1 58172012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5818
5819 * international/mule.el (set-auto-coding-for-load): Doc fix.
5820
35dc09a1 58212012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5822
35dc09a1
GM
5823 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5824 imenu work again for Objective C Mode. Correct the *-index values,
5825 these having been disturbed by a previous change in 2011-08.
57f845ee 5826
0de3da9f
AM
5827 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5828 Correct two search limits.
5829
35dc09a1 58302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5831
5832 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5833
35dc09a1 58342012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5835
5836 * international/characters.el: Fix sorting.
5837
35dc09a1 58382012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5839
5840 * international/characters.el: Add more missing Latin case pairs.
5841
35dc09a1 58422012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5843
5844 * files.el (dir-locals-set-class-variables): Doc fix.
5845
35dc09a1 58462012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5847
3f1b5bf8
EZ
5848 * international/characters.el: Add set-case-syntax-pair call for
5849 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5850 counterpart. (Bug#11209)
5851
9f847f41
EZ
5852 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5853
35dc09a1 58542012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5855
5856 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5857
35dc09a1 58582012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5859
35dc09a1
GM
5860 * textmodes/ispell.el (ispell-dictionary-base-alist):
5861 Add data for Hebrew.
e2627d21 5862
35dc09a1 58632012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5864
35dc09a1
GM
5865 * net/rcirc.el (rcirc-cmd-quit):
5866 Revert 2012-03-18 change (Bug#11192).
5c14e333 5867
35dc09a1 58682012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5869
5870 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5871
35dc09a1 58722012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5873
4517fe3a
SM
5874 * minibuffer.el (completion-in-region-mode-map):
5875 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5876
b472a594
VD
58772012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5878
5879 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5880
09b95ce3
MY
58812012-04-13 Masatake YAMATO <yamato@redhat.com>
5882
5883 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5884 to allow `C-M-f' and `C-M-b' to move to the nearest path
5885 separator (bug#9511).
5886
4b63a9ca
LI
58872012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5888
5889 * avoid.el: Require cl when compiling. And also move the
5890 `provide' to the end.
5891
7b55b8bf
TV
58922012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5893
5894 * avoid.el (mouse-avoidance-banish-position): New variable.
5895 (mouse-avoidance-banish-destination): Use it (bug#10165).
5896
adedaa1f
LL
58972012-04-13 Leo Liu <sdl.web@gmail.com>
5898
5899 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5900
70e74021
KB
59012012-04-13 Ken Brown <kbrown@cornell.edu>
5902
5903 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5904 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5905 (browse-url-filename-alist): For the same reason, don't modify
5906 file:// URLs on Cygwin.
5907
e75e89ba
SM
59082012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5911 the region on shift if the binding is already shifted (bug#11221).
5912
82f289a4
GM
59132012-04-12 Glenn Morris <rgm@gnu.org>
5914
5915 * mail/mailpost.el: Move to obsolete/.
5916
d333dc4c
DA
59172012-04-12 Drew Adams <drew.adams@oracle.com>
5918
5919 * imenu.el (imenu--generic-function): Ignore invisible definitions
5920 (bug#10123).
5921
0d15b5ba
VD
59222012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5923
5924 * hexl.el (hexl-bits): New variable.
5925 (hexl-options): Mention the variable in the doc string.
75f1671a 5926 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5927 (hexl-mode): Mention the new variable.
75f1671a
JB
5928 (hexl-mode, hexl-current-address, hexl-current-address):
5929 Use the displen.
0d15b5ba
VD
5930 (hexl-ascii-start-column): New function.
5931 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5932 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5933
64a440db
AM
59342012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5935
5936 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5937 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5938 the encoding, as expected by hunspell.
5939
6decb6c2
SM
59402012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 * battery.el (battery--linux-sysfs-regexp): New const.
5943 (battery-status-function): Use it. Remove yeeloong special case.
5944 (battery-yeeloong-sysfs): Remove.
5945 (battery-echo-area-format): Remove yeeloong special case.
5946
088be6fb
SM
59472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5948
6622e416
SM
5949 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5950 Reported by Noah Friedman.
5951
088be6fb
SM
5952 * subr.el (read-passwd): Use read-string.
5953
b49f886e
LMI
59542012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5955
5956 * vcursor.el (vcursor-move): Increase the priority of the overlay
5957 (bug#9663).
5958
a63067fc
DD
59592012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5960
5961 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5962 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5963
ac3cf14a
WS
59642012-04-11 William Stevenson <yhvh2000@gmail.com>
5965
5966 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5967 define-minor-mode (bug#10760).
5968
c4fc691b 59692012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5970
4d6769e1 5971 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5972 that directories matching `grep-find-ignored-files' won't be
5973 pruned (bug#10351).
5974
af23e2e5
CY
59752012-04-11 Chong Yidong <cyd@gnu.org>
5976
5977 * startup.el (command-line): Remove support for long-obsolete
5978 variable font-lock-face-attributes.
5979
ab7ce8c1
GM
59802012-04-11 Glenn Morris <rgm@gnu.org>
5981
5982 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5983
de8c03dc
SM
59842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * window.el (window--state-get-1): Obey window-point-insertion-type.
5987
050cc68b
LB
59882012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5989
5990 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5991 to previous function when point is on the first character of a
75f1671a 5992 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5993
a38c310c
GM
59942012-04-11 Glenn Morris <rgm@gnu.org>
5995
effed0c2
GM
5996 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5997 not just file-errors.
5998
a38c310c
GM
5999 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6000 (vc-bzr-sha1): Use internal sha1.
6001
0221e323
SM
60022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6005
43956923
SG
60062012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6007
6008 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6009 that start in the middle of the line (bug#10496).
6010
6a8c9eaf
DN
60112012-04-10 Dan Nicolaescu <dann@gnu.org>
6012
6013 * battery.el (battery-linux-proc-acpi): Only one battery is
6014 discharged at a time, but that seems to confuse battery.el when
6015 computing `rate-type' for the battery not being discharged
6016 (bug#10332).
6017
1930bf5d
SM
60182012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6019
2a718f6f
SM
6020 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6021
599430d0
SM
6022 * international/quail.el: Use dolist and simplify.
6023 (quail-define-package, quail-update-keyboard-layout)
6024 (quail-define-rules): Use dolist.
6025 (quail-insert-kbd-layout, quail-get-translation): CSE.
6026
a2754b6c
SM
6027 * tmm.el: Use dolist, remove left over hook.
6028 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6029 Use dolist.
6030 (calendar-load-hook): Don't mess with it.
6031
1930bf5d
SM
6032 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6033 Use derived-mode-p. Run the diff asynchronously.
6034
9f67961c
LMI
60352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6036
6037 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6038
2a8ce227
JB
60392012-04-10 Juanma Barranquero <lekktu@gmail.com>
6040
6041 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6042 (list-dynamic-libraries--loaded): New function.
6043 (list-dynamic-libraries--refresh): Use it.
6044
8f33b5f8
NW
60452012-04-10 Nathan Weizenbaum <nweiz@google.com>
6046
1930bf5d
SM
6047 * progmodes/python.el (python-fill-paragraph):
6048 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6049 disabled (bug#7018).
6050
b12f0439
L
60512012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6052
1930bf5d 6053 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6054 DOS/MS Windows for the Baltic languages. There are still plenty
6055 of texts written in this encoding/codepage (bug#6519).
b12f0439 6056
57c3bd01
GM
60572012-04-10 Glenn Morris <rgm@gnu.org>
6058
6059 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6060 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6061
6c3eab30
FA
60622012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6063
1930bf5d 6064 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6065 next-line "n" and previous-line "p" in order to make recentf more
6066 consistent with ibuffer, dired or org-mode (bug#9387).
6067
24d78a88
LMI
60682012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6069
bc72b5d9
LMI
6070 * image.el (put-image): Return the overlay created instead of the
6071 optional input string (bug#7834). Note that this may break code
6072 that is (for some reason or other) depending on `put-image'
6073 returning the string.
6074
bd2dba5a
LMI
6075 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6076
74beb59f
LMI
6077 * simple.el (zap-to-char): Allow zapping using input methods
6078 (bug#1580).
6079
24d78a88
LMI
6080 * textmodes/fill.el (fill-region): Leave point and mark where they
6081 were before filling (bug#5399).
6082
263f20cd
GM
60832012-04-09 Glenn Morris <rgm@gnu.org>
6084
6085 * version.el (emacs-bzr-get-version):
6086 Handle lightweight checkouts of local branches.
6087
58d1f797
AS
60882012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6089
263f20cd 6090 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6091
b4d3bc10
CY
60922012-04-09 Chong Yidong <cyd@gnu.org>
6093
6094 * custom.el (custom-variable-p): Return nil for non-symbol
6095 arguments instead of signaling an error.
6096 (user-variable-p): Obsolete alias for custom-variable-p.
6097
6098 * apropos.el (apropos-variable):
6099 * files-x.el (read-file-local-variable):
6100 * simple.el (set-variable):
6101 * woman.el (woman-mini-help):
6102 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6103
fd06db5d
GM
61042012-04-09 Glenn Morris <rgm@gnu.org>
6105
e5fcdb5e
GM
6106 * startup.el (normal-top-level): Don't look for leim-list.el
6107 in places where it will not be found. (Bug#910)
6108
fd06db5d
GM
6109 * international/mule-cmds.el (set-default-coding-systems):
6110 * files.el (normal-mode):
6111 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6112 This function was removed with ucs-tables.el in 2008.
6113
b39bb7e1
EZ
61142012-04-08 Eli Zaretskii <eliz@gnu.org>
6115
6116 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6117 ispell-encoding8-command to "-i", without a trailing space.
6118 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6119 separate command-line arguments, to specify the encoding, since
6120 that's how hunspell expects it.
6121
5c5b8e23
GM
61222012-04-08 Glenn Morris <rgm@gnu.org>
6123
6124 * loadup.el: Load bindings before cus-start.
6125 This reduces somewhat the number of "rogue" settings in emacs -Q.
6126
a1ed8b05
GM
61272012-04-07 Glenn Morris <rgm@gnu.org>
6128
6129 * version.el (emacs-bzr-get-version): New function.
dfae128a 6130 (emacs-bzr-version): New variable.
a1ed8b05
GM
6131 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6132 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6133
b142f158
EZ
61342012-04-07 Eli Zaretskii <eliz@gnu.org>
6135
dfae128a
GM
6136 * international/uni-bidi.el, international/uni-category.el:
6137 * international/uni-combining.el, international/uni-decimal.el:
6138 * international/uni-decomposition.el, international/uni-digit.el:
6139 * international/uni-lowercase.el, international/uni-mirrored.el:
6140 * international/uni-name.el, international/uni-numeric.el:
6141 * international/uni-titlecase.el, international/uni-uppercase.el:
6142 Update for Unicode 6.1.
b142f158 6143
9078ead6
EZ
61442012-04-07 Eli Zaretskii <eliz@gnu.org>
6145
6146 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6147
f23d2c7d
LMI
61482012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6149
6150 * window.el (shrink-window): Mention the `window-min-height'
6151 variable in the doc string.
6152
0a0a3573
BG
61532012-04-05 Bastien Guerry <bzg@altern.org>
6154
6155 * color.el (color-lighten-name): Fix typo.
6156
e5248ac9
SM
61572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * server.el (server--on-display-p): New function.
6160 (server--on-display-p): Use it.
6161
b4243e22
GV
61622012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6163
6164 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6165 (bug#11145).
6166
305d9f44
SM
61672012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * comint.el (comint--common-quoted-suffix): Check string boundary
6170 before comparing (bug#11158).
6171 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6172
3d439cd1
CY
61732012-04-04 Chong Yidong <cyd@gnu.org>
6174
321cc491
CY
6175 * minibuffer.el (completion-extra-properties): Doc fix.
6176
3d439cd1
CY
6177 * subr.el (delayed-warnings-hook): Doc fix.
6178
2d562c0f
DU
61792012-04-04 Daiki Ueno <ueno@unixuser.org>
6180
6181 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6182 selection (Bug#11159).
6183 (epa-insert-keys): Inform that the default public key will be
6184 exported if no key is selected.
6185
4443f204
RS
61862012-04-04 Richard Stallman <rms@gnu.org>
6187
6188 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6189
529c06b6
CY
61902012-04-03 Chong Yidong <cyd@gnu.org>
6191
6192 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6193 mail-insert-file, not its obsolete alias mail-attach-file.
6194
66b907dc
MA
61952012-04-03 Michael Albinus <michael.albinus@gmx.de>
6196
6197 * notifications.el (notifications-notify): Fix docstring.
6198
c0ea195d
GM
61992012-04-02 Glenn Morris <rgm@gnu.org>
6200
6201 * emacs-lisp/authors.el (authors-aliases): Another addition.
6202
5ca64e00
MA
62032012-04-02 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6206 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6207 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6208
42ee526b
CY
62092012-04-01 Chong Yidong <cyd@gnu.org>
6210
6211 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6212 Handle root directory properly.
6213 (copy-directory): Caller changed.
6214
6215 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6216 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6217
0b021094
GM
62182012-03-31 Glenn Morris <rgm@gnu.org>
6219
40f86458
GM
6220 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6221
7019c177
GM
6222 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6223
a1daddd6
GM
6224 * calendar/calendar.el (calendar-window-list)
6225 (calendar-hide-window): Restore. (Bug#11140)
6226 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6227
0b021094
GM
6228 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6229
40311efc
TV
62302012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6231
6232 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6233 Check if file is a symlink (Bug#10489).
6234
6235 * files.el (copy-directory): Likewise.
6236
5319014e
CY
62372012-03-30 Chong Yidong <cyd@gnu.org>
6238
6239 * image.el (imagemagick-types-inhibit)
6240 (imagemagick-register-types): Doc fix.
6241
935d1290
AM
62422012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6243
090bd7cb 6244 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6245 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6246 and treats ~word as ordinary words in pipe mode.
935d1290 6247
61c6e8fd
GM
62482012-03-30 Glenn Morris <rgm@gnu.org>
6249
6250 * tutorial.el (help-with-tutorial): Ensure local variables don't
6251 happen to make the buffer read-only. (Bug#11127)
6252
81fdff00
SM
62532012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6256 (perl-calculate-indent): Return `noindent' in strings.
6257
6e7a6ec0
SS
62582012-03-28 Sam Steingold <sds@gnu.org>
6259
6260 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6261 instead of the broken adhockery which does not prevent calendar
6262 buffers from being displayed at random after exit.
6263 (calendar-window-list, calendar-hide-window): Remove the broken
6264 adhockery.
6265
fee88ca0
GM
62662012-03-28 Glenn Morris <rgm@gnu.org>
6267
6268 * replace.el (query-replace-map): Doc fix.
6269
38de3354
AS
62702012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6271
6272 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6273 contents. (Bug#11109)
6274
b973155e
SM
62752012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6278 (bug#11077).
6279 (avl-tree--check, avl-tree--check-node): New funs.
6280
dcb6e7b3
MR
62812012-03-27 Martin Rudalics <rudalics@gmx.at>
6282
6283 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6284 (switch-to-prev-buffer, switch-to-next-buffer):
6285 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6286 showing a buffer already is done on the same frame.
6287
b4fa35fa
GM
62882012-03-27 Glenn Morris <rgm@gnu.org>
6289
6290 * startup.el (mail-host-address): Doc fix.
6291
f9210e18
SM
62922012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6295 than 197 variables.
6296
c0bf7753
AF
62972012-03-26 Ami Fischman <ami@fischman.org>
6298
6299 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6300
33da7b16
GM
63012012-03-26 Glenn Morris <rgm@gnu.org>
6302
02243d9d
GM
6303 * files.el (save-buffers-kill-emacs): Doc fix.
6304
33da7b16
GM
6305 * startup.el (normal-top-level, command-line, command-line-1):
6306 Give them doc strings.
6307
e5a69fd0
EZ
63082012-03-25 Eli Zaretskii <eliz@gnu.org>
6309
6310 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6311 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6312
9a69676a
CY
63132012-03-25 Chong Yidong <cyd@gnu.org>
6314
4125cb8b
CY
6315 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6316 theme if it was previously enabled before (Bug#11031).
6317
dd470960
CY
6318 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6319 spec with custom-face-get-current-spec if its :shown-value is not
6320 determined yet (Bug#9337).
4125cb8b 6321 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6322
9a69676a
CY
6323 * button.el (button-at): Minor addition to docstring.
6324
6e7e90fa
SL
63252012-03-24 Simon Leinen <simon.leinen@gmail.com>
6326
6327 * vc/vc.el (vc-merge): Fix a prompt.
6328
f06e2758
CY
63292012-03-24 Chong Yidong <cyd@gnu.org>
6330
6331 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6332 point (Bug#9623).
6333
6e7e90fa
SL
6334 * button.el (button-at): Minor addition to docstring.
6335
b9d0879b
SM
63362012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * newcomment.el (comment-choose-indent): No space after BOL.
6339
e71cebb3
SS
63402012-03-22 Sam Steingold <sds@gnu.org>
6341
6342 * window.el (switch-to-prev-buffer): Revert last patch because the
6343 bug turned out to be an advertised feature (Elisp manual 28.14).
6344
335aff35
GM
63452012-03-22 Glenn Morris <rgm@gnu.org>
6346
6347 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6348 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6349
c676576a
LMI
63502012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351
6352 * net/network-stream.el (network-stream-open-starttls): Make error
6353 message under Windows be less misleading.
6354
126f3d39
LW
63552012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6356
6357 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6358 understands (bug#9942).
6359
64fee311
CY
63602012-03-22 Chong Yidong <cyd@gnu.org>
6361
6362 * simple.el (end-of-visible-line): Handle return value of
6363 next-single-property-change properly (Bug#9371).
6364
a640d29a
KH
63652012-03-22 Kenichi Handa <handa@m17n.org>
6366
6367 * international/quail.el (quail-insert-kbd-layout): Fix previous
6368 change. To avoid unwanted bidi reordering, use
6369 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6370
39675016
DG
63712012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6372
6373 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6374 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6375 (ruby-beginning-of-indent): Be more careful with the difference
6376 between word-boundary and symbol boundary.
6377 (ruby-mode-syntax-table): Make : a symbol constituent.
6378
0a6934fc 63792012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6380
3d008e4f
SM
6381 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6382
0a6934fc
SM
63832012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6384
af67c9d7
SM
6385 * progmodes/etags.el (tags-completion-at-point-function):
6386 Improve last fix.
6387
1acad97c
SM
6388 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6389
e298b5da
SS
63902012-03-21 Sam Steingold <sds@gnu.org>
6391
6392 * progmodes/etags.el (tags-completion-at-point-function):
6393 Avoid the error when point is inside the pattern.
6394
91d82a70
JY
63952012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6396
6397 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6398 line (Bug#10855).
6399
69188b79
CY
64002012-03-21 Drew Adams <drew.adams@oracle.com>
6401
6402 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6403
99fc91fe
AK
64042012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6405
6406 * ido.el (ido-set-current-directory, ido-read-internal)
6407 (ido-choose-completion-string, ido-completion-help): Handle nil
6408 value of ido-completion-buffer (Bug#11008).
6409
087bbb4c
SS
64102012-03-21 Sam Steingold <sds@gnu.org>
6411
6412 * window.el (switch-to-prev-buffer): Do not switch to a visible
6413 window previous buffer, just like with the frame previous buffers.
6414
fb5b8aca
CY
64152012-03-21 Chong Yidong <cyd@gnu.org>
6416
6417 * faces.el (make-face, make-empty-face, copy-face):
6418 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6419 Doc fixes.
6420
dc9924b8
SM
64212012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6424 (widget-complete): Remove broken use of it.
6425
f0bcceb9
CY
64262012-03-20 Chong Yidong <cyd@gnu.org>
6427
dc9924b8
SM
6428 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6429 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6430 characters.
6431
ee52ebf3
TH
64322012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6433
6434 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6435 to draw rectangles, not squares. (Regression introduced by revno
6436 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6437
4c5779ab
CY
64382012-03-18 Chong Yidong <cyd@gnu.org>
6439
6440 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6441 it is not yet defined (for temacs).
6442
15360934
LL
64432012-03-18 Leo Liu <sdl.web@gmail.com>
6444
dc9924b8 6445 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6446
d9a8eb66
EZ
64472012-03-17 Eli Zaretskii <eliz@gnu.org>
6448
6449 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6450 (ispell-choices-win-default-height, ispell-silently-savep)
6451 (ispell-dictionary-alist, ispell-encoding8-command)
6452 (ispell-check-version, ispell-aspell-find-dictionary)
6453 (ispell-valid-dictionary-list, ispell-words-keyword)
6454 (ispell-get-word, ispell-internal-change-dictionary)
6455 (ispell-region, ispell-skip-region-list)
6456 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6457 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6458 (ispell-message-text-end, ispell-message)
6459 (ispell-buffer-local-parsing): Doc fix.
6460
f02ff80d
J
64612012-03-13 Jambunathan K <kjambunathan@gmail.com>
6462
6463 * htmlfontify.el: Add support for code block fontification for ODT
6464 export (Bug #9914).
6465 (hfy-optimisations): Define new option
6466 `body-text-only'
6467 (hfy-fontify-buffer): Honor above setting.
6468 (hfy-begin-span, hfy-end-span): New routines factored out form
6469 `hfy-fontify-buffer'.
6470 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6471 that permit insertion of custom tags.
6472 (hfy-fontify-buffer): Use above handlers.
6473 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6474 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6475 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6476 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6477 bind a special variable `hfy-user-sheet-assoc'.
6478 (htmlfontify-string): New defun.
6479 (hfy-compile-face-map): Make sure that the last char in the
6480 buffer is correctly fontified.
6481 (hfy-face-resolve-face): Whitespace only change.
6482
9ac7a13f
EZ
64832012-03-17 Eli Zaretskii <eliz@gnu.org>
6484
6485 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6486 message more clear.
6487
e2b5bdd7
LL
64882012-03-16 Leo Liu <sdl.web@gmail.com>
6489
6490 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6491
2e492df3
AM
64922012-03-16 Alan Mackenzie <acm@muc.de>
6493
6494 Further optimise the handling of large macros.
6495
6496 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6497 limit to a call of `c-literal-limits'.
6498 (c-determine-+ve-limit): New function.
dc9924b8
SM
6499 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6500 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6501 In CASE 5B, restrict a search limit to 500.
6502 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6503
6504 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6505 Restrict macro bounds to +-500 from after-change's BEG END.
6506
50e94f0c
LL
65072012-03-16 Leo Liu <sdl.web@gmail.com>
6508
6509 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6510
6f09f6ed
AH
65112012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6512
6513 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6514 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6515
c7e73d51
GM
65162012-03-16 Glenn Morris <rgm@gnu.org>
6517
da986230
GM
6518 * view.el (view-buffer, view-buffer-other-window)
6519 (view-buffer-other-frame): Doc fixes re special mode-class.
6520
0835f01e
GM
6521 * subr.el (eval-after-load): If named feature is provided not from
6522 a file, run after-load forms. (Bug#10946)
6523
c7e73d51
GM
6524 * calendar/calendar.el (calendar-insert-at-column):
6525 Handle non-unit-width characters a bit better. (Bug#10978)
6526
3f2eafd1
CY
65272012-03-15 Chong Yidong <cyd@gnu.org>
6528
6529 * emacs-lisp/ring.el (ring-extend): New function.
6530 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6531
6532 * comint.el (comint-read-input-ring)
6533 (comint-add-to-input-history): Grow comint-input-ring lazily.
6534
103af3fe
SM
65352012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6536
663b1677
SM
6537 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6538 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6539
103af3fe
SM
6540 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6541 (imenu-add-to-menubar): Don't add a redundant index.
6542 (imenu-update-menubar): Handle a dynamically composed keymap.
6543
899cb7cb
KY
65442012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6545
6546 * mail/sendmail.el (mail-encode-header):
6547 Bind rfc2047-encode-encoded-words to nil.
6548
3809f91d
GM
65492012-03-13 Glenn Morris <rgm@gnu.org>
6550
6551 * calendar/calendar.el (calendar-string-spread):
6552 Handle non-unit-width characters a bit better. (Bug#10978)
6553
9e345a01
LL
65542012-03-13 Leo Liu <sdl.web@gmail.com>
6555
6556 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6557 directory and file as argument (Bug#10822).
6558
4a07df36
KS
65592012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6560
6561 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6562 For dynamically generated code, follow $PC.
6563 (gdb-disassembly-handler-custom): Handle no function name case.
6564
4aaa9356
TL
65652012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6566
6567 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6568 * emulation/ws-mode.el (ws-query-replace):
6569 * sort.el (sort-regexp-fields):
6570 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6571
225979da
SM
65722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * dabbrev.el: Fix cycle completion order (bug#10963).
6575 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6576 (dabbrev-completion): Don't use an obarray; provide
6577 a cycle-sort-function.
6578
e2f1fdab
LL
65792012-03-12 Leo Liu <sdl.web@gmail.com>
6580
dc9924b8 6581 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6582 (kill-do-not-save-duplicates): Doc fix.
6583
b19490ed
SM
65842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * dabbrev.el: Fix cycle completion (bug#10963).
6587 Use lexical binding and wrap to 80 columns.
6588 (dabbrev-completion): Delay computing the list of completions.
6589
4b05d722
KH
65902012-03-12 Kenichi Handa <handa@m17n.org>
6591
6592 * international/quail.el (quail-insert-kbd-layout): Surround each
6593 row by LRO and PDF instead of inserting many LRMs. Pad the left
6594 and right of each non-spacing marks. Insert invisible space
6595 between lower and upper characters to prevent composition.
6596
dbbc2e69
SM
65972012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * minibuffer.el (minibuffer-complete): Don't get confused when the
6600 function is run twice via different commands (bug#10958).
6601 (complete-with-action): Fix docstring.
6602
292112ed
CY
66032012-03-12 Chong Yidong <cyd@gnu.org>
6604
5d1ac394
CY
6605 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6606 (nxml-completion-at-point-function): New function.
6607 (nxml-mode): Use it.
6608 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6609
292112ed
CY
6610 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6611 Load generated autoloads file before byte compiling (Bug#10970).
6612 (package--make-autoloads-and-compile): New helper fun.
6613
4098f8f7
CS
66142012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6615
6616 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6617
8f754691
MA
66182012-03-11 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * autorevert.el (auto-revert-handler): Ensure, that
6621 file-readable-p is applied only for local files or in
6622 auto-revert-tail-mode.
6623
e29ab36b
AS
66242012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6625
dbbc2e69
SM
6626 * server.el (server-eval-at): Handle non-tcp connections.
6627 Decode result string.
ad0bf5b6 6628
e29ab36b
AS
6629 * server.el (server-msg-size): New constant.
6630 (server-reply-print): New function.
6631 (server-eval-and-print): Use it.
6632 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6633 Handle -print-nonl.
6634
de5939ba
CS
66352012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6636
6637 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6638 (Bug#10987).
6639
0c93eabf
CY
66402012-03-11 Chong Yidong <cyd@gnu.org>
6641
397a688f
CY
6642 * simple.el (goto-line): Doc fix (Bug#9938).
6643
2cc775f9
CY
6644 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6645
0c93eabf
CY
6646 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6647 when finished (Bug#10963).
6648
c491fa41
MR
66492012-03-11 Martin Rudalics <rudalics@gmx.at>
6650
6651 * window.el (split-window-below): Fix bug in case where
6652 split-window-keep-point is nil (Bug#10971).
6653
300e8fa5
JL
66542012-03-11 Juri Linkov <juri@jurta.org>
6655
6656 * replace.el (replace-highlight): Set isearch-word to nil
6657 unconditionally. (Bug#10887)
6658
dbf6c5a1
EZ
66592012-03-10 Eli Zaretskii <eliz@gnu.org>
6660
6661 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6662 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6663 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6664 (mairix-widget-create-query): Add usage information about mairix
6665 search forms: negating words, searching for substrings, etc.
6666
b9e501de
JP
66672012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6668
6669 * international/fontset.el (font-encoding-alist): Add an entry for
6670 ksx1001 (Bug#5667).
6671
92795c91
RS
66722012-03-10 Richard Stallman <rms@gnu.org>
6673
1694e6c1
RS
6674 * mail/sendmail.el (mail-encode-header):
6675 Set rfc2047-encode-encoded-words.
6676
607e8555
RS
6677 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6678
de3bc99a
RS
6679 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6680 view buffer means not swapped.
6681 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6682 (rmail-write-region-annotate): Error if real text has disappeared.
6683
92795c91
RS
6684 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6685
699bd04e
CY
66862012-03-10 Chong Yidong <cyd@gnu.org>
6687
6688 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6689 * emulation/cua-base.el (cua--init-keymaps):
6690 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6691
570a1714
MR
66922012-03-10 Martin Rudalics <rudalics@gmx.at>
6693
dbbc2e69
SM
6694 * speedbar.el (speedbar-unhighlight-one-tag-line):
6695 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6696
82dcf4e4
CY
66972012-03-10 Chong Yidong <cyd@gnu.org>
6698
7a2c7ca7
CY
6699 * minibuffer.el (completion-in-region, completion-help-at-point):
6700 Give the completion field overlay a high priority (Bug#6830).
6701
82dcf4e4
CY
6702 * dired.el (dired-goto-file): Recognize absolute file name
6703 listings (Bug#7126).
6704 (dired-goto-file-1): New helper function.
6705 (dired-toggle-read-only): Inhibit warnings.
6706
052e28ac
MA
67072012-03-09 Michael Albinus <michael.albinus@gmx.de>
6708
75f1671a 6709 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6710 there are no properties.
6711
95d5e396
LL
67122012-03-09 Leo Liu <sdl.web@gmail.com>
6713
6714 * savehist.el (savehist-printable): Stricter check for string
6715 value (Bug#10937).
6716
3f018d6d
EZ
67172012-03-09 Eli Zaretskii <eliz@gnu.org>
6718
dbbc2e69
SM
6719 * mail/smtpmail.el (smtpmail-send-it):
6720 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6721 valid mbox format.
6722
f7fd3d79
GM
67232012-03-09 Glenn Morris <rgm@gnu.org>
6724
6725 * files.el (dir-locals-find-file):
6726 Don't check result is regular, readable.
6727 (dir-locals-read-from-file): Demote errors.
6728
6ff6e72f
EZ
67292012-03-08 Eli Zaretskii <eliz@gnu.org>
6730
dbbc2e69
SM
6731 * international/quail.el (quail-insert-kbd-layout):
6732 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6733 layout cell, to prevent their reordering by bidi display engine.
6734 For details, see the discussion in
6735 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6736
9cec7834
AM
67372012-03-08 Alan Mackenzie <acm@muc.de>
6738
6739 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6740 the starting position; make it extend the marked region when
6741 invoked repeatedly - all under appropriate circumstances.
6742 Fixes bugs #5525, #10906.
6743
9a40b8d4
GM
67442012-03-08 Glenn Morris <rgm@gnu.org>
6745
6746 * files.el (locate-dominating-file, dir-locals-find-file):
6747 Undo 2012-03-06 change.
6748
7a08ed35
EZ
67492012-03-07 Eli Zaretskii <eliz@gnu.org>
6750
dbbc2e69
SM
6751 * international/quail.el (quail-help):
6752 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6753 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6754 for the reason.
6755
5aca4f71 67562012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6757
6758 Avoid superfluous registering of signals. (Bug#10807)
6759
6760 * notifications.el (notifications-on-action-object)
6761 (notifications-on-close-object): New defvars.
6762 (notifications-on-action-signal, notifications-on-closed-signal):
6763 Unregister the signal if not needed any longer.
6764 (notifications-notify): Register `notifications-action-signal' or
6765 `notifications-closed-signal', if :on-action or :on-close has been
6766 passed as argument.
6767
78e8b10a
CY
67682012-03-07 Chong Yidong <cyd@gnu.org>
6769
6770 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6771 non-X platforms.
6772
69481eb8
GM
67732012-03-06 Glenn Morris <rgm@gnu.org>
6774
6775 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6776 (x-disown-selection-internal, x-get-selection-internal):
6777 Doc fix (add arglist signatures). (Bug#10783)
6778
133b8e11
KS
67792012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6780
6781 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6782 Handle breakpoints with no "type".
6783
99a83064
GM
67842012-03-06 Glenn Morris <rgm@gnu.org>
6785
6786 * files.el (locate-dominating-file): Add optional predicate argument.
6787 (dir-locals-find-file): Make use of above change.
6788
17798e78
TTN
67892012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6790
6791 * info.el (Info-insert-dir): Also try "dir.gz".
6792
eb182446
GM
67932012-03-06 Glenn Morris <rgm@gnu.org>
6794
8f2114ee
GM
6795 * files.el (dir-locals-find-file):
6796 Ignore non-readable or non-regular files. (Bug#10928)
6797
eb182446
GM
6798 * files.el (locate-dominating-file): Doc fix.
6799
24679323
AS
68002012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6801
6802 * calendar/calendar.el (calendar-set-mode-line):
6803 `getenv' returns a string. (Bug#10951)
6804
01d972a9
LL
68052012-03-05 Leo Liu <sdl.web@gmail.com>
6806
109aa8a9
LL
6807 * simple.el (backward-delete-char-untabify): Constrain point to
6808 field (Bug#10939).
6809
01d972a9
LL
6810 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6811
10607bea
CY
68122012-03-05 Chong Yidong <cyd@gnu.org>
6813
6814 * simple.el (count-words): If called from Lisp, return the word
6815 count, for symmetry with `count-lines'. Arglist changed.
6816 (count-words--message): Args changed. Consolidate counting code
6817 from count-words and count-words-region.
6818 (count-words-region): Caller changed.
6819 (count-lines-region): Make it an obsolete alias.
6820
5dd11cfe
TH
68212012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6822
6823 * saveplace.el (save-place-to-alist)
6824 (save-place-ignore-files-regexp): Allow value nil to disable this
6825 feature.
6826
c349f4e6
CY
68272012-03-04 Chong Yidong <cyd@gnu.org>
6828
6829 * faces.el (face-spec-reset-face): For the default face, reset the
6830 attributes to default values (Bug#10748).
6831
e627be4c
LMI
68322012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6833
6834 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6835 previous patch: Check `message-send-mail-function', and not the
6836 default function (bug#10897).
6837
ebeabff4
MA
68382012-03-04 Michael Albinus <michael.albinus@gmx.de>
6839
a41a6cf4
MA
6840 * notifications.el (notifications-on-action-signal)
6841 (notifications-on-closed-signal): Check for unique service name of
6842 incoming event. Fix error in removing entry.
ebeabff4 6843 (top): Register for signals with wildcard service name.
a41a6cf4 6844 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6845
c1ca42b4
CY
68462012-03-04 Chong Yidong <cyd@gnu.org>
6847
dc9924b8 6848 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6849
ea16568d
GM
68502012-03-04 Glenn Morris <rgm@gnu.org>
6851
6852 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6853 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6854 (expand-abbrev, define-abbrev-table): Doc fixes.
6855
fbae4637
LMI
68562012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857
6858 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6859 `message-default-send-mail-function' and not `send-mail-function'
6860 when doing the prompting for `sendmail-query-once' before sending
6861 in Message buffers (bug#10897).
6862
a1e7225c
LMI
6863 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6864 This is inconsistent with all the other stream functions, which leave
6865 the setting up to the higher levels (if so wanted) (bug#10931).
6866
56d093a9
AM
68672012-03-02 Alan Mackenzie <acm@muc.de>
6868
6869 Depessimize the handling of very large macros.
6870
6871 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6872 (c-macro-cache-syntactic): New variables to implement a one
6873 element macro cache.
6874 (c-invalidate-macro-cache): New function.
6875 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6876 Adapt to use the new cache.
6877 (c-state-safe-place): Use better the cache of safe positions.
6878 (c-state-semi-nonlit-pos-cache)
6879 (c-state-semi-nonlit-pos-cache-limit):
6880 New variables for...
6881 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6882 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6883 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6884 Use c-state-semi-safe-place.
56d093a9 6885
dbbc2e69
SM
6886 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6887 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6888
817e5c3d
MA
68892012-03-02 Michael Albinus <michael.albinus@gmx.de>
6890
dbbc2e69
SM
6891 * jka-compr.el (jka-compr-call-process):
6892 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6893 not remote.
6894
a032a702
MA
68952012-03-01 Michael Albinus <michael.albinus@gmx.de>
6896
6897 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6898 access of FILE2, if FILE1 does not exist.
6899
99a54f21
MA
6900 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6901 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6902
6903 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6904 Add "PAGER=" to `process-environment'.
6905
f6561e1f
MM
69062012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6907
6908 * progmodes/sql.el: Bug fix
6909 (sql-get-login-ext): Save login values in globals.
6910 (sql-get-login): Use new version of `sql-get-login-ext'.
6911 (sql-interactive-mode): Set global `sql-connection' to nil.
6912 (sql-connect): Set global values for connection.
6913 (sql-product-interactive): Save global values as buffer local.
6914
2d44d9cc
LL
69152012-02-29 Leo Liu <sdl.web@gmail.com>
6916
6917 * abbrev.el (define-abbrevs): Reset sys to nil.
6918
96b49301 69192012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6920
bf7f9bc5
JB
6921 * files.el (file-equal-p): Rename from `files-equal-p'.
6922 Return nil when one or both files don't exist.
96b49301 6923 (file-subdir-of-p): Now only top directory must exists,
6924 return nil if it doesn't.
bf7f9bc5
JB
6925 (copy-directory): No need to test with `file-subdir-of-p' after
6926 creating dir.
6927 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6928 to `file-equal-p'.
96b49301 6929
44e97401
GM
69302012-02-28 Glenn Morris <rgm@gnu.org>
6931
6932 * shell.el (shell-mode):
6933 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6934 * play/landmark.el (landmark-font-lock-face-O):
6935 * play/handwrite.el (handwrite):
6936 * play/gomoku.el (gomoku-O):
6937 * net/browse-url.el (browse-url-browser-display):
6938 * international/mule.el (define-charset):
6939 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6940 * filesets.el (filesets-find-file-delay):
6941 * eshell/em-xtra.el (eshell-xtra):
6942 * eshell/em-unix.el (eshell-grep):
6943 * emulation/viper.el (viper-mode):
6944 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6945 * emacs-lisp/easymenu.el (easy-menu-define):
6946 * calendar/timeclock.el (timeclock-use-display-time):
6947 * bs.el (bs-mode):
6948 * bookmark.el (bookmark-save-flag):
6949 Doc fix (standardize possessive apostrophe usage).
6950
c98c6276
CY
69512012-02-27 Chong Yidong <cyd@gnu.org>
6952
bf7f9bc5
JB
6953 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6954 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6955
c98c6276
CY
6956 * font-lock.el (font-lock-specified-p): Rename from
6957 font-lock-spec-present. Callers changed.
6958
9c62cd04 69592012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6960
bf7f9bc5
JB
6961 * emacs-lisp/package.el (package-compute-transaction):
6962 Handle holding a package version to t in package-load-list.
8ac9e529 6963
530739c9
MA
69642012-02-26 Michael Albinus <michael.albinus@gmx.de>
6965
6966 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6967 (tramp-get-inode, tramp-get-device): Use cached values.
6968
487915d7
AM
69692012-02-26 Alan Mackenzie <acm@muc.de>
6970
6971 Check there is a font-lock specification before doing initial
6972 fontification.
6973
6974 * font-core.el (font-lock-mode): Move the conditional from
6975 :after-hook to font-lock-initial-fontify.
6976 (font-lock-default-function): Move the check for a specification
6977 to font-lock-spec-present.
6978
dc9924b8 6979 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6980 (font-lock-spec-present): New function.
6981
4fd96557
JB
69822012-02-26 Jim Blandy <jimb@red-bean.com>
6983
6984 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6985 (gdb-send): Apply it to the operand of the '-interpreter-exec
6986 console' command, so that we can pass arguments with (say) quotes
6987 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6988
9a4888c0
CY
69892012-02-26 Chong Yidong <cyd@gnu.org>
6990
07498861
CY
6991 * help-fns.el (describe-function-1): Clarify description of
6992 remapping (Bug#10844).
6993
9a4888c0
CY
6994 * files.el (files-equal-p): Doc fix.
6995 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6996 and quit the loop once a mismatch is found.
6997
ea8fb88d
JB
69982012-02-25 Juanma Barranquero <lekktu@gmail.com>
6999
7000 * bs.el (bs--show-with-configuration): Don't throw an error
7001 if the window cannot be split; otherwise, subsequent calls to
7002 bs-show fail, restoring a stale window config. (Bug#10882)
7003
525795c1
JD
70042012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7005
7006 * term/ns-win.el (global-map): Bind ns-drag-file to
7007 ns-find-file (Bug#5855, Bug#10050).
7008
f008086f
AS
70092012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7010
7011 * calendar/parse-time.el (parse-time-string): Allow extractor to
7012 return nil.
7013
a3fcfa99
MA
70142012-02-25 Michael Albinus <michael.albinus@gmx.de>
7015
91027d08
JB
7016 * net/tramp.el (tramp-file-name-for-operation):
7017 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7018
7019 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7020 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7021 Add COPY-CONTENTS argument.
a3fcfa99 7022
67b0de11
CY
70232012-02-25 Chong Yidong <cyd@gnu.org>
7024
7025 Add custom groups for VC backends, for consistency with vc-bzr.
7026
7027 * vc/vc-arch.el (vc-arch):
7028 * vc/vc-cvs.el (vc-cvs):
7029 * vc/vc-git.el (vc-git):
7030 * vc/vc-hg.el (vc-hg):
7031 * vc/vc-mtn.el (vc-mtn):
7032 * vc/vc-rcs.el (vc-rcs):
7033 * vc/vc-sccs.el (vc-sccs):
7034 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7035 All relevant defcustoms reassigned.
7036
3c9dfce6
CY
70372012-02-25 Chong Yidong <cyd@gnu.org>
7038
1339bf43
CY
7039 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7040
3c9dfce6
CY
7041 * term/x-win.el (x-initialize-window-system): Reduce default for
7042 x-selection-timeout to 5 seconds (Bug#8869).
7043
25b2e303 70442012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7045
ec70a47d
GM
7046 * files.el (files-equal-p, file-subdir-of-p): New functions.
7047 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7048 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7049 * dired-aux.el (dired-copy-file-recursive): Same.
7050 (dired-create-files): Modify destination when source is equal to
7051 dest when copying files.
53a46cd0 7052 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7053
914260cd
MA
70542012-02-24 Michael Albinus <michael.albinus@gmx.de>
7055
7056 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7057 (Bug#10874)
7058
2cb228f7
AM
70592012-02-23 Alan Mackenzie <acm@muc.de>
7060
7061 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7062 parameter "after-hook:" to allow the expansion to run code after
7063 the execution of the mode hooks.
7064
7065 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7066 from font-lock-mode-internal.
2cb228f7 7067
91027d08 7068 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7069 :after-hook.
7070
8f0fde21
SM
70712012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7072
3e88618b
SM
7073 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7074 (completion--cache-all-sorted-completions): New function.
7075 (completion-all-sorted-completions): Use it.
7076 (completion--do-completion, minibuffer-force-complete):
7077 Use it to re-instate the flush hook.
7078
8f0fde21
SM
7079 * icomplete.el (icomplete-completions): Replace last fix with a better
7080 one (bug#10850).
7081
8e911f6f
DG
70822012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7083
7084 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7085 when it might call us back infinitely (bug#10797).
7086
49fe4321
GM
70872012-02-23 Glenn Morris <rgm@gnu.org>
7088
7089 * minibuffer.el (completion-category-overrides): Doc fix.
7090
b291b572
SM
70912012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7094 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7095
31a9ef2e
GM
70962012-02-23 Glenn Morris <rgm@gnu.org>
7097
5e6e6794 7098 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7099 (authors-obsolete-files-regexps, authors-ignored-files)
7100 (authors-ambiguous-files, authors-renamed-files-alist):
7101 Add more entries.
7102
0bd1e074
JL
71032012-02-23 Juri Linkov <juri@jurta.org>
7104
7105 * isearch.el (isearch-occur): Sync interactive spec with occur's
7106 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7107
b617673c
JL
7108 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7109
19e9789e
JL
71102012-02-22 Juri Linkov <juri@jurta.org>
7111
7112 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7113 (ucs-insert): Doc fix. Check for hex digits in the string.
7114 Don't display `nil' in the error message. (Bug#10857)
7115
f41ce09d
AM
71162012-02-22 Alan Mackenzie <acm@muc.de>
7117
7a71b18d 7118 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7119
ac2eceee
GM
71202012-02-22 Glenn Morris <rgm@gnu.org>
7121
7122 * ffap.el (ffap-c-path):
7123 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7124
abd1f678
CY
71252012-02-22 Chong Yidong <cyd@gnu.org>
7126
7127 * custom.el (load-theme): Doc fix.
7128
f25aef2e
GM
71292012-02-22 Glenn Morris <rgm@gnu.org>
7130
7131 * dired-x.el (dired-guess-shell-alist-default):
7132 Remove escape sequences from nroff output. (Bug#172)
7133
5f8dc2ca
GM
71342012-02-21 Glenn Morris <rgm@gnu.org>
7135
6ff86ec4
GM
7136 * vc/emerge.el (emerge-defvar-local):
7137 Set `permanent-local' property rather than unused `preserved'.
7138
be3223a3 7139 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7140 (picture-mode-map): Use it. (Bug#10860)
7141 (picture-mode): Doc fix.
7142
3fe58f4f
JB
71432012-02-21 Juanma Barranquero <lekktu@gmail.com>
7144
7145 * newcomment.el (uncomment-region-default): Remove unused binding.
7146
f9a998c3
GM
71472012-02-21 Glenn Morris <rgm@gnu.org>
7148
7149 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7150 (picture-self-insert, picture-tab-chars): Doc fix.
7151 (picture-mode-map): Fix C-a, C-e.
7152
c6029348
GM
71532012-02-20 Glenn Morris <rgm@gnu.org>
7154
7155 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7156
ab1ce9d7
LL
71572012-02-20 Leo Liu <sdl.web@gmail.com>
7158
7159 * icomplete.el (icomplete-completions): Check FROM arg before
7160 passing to substring (Bug#10850).
7161
0fd40f89
CY
71622012-02-19 Chong Yidong <cyd@gnu.org>
7163
7164 * comint.el: Require ansi-color.
7165 (comint-output-filter-functions): Add ansi-color-process-output.
7166
7167 * ansi-color.el: Don't set comint-output-filter-functions; it is
7168 now in the initial value defined in comint.el.
7169 (ansi-color-apply-face-function): New variable.
7170 (ansi-color-apply-on-region): Use it.
7171 (ansi-color-apply-overlay-face): New function.
7172
7173 * shell.el (shell): No need to require ansi-color.
7174 (shell-mode): Use ansi-color-apply-face-function to highlight
7175 color escapes using font-lock-face property (Bug#10835).
7176
20af2394
CY
71772012-02-19 Chong Yidong <cyd@gnu.org>
7178
7179 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7180 mode-line formats (Bug#10839).
7181
e23a3fbe
GM
71822012-02-18 Glenn Morris <rgm@gnu.org>
7183
b474519e
GM
7184 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7185
7186 * mail/undigest.el (unforward-rmail-message): Doc fix.
7187
e23a3fbe
GM
7188 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7189
57939ff4
EZ
71902012-02-18 Eli Zaretskii <eliz@gnu.org>
7191
7192 * international/characters.el (script-list): Sync with the latest
7193 Unicode Character Database.
7194
0c23686e
AS
71952012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7196
7197 * international/titdic-cnv.el: Remove duplicate coding tag.
7198 * language/cham.el: Likewise.
7199 * language/tai-viet.el: Likewise.
7200
6818b449
GM
72012012-02-18 Glenn Morris <rgm@gnu.org>
7202
7203 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7204 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7205 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7206 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7207 * calendar/holidays.el (holiday-bahai-holidays)
7208 (calendar-holidays, list-holidays):
7209 Use utf-8 Bahá'í in doc-strings, menus, etc.
7210
0311a3fc
TH
72112012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7212
7213 * saveplace.el (save-place-ignore-files-regexp): New variable
7214 allowing for excluding files from saving their location of point.
7215 The default value matches the temporary commit message editing
7216 files from Git, SVN, Bazaar, and Mercurial.
7217 (save-place-to-alist): Use it.
7218
d209e2fb 72192012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7220 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7221
7222 * newcomment.el (uncomment-region-default): Don't leave extra space
7223 when an arg is provided (bug#8150).
7224
ee0ce425
TZ
72252012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7226
eb864a71 7227 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7228
95ddf442
GM
72292012-02-17 Glenn Morris <rgm@gnu.org>
7230
7231 * net/socks.el: Require network-stream. (Bug#10599)
7232
48dd1e39 72332012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7234
7235 * international/charprop.el:
7236 * international/uni-name.el:
7237 * international/uni-old-name.el:
7238 * international/uni-comment.el: Regenerate.
7239
d68cd087
GM
72402012-02-16 Glenn Morris <rgm@gnu.org>
7241
7242 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7243 Interactively in calendar buffer, give an error if not on a date.
7244
13932042
GM
72452012-02-15 Glenn Morris <rgm@gnu.org>
7246
7247 * shell.el (shell-delimiter-argument-list):
7248 Revert 2011-02-17 change. (Bug#8027)
7249
c3a70e2b
CY
72502012-02-15 Chong Yidong <cyd@gnu.org>
7251
60236b0d
CY
7252 * minibuffer.el (completion-at-point-functions): Doc fix.
7253
c3a70e2b
CY
7254 * custom.el (defcustom): Doc fix; note use of defvar.
7255
9f26dc24
GM
72562012-02-15 Glenn Morris <rgm@gnu.org>
7257
7258 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7259 Doc fixes.
7260
6546b134
GM
72612012-02-14 Glenn Morris <rgm@gnu.org>
7262
7263 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7264
d29b2b4c
LI
72652012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7266
7267 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7268 way the ports list is computed.
835bdcba
LI
7269 (smtpmail-query-smtp-server): Prompt the user for a port number if
7270 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7271
08dcdbc9
TZ
72722012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7273
7274 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7275
2605051a
GM
72762012-02-13 Glenn Morris <rgm@gnu.org>
7277
7278 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7279
7ee99f32
TZ
72802012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7281
7282 * net/gnutls.el (gnutls-trustfiles): New variable.
7283 (gnutls-negotiate): Use it.
7284
5f0af64f
LI
72852012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7286
7287 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7288 does its stuff if Gnus is running.
7289
c14fcc95
AM
72902012-02-13 Alan Mackenzie <acm@muc.de>
7291
7292 Fix a loop in c-set-fl-decl-start.
7293
7a71b18d 7294 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7295 c-backward-syntactic-ws actually moves backwards.
7296
142b4d90
LL
72972012-02-13 Leo Liu <sdl.web@gmail.com>
7298
7299 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7300 beginning so that all \C-o chars are removed.
7301
fa9958a6
TZ
73022012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7303
dc9924b8 7304 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7305
0bc5886a
AM
73062012-02-12 Alan Mackenzie <acm@muc.de>
7307
7308 Fix infinite loop with long macros.
4d6769e1 7309 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7310
d4bd55e7
CY
73112012-02-12 Chong Yidong <cyd@gnu.org>
7312
7313 * window.el (display-buffer): Doc fix (Bug#10785).
7314
66f3fe22
GM
73152012-02-12 Glenn Morris <rgm@gnu.org>
7316
bd7da63e
GM
7317 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7318 (x-disown-selection-internal, x-get-selection-internal):
7319 Sync docs with the xselect.c versions.
7320
66f3fe22
GM
7321 * allout-widgets.el: Add missing license notice.
7322
3e0d2fa7
GM
73232012-02-11 Glenn Morris <rgm@gnu.org>
7324
cfecdf09
GM
7325 * select.el (x-get-selection-internal, x-own-selection-internal)
7326 (x-disown-selection-internal):
7327 * x-dnd.el (x-get-selection-internal): Update declarations.
7328
6d216d7f
GM
7329 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7330
2bed3f04
GM
7331 * window.el (window-sides-slots):
7332 * tool-bar.el (tool-bar-position):
7333 * term/xterm.el (xterm-extra-capabilities):
7334 * ses.el (ses-self-reference-early-detection):
7335 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7336 (verilog-auto-wire-type)
7337 (verilog-auto-delete-trailing-whitespace)
7338 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7339 (verilog-auto-tieoff-declaration):
7340 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7341 (sql-oracle-statement-starters, sql-oracle-scan-on):
7342 * progmodes/prolog.el (prolog-align-comments-flag)
7343 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7344 (prolog-left-indent-regexp, prolog-paren-indent-p)
7345 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7346 (prolog-types, prolog-mode-specificators)
7347 (prolog-determinism-specificators, prolog-directives)
7348 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7349 (prolog-electric-dot-flag)
7350 (prolog-electric-dot-full-predicate-template)
7351 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7352 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7353 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7354 (prolog-program-switches, prolog-prompt-regexp)
7355 (prolog-debug-on-string, prolog-debug-off-string)
7356 (prolog-trace-on-string, prolog-trace-off-string)
7357 (prolog-zip-on-string, prolog-zip-off-string)
7358 (prolog-use-standard-consult-compile-method-flag)
7359 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7360 (prolog-imenu-max-lines, prolog-info-predicate-index)
7361 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7362 (prolog-char-quote-workaround):
7363 * progmodes/cc-vars.el (c-defun-tactic):
7364 * net/tramp.el (tramp-encoding-command-interactive)
7365 (tramp-local-end-of-line):
7366 * net/soap-client.el (soap-client):
7367 * net/netrc.el (netrc-file):
7368 * net/gnutls.el (gnutls):
7369 * minibuffer.el (completion-category-overrides)
7370 (completion-cycle-threshold)
7371 (completion-pcm-complete-word-inserts-delimiters):
7372 * man.el (Man-name-local-regexp):
7373 * mail/feedmail.el (feedmail-display-full-frame):
7374 * international/characters.el (glyphless-char-display-control):
7375 * eshell/em-ls.el (eshell-ls-date-format):
7376 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7377 (lisp-lambda-list-keyword-parameter-indentation)
7378 (lisp-lambda-list-keyword-parameter-alignment):
7379 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7380 * dired-x.el (dired-omit-verbose):
7381 * cus-theme.el (custom-theme-allow-multiple-selections):
7382 * calc/calc.el (calc-highlight-selections-with-faces)
7383 (calc-lu-field-reference, calc-lu-power-reference)
7384 (calc-note-threshold):
7385 * battery.el (battery-mode-line-limit):
7386 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7387 (archive-7z-update):
7388 * allout.el (allout-prefixed-keybindings)
7389 (allout-unprefixed-keybindings)
7390 (allout-inhibit-auto-fill-on-headline)
7391 (allout-flattened-numbering-abbreviation):
7392 * allout-widgets.el (allout-widgets-auto-activation)
7393 (allout-widgets-icons-dark-subdir)
7394 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7395 (allout-widgets-theme-dark-background)
7396 (allout-widgets-theme-light-background)
7397 (allout-widgets-item-image-properties-emacs)
7398 (allout-widgets-item-image-properties-xemacs)
7399 (allout-widgets-run-unit-tests-on-load)
7400 (allout-widgets-time-decoration-activity)
7401 (allout-widgets-hook-error-post-time)
7402 (allout-widgets-track-decoration):
7403 Add missing :version tags to new defcustoms and defgroups.
7404
5fec1b8e
GM
7405 * progmodes/sql.el (sql-ansi-statement-starters)
7406 (sql-oracle-statement-starters): Add custom type.
7407
3e0d2fa7
GM
7408 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7409 (prolog-system-version): Give it a type.
7410
90b671e2
EZ
74112012-02-11 Eli Zaretskii <eliz@gnu.org>
7412
7413 * term/pc-win.el (x-select-text, x-selection-owner-p)
7414 (x-own-selection-internal, x-disown-selection-internal)
7415 (x-get-selection-internal): Sync doc strings and argument lists
7416 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7417
5eac0c02
LL
74182012-02-11 Leo Liu <sdl.web@gmail.com>
7419
7420 * progmodes/python.el (python-end-of-statement): Fix infinite
7421 loop. (Bug#10788)
7422
f82cb659
GM
74232012-02-10 Glenn Morris <rgm@gnu.org>
7424
7425 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7426 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7427
cc26d239
LI
74282012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7429
7430 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7431 about SMTP before checking the From header.
7432
91027d08 7433 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7434 into own function for reuse by emacsbug.el.
7435
1be3ca5a
LL
74362012-02-10 Leo Liu <sdl.web@gmail.com>
7437
7438 * subr.el (condition-case-unless-debug): Rename from
7439 condition-case-no-debug. All callers changed.
7440 (with-demoted-errors): Fix caller.
7441
7442 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7443 * nxml/rng-valid.el (rng-do-some-validation):
7444 * emacs-lisp/package.el (package-refresh-contents)
7445 (package-menu-execute):
7446 * desktop.el (desktop-create-buffer):
91027d08 7447 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7448
b011fbfe
GM
74492012-02-10 Glenn Morris <rgm@gnu.org>
7450
b2096d72
GM
7451 * textmodes/bibtex.el:
7452 Add missing :version tags for new/changed defcustoms.
7453
b011fbfe
GM
7454 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7455
4c7e65bf
LI
74562012-02-09 Lars Ingebrigtsen <larsi@rusty>
7457
7458 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7459 (smtpmail-via-smtp): Use it, or fall back on the From address.
7460 (smtpmail-send-it): Ditto.
7461
f3934f6f
SM
74622012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7465 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7466 (byte-compile-tmp-var): New const.
7467 (byte-compile-defvar): Use it to minimize .elc size.
7468 Just use `defvar' rather than simulate it (bug#10761).
7469
a075a2c5
GM
74702012-02-09 Glenn Morris <rgm@gnu.org>
7471
cf3aa21b
GM
7472 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7473
354998cd
GM
7474 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7475 Add :version tags.
7476
dc9924b8
SM
7477 * progmodes/compile.el (compilation-error-screen-columns)
7478 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7479
dab3703d
GM
7480 * vc/log-view.el (log-view-toggle-entry-display):
7481 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7482
3f88cd72
GM
7483 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7484 (report-emacs-bug-can-use-xdg-email):
7485 (report-emacs-bug-insert-to-mailer): Doc fixes.
7486 (report-emacs-bug): Message fix.
7487
d95b247d
GM
7488 * net/browse-url.el (browse-url-can-use-xdg-open)
7489 (browse-url-xdg-open): Doc fixes.
7490
a075a2c5
GM
7491 * electric.el (electric-indent-mode, electric-pair-mode)
7492 (electric-layout-rules, electric-layout-mode): Doc fixes.
7493 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7494
ffb6157e
MR
74952012-02-08 Martin Rudalics <rudalics@gmx.at>
7496
7497 * server.el (server-unselect-display): Don't inadvertently kill
7498 the current buffer. (Bug#10729)
7499
e1ac4066
GM
75002012-02-08 Glenn Morris <rgm@gnu.org>
7501
34e8a2da
GM
7502 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7503 (sql-list-table): Doc fixes.
7504
b4ac6e8c
GM
7505 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7506 Comment out (does nothing).
7507
e1ac4066
GM
7508 * completion.el (dynamic-completion-mode):
7509 * dirtrack.el (dirtrack-debug-mode):
7510 * electric.el (electric-layout-mode):
7511 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7512 * face-remap.el (text-scale-mode, buffer-face-mode):
7513 * iimage.el (iimage-mode):
7514 * image-mode.el (image-transform-mode):
7515 * minibuffer.el (completion-in-region-mode):
7516 * scroll-lock.el (scroll-lock-mode):
7517 * simple.el (next-error-follow-minor-mode):
7518 * tar-mode.el (tar-subfile-mode):
7519 * tooltip.el (tooltip-mode):
7520 * vcursor.el (vcursor-use-vcursor-map):
7521 * wid-browse.el (widget-minor-mode):
7522 * emulation/tpu-edt.el (tpu-edt-mode):
7523 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7524 * international/iso-ascii.el (iso-ascii-mode):
7525 * language/thai-util.el (thai-word-mode):
7526 * mail/supercite.el (sc-minor-mode):
7527 * net/goto-addr.el (goto-address-mode):
7528 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7529 * progmodes/cwarn.el (cwarn-mode):
7530 * progmodes/flymake.el (flymake-mode):
7531 * progmodes/glasses.el (glasses-mode):
7532 * progmodes/hideshow.el (hs-minor-mode):
7533 * progmodes/pascal.el (pascal-outline-mode):
7534 * textmodes/enriched.el (enriched-mode):
7535 * vc/smerge-mode.el (smerge-mode):
7536 Doc fixes (minor mode argument).
7537
5e0d957f
EZ
75382012-02-07 Eli Zaretskii <eliz@gnu.org>
7539
7540 * ls-lisp.el (ls-lisp-sanitize): New function.
7541 (ls-lisp-insert-directory): Use it to fix or remove any elements
7542 in file-alist with missing attributes. (Bug#4673)
7543
98d7371e
AM
75442012-02-07 Alan Mackenzie <acm@muc.de>
7545
7546 Fix spurious recognition of c-in-knr-argdecl.
7547
7548 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7549 putative K&R region.
7550
667ced3a
AM
75512012-02-07 Alan Mackenzie <acm@muc.de>
7552
eb864a71
LM
7553 * progmodes/cc-engine.el (c-forward-objc-directive):
7554 Prevent looping in "#pragma mark @implementation".
667ced3a 7555
5b77774d
MA
75562012-02-07 Michael Albinus <michael.albinus@gmx.de>
7557
7558 * notifications.el (notifications-on-closed-signal): Make `reason'
7559 optional. (Bug#10744)
7560
af008560
GM
75612012-02-07 Glenn Morris <rgm@gnu.org>
7562
60d47423
GM
7563 * emacs-lisp/easy-mmode.el (define-minor-mode):
7564 Doc fixes for the macro and the mode it defines.
7565
dd605cc4
GM
7566 * image.el (imagemagick-types-inhibit): Doc fix.
7567
af008560
GM
7568 * cus-start.el (imagemagick-render-type): Add it.
7569
5cc59a37
LI
75702012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7571
4d6769e1
JB
7572 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7573 Set the default at load time, too, so that `font-lock-fontify-buffer'
7574 can be called without setting up the entire mode first. This fixes
7575 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7576
9a6dd747
CY
75772012-02-06 Chong Yidong <cyd@gnu.org>
7578
2d16b285
CY
7579 * simple.el (list-processes--refresh): Delete exited processes
7580 (Bug#8094).
7581
171e9b6e
CY
7582 * comint.el (comint-next-prompt): next-single-char-property-change
7583 and prev-single-char-property-change never return nil (Bug#8657).
7584
9a6dd747
CY
7585 * custom.el (defcustom): Doc fix (Bug#9711).
7586
aa4589a7
CY
75872012-02-05 Chong Yidong <cyd@gnu.org>
7588
5c2a252f
CY
7589 * cus-edit.el (custom-variable-reset-backup): Quote the value
7590 before storing it in the customized-value property (Bug#6712).
4aab9006 7591 (custom-display): Add a customization type tag.
983b9602 7592 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7593
aa4589a7
CY
7594 * wid-edit.el (widget-field-value-get): New optional arg to
7595 suppress trailing whitespace truncation.
7596 (character): Use it (Bug#2689).
7597
1ff980ae
AS
75982012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7599
7600 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7601 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7602
03988c98
CY
76032012-02-05 Chong Yidong <cyd@gnu.org>
7604
eeb6cc88
CY
7605 * cus-edit.el (custom-variable-value-create): For mismatched
7606 types, show the current value (Bug#7600).
7607
03988c98
CY
7608 * custom.el (defcustom): Doc fix.
7609
f8cdeef0
GM
76102012-02-05 Glenn Morris <rgm@gnu.org>
7611
7612 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7613
0696d255
JB
76142012-02-05 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7617 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7618 (pp-last-sexp): Use `looking-at-p'.
7619
34c99998
GM
76202012-02-04 Glenn Morris <rgm@gnu.org>
7621
8f05da42
GM
7622 * files.el (revert-buffer):
7623 Doc fix (mention revert-buffer-in-progress-p).
7624
f160676e
GM
7625 * emacs-lisp/ert-x.el (ert-simulate-command):
7626 Check deferred-action-list (which is obsolete) is bound.
7627
c7291ad9
GM
7628 * subr.el (with-wrapper-hook): Doc fixes.
7629
34c99998
GM
7630 * simple.el (filter-buffer-substring-functions)
7631 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7632
6283a7d3
LL
76332012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7634
7635 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7636 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7637
e96e3013
LL
76382012-02-04 Leo Liu <sdl.web@gmail.com>
7639
7640 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7641
8ded50f2
GM
76422012-02-04 Glenn Morris <rgm@gnu.org>
7643
82ff1d13
GM
7644 * image.el (image-extension-data): Add obsolete alias.
7645
987a0a16
GM
7646 * isearch.el (isearch-update): Doc fix.
7647
ea32ef46
GM
7648 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7649
8ded50f2
GM
7650 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7651
eea14f31
GM
76522012-02-03 Glenn Morris <rgm@gnu.org>
7653
7654 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7655 (image-animate-timeout): Doc fix.
7656
7657 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7658
12f381b7
GM
76592012-02-02 Glenn Morris <rgm@gnu.org>
7660
953cebf5
GM
7661 * server.el (server-auth-dir): Doc fix.
7662 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7663
12f381b7
GM
7664 * subr.el (run-mode-hooks): Doc fix.
7665
953a8c3b
JL
76662012-02-02 Juri Linkov <juri@jurta.org>
7667
7668 * image-mode.el (image-toggle-display-image): Remove tautological
7669 `major-mode' from the `derived-mode-p' test.
7670
c5d3843c
KH
76712012-02-02 Kenichi Handa <handa@m17n.org>
7672
9f6e692e 7673 * composite.el (compose-region): Cancel previous change.
c5d3843c 7674
159462d4 76752012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7676
7677 * composite.el (compose-region, compose-string): Signal error for
7678 a null string component (Bug#6988).
7679
9f562668
CY
76802012-02-01 Chong Yidong <cyd@gnu.org>
7681
e2cef717
CY
7682 * view.el (view-buffer-other-window, view-buffer-other-frame):
7683 Handle special modes like view-buffer (Bug#10650).
7684 (view-buffer): Simplify.
7685
9f562668
CY
7686 * frame.el (set-frame-font): Tweak meaning of third argument.
7687
9f6e692e
JB
7688 * dynamic-setting.el (font-setting-change-default-font):
7689 Use set-frame-font (Bug#9982).
9f562668 7690
781acb9f
GM
76912012-02-01 Glenn Morris <rgm@gnu.org>
7692
6035be52
GM
7693 * progmodes/compile.el (compilation-internal-error-properties):
7694 Respect compilation-first-column in the "*compilation*" buffer.
7695
781acb9f
GM
7696 * emacs-lisp/easy-mmode.el (define-minor-mode):
7697 Relax :variable's test for a named function.
7698
abbceb00
AM
76992012-01-31 Alan Mackenzie <acm@muc.de>
7700
7701 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7702 off by one error.
7703
fce3fdeb
CY
77042012-01-31 Chong Yidong <cyd@gnu.org>
7705
7706 * frame.el (set-frame-font): New arg ALL-FRAMES.
7707
7708 * menu-bar.el (menu-set-font): Use set-frame-font.
7709
7710 * faces.el (face-spec-reset-face): Don't apply unspecified
7711 attribute values to the default face.
7712
47893581
JB
77132012-01-31 Juanma Barranquero <lekktu@gmail.com>
7714
7715 * progmodes/cwarn.el (cwarn): Remove dead link.
7716 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7717 Remove * from defcustom docstrings.
7718 (turn-on-cwarn-mode): Make obsolete.
7719 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7720 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7721
e58e988a
GM
77222012-01-31 Glenn Morris <rgm@gnu.org>
7723
60dc2671 7724 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7725 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7726 Allow named functions to be used as the cdr of :variable.
e58e988a 7727
7a3f511d
GM
77282012-01-30 Glenn Morris <rgm@gnu.org>
7729
7730 * emacs-lisp/authors.el (authors-fixed-entries):
7731 Remove reference to deleted file rnewspost.el.
7732
cb882333
JB
77332012-01-29 Juanma Barranquero <lekktu@gmail.com>
7734
7735 * window.el (window-with-parameter): Remove unused variable `windows'.
7736 (window--side-check): Remove unused variable `code'.
7737 (window--resize-siblings): Remove unused variable `first'.
7738 (adjust-window-trailing-edge): Remove unused variable `failed'.
7739 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7740 Use `let', not `let*'.
7741 (balance-windows-2): Remove unused variable `found'.
7742 (window--state-put-2): Remove unused variable `splits'.
7743 (window-state-put): Remove unused variable `selected'.
7744 (same-window-p): Use `string-match-p'.
7745 (display-buffer-assq-regexp): Remove unused variable `value'.
7746 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7747 Mark argument ALIST as ignored.
7748 (pop-to-buffer): Remove unused variable `old-window'.
7749
907201af
EZ
77502012-01-29 Eli Zaretskii <eliz@gnu.org>
7751
7752 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7753 and .lzma compressed files.
7754
ea162670
CY
77552012-01-29 Chong Yidong <cyd@gnu.org>
7756
5b95ee8a
CY
7757 * frame.el (window-system-default-frame-alist): Doc fix.
7758
ea162670
CY
7759 * dynamic-setting.el (font-setting-change-default-font): Don't
7760 change the default face if SET-FONT argument is non-nil (Bug#9982).
7761
d6e6f4b1
SB
77622012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7763
7764 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7765
0f29fa41 77662012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7767
7768 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7769 breakpoints in files outside current directory (Bug#6098).
7770
db174434
CY
77712012-01-29 Chong Yidong <cyd@gnu.org>
7772
6b25e4e2
SE
7773 * progmodes/python.el: Require ansi-color at top-level.
7774
6df6ae42
JB
7775 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7776 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7777 (lisp-mode-abbrev-table): Add doc.
7778 (lisp-mode-variables): Don't set local-abbrev-table.
7779 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7780
e70ee681
RW
77812012-01-28 Roland Winkler <winkler@gnu.org>
7782
7783 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7784
ace88aa2
RW
77852012-01-28 Roland Winkler <winkler@gnu.org>
7786
7787 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7788 (bibtex-set-dialect): Use it. Either set global values of
7789 dialect-dependent variables or bind these variables buffer-locally
7790 (Bug#10254).
7791 (bibtex-mode): Call bibtex-set-dialect via
7792 hack-local-variables-hook.
eb864a71
LM
7793 (bibtex-dialect): Update docstring.
7794 Add safe-local-variable predicate.
ace88aa2
RW
7795 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7796 bibtex-set-dialect.
7797 (bibtex-mode-map): Define menu for each dialect.
7798 (bibtex-entry): Fix docstring.
7799
93376c5b
CY
78002012-01-28 Chong Yidong <cyd@gnu.org>
7801
7802 * eshell/esh-arg.el (eshell-quote-argument): New function.
7803
7804 * eshell/esh-ext.el (eshell-invoke-batch-file):
7805 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7806 first arg to eshell-parse-command (Bug#10523).
7807
4372494f
DA
78082012-01-28 Drew Adams <drew.adams@oracle.com>
7809
7810 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7811 `default-directory' is non-nil.
7812
4d4ec1f8
EZ
78132012-01-28 Eli Zaretskii <eliz@gnu.org>
7814
7815 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7816 line that displays system-configuration-options. (Bug#9924)
7817
7c188927
DA
78182012-01-28 Drew Adams <drew.adams@oracle.com>
7819
7820 * descr-text.el (describe-char): Show information about POS, in
7821 addition to information about the character at POS. Improve and
7822 update the doc string. Change "code point" to "code point in
7823 charset", to avoid confusion with the character's Unicode code
7824 point shown above that. (Bug#10129)
7825
e0da685a
EZ
78262012-01-28 Eli Zaretskii <eliz@gnu.org>
7827
7828 * descr-text.el (describe-char): Show the raw character, not only
7829 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7830 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7831 for the reasons.
7832
70550acf
PH
78332012-01-28 Phil Hagelberg <phil@hagelb.org>
7834
eb864a71
LM
7835 * emacs-lisp/package.el (package-install):
7836 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7837
0ce8e868
CY
78382012-01-28 Chong Yidong <cyd@gnu.org>
7839
cb882333
JB
7840 * emacs-lisp/package.el (package-maybe-load-descriptor):
7841 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7842 (package-maybe-load-descriptor): Use it.
7843 (package-download-transaction): Fully load required packages
7844 inside the loop, so that `require' calls work (Bug#10593).
7845 (package-install): No need to call package-initialize now.
7846
2e7f3bea
CY
78472012-01-28 Chong Yidong <cyd@gnu.org>
7848
6e9bad14
CY
7849 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7850
f823b8ca
CY
7851 * tooltip.el (tooltip-mode): Doc fix.
7852 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7853
2680c309
CY
7854 * frame.el (set-cursor-color): Doc fix (Bug#352).
7855
d7a9e63b
CY
7856 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7857 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7858
2e7f3bea
CY
7859 * cus-edit.el (custom-buffer-create-internal): Fix search button
7860 action (Bug#10542).
2ae01800 7861 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7862
fc4f7a23
EW
78632012-01-27 Eduard Wiebe <usenet@pusto.de>
7864
7865 * dired.el (dired-mark-files-regexp):
7866 Include any subdirectory components. (Bug#10445)
7867
7dd37071
ML
78682012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7869
7870 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7871 Handle [host]:port syntax. (Bug#10533)
7872
a268160b
AH
78732012-01-27 Alex Harsanyi <harsanyi@mac.com>
7874
7875 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7876
e43273ef
GM
78772012-01-26 Glenn Morris <rgm@gnu.org>
7878
7879 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7880 * term.el (term-raw-escape-map): Use Control-X-prefix.
7881 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7882
1edf595d
MR
78832012-01-25 Martin Rudalics <rudalics@gmx.at>
7884
7885 * window.el (window-state-get, window--state-get-1): Don't deal
7886 with fixed-sizeness of windows. Simplify code.
7887
fa8eafef
JC
78882012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7889
6df6ae42
JB
7890 * window.el (window--state-get-1, window--state-put-2):
7891 Don't save and restore the mark.
fa8eafef 7892
0b21c100
CY
78932012-01-25 Chong Yidong <cyd@gnu.org>
7894
7895 * custom.el (custom-variable-p): Doc fix.
7896
5ae1a6c8
GM
78972012-01-25 Glenn Morris <rgm@gnu.org>
7898
40047858
GM
7899 * dired.el (dired-goto-file): Handle some of the more common
7900 characters that `ls -b' escapes. (Bug#10596)
7901
5ddce96c
GM
7902 * progmodes/compile.el (compilation-next-error-function):
7903 Respect compilation-first-column in the "*compilation*" buffer.
7904 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7905
5ae1a6c8
GM
7906 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7907
b559f1a9
GM
79082012-01-24 Glenn Morris <rgm@gnu.org>
7909
7910 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7911
6725d21a
JD
79122012-01-24 Julien Danjou <julien@danjou.info>
7913
7914 * color.el (color-rgb-to-hsl): Fix value computing.
7915 (color-hue-to-rgb): New function.
7916 (color-hsl-to-rgb): New function.
7917 (color-clamp, color-saturate-hsl, color-saturate-name)
7918 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7919 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7920
70df4bbe
GM
79212012-01-24 Glenn Morris <rgm@gnu.org>
7922
7923 * vc/vc-rcs.el (vc-rcs-create-tag):
7924 * vc/vc-sccs.el (vc-sccs-create-tag):
7925 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7926
802a2ae2
ML
79272012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7928
7929 * eshell/esh-util.el (eshell-read-hosts-file):
7930 Skip comment lines. (Bug#10549)
7931
d7128bb1
ML
7932 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7933
d1a5c3b4
JB
79342012-01-23 Juanma Barranquero <lekktu@gmail.com>
7935
2724d9c7
JB
7936 * subr.el (display-delayed-warnings): Doc fix.
7937 (collapse-delayed-warnings): New function to collapse identical
7938 adjacent warnings.
7939 (delayed-warnings-hook): Add it.
d1a5c3b4 7940
a5509865
MA
79412012-01-22 Michael Albinus <michael.albinus@gmx.de>
7942
7943 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7944
a5509865
MA
7945 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7946 (tramp-default-user-alist): Don't add "pscp".
7947 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7948 property "login-as", if set. (Bug#10530)
7949
cc6d5805
MA
79502012-01-21 Michael Albinus <michael.albinus@gmx.de>
7951
7952 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7953 "plink1" and "psftp". (Bug#10530)
7954
79552012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7956
7957 * international/mule-cmds.el (prefer-coding-system): Show a
7958 warning message if the default value of file-name-coding-system
7959 was not changed.
7960
f0960428
JC
79612012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7962
cb882333
JB
7963 * windmove.el (windmove-reference-loc):
7964 Fix windmove-reference-loc miscalculation.
f0960428 7965
dd6f2a63
JB
79662012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7967
7968 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7969 default unit.
7970
7b447e9b
GM
79712012-01-21 Glenn Morris <rgm@gnu.org>
7972
117a9ea1
GM
7973 * international/mule.el (auto-coding-alist): Add .tbz.
7974
7b447e9b
GM
7975 * files.el (local-enable-local-variables): Doc fix.
7976 (inhibit-local-variables-regexps): Rename from
7977 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7978 Doc fix. Add some extensions from auto-coding-alist.
7979 (inhibit-local-variables-suffixes):
7980 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7981 (inhibit-local-variables-p):
7982 New function, extracted from set-auto-mode-1.
7983 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7984 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7985 (hack-local-variables): Doc fix. Make the mode-only case
7986 respect enable-local-variables and friends.
7987 Respect inhibit-local-variables-regexps for file-locals, but
7988 not for directory-locals.
7989 (set-visited-file-name):
7990 Take account of inhibit-local-variables-regexps.
7991 Whether it applies may change as the file name is changed.
7992 * jka-cmpr-hook.el (jka-compr-install):
7993 * jka-compr.el (jka-compr-uninstall):
7994 Update for inhibit-first-line-modes-suffixes name change.
7995
dd6e3cdd
MR
79962012-01-20 Martin Rudalics <rudalics@gmx.at>
7997
7998 * help-macro.el (make-help-screen): Temporarily restore original
7999 binding for minor-mode-map-alist (Bug#10454).
8000
0d0deb38
JD
80012012-01-19 Julien Danjou <julien@danjou.info>
8002
8003 * color.el (color-name-to-rgb): Use the white color to find the max
8004 color component value and return correctly computed values.
8005 (color-name-to-rgb): Add missing float conversion for max value.
8006
34a02f46
MR
80072012-01-19 Martin Rudalics <rudalics@gmx.at>
8008
8009 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8010 special state value for window-persistent-parameters.
8011 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8012 (window--state-put-2): Reset all window parameters to nil before
8013 assigning values of persistent parameters.
8014
606c44c4
AM
80152012-01-18 Alan Mackenzie <acm@muc.de>
8016
8017 Eliminate sluggishness and hangs in fontification of "semicolon
8018 deserts".
8019
cb882333
JB
8020 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8021 Change value 10000 -> 3000.
606c44c4
AM
8022 (c-state-safe-place): Reformulate so it doesn't stack up an
8023 infinite number of wrong entries in c-state-nonlit-pos-cache.
8024 (c-determine-limit-get-base, c-determine-limit): New functions to
8025 determine backward search limits disregarding literals.
8026 (c-find-decl-spots): Amend commenting.
8027 (c-cheap-inside-bracelist-p): New function which detects "={".
8028
8029 * progmodes/cc-fonts.el
8030 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8031 backward search.
8032 (c-font-lock-declarations): Fix an occurrence of point being
8033 undefined. Check additionally for point being in a bracelist or
8034 near a macro invocation without a semicolon so as to avoid a
8035 fruitless time consuming search for a declarator. Give a more
8036 precise search limit for declarators using the new
8037 c-determine-limit.
8038
f3860cea
GM
80392012-01-18 Glenn Morris <rgm@gnu.org>
8040
8041 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8042 (set-auto-mode): Doc fixes.
8043
1db03b16
GM
80442012-01-17 Glenn Morris <rgm@gnu.org>
8045
0e6038be
GM
8046 * isearch.el (search-nonincremental-instead): Fix doc typo.
8047
1db03b16
GM
8048 * dired.el (dired-insert-directory): Handle newlines in directory name.
8049 (dired-build-subdir-alist): Unescape newlines in directory name.
8050
4cb0aa75
MA
80512012-01-17 Michael Albinus <michael.albinus@gmx.de>
8052
8053 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8054 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8055 (tramp-action-terminal): Use it. (Bug#10530)
8056
1d00653d
SM
80572012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8060
6a6ee00d
MR
80612012-01-16 Martin Rudalics <rudalics@gmx.at>
8062
8063 * window.el (window-state-ignored-parameters): Remove variable.
8064 (window--state-get-1): Rename argument MARKERS to IGNORE.
8065 Handle persistent window parameters. Make copy of clone-of
8066 parameter only if requested. (Bug#10348)
8067 (window--state-put-2): Install a window parameter only if it has
8068 a non-nil value or an existing parameter shall be overwritten.
8069
97912def
MA
80702012-01-15 Michael Albinus <michael.albinus@gmx.de>
8071
8072 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8073
688070a5
EZ
80742012-01-14 Eli Zaretskii <eliz@gnu.org>
8075
8076 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8077 don't pass the (nil) value of `upnode' to string-match.
8078
301afadc
CY
80792012-01-14 Chong Yidong <cyd@gnu.org>
8080
8081 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8082 Fix values recognized by the cursorBlink resource.
301afadc 8083
9e5788aa
PE
80842012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8085
8086 * epg.el (epg--make-temp-file): Avoid permission race condition
8087 when running on old Emacs versions (bug#10403).
8088
3cdb7f5a
GM
80892012-01-14 Glenn Morris <rgm@gnu.org>
8090
8091 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8092
8c82b1b4
AM
80932012-01-13 Alan Mackenzie <acm@muc.de>
8094
8095 Fix filling for when filladapt mode is enabled.
8096
8097 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8098 c-mask-paragraph, pass in `fill-paragraph' rather than
8099 `fill-region-as-paragraph'. (This is a reversion of a previous
8100 change.)
eb864a71
LM
8101 * progmodes/cc-mode.el (c-basic-common-init):
8102 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8103
e517eda4
GM
81042012-01-13 Glenn Morris <rgm@gnu.org>
8105
1498536e
GM
8106 * dired.el (dired-switches-escape-p): New function.
8107 (dired-insert-directory): Use dired-switches-escape-p.
8108 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8109
e517eda4
GM
8110 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8111
328f984d
GM
81122012-01-12 Glenn Morris <rgm@gnu.org>
8113
8114 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8115 changes in adaptive-fill-regexp. (Bug#10276)
8116
2cc769a8
AM
81172012-01-11 Alan Mackenzie <acm@muc.de>
8118
8119 Fix Emacs bug #10463 - put `widen's around the critical spots.
8120
1d00653d 8121 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8122 widen around each invocation of c-state-pp-to-literal. Remove an
8123 unused let variable.
8124
e52c37fa
GM
81252012-01-11 Glenn Morris <rgm@gnu.org>
8126
8127 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8128 Doc fix.
e52c37fa 8129
96f8741e
CY
81302012-01-10 Chong Yidong <cyd@gnu.org>
8131
1d00653d
SM
8132 * net/network-stream.el (network-stream-open-starttls):
8133 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8134 response to the capability command.
8135
b09a806e
GM
81362012-01-10 Glenn Morris <rgm@gnu.org>
8137
8138 * mail/unrmail.el (unrmail): Tweak previous change.
8139
7655cb66
CY
81402012-01-09 Chong Yidong <cyd@gnu.org>
8141
8142 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8143
9d5a8f0b
AM
81442012-01-08 Alan Mackenzie <acm@muc.de>
8145
8146 Optimise font locking in long enum definitions.
8147
8148 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8149 arm to a cond form to handle enums.
8150 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8151 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8152
9a0115ab 81532012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8154
8155 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8156 (Bug#10401)
6bb72cbd 8157
f186bb95
LMI
81582012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8159
29232a68
LMI
8160 * faces.el (set-face-attribute): Clarify the meaning of the nil
8161 frame (bug#10294).
8162
4e5d086d
LMI
8163 * subr.el (with-selected-frame): Mention that the selected frame
8164 is restored (bug#9980).
8165
8e66aebe
LMI
8166 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8167 (bug#9759).
8168
cd394be1 8169 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8170 (password-read): Don't autoload unused function.
8171
adf4e762
JB
81722012-01-07 Juanma Barranquero <lekktu@gmail.com>
8173
8174 * progmodes/which-func.el (which-func-mode): Turn into a
8175 non-interactive function and mark as obsolete (bug#10428).
8176
89bd9ccd
CY
81772012-01-06 Chong Yidong <cyd@gnu.org>
8178
8179 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8180 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8181 functions, along with 1 and -1.
8182
4afee9d5
EZ
81832012-01-06 Eli Zaretskii <eliz@gnu.org>
8184
8185 * time.el (display-time-load-average)
8186 (display-time-default-load-average): Doc fixes. See the thread
8187 starting at
8188 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8189 for the details.
8190
536aea70
GM
81912012-01-06 Glenn Morris <rgm@gnu.org>
8192
665ae865
GM
8193 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8194 has no messages. (Bug#10377)
8195
c869783d
GM
8196 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8197 than Info-edit. (Bug#10385)
8198
2bb4227e
GM
8199 * time.el (display-time-load-average, display-time-next-load-average):
8200 Doc fixes.
8201
7d5944b9
GM
8202 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8203 local setting of buffer-read-only to the input buffer. (Bug#10419)
8204
536aea70
GM
8205 * calendar/calendar.el (calendar-mode):
8206 Locally set scroll-margin to 0. (Bug#10379)
8207
7dccca16
UM
82082012-01-06 Ulrich Mueller <ulm@gentoo.org>
8209
8210 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8211
afbb7930
GM
82122012-01-05 Glenn Morris <rgm@gnu.org>
8213
8214 * eshell/em-unix.el (diff-no-select): Autoload it.
8215 (eshell/diff): Use diff-no-select. (Bug#10420)
8216
04482335
CY
82172012-01-05 Chong Yidong <cyd@gnu.org>
8218
7baca3bc
CY
8219 * shell.el (shell-dynamic-complete-functions): Revert last change.
8220 (shell-command-completion-function): New function.
8221 (shell-completion-vars): Use it to implement
8222 shell-completion-execonly (Bug#10417).
8223
04482335
CY
8224 * custom.el (enable-theme): Don't set custom-safe-themes.
8225
1d00653d
SM
8226 * cus-theme.el (custom-theme-merge-theme):
8227 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8228
bb5aa5d6
MM
82292012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8230
8231 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8232 first prompt in `sql-interacive-mode'.
8233 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8234 keywords.
6df6ae42 8235 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8236 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8237 context of original buffer. Invoke `sql-login-hook'.
8238
a7183d7c
EZ
82392012-01-04 Eli Zaretskii <eliz@gnu.org>
8240
8241 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8242 letters in cite-prefix.
8243
a1eacd1e
LMI
82442012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8245
8246 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8247
787cdb34
CY
82482012-01-03 Chong Yidong <cyd@gnu.org>
8249
1d00653d
SM
8250 * shell.el (shell-dynamic-complete-functions):
8251 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8252 comint-filename-completion first (Bug#10417).
8253
30710442
RS
82542012-01-02 Richard Stallman <rms@gnu.org>
8255
8256 * battery.el (battery-status-function):
8257 Detect when to use battery-yeeloong-sysfs.
8258 (battery-echo-area-format): Add string for Yeeloong.
8259 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8260 (battery-yeeloong-sysfs): New function.
8261
f75bfc33
CY
82622012-01-02 Chong Yidong <cyd@gnu.org>
8263
8264 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8265 (dirtrack): Merge code for handling relative filenames in prompt
8266 from shell-dir-cookie-watcher.
8267 (dirtrack-debug-message): New arg to avoid excess format calls.
8268
8269 * shell.el (shell-dir-cookie-re): Variable deleted.
8270 (shell-dir-cookie-watcher): Function deleted.
8271 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8272 with dirtrack-mode.
8273
651e947e
EZ
82742012-01-01 Eli Zaretskii <eliz@gnu.org>
8275
1d00653d
SM
8276 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8277 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8278 libgnutls-26.dll.
8279
94d4c7dc
AS
82802011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8281
8282 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8283
8d43f3cd
EZ
82842011-12-31 Eli Zaretskii <eliz@gnu.org>
8285
8286 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8287 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8288
98c8795a
MA
82892011-12-29 Michael Albinus <michael.albinus@gmx.de>
8290
8291 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8292 also for alternative shells.
8293 (tramp-open-connection-setup-interactive-shell): Check, whether
8294 the shell is a busybox.
8295 (tramp-send-command): Don't suppress multiple prompts for
8296 busyboxes, it hurts.
8297
51281b32
CY
82982011-12-28 Chong Yidong <cyd@gnu.org>
8299
8300 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8301 (gdb-get-source-file): Move mode line update to
8302 gdb-get-source-file (Bug#10087).
8303
2170cb53
CY
83042011-12-25 Chong Yidong <cyd@gnu.org>
8305
8306 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8307 gud-gdb-marker-filter without taking it as an argument.
8308 (gud-gdb-run-command-fetch-lines): Caller changed.
8309 (gud-gdb-completion-function): New variable.
8310 (gud-gdb-completion-at-point): Use it.
8311 (gud-gdb-completions-1): Split from gud-gdb-completions.
8312
8313 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8314 function as separate arguments.
8315 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8316 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8317 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8318 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8319 (gdb-stopped, def-gdb-auto-update-trigger)
8320 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8321 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8322 Callers changed.
2170cb53
CY
8323 (gud-gdbmi-completions): New function.
8324 (gdb): Use it for generating the completion table.
8325
be8b11bb
AM
83262011-12-24 Alan Mackenzie <acm@muc.de>
8327
8328 Introduce a mechanism to widen the region used in context font
1d00653d 8329 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8330
1d00653d
SM
8331 * progmodes/cc-langs.el (c-before-font-lock-functions):
8332 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8333 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8334 functions to be run just before context (etc.) font locking.
8335
8336 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8337 New, functionality extracted from
be8b11bb 8338 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8339 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8340 (c-after-change): Set c-in-after-change-fontification.
8341 (c-set-fl-decl-start): Rejig its interface, so it can be called
8342 from both after-change and context fontifying.
b81d40f0
JB
8343 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8344 New functions.
8345 (c-standard-font-lock-fontify-region-function): New variable.
8346 (c-font-lock-fontify-region): New function.
be8b11bb 8347
341cf6ac
JL
83482011-12-24 Juri Linkov <juri@jurta.org>
8349
8350 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8351 (Bug#10348)
8352
bffcee0a
MA
83532011-12-23 Michael Albinus <michael.albinus@gmx.de>
8354
8355 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8356 existence of source file. (Bug#10325)
8357
cb5e207c
AM
83582011-12-23 Alan Mackenzie <acm@muc.de>
8359
8360 Fix unstable fontification inside templates.
8361
b81d40f0
JB
8362 * progmodes/cc-langs.el (c-before-font-lock-functions):
8363 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8364 additionally has c-set-fl-decl-start. The other languages (apart
8365 from AWK) have that as a single entry.
8366
b81d40f0
JB
8367 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8368 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8369 c-set-fl-decl-start.
8370
b81d40f0
JB
8371 * progmodes/cc-mode.el (c-common-init, c-after-change):
8372 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8373 (c-set-fl-decl-start): New function, extracted from
8374 c-font-lock-enclosing-decls and enhanced.
8375
60ff536c
JB
83762011-12-23 Juanma Barranquero <lekktu@gmail.com>
8377
8378 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8379
1c4757d6
JL
83802011-12-22 Juri Linkov <juri@jurta.org>
8381
8382 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8383
d031f2c7
CY
83842011-12-22 Chong Yidong <cyd@gnu.org>
8385
8386 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8387
bace743a
DA
83882011-12-21 Drew Adams <drew.adams@oracle.com>
8389
8390 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8391
728a1f2b
JC
83922011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8393
8394 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8395
0d373f73
TZ
83962011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8397
fec0aaa4
TZ
8398 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8399 highlighting and support. Fix up comments for capitalization.
8400 (cfengine-mode-debug): New var.
8401 (cfengine3-mode): Change the modeline indicator to "CFE3".
8402 (cfengine3-font-lock-keywords): Improve defun highlighting.
8403 (cfengine2-actions): Rename from `cfengine-actions'.
8404 (cfengine2-font-lock-keywords): Rename from
8405 `cfengine-font-lock-keywords'.
8406 (cfengine2-imenu-expression): Rename from
8407 `cfengine-imenu-expression'.
8408 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8409 (cfengine2-beginning-of-defun): Rename from
8410 `cfengine-beginning-of-defun'.
8411 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8412 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8413 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8414 modeline indicator to "CFE2".
8415 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8416 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8417
bc86f573
CY
84182011-12-21 Chong Yidong <cyd@gnu.org>
8419
8420 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8421 filename argument.
8422
d45ba96b
MR
84232011-12-20 Martin Rudalics <rudalics@gmx.at>
8424
8425 * window.el (window-normalize-buffer-to-display): Remove.
8426 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8427
a6198c90
CY
84282011-12-19 Chong Yidong <cyd@gnu.org>
8429
8430 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8431 Don't signal an error in a predicate function; return non-nil.
8432 (vc-dir-mark-file): Move the error here.
8433 (vc-dir-mark-unmark): If acting on the region, keep going if one
8434 of the entries cannot be marked/unmarked.
8435 (vc-dir-mark-all-files): If current entry is a directory, mark
8436 only child files, as documented.
8437
34c5fb55
VB
84382011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8439
8440 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8441 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8442 addition.
8443
c803b2b7
JD
84442011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8445
8446 * term/ns-win.el (ns-get-selection-internal)
8447 (ns-store-selection-internal): Declare.
1154d12e
JB
8448 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8449 Declare as obsolete.
8450 (ns-get-pasteboard, ns-paste-secondary):
8451 Use ns-get-selection-internal.
8452 (ns-set-pasteboard, ns-copy-including-secondary):
8453 Use ns-store-selection-internal.
c803b2b7 8454
9cff91f8 84552011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8456
8457 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8458 (vc-deduce-fileset): Doc fix.
99a289d9 8459
f16c898a
AS
84602011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8461
8462 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8463
763237c4
SS
84642011-12-13 Sam Steingold <sds@gnu.org>
8465
8466 * man.el (Man-getpage-in-background): When running under a
8467 window-system, ignore $MANWIDTH and $COLUMNS.
8468
5fc1c122
KH
84692011-12-15 Kenichi Handa <handa@m17n.org>
8470
8471 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8472 (setup-ethiopic-environment-internal): Comment out key-binding for
8473 ethio-toggle-punctuation.
8474
13d49cbb
AM
84752011-12-13 Alan Mackenzie <acm@muc.de>
8476
898169a2
AM
8477 Add the switch statement to AWK Mode.
8478
7a71b18d 8479 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8480 "default" to the keywords regexp.
8481
7a71b18d 8482 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8483 expression as the rest.
1d00653d
SM
8484 (c-nonlabel-token-key): Allow string literals for AWK.
8485 Refactor for the other modes.
898169a2 8486
13d49cbb 8487 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8488 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8489 routines. Limit backward searching in c-font-lock-enclosing.decl.
8490
8491 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8492 pp-state and literal type in addition to the limits.
1d00653d 8493 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8494 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8495 (c-slow-in-literal, c-fast-in-literal): Remove.
8496 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8497
8498 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8499 being in a literal. Add a limit for backward searching.
8500
8501 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8502 c-slow-in-literal.
8503
15e0efc7
SM
85042011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8507
454592a6
MR
85082011-12-13 Martin Rudalics <rudalics@gmx.at>
8509
8510 * window.el (delete-other-windows): Use correct frame in call to
8511 window-with-parameter.
8512
87393f26
DP
85132011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8514
8515 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8516 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8517 (makefile-gmake-statements, makefile-makepp-statements):
8518 Use it and add new makepp keywords.
8519 (makefile-makepp-font-lock-keywords): Add new patterns.
8520 (makefile-match-function-end): Match new [...] and [[...]].
8521
11636b22
JB
85222011-12-11 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * ses.el (ses-call-printer-return, ses-cell-property-get)
8525 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8526 (ses-create-cell-variable, ses-reset-header-string)
8527 (ses-cell-set-formula, ses-repair-cell-reference-all)
8528 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8529 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8530 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8531 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8532 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8533 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8534 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8535 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8536 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8537 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8538 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8539 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8540
cf018193
VB
85412011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8542
8543 * ses.el: The overall change is to add cell renaming, that is
8544 setting fancy names for cell symbols other than name matching
8545 "\\`[A-Z]+[0-9]+\\'" regexp .
8546 (ses-create-cell-variable): New defun.
8547 (ses-relocate-formula): Relocate formulas only for cells the
8548 symbols of which are not renamed, i.e. symbols whose names do not
8549 match regexp "\\`[A-Z]+[0-9]+\\'".
8550 (ses-relocate-all): Relocate values only for cells the symbols of
8551 which are not renamed.
8552 (ses-load): Create cells variables as the (ses-cell ...) are read,
8553 in order to check row col consistency with cell symbol name only
8554 for cells that are not renamed.
8555 (ses-replace-name-in-formula): New defun.
8556 (ses-rename-cell): New defun.
8557
ee957461
CY
85582011-12-11 Chong Yidong <cyd@gnu.org>
8559
8560 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8561 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8562
9a9e9ef0
MR
85632011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8564
8565 * window.el (other-window): Fix docstring.
8566
92a8eba5
EZ
85672011-12-10 Eli Zaretskii <eliz@gnu.org>
8568
8569 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8570 `from' or `to' address before taking its substring.
8571 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8572 encoded name is chopped in the middle of the encoded string, and
8573 thus displayed encoded.
8574
e152e577
JB
85752011-12-10 Juanma Barranquero <lekktu@gmail.com>
8576
8577 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8578
e5d84bfe
EZ
85792011-12-10 Eli Zaretskii <eliz@gnu.org>
8580
8581 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8582 to use texinfo-update-node and commands that call it if the
8583 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8584 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8585 (texinfo-all-menus-update, texinfo-master-menu)
8586 (texinfo-update-node, texinfo-every-node-update)
8587 (texinfo-multiple-files-update): Doc fix. Warn against updating
8588 all the @node lines.
8589 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8590 argument is numeric. Explain better in the doc string what the
8591 function really does.
8592 (texinfo-insert-master-menu-list): Improve the error message
8593 displayed if there's no menu in the Top node.
8594 (Bug#2975) See also this thread:
e5d84bfe
EZ
8595 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8596
1d84e9bb
MG
85972011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8598
8599 * speedbar.el (speedbar-supported-extension-expressions):
8600 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8601
382c953b
JB
86022011-12-09 Juanma Barranquero <lekktu@gmail.com>
8603
8604 * printing.el (pr-mode-alist):
8605 * simple.el (filter-buffer-substring-functions)
8606 (completion-list-insert-choice-function):
8607 * window.el (window-with-parameter, window-atom-root)
8608 (window-sides-slots, window-size-fixed, window-min-delta)
8609 (window-max-delta, window--resize-mini-window)
8610 (window--resize-child-windows-normal, window-tree)
8611 (delete-other-windows, quit-window, split-window)
8612 (display-buffer-record-window, special-display-buffer-names)
8613 (special-display-regexps, special-display-popup-frame)
8614 (same-window-p, split-window-sensibly)
8615 (display-buffer-overriding-action, display-buffer-alist)
8616 (display-buffer-base-action, display-buffer, switch-to-buffer)
8617 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8618 (fit-window-to-buffer, recenter-positions)
8619 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8620 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8621 and remove unneeded backslashes in docstrings.
8622
39c9faef
SM
86232011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8624
98449af8
SM
8625 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8626
39c9faef
SM
8627 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8628 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8629 end in ".mk".
8630 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8631 when reading the makefile (bug#10116).
8632
86ed9fdc
SM
86332011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8636 (bug#10116).
8637
5580f89d
GM
86382011-12-06 Glenn Morris <rgm@gnu.org>
8639
8640 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8641
28d3917c
CY
86422011-12-06 Chong Yidong <cyd@gnu.org>
8643
8644 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8645
a98edce9
JB
86462011-12-06 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * textmodes/table.el (table-shorten-cell): Fix typo.
8649
e65adfac
CG
86502011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8651
8652 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8653
71cc0b74
EZ
86542011-12-05 Eli Zaretskii <eliz@gnu.org>
8655
8656 * descr-text.el (describe-char): Fix display of strong
8657 right-to-left characters and directional embeddings and overrides.
8658
8659 * simple.el (what-cursor-position): Fix display of codepoints of
8660 strong right-to-left characters.
8661
315bc30d
CY
86622011-12-05 Chong Yidong <cyd@gnu.org>
8663
8664 * faces.el (read-color): Doc fix.
8665
58a70b94
GM
86662011-12-05 Glenn Morris <rgm@gnu.org>
8667
8668 * align.el (align--set-marker): Add doc-string.
8669 Don't try to move something that is not a marker. (Bug#10216)
8670
5158face
GM
86712011-12-04 Glenn Morris <rgm@gnu.org>
8672
8673 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8674 overly zealous deletion of trailing whitespace.
8675
520fca41
JB
86762011-12-04 Juanma Barranquero <lekktu@gmail.com>
8677
8678 * server.el (server-delete-client): On Windows, do not try to delete
8679 the only terminal.
8680 (server-process-filter): On Windows, treat requests for a tty frame as
8681 if they were for a GUI frame if the running server is in GUI mode.
8682
5e605a2e
GM
86832011-12-03 Glenn Morris <rgm@gnu.org>
8684
8685 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8686
5c3fe83f
SM
86872011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8688
6f5e57e7
SM
8689 * electric.el: Streamline electric-indent's hook.
8690 (electric-indent-chars): Revert to simple list.
8691 (electric-indent-functions): New var.
8692 (electric-indent-post-self-insert-function): Use it.
8693
5c3fe83f
SM
8694 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8695 there's no inferior buffer (bug#10196).
8696 (prolog-consult-compile): Don't use toggle-read-only.
8697
6bdac736
MA
86982011-12-02 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8701 interrupt. (Bug#10187)
8702
6131ba7f
SM
87032011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8704
99c79fee
SM
8705 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8706 (bug#9160).
8707
6131ba7f
SM
8708 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8709 (bug#10191).
8710
cb0a02ea
JL
87112011-12-02 Juri Linkov <juri@jurta.org>
8712
8713 * info.el (Info-search): Display "end of manual" when Isearch
8714 reaches the end of single-file Info manual. (Bug#9918)
8715
66e0570c
EZ
87162011-12-02 Eli Zaretskii <eliz@gnu.org>
8717
8718 * isearch.el (isearch-message-prefix): Run the input method part
8719 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8720
02b16839
JL
87212011-12-02 Juri Linkov <juri@jurta.org>
8722
8723 * isearch.el (isearch-occur): Use `word-search-regexp' for
8724 `isearch-word'.
8725 (isearch-search-and-update): Add condition for `isearch-word' and
8726 call `word-search-regexp'. (Bug#10145)
8727
0b950688
GM
87282011-12-01 Glenn Morris <rgm@gnu.org>
8729
8730 * eshell/em-hist.el (eshell-hist-initialize):
8731 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8732 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8733
9505c3c7
SM
87342011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8737
1bbe96b2 87382011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8739
a1beca85
SM
8740 * progmodes/verilog-mode.el (verilog-pretty-expr):
8741 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8742 verilog, such as += *= and the like.
8743 (verilog-assignment-operator-re): Regular expression to find the
8744 assigment operator in a verilog assignment.
8745 (verilog-assignment-operation-re): Regular expression to find an
8746 assignment statement for pretty-expr.
8747 (verilog-in-attribute-p): Query returns true if point is in an
8748 attribute context; used to skip these for expression line up from
8749 pretty-expr.
8750 (verilog-in-parameter-p): Query returns true if point is in an
8751 parameter definition context; used to skip these for expression
8752 line up from pretty-expr.
8753 (verilog-in-parenthesis-p): Query returns true if point is in a
8754 parenthetical expression, specifically ( ) but not [ ] or { };
8755 used by pretty-expr.
8756 (verilog-just-one-space): If there is no space, don't add one.
8757 (verilog-get-lineup-indent-2): Specifically skip just attribute
8758 contexts for expression lineup, rather than skipping all
8759 parenthetical expressions.
8760 (verilog-calculate-indent): Fix comment, and fix indent.
8761 (verilog-do-indent): Indent declarations in lists (suggested by
8762 Joachim Lechner).
8763 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8764 skeleton items.
8765 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8766 by Alain Mellan).
8767
1bbe96b2 87682011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8769
8770 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8771 parameters with embedded comments. Reported by Ray Stevens.
8772 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8773 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8774 Reported by Tim Holt.
8775 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8776 instantiated by upper module causing wrong expansion until AUTOed a
8777 second time. Reported by K C Buckenmaier.
8778 (verilog-diff-auto): Fix showing .* as a difference when
8779 `verilog-auto-star-save' off. Reported by Dan Dever.
8780 (verilog-auto-reset, verilog-read-always-signals)
8781 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8782 temporary signals in reset list if
8783 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8784 style to each signal's assignment type, bug381.
8785 Reported by Thomas Esposito.
6288f0ca
WS
8786 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8787 (verilog-uvm-statement-re): Support UVM indentation and
8788 highlighting, with old OVM keywords only.
a1beca85 8789 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8790 Support AUTOTIEOFF creating non-wire data types.
8791 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8792 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8793 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8794 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8795 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8796 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8797 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8798 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8799 non-numeric vector width. Reported by Alex Reed.
8800 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8801 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8802 (verilog-auto-delete-trailing-whitespace):
8803 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8804 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8805 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8806 Fix verilog-scan-cache corruption when running user AUTO expansion
8807 hooks that call indentation routines.
8808 (verilog-simplify-range-expression): Fix typo ignoring lower case
8809 identifiers.
8810 (verilog-delete-auto): Fix delete-autos to also remove user created
8811 automatics, as long as they start with AUTO.
8812 (verilog-batch-diff-auto, verilog-diff-auto)
8813 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8814 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8815 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8816 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8817 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8818 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8819 is disabled and its cache will get corrupt, causing AUTOS not to
8820 expand. Instead use only -quick functions.
8821 (verilog-scan-region): Fix scanning over escaped quotes.
8822 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8823 (verilog-re-search-backward-quick)
8824 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8825 related functions now ignore strings, to fix misparsing of strings
8826 with magic comments embedded in them.
a1beca85
SM
8827 (verilog-read-auto-template):
8828 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8829 Reported by Brad Dobbie.
8830 (verilog-read-auto-template):
8831 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8832 Reported by Brad Dobbie.
6288f0ca
WS
8833 (verilog-auto-inst, verilog-auto-inst-param)
8834 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8835 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8836 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8837 debugging templates without merge conflicts, bug357.
8838 Reported by Brad Dobbie.
8839 (verilog-read-auto-template):
8840 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8841 Reported by Brad Dobbie.
8842 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8843 abbrevs so user won't be asked to save.
8844 (verilog-read-auto-lisp-present): Fix to start at beginning of
8845 buffer in case called outside of verilog-auto.
8846 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8847 to "X-2". Reported by Matthew Myers.
8848 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8849 all inputs from module templates. Reported by Leith Johnson.
8850 (verilog-module-inside-filename-p): Fix locating programs as with
8851 modules.
8852 (verilog-auto-inst-port): Fix vl-width expressions when using
8853 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8854 (verilog-decls-get-regs, verilog-decls-get-signals,
8855 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8856 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8857 verilog-read-decls): Combine reg and wire structures into one var
8858 structure to represent SystemVerilog concepts.
8859 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8860 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8861 (verilog-auto-wire-type, verilog-insert-definition):
8862 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8863 SystemVerilog "logic" keyword instead of "wire"/"reg".
8864 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8865 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8866 ifdef or generate if so there's not a driver conflict).
8867 Reported by Matthew Myers.
8868 (verilog-auto-declare-nettype, verilog-insert-definition):
8869 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8870 `default_nettype none. Reported by Julian Gorfajn.
8871 (verilog-read-always-signals-recurse, verilog-read-decls)
8872 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8873 malformed end statement, bug325. Reported by Joshua Wise and
8874 Andrew Drake.
8875 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8876 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8877 when expanding .* in interfaces, bug320.
8878 Reported by Pierre-David Pfister.
6288f0ca 8879 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8880 name and open parenthesis, bug317.
8881 Reported by Pierre-David Pfister.
6288f0ca
WS
8882 (verilog-simplify-range-expression): Fix simplification of
8883 multiplications inside AUTOWIRE connections, bug303.
8884 (verilog-auto-inst-port): Support parameter expansion in
8885 multidimensional arrays.
8886 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8887 after "assert property". Reported by Julian Gorfajn.
8888 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8889 with multiplication, bug303.
8890 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8891 Reported by Jan Frode Lonnum.
8892
1bbe96b2
GM
88932011-11-30 Juanma Barranquero <lekktu@gmail.com>
8894
8895 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8896 (hfy-shell-file-name, hfy-shell):
8897 * international/fontset.el (x-decompose-font-name): Fix typos.
8898
88992011-11-29 Ken Brown <kbrown@cornell.edu>
8900
8901 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8902 (gdb-version): Remove defvar.
8903 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8904 (gdb-gud-context-command, gdb-non-stop-handler)
8905 (gdb-current-context-command, gdb-stopped): Use it.
8906 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8907 (gdb-non-stop-handler): Don't enable pretty-printing here.
8908 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8909 non-stop mode. Use the following.
8910 (gdb-check-target-async): New defun.
8911 (gud-watch, gdb-stopped): Fix whitespace.
8912 (gdb-get-source-file): Don't try to display the source file if
8913 `gdb-main-file' is nil.
8914
89152011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * align.el: Try to generate fewer markers (bug#10047).
8918 (align--set-marker): New macro.
8919 (align-region): Use it.
8920
c935221f
SM
89212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8924
e70b5064
CY
89252011-11-29 Chong Yidong <cyd@gnu.org>
8926
8927 * indent.el (indent-for-tab-command, indent-according-to-mode):
8928 Doc fix.
8929 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8930
f3af92b7
MA
89312011-11-29 Michael Albinus <michael.albinus@gmx.de>
8932
8933 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8934 aware of remote file names. (Bug#10124)
8935
ed472be9
CY
89362011-11-29 Chong Yidong <cyd@gnu.org>
8937
8938 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8939
24510c22
SM
89402011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * files.el (find-file): Don't use force-same-window (bug#10144).
8943 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8944 use pop-to-buffer if the selected window can't be used.
8945 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8946
c60c3703
EZ
89472011-11-28 Eli Zaretskii <eliz@gnu.org>
8948
8949 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8950 special-mode-map.
8951
e95def75
CY
89522011-11-28 Chong Yidong <cyd@gnu.org>
8953
8954 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8955
c3f1c606
NR
89562011-11-27 Nick Roberts <nickrob@snap.net.nz>
8957
8958 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8959 gdb-get-source-file-list on gdb-create-source-file-list.
8960
00db469c
EZ
89612011-11-26 Eli Zaretskii <eliz@gnu.org>
8962
8963 * whitespace.el (whitespace-newline): Use a different foreground
8964 color for 16-color light-background displays.
8965
4ad3bc2a
CY
89662011-11-24 Chong Yidong <cyd@gnu.org>
8967
8968 * window.el (display-buffer--special-action): Doc fix.
8969
e9fce1ac
JB
89702011-11-25 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8973 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8974 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8975 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8976 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8977 (avl-tree-stack-first):
8978 * emacs-lisp/cconv.el (cconv--analyse-use):
8979 * net/gnutls.el (gnutls-negotiate): Fix typos.
8980
cb825e5d
GM
89812011-11-24 Glenn Morris <rgm@gnu.org>
8982
3adbe224
GM
8983 * lpr.el (lpr-windows-system, lpr-lp-system):
8984 * mail/binhex.el (binhex-begin-line):
8985 * progmodes/grep.el (grep-history, grep-find-history):
8986 * textmodes/flyspell.el:
8987 * vc/pcvs-defs.el (cvs-global-menu):
8988 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8989 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8990 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8991
321decc8
GM
8992 * net/tls.el: Fix case of "GnuTLS".
8993
420b63ad
GM
8994 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8995
cb825e5d
GM
8996 * version.el (emacs-build-system): Give it a doc-string.
8997
a0649f08
JL
89982011-11-24 Juri Linkov <juri@jurta.org>
8999
9000 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9001
c0bc0fd4
GM
90022011-11-24 Glenn Morris <rgm@gnu.org>
9003
9004 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9005 if called on a non-mime message just toggle the headers. (Bug#8006)
9006
20db1522
JB
90072011-11-24 Juanma Barranquero <lekktu@gmail.com>
9008
9009 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9010 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9011 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9012 (allout-rebullet-heading, allout-open-sibtopic)
9013 (allout-toggle-current-subtree-encryption)
9014 (allout-toggle-subtree-encryption, allout-encrypt-string)
9015 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9016 (allout-distinctive-bullets-string, allout-auto-activation):
9017 * window.el (window-normalize-buffer-to-display):
9018 * progmodes/verilog-mode.el (verilog-batch-indent):
9019 * textmodes/bibtex.el (bibtex-field-braces-opt)
9020 (bibtex-field-strings-opt):
9021 * vc/cvs-status.el (cvs-tree-merge):
9022 Fix typos.
9023
7262a87c
MA
90242011-11-23 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9027 `non-essential' to t, in order to avoid remote connections.
9028
283430a1
EZ
90292011-11-23 Eli Zaretskii <eliz@gnu.org>
9030
a1beca85
SM
9031 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9032 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9033 case-insensitively.
9034
d2992a38
ML
90352011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9036
9037 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9038
50419064
GM
90392011-11-23 Glenn Morris <rgm@gnu.org>
9040
da94eca1
GM
9041 * paths.el (rmail-file-name): Reformat the doc-string so that it
9042 is picked up.
9043
9aac4de2
GM
9044 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9045 (rmail-auto-file): Ignore case in the "special" field names,
9046 as mail-fetch-field does for all others.
9047
8038d2d2
GM
9048 * mail/rmail.el (rmail-forward):
9049 * mail/rmailkwd.el (rmail-set-label):
9050 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9051 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9052
f3fe222a
GM
9053 * mail/rmail.el (rmail-current-message): Doc fix.
9054
50419064
GM
9055 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9056
28109f49
SM
90572011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9060
394c65f1
GM
90612011-11-22 Glenn Morris <rgm@gnu.org>
9062
9063 * mail/rmailmm.el (test-rmail-mime-handler)
9064 (test-rmail-mime-bulk-handler)
9065 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9066
f2a0aa3a
JL
90672011-11-21 Juri Linkov <juri@jurta.org>
9068
1154d12e
JB
9069 * calc/calc.el (calc-read-key-sequence):
9070 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9071
9c34a344
LMI
90722011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9073
9074 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9075 Tell the caller that the next line needs recomputation, even
9076 though it doesn't start a sexp (bug#10094).
9077
f04a3be9
SM
90782011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9081
7978747f
SM
90822011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9083
f04a3be9
SM
9084 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9085 Use force-same-window.
7978747f 9086
fe7a3057
JB
90872011-11-20 Juanma Barranquero <lekktu@gmail.com>
9088
9089 * descr-text.el (describe-char-unicode-data):
9090 * json.el (json-string-escape):
9091 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9092 (Footnote-unicode, Footnote-style-p):
9093 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9094
24901d61
CY
90952011-11-20 Chong Yidong <cyd@gnu.org>
9096
9097 * window.el (replace-buffer-in-windows): Restore interactive spec.
9098
bac7ff22
SM
90992011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9100
24f3d7b9
SM
9101 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9102
bac7ff22
SM
9103 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9104 (byte-compile-global-not-obsolete-vars): New var.
9105 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9106 Use it.
9107 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9108
cd1181db
JB
91092011-11-20 Juanma Barranquero <lekktu@gmail.com>
9110
9111 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9112 * progmodes/pascal.el (electric-pascal-equal):
9113 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9114 * xml.el (xml-substitute-special): Fix typos.
9115
7fb18e9e
GM
91162011-11-20 Glenn Morris <rgm@gnu.org>
9117
9118 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9119 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9120 Doc fixes.
9121 (rmail-decode-mime-charset): Mark as obsolete.
9122
9123 * mail/rmailsum.el (rmail-message-regexp-p-1):
9124 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9125 Before using mime functions, check they are set. (Bug#10077)
9126
d5a6b3ba
JL
91272011-11-19 Juri Linkov <juri@jurta.org>
9128
9129 * info.el (Info-finder-find-node): Use `package--builtins' instead
9130 of `package-alist'. Use node names formed by the pattern "Keyword "
9131 and the keyword name.
9132
e981b61f
AS
91332011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9134
1d00653d 9135 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9136
3ffbc301
JL
91372011-11-19 Juri Linkov <juri@jurta.org>
9138
9139 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9140 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9141 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9142 `old-history', `old-history-forward'. Add let-binding
9143 `window-selected'. Remove calls to `kill-buffer',
9144 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9145 before calling `Info-find-node', so `Info-find-node-2' will reread
9146 the Info file. Restore window positions only when `window-selected'
9147 is non-nil.
9148
30c62133
JL
91492011-11-19 Juri Linkov <juri@jurta.org>
9150
9151 * isearch.el (isearch-lazy-highlight-new-loop):
9152 Remove condition `(not isearch-error)'. (Bug#9918)
9153
9154 * misearch.el (multi-isearch-search-fun): Add condition
9155 `(not bound)' to ignore lazy-highlighting search.
9156 Add the search-failed message "end of multi" when the end of
9157 multi-sequence is reached. Uncapitalize the search-failed
9158 message "Repeat for next buffer".
9159
9160 * info.el (Info-search): Add the search-failed message
9161 "end of the manual" when the end of the manual is reached
9162 in Isearch mode.
9163
645ca9cf
JL
91642011-11-19 Juri Linkov <juri@jurta.org>
9165
9166 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9167 Use non-destructive `remove' instead of `delete' because
9168 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9169 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9170
df754f66
JL
91712011-11-19 Juri Linkov <juri@jurta.org>
9172
9173 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9174 to nil instead of binding `search-ring' and `regexp-search-ring'.
9175 (Bug#9185)
9176
0e23d96a
EZ
91772011-11-19 Eli Zaretskii <eliz@gnu.org>
9178
9179 * simple.el (line-move): Force movement by logical lines for any
9180 hscrolled window, not only when auto-hscroll-mode is on.
9181 (line-move-visual): Update doc string to that effect. (Bug#10076)
9182
8a6ccb66
AS
91832011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * language/european.el (macintosh): Define as alias for mac-roman.
9186
49ae5b39
EZ
91872011-11-19 Eli Zaretskii <eliz@gnu.org>
9188
9189 * mail/rmailmm.el (rmail-mime-display-header)
9190 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9191 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9192 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9193 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9194 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9195 of a raw aref.
9196 (rmail-mime-entity-segment): To get past the tagline, move forward
9197 2 more lines, to account for the 2 empty lines that precede and
9198 follow the line with the buttons.
9199 (rmail-mime-update-tagline): Move one more line, to get past the
9200 empty line that follows the buttons in the tagline. (Bug#9520)
9201
c56cad4a
MR
92022011-11-19 Martin Rudalics <rudalics@gmx.at>
9203
9204 * window.el (window-max-delta-1, window-min-delta-1)
9205 (window-min-size-1, window-state-get-1, window-state-put-1)
9206 (window-state-put-2): Use "window--" prefix.
9207
cbe71af3
SM
92082011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9209
2ad52c60
SM
9210 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9211 (smie-warning-count): New var.
9212 (smie-set-prec2tab): Use it.
9213 (smie-bnf->prec2): Improve warnings. Add docstring.
9214 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9215 (smie-bnf--set-class): New function.
9216 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9217 corner case.
9218
6944dbc1
SM
9219 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9220 (compilation-error-properties, compilation-move-to-column):
9221 Handle compilation-first-column while in the target buffer.
9222
c400c4d7
SM
9223 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9224 Don't hardcode point-min==1.
9225
6dbe3e96
SM
9226 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9227 (eshell-rewrite-for-command): Remove workaround.
9228 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9229 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9230 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9231
cbe71af3
SM
9232 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9233
a8e1496d
GM
92342011-11-17 Glenn Morris <rgm@gnu.org>
9235
9236 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9237 Ignore buffer-local generated-autoload-file if it is the same
9238 as the global value. (Bug#10049)
9239
df85d315
JB
92402011-11-17 Juanma Barranquero <lekktu@gmail.com>
9241
9242 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9243 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9244 (reftex-toc-previous-heading, reftex-toc-max-level)
9245 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9246 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9247 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9248 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9249 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9250 (reftex-toc-rename-label, reftex-toc-visit-location)
9251 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9252 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9253 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9254 leaving "*toc*" only for references to the buffer.
9255
a0c2d0ae
MR
92562011-11-17 Martin Rudalics <rudalics@gmx.at>
9257
9258 * window.el (window-resize, delete-window, split-window):
9259 Replace window-splits by window-combination-resize.
1d00653d 9260 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9261
35c0bac8
GM
92622011-11-17 Glenn Morris <rgm@gnu.org>
9263
9264 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9265 Make bash entry derive from sh entry, not shell entry.
9266
d0c8fc8a
MA
92672011-11-16 Michael Albinus <michael.albinus@gmx.de>
9268
7262a87c
MA
9269 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9270 local file name.
9271
7877f373
JB
92722011-11-16 Juanma Barranquero <lekktu@gmail.com>
9273
9274 * menu-bar.el (menu-bar-file-menu):
9275 * printing.el (pr-ps-utility):
9276 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9277 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9278 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9279 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9280 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9281 (icalendar--convert-cyclic-to-ical)
9282 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9283 (icalendar--convert-ical-to-diary)
9284 (icalendar--convert-recurring-to-diary)
9285 (icalendar--convert-non-recurring-all-day-to-diary)
9286 (icalendar-import-format-sample):
9287 * progmodes/idlw-shell.el (idlwave-shell-mode):
9288 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9289 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9290 (vhdl-ps-print-init): Fix typos.
9291
10649b82
KM
92922011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9293
9d0cfcd6
GM
9294 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9295 FSF and collapse date sequence, obscure author/maintainer email address
9296 better, remove extra version line, track relocation of author's webpage.
10649b82 9297
9d0cfcd6
GM
9298 * progmodes/python.el (python-pdbtrack-input-prompt)
9299 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9300 regular python pdb prompts. Adjustments shamelessly taken exactly as
9301 suggested in EmacsWiki page (tiny change):
9302 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9303
58179cce
JB
93042011-11-16 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * expand.el (expand-pos, expand-index, expand-point):
9307 Remove redundant info from docstring.
9308 (expand-add-abbrevs): Doc fix.
9309 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9310 (expand-sample-perl-mode-expand-list): Fix typos.
9311
9312 * net/dbus.el (dbus-event-member-name):
9313 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9314 * term/pc-win.el (msdos-create-frame-with-faces):
9315 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9316
b6f67890
MR
93172011-11-16 Martin Rudalics <rudalics@gmx.at>
9318
9319 * window.el (split-window, window-state-get-1)
9320 (window-state-put-1, window-state-put-2): Rename occurrences of
9321 window-nest to window-combination-limit.
1d00653d 9322 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9323
ce7ddba0
CY
93242011-11-16 Chong Yidong <cyd@gnu.org>
9325
9326 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9327 regexp (Bug#10033).
9328
3ae704f4
SM
93292011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9332 `completing-read' will remove *Completions* and will preserve
9333 current-buffer for us.
9334 (tmm-add-prompt): Users of *Completions* will always (re)set its
9335 major mode.
9336 (tmm-old-comp-map): Remove.
9337
6ad1cdde
GM
93382011-11-16 Glenn Morris <rgm@gnu.org>
9339
9340 * mail/rmailedit.el: Require rmailmm when compiling.
9341 (rmail-old-mime-state): New declaration.
9342 (rmail-edit-current-message): If editing a mime message,
9343 edit the "raw" message from the mbox buffer.
9344 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9345
d20faa20
GM
93462011-11-15 Glenn Morris <rgm@gnu.org>
9347
9348 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9349 which wasn't being used. Add optional arg to force given state.
9350 (rmail-mime): Add optional arg to force given state.
9351
c7015153
JB
93522011-11-15 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9355 * frame.el (display-mm-dimensions-alist):
9356 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9357 (outline-move-subtree-down):
9358 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9359 (newsticker--treeview-do-get-node):
9360 * net/quickurl.el (quickurl-list-buffer-name):
9361 * progmodes/dcl-mode.el (dcl-mode):
9362 * progmodes/gdb-mi.el (gdb-mapcar*):
9363 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9364
45261b50
GM
93652011-11-15 Glenn Morris <rgm@gnu.org>
9366
9367 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9368 in a boolean sense, so just make it a boolean, and fix the doc.
9369 (rmail-show-mime-function, rmail-mime-feature)
9370 (rmail-require-mime-maybe): Doc fixes.
9371 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9372
9373 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9374
0d26e0b6
JB
93752011-11-15 Juanma Barranquero <lekktu@gmail.com>
9376
9377 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9378 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9379 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9380 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9381
447f30f6
GM
93822011-11-15 Glenn Morris <rgm@gnu.org>
9383
672b871d
GM
9384 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9385 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9386 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9387 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9388 (rmail-mime, rmail-show-mime): Doc fixes.
9389
f6aa5bb1
GM
9390 * term/ns-win.el (mode-line-frame-identification):
9391 Leave it alone. (Bug#10051)
9392
947cd66b
GM
9393 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9394
447f30f6
GM
9395 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9396 Handle empty buffers. (Bug#9978)
9397
0b381c7e
JB
93982011-11-14 Juanma Barranquero <lekktu@gmail.com>
9399
9400 * international/mule.el (define-charset):
9401 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9402 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9403 * progmodes/verilog-mode.el (verilog-backward-token):
9404 * textmodes/ispell.el (lookup-words):
9405 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9406
71e027ac
GM
94072011-11-14 Glenn Morris <rgm@gnu.org>
9408
56632ce4
GM
9409 * progmodes/executable.el
9410 (executable-make-buffer-file-executable-if-script-p):
9411 Handle file-modes returning nil.
9412
40500957
GM
9413 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9414 message - not necessary, and causes problems. (Bug#9831)
9415
071c2340
GM
9416 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9417
d3cfca60
GM
9418 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9419
71e027ac
GM
9420 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9421 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9422 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9423
89d61221
MR
94242011-11-12 Martin Rudalics <rudalics@gmx.at>
9425
9426 * window.el (window-resize, delete-window): Use window-splits
9427 variable instead of function.
9428 (window-state-get-1, window-state-put-2, window-state-put):
9429 Don't deal with windows' splits status.
9430
98282f6f
GM
94312011-11-12 Glenn Morris <rgm@gnu.org>
9432
9433 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9434 (apropos-documentation): Doc fixes.
9435
40a8bdf6
JB
94362011-11-11 Juanma Barranquero <lekktu@gmail.com>
9437
9438 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9439 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9440
65bd19ff
SM
94412011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * electric.el (electric-indent-post-self-insert-function): Make it
9444 possible for a char to only indent in some circumstances.
9445 (electric-indent-mode): Simplify.
9446
54f9154c
MR
94472011-11-11 Martin Rudalics <rudalics@gmx.at>
9448
9449 * window.el (windows-with-parameter): Remove unused function.
9450 (windows-at-side): Rename to window-at-side-list.
9451 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9452 (window-side-check, window-size-ignore, window-size-fixed-1)
9453 (window-in-direction-2): Prefix with "window--".
9454 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9455
68cbc58b
GM
94562011-11-11 Glenn Morris <rgm@gnu.org>
9457
9458 * subr.el (eval-after-load): If FILE is already loaded,
9459 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9460
b2621720
GM
94612011-11-10 Glenn Morris <rgm@gnu.org>
9462
9a4de110
GM
9463 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9464 Call svn via vc-svn-command rather than vc-do-command.
9465 (vc-svn-command): Add --non-interactive. (Bug#9993)
9466 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9467
b2621720
GM
9468 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9469 Add toggle-read-only. (Bug#7292)
9470 * files.el (toggle-read-only): Mention that it should only
9471 be used interactively. (Bug#10006)
9472
1dce7193
SM
94732011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9474
d9ac1a1e
SM
9475 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9476 Adjust regexp for OCaml warnings.
9477
0c325082
SM
9478 * electric.el (electric-pair-post-self-insert-function): Let user
9479 turn it off buffer-locally (bug#9932).
9480
90132c14
SM
9481 * progmodes/python.el (python-beginning-of-statement):
9482 Rewrite (bug#2703).
9483
1dce7193
SM
9484 * progmodes/compile.el: Better handle TABs (bug#9749).
9485 (compilation-internal-error-properties)
9486 (compilation-next-error-function): Obey the target buffer's
9487 compilation-error-screen-columns.
9488
c4e7c63a
JB
94892011-11-09 Juanma Barranquero <lekktu@gmail.com>
9490
9491 * progmodes/meta-mode.el: Remove obsolete comments.
9492 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9493 Fix typos in docstrings.
9494
2cffd681
MR
94952011-11-09 Martin Rudalics <rudalics@gmx.at>
9496
9497 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9498 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9499 (window--resizable): New function. Make all callers of
9500 window-resizable call window--resizable instead.
9501 (window-resizable): Rewrite in terms of window--resizable.
9502
0edcba87
GM
95032011-11-08 Glenn Morris <rgm@gnu.org>
9504
9505 * progmodes/delphi.el (delphi-mode-syntax-table):
9506 Let define-derived-mode define a proper syntax table. (Bug#9994)
9507
4b0d61e3
SM
95082011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * window.el: Stay away from defsubst.
9511 (window-list-no-nils): Remove.
9512 (window-state-get-1, window-state-get): Use backquote instead.
9513
cd394be1 95142011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9515
4b0d61e3 9516 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9517 Fix incorrect use of default argument in `completing-read'.
9518
e1c2c6f2
MR
95192011-11-08 Martin Rudalics <rudalics@gmx.at>
9520
9521 * window.el (display-buffer-function, special-display-function):
9522 Mention display-buffer-record-window but do not mention
9523 help-setup parameter in doc-strings.
b3f4a882 9524 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9525
105216ed
CY
95262011-11-08 Chong Yidong <cyd@gnu.org>
9527
9528 * window.el (window-total-height, window-total-width): Doc fix.
9529 (window-body-size): Move from C.
9530 (window-body-height, window-body-width): Move to C.
9531
0a9f9ab5
SM
95322011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * window.el: Make special-display like display-buffer-alist (bug#9532).
9535 (display-buffer--special-action): New function, morphed
9536 from display-buffer--special.
9537 (display-buffer): Use it to handle special-display-buffers at higher
9538 priority (just after display-buffer-alist).
9539 (display-buffer-fallback-action, display-buffer--other-frame-action)
9540 (pop-to-buffer-same-window): Remove display-buffer--special.
9541
a769dd15
GM
95422011-11-07 Glenn Morris <rgm@gnu.org>
9543
9544 * calendar/cal-menu.el (cal-menu-set-date-title):
9545 Do nothing if not in a calendar. (Bug#9976)
9546
05a61ee3
SM
95472011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * files.el (find-file): Always use selected-window.
9550
be7f5545
MR
95512011-11-07 Martin Rudalics <rudalics@gmx.at>
9552
9553 * window.el (window-combinations): Make WINDOW argument
9554 mandatory. Rewrite doc-string.
9555 (walk-window-subtree, window-atom-check, window-min-delta)
9556 (window-max-delta, window--resize-this-window)
9557 (window--resize-root-window-vertically, window-tree)
9558 (balance-windows, window-state-put): Rewrite doc-strings as to
9559 not mention the term "subwindow".
9560 (window--resize-subwindows-skip-p): Rename to
9561 window--resize-child-windows-skip-p.
9562 (window--resize-subwindows-normal): Rename to
9563 window--resize-child-windows-normal.
9564 (window--resize-subwindows): Rename to
9565 window--resize-child-windows.
9566 (window-or-subwindow-p): Rename to window--in-subtree-p.
9567
3c6702ef
ML
95682011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9569
9570 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9571 Ensure that mbox format messages end in two newlines (Bug#9974).
9572
49745b39
CY
95732011-11-06 Chong Yidong <cyd@gnu.org>
9574
9575 * window.el (window-combination-p): Function deleted; its
9576 side-effect is not used in any existing code.
9577 (window-combinations, window-combined-p): Call window-*-child
9578 directly.
9579
24300f5f
CY
95802011-11-05 Chong Yidong <cyd@gnu.org>
9581
9582 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9583 (window-size-ignore, window-state-get): Callers changed.
9584 (window-normalize-window): Rename from window-normalize-any-window.
9585 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9586 (window-normalize-live-window): Delete.
447f16b8
CY
9587 (window-combination-p, window-combined-p, window-combinations)
9588 (walk-window-subtree, window-atom-root, window-min-size)
9589 (window-sizable, window-sizable-p, window-size-fixed-p)
9590 (window-min-delta, window-max-delta, window-resizable)
9591 (window-resizable-p, window-full-height-p, window-full-width-p)
9592 (window-current-scroll-bars, window-point-1, set-window-point-1)
9593 (window-at-side-p, window-in-direction, window-resize)
9594 (adjust-window-trailing-edge, maximize-window, minimize-window)
9595 (window-deletable-p, delete-window, delete-other-windows)
9596 (record-window-buffer, unrecord-window-buffer)
9597 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9598 (quit-window, split-window, window-state-put)
9599 (set-window-text-height, fit-window-to-buffer)
9600 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9601
89bd5ee1
EZ
96022011-11-04 Eli Zaretskii <eliz@gnu.org>
9603
53479029
EZ
9604 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9605 rfc2047-decode-string.
9606 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9607 warnings.
9608
89bd5ee1
EZ
9609 * window.el (window-body-height, window-body-width): Mention in
9610 the doc string that the return values are in frame's canonical
9611 units. (Bug#9949)
9612
bd17fdee
AM
96132011-11-03 Alan Mackenzie <acm@muc.de>
9614
9615 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9616 change in cc-engine.el.
9617
acc825c5
SM
96182011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9621
1885e5b8
MR
96222011-11-02 Martin Rudalics <rudalics@gmx.at>
9623
9624 * window.el (quit-window): Call unrecord-window-buffer after
9625 showing another buffer in the window. (Bug#9937)
acc825c5 9626 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9627
ebe06da9
JB
96282011-11-02 Juanma Barranquero <lekktu@gmail.com>
9629
9630 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9631 Accept status with more than 9 shelves. (Bug#9935)
9632 Reported by Colin D Bennett <colin@gibibit.com>.
9633
4ee88440
MR
96342011-11-01 Martin Rudalics <rudalics@gmx.at>
9635
9636 * help.el (with-help-window): Don't reference
9637 temp-buffer-show-specifiers in doc-string.
9638
08e1d82c
AS
96392011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9640
9641 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9642 menu-item.
9643
84bd6e9e
VJL
96442011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9645
9646 * whitespace.el: New version 13.2.2.
9647 (whitespace-newline-mode): Disable properly. Reported by Sarah
9648 <EmacsWiki>.
9649
dba0634a
UJ
96502011-10-30 Ulf Jasper <ulf.jasper@web.de>
9651
9652 * net/newst-treeview.el: Remove "Time-stamp".
9653 (newsticker--group-manage-orphan-feeds): Do not call
9654 newsticker--treeview-tree-update.
db22a3c2
JB
9655 (newsticker-treeview-update, newsticker-treeview):
9656 Call newsticker--treeview-tree-update if necessary.
dba0634a 9657
3d8daefe
MR
96582011-10-30 Martin Rudalics <rudalics@gmx.at>
9659
9660 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9661 (window-iso-combinations): Remove "iso-" infix.
9662 Suggested by Chong Yidong.
3d8daefe
MR
9663 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9664 (window-max-delta-1, window-resize, window--resize-siblings)
9665 (window--resize-this-window, adjust-window-trailing-edge)
9666 (split-window, balance-windows-1)
9667 (shrink-window-if-larger-than-buffer):
9668 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9669 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9670
1bc4c3ae
SM
96712011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9674 in place (bug#9907).
9675 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9676 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9677 (eshell-structure-basic-command, eshell-rewrite-while-command)
9678 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9679 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9680 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9681 (eshell-do-pipelines-synchronously, eshell-eval-command):
9682 Use backquotes and prefer setq to set.
9683 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9684 (eshell-macrop): Use functionp.
c1e2f5fa 9685 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9686
30b65d9c
CY
96872011-10-30 Chong Yidong <cyd@gnu.org>
9688
9689 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9690 instead of set-mark (Bug#9810).
9691
2d197ffb
CY
96922011-10-30 Chong Yidong <cyd@gnu.org>
9693
9694 * window.el (split-window-below, split-window-right): Rename from
9695 split-window-above-each-other and split-window-side-by-side
9696 respectively. All callers changed.
9697 (split-window-sensibly, split-window-sensibly): Use them.
9698 (split-window-keep-point): Doc fix.
9699
9700 * isearch.el: Add isearch-scroll property to split-window-below
9701 and split-window-right.
9702
9703 * follow.el (follow-mode):
9704 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9705 * progmodes/ada-xref.el (ada-gdb-application):
9706 * emulation/vip.el (vip-buffer-in-two-windows):
9707 * image-dired.el (image-dired-dired-with-window-configuration):
9708 * dired-x.el (dired-do-find-marked-files):
9709 * dired.el (dired-pop-to-buffer):
9710 * bs.el (bs--show-with-configuration):
9711 * vc/emerge.el (emerge-setup-windows):
9712 * textmodes/two-column.el (2C-two-columns):
9713 * textmodes/reftex-toc.el (reftex-toc):
9714 * progmodes/gdb-mi.el (gdb-setup-windows):
9715 * progmodes/fortran.el (fortran-window-create):
9716 * net/newst-treeview.el (newsticker--treeview-window-init):
9717 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9718 * emulation/tpu-edt.el (tpu-gold-map):
9719 * emulation/crisp.el (crisp-mode-map):
9720 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9721
38bb2ca8
CY
97222011-10-29 Chong Yidong <cyd@gnu.org>
9723
aa4de341
CY
9724 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9725
e1eb5385
CY
9726 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9727
5d2ece3c
CY
9728 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9729 forged Ispell output (Bug#7904).
9730
38bb2ca8
CY
9731 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9732
d0af9f77
SM
97332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * doc-view.el: Avoid ugly errors about not finding nil.
9736 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9737 (doc-view-dvipdf-program, doc-view-unoconv-program)
9738 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9739 Avoid nil or absolute file name as default value.
9740 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9741
52bedd34
AM
97422011-10-28 Alan Mackenzie <acm@muc.de>
9743
db22a3c2 9744 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9745
7e43cfa5
AM
97462011-10-28 Alan Mackenzie <acm@muc.de>
9747
9748 Amend the handling of c-beginning/end-of-defun in nested declaration
9749 scopes.
9750
52bedd34
AM
9751 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9752 cc-langs.el. Change it to a defcustom.
7e43cfa5 9753
52bedd34
AM
9754 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9755 cc-vars.el.
7e43cfa5 9756
d0af9f77
SM
9757 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9758 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9759
52bedd34 9760 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9761 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9762 (c-widen-to-enclosing-decl-scope): New function.
9763 (c-while-widening-to-decl-block): New macro.
9764 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9765 outward for defun boundaries, and correspondingly change symbol
9766 `respect-enclosure' to `go-outward'.
9767 (c-declaration-limits): Change algorithm to report only the "innermost"
9768 defun's boundaries.
9769
1a2ce9ee
DD
97702011-10-28 Deniz Dogan <deniz@dogan.se>
9771
9772 * net/rcirc.el (rcirc-mode): Use hard newlines.
9773
bc97a826
AM
97742011-10-28 Alan Mackenzie <acm@muc.de>
9775
9776 Amend to indent and fontify macros "which include their own semicolon"
9777 correctly, using the "virtual semicolon" mechanism.
9778
52bedd34 9779 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9780
d0af9f77 9781 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9782 Recode to scan one line at a time rather than having \n and \r
58179cce 9783 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9784 (c-forward-label): Amend for virtual semicolons.
58179cce 9785 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9786
52bedd34
AM
9787 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9788 of the new C macros.
bc97a826 9789
52bedd34 9790 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9791 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9792 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9793 (c-opt-cpp-macro-define): Make into a full language variable.
9794 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9795 AWK Mode (including \n, \r) removed, no longer needed.
9796
d0af9f77
SM
9797 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9798 Invoke c-make-macro-with-semi-re.
bc97a826 9799
52bedd34
AM
9800 * progmodes/cc-vars.el (c-macro-with-semi-re):
9801 (c-macro-names-with-semicolon): New variables.
58179cce 9802 (c-make-macro-with-semi-re): New function.
bc97a826 9803
7a6c0941
SM
98042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * vc/log-edit.el: Fill empty field rather than adding new one.
9807 (log-edit-add-field): New function.
9808 (log-edit-insert-changelog): Use it.
9809
b0c4cdcf
ML
98102011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9811
9812 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9813
ee1f1da9
SM
98142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9817 (gdb--check-interpreter): New function.
9818 (gdb): Use it.
9819
51bc5f8b
GM
98202011-10-27 Glenn Morris <rgm@gnu.org>
9821
416a2c45
GM
9822 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9823 (least-positive-float, least-negative-float)
9824 (least-positive-normalized-float, least-negative-normalized-float)
9825 (float-epsilon, float-negative-epsilon):
9826 Remove unnecessary declarations.
9827
9828 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9829 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9830 (least-positive-float, least-negative-float)
9831 (least-positive-normalized-float, least-negative-normalized-float)
9832 (float-epsilon, float-negative-epsilon): Add doc-strings,
9833 based on those in cl.texi.
9834
51bc5f8b
GM
9835 * files.el (set-visited-file-name): If the major-mode changed,
9836 reload the local variables. (Bug#9796)
9837
15de15c6
CY
98382011-10-27 Chong Yidong <cyd@gnu.org>
9839
9840 * subr.el (change-major-mode-after-body-hook): New hook.
9841 (run-mode-hooks): Run it.
9842
ee1f1da9
SM
9843 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9844 Use change-major-mode-before-body-hook.
15de15c6
CY
9845
9846 * simple.el (fundamental-mode):
9847 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9848 change introducing fundamental-mode-hook.
9849
5430d399
JB
98502011-10-26 Juanma Barranquero <lekktu@gmail.com>
9851
acc825c5 9852 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9853
ad74a69e
MA
98542011-10-26 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9857 tramp.el explicitly. (Bug#7583)
ad74a69e 9858
71d4c2a5
SM
98592011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * progmodes/octave-mod.el:
9862 * progmodes/octave-inf.el: Update maintainer.
9863
b1f6fa26
CY
98642011-10-26 Chong Yidong <cyd@gnu.org>
9865
9866 * subr.el (with-wrapper-hook): Rewrite doc.
9867
3f04efd6
MA
98682011-10-25 Michael Albinus <michael.albinus@gmx.de>
9869
9870 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9871 filenames "/method:foo:". (Bug#9793)
3f04efd6 9872
410488d3
SM
98732011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9876 (bug#9865).
9877
c1ebb47e
GM
98782011-10-24 Glenn Morris <rgm@gnu.org>
9879
9880 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9881
7f5c46c7
MA
98822011-10-24 Michael Albinus <michael.albinus@gmx.de>
9883
9884 * notifications.el: Add the requirement of a running D-Bus session
9885 bus to the Commentary.
9886
db2440b6
JL
98872011-10-24 Juri Linkov <juri@jurta.org>
9888
9889 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9890 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9891 (Bug#9364)
9892
feecf435
JL
98932011-10-24 Juri Linkov <juri@jurta.org>
9894
9895 * info.el (Info-following-node-name-re): Add newline to the list
9896 of allowed characters for leading space. (Bug#9824)
9897
a3839de2
SM
98982011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9899
acc825c5
SM
9900 * progmodes/octave-inf.el (inferior-octave-mode-map):
9901 Fix C-c C-h binding.
a3839de2
SM
9902 * progmodes/octave-mod.el (octave-help): Remove.
9903
09388e76
MA
99042011-10-23 Michael Albinus <michael.albinus@gmx.de>
9905
9906 Sync with Tramp 2.2.3.
9907
9908 * net/tramp-cache.el (top): Pacify byte-compiler using
9909 `init-file-user' and `site-run-file'.
9910
9911 * net/trampver.el: Update release number.
9912
86c60681
CY
99132011-10-23 Chong Yidong <cyd@gnu.org>
9914
9915 * files.el (toggle-read-only): Remove obsolete comment about
9916 version control.
9917
9918 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9919 for toggle-read-only. Note that this hasn't called vc-next-action
9920 since 2008-05-02, though it wasn't documented at the time.
9921
a3839de2
SM
9922 * vc/ediff-init.el (ediff-toggle-read-only-function):
9923 Use toggle-read-only.
86c60681 9924
cd5495ff
AM
99252011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9926
9927 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9928 of c-parse-state.
9929
00b77525 9930 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9931 correct faulty logical expression.
cd5495ff
AM
9932 (c-parse-state-state, c-record-parse-state-state):
9933 (c-replay-parse-state-state): New defvar/defuns.
9934 (c-debug-parse-state): Use new functions.
9935
42ee24ed
MR
99362011-10-22 Martin Rudalics <rudalics@gmx.at>
9937
9938 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9939 last fix. Use window-in-direction correctly.
42ee24ed 9940
a7dee7e7
CY
99412011-10-21 Chong Yidong <cyd@gnu.org>
9942
9943 * progmodes/idlwave.el (idlwave-mode):
9944 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9945 require-final-newline; that's done in prog-mode.
9946 Suggested by Stefan Monnier.
a7dee7e7 9947
e07b9a6d
MR
99482011-10-21 Martin Rudalics <rudalics@gmx.at>
9949
9950 * mouse.el (mouse-drag-window-above)
9951 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9952 (mouse-drag-mode-line-1, mouse-drag-header-line)
9953 (mouse-drag-vertical-line-rightward-window): Remove.
9954 (mouse-drag-line): New function.
9955 (mouse-drag-mode-line, mouse-drag-header-line)
9956 (mouse-drag-vertical-line): Call mouse-drag-line.
9957 * window.el (window-at-side-p, windows-at-side): New functions.
9958
7e1361d9
UM
99592011-10-21 Ulrich Mueller <ulm@gentoo.org>
9960
9961 * tar-mode.el (tar-grind-file-mode):
9962 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9963
30fcaf3a
CY
99642011-10-21 Chong Yidong <cyd@gnu.org>
9965
9966 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9967 * progmodes/vera-mode.el (vera-mode):
9968 Use mode-require-final-newline.
30fcaf3a 9969
516eddb0
GM
99702011-10-20 Glenn Morris <rgm@gnu.org>
9971
db22a3c2 9972 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9973
10d5f513
CS
99742011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9975
9976 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9977
ac6c8639
CY
99782011-10-20 Chong Yidong <cyd@gnu.org>
9979
9980 * emulation/cua-base.el (cua-mode):
9981 * mail/footnote.el (footnote-mode):
9982 * mail/mailabbrev.el (mail-abbrevs-mode):
9983 * net/xesam.el (xesam-minor-mode):
9984 * progmodes/bug-reference.el (bug-reference-mode):
9985 * progmodes/cap-words.el (capitalized-words-mode):
9986 * progmodes/compile.el (compilation-minor-mode)
9987 (compilation-shell-minor-mode):
9988 * progmodes/gud.el (gud-tooltip-mode):
9989 * progmodes/hideif.el (hide-ifdef-mode):
9990 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9991 * progmodes/subword.el (subword-mode):
9992 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9993 * progmodes/which-func.el (which-function-mode):
9994 * term/tvi970.el (tvi970-set-keypad-mode):
9995 * term/vt100.el (vt100-wide-mode):
9996 * textmodes/flyspell.el (flyspell-mode):
9997 * textmodes/ispell.el (ispell-minor-mode):
9998 * textmodes/nroff-mode.el (nroff-electric-mode):
9999 * textmodes/paragraphs.el (use-hard-newlines):
10000 * textmodes/refill.el (refill-mode):
10001 * textmodes/reftex.el (reftex-mode):
10002 * textmodes/rst.el (rst-minor-mode):
10003 * textmodes/sgml-mode.el (html-autoview-mode)
10004 (sgml-electric-tag-pair-mode):
10005 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10006 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10007 * emulation/crisp.el (crisp-mode):
10008 * emacs-lisp/eldoc.el (eldoc-mode):
10009 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10010 minor mode behavior.
10011
aa42ab43
JL
100122011-10-19 Juri Linkov <juri@jurta.org>
10013
10014 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10015 the list of hard-coded chars with escape-glyph face.
10016
89400f1d
SM
100172011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10018
10019 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10020
305c07f6
MA
100212011-10-19 Michael Albinus <michael.albinus@gmx.de>
10022
10023 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10024 running process.
10025
13754b54
GM
100262011-10-19 Glenn Morris <rgm@gnu.org>
10027
10028 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10029 Ignore ignored files. (Bug#9726)
10030
06e21633
CY
100312011-10-19 Chong Yidong <cyd@gnu.org>
10032
10033 Doc fix for minor modes, stating that an omitted argument enables
10034 the mode unconditionally when called from Lisp.
10035
10036 * abbrev.el (abbrev-mode):
10037 * allout.el (allout-mode):
10038 * autoinsert.el (auto-insert-mode):
10039 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10040 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10041 (global-auto-revert-mode):
10042 * battery.el (display-battery-mode):
10043 * composite.el (global-auto-composition-mode)
10044 (auto-composition-mode):
10045 * delsel.el (delete-selection-mode):
10046 * desktop.el (desktop-save-mode):
10047 * dired-x.el (dired-omit-mode):
10048 * dirtrack.el (dirtrack-mode):
10049 * doc-view.el (doc-view-minor-mode):
10050 * double.el (double-mode):
10051 * electric.el (electric-indent-mode, electric-pair-mode):
10052 * emacs-lock.el (emacs-lock-mode):
10053 * epa-hook.el (auto-encryption-mode):
10054 * follow.el (follow-mode):
10055 * font-core.el (font-lock-mode):
10056 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10057 * help.el (temp-buffer-resize-mode):
10058 * hilit-chg.el (highlight-changes-mode)
10059 (highlight-changes-visible-mode):
10060 * hi-lock.el (hi-lock-mode):
10061 * hl-line.el (hl-line-mode, global-hl-line-mode):
10062 * icomplete.el (icomplete-mode):
10063 * ido.el (ido-everywhere):
10064 * image-file.el (auto-image-file-mode):
10065 * image-mode.el (image-minor-mode):
10066 * iswitchb.el (iswitchb-mode):
10067 * jka-cmpr-hook.el (auto-compression-mode):
10068 * linum.el (linum-mode):
10069 * longlines.el (longlines-mode):
10070 * master.el (master-mode):
10071 * mb-depth.el (minibuffer-depth-indicate-mode):
10072 * menu-bar.el (menu-bar-mode):
10073 * minibuf-eldef.el (minibuffer-electric-default-mode):
10074 * mouse-sel.el (mouse-sel-mode):
10075 * msb.el (msb-mode):
10076 * mwheel.el (mouse-wheel-mode):
10077 * outline.el (outline-minor-mode):
10078 * paren.el (show-paren-mode):
10079 * recentf.el (recentf-mode):
10080 * reveal.el (reveal-mode, global-reveal-mode):
10081 * rfn-eshadow.el (file-name-shadow-mode):
10082 * ruler-mode.el (ruler-mode):
10083 * savehist.el (savehist-mode):
10084 * scroll-all.el (scroll-all-mode):
10085 * scroll-bar.el (scroll-bar-mode):
10086 * server.el (server-mode):
10087 * shell.el (shell-dirtrack-mode):
10088 * simple.el (auto-fill-mode, transient-mark-mode)
10089 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10090 (line-number-mode, column-number-mode, size-indication-mode)
10091 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10092 * strokes.el (strokes-mode):
10093 * time.el (display-time-mode):
10094 * t-mouse.el (gpm-mouse-mode):
10095 * tool-bar.el (tool-bar-mode):
10096 * tooltip.el (tooltip-mode):
10097 * type-break.el (type-break-mode-line-message-mode)
10098 (type-break-query-mode):
10099 * view.el (view-mode):
10100 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10101 (global-whitespace-mode, global-whitespace-newline-mode):
10102 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10103
a3839de2
SM
10104 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10105 Fix autogenerated docstring.
06e21633 10106
5214e501
JL
101072011-10-19 Juri Linkov <juri@jurta.org>
10108
10109 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10110 by checking environment variables "DESKTOP_SESSION" and
10111 "XDG_CURRENT_DESKTOP". (Bug#9779)
10112
195f8db9
JL
101132011-10-19 Juri Linkov <juri@jurta.org>
10114
10115 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10116 (browse-url-chromium-program, browse-url-chromium-arguments):
10117 New defcustoms.
10118 (browse-url-default-browser): Check for `browse-url-chromium' and
10119 call `browse-url-chromium-program'.
10120 (browse-url-chromium): New command. (Bug#9779)
10121
343a34ff
JB
101222011-10-18 Juanma Barranquero <lekktu@gmail.com>
10123
10124 * facemenu.el (list-colors-duplicates): On Windows, detect more
10125 duplicates by assuming that only colors matching "^System" are
10126 special "system colors". (Bug#9722)
10127
6978a151
SM
101282011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10131 to distinguish the author from the committer.
10132
6a80b297
MA
101332011-10-18 Michael Albinus <michael.albinus@gmx.de>
10134
10135 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10136
b31a5677
JK
101372011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10138
10139 * international/mule.el (sgml-html-meta-auto-coding-function):
10140 Add support for detecting encoding in HTML5 specified only as
10141 <meta charset="UTF-8">. Implementation just makes http-equiv and
10142 content-type parts from HTML4 encoding string optional. (Bug#9716)
10143
80c6d77f
GM
101442011-10-18 Glenn Morris <rgm@gnu.org>
10145
10146 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10147
08b0fee8
CY
101482011-10-18 Chong Yidong <cyd@gnu.org>
10149
10150 * faces.el (cursor): Doc fix.
10151
67e729a5
CY
101522011-10-17 Chong Yidong <cyd@gnu.org>
10153
10154 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10155
343a34ff 101562011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10157
10158 * dirtrack.el (dirtrack): Support shell buffers with path
10159 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10160
0bc06380
TZ
101612011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10162
10163 * json.el: Bump version to 1.3 and note change in History.
10164 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10165
8b79f3e0
SM
101662011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10167
5a7c536b
SM
10168 * comint.el (comint-insert-input, comint-send-input)
10169 (comint-get-old-input-default, comint-backward-matching-input)
10170 (comint-next-prompt): Use nil instead of `input' for field property of
10171 past user input (bug#114).
10172
96a8a0df
SM
10173 * minibuffer.el (completion--replace): Inherit surrounding properties
10174 (bug#114).
10175 (minibuffer-complete-and-exit): Use it.
10176
8b79f3e0
SM
10177 * comint.el (comint--table-subvert): Quote the all-completions output
10178 (bug#9160).
10179
b8f7ff0d
MR
101802011-10-17 Martin Rudalics <rudalics@gmx.at>
10181
8b79f3e0 10182 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10183
b8f7ff0d 10184 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10185 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10186 entries and separate them from frame entries.
10187
c235b555
GM
101882011-10-15 Glenn Morris <rgm@gnu.org>
10189
10190 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10191 Doc fixes.
10192
6bbfa6e1
CY
101932011-10-15 Chong Yidong <cyd@stupidchicken.com>
10194
8b79f3e0
SM
10195 * net/network-stream.el (network-stream-open-starttls):
10196 Improve detection of failure due to lack of TLS support.
ec5c990d 10197
6bbfa6e1
CY
10198 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10199 putting the input text in front and in bold.
10200
98488977
SM
102012011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10202
3d1337be
SM
10203 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10204
ee0b45e4
SM
10205 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10206 empty buffer.
10207
98488977
SM
10208 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10209 unread-command-events rather than pushing yet-another event.
10210
186f4720
EZ
102112011-10-14 Eli Zaretskii <eliz@gnu.org>
10212
10213 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10214 the explanation of the possible choices. Make the options passed
10215 to completing-read shorter.
10216
8b7a997c
AM
102172011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10218
10219 * textmodes/flyspell.el (flyspell-large-region): Make sure
10220 extended character mode is used if defined (Bug#1339).
10221
12587bbb
EZ
102222011-10-13 Eli Zaretskii <eliz@gnu.org>
10223
10224 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10225 character info for LRE, LRO, RLE, and RLO characters by appending
10226 an invisible PDF.
12587bbb 10227
bad41229
SM
102282011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10231 even in case of error; add debug spec; simplify data flow.
10232 (with-timeout-handler): Remove.
10233
28dbc92f
MA
102342011-10-12 Michael Albinus <michael.albinus@gmx.de>
10235
10236 Fix Bug#6019, Bug#9315.
10237
10238 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10239 complete `buffer-file-name', the local file name part could look
10240 remotely (for example on VMS).
10241
10242 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10243 `tramp-run-real-handler'.
10244 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10245 already quoted by '"'.
10246
10247 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10248 Let `file-name-handler-alist' be nil, the local file name part
10249 could look remotely (for example on VMS).
10250
e1b0b23a
SM
102512011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10254 from here...
10255 (flyspell-post-command-hook): ...to here.
10256
a120bde9
SM
102572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10260 if not needed.
10261 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10262 using completion. Protect against "slow" callers.
10263 Remove the "message hack".
10264
7ce7717b
JL
102652011-10-11 Juri Linkov <juri@jurta.org>
10266
10267 * isearch.el (isearch-lazy-highlight-word): New variable.
10268 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10269 Use it. (Bug#9727)
10270
c02ee9d6
GM
102712011-10-11 Glenn Morris <rgm@gnu.org>
10272
10273 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10274 like f90-previous-statement does.
10275
93e616fd 102762011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10277
1f190e73 10278 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10279 only in interactive use, to avoid error.
10280
af7b6078
SM
102812011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * minibuffer.el (completion-file-name-table): Fix last change,
10284 i.e. ignore normal errors but not the other ones.
10285
0563dae9
MR
102862011-10-10 Martin Rudalics <rudalics@gmx.at>
10287
10288 * window.el (special-display-buffer-names)
10289 (special-display-regexps): Remove some remnants of earlier
10290 changes from doc-strings.
366ca7f3
MR
10291 (quit-windows-on): New function.
10292
10293 * vc/vc.el (vc-revert, vc-rollback):
10294 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10295 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10296 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10297
49677495
MR
102982011-10-09 Martin Rudalics <rudalics@gmx.at>
10299
10300 * window.el (frame-auto-hide-function): Add version tag.
10301 (Bug#9699)
10302
56f2d1e1
MA
103032011-10-09 Michael Albinus <michael.albinus@gmx.de>
10304
10305 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10306 condition.
10307
112a6592
LL
103082011-10-09 Leo Liu <sdl.web@gmail.com>
10309
10310 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10311 (Bug#9701)
10312
0812589b
GM
103132011-10-08 Glenn Morris <rgm@gnu.org>
10314
10315 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10316 before the first code statement zero indent. (Bug#9690)
10317
b2b0776e
CY
103182011-10-08 Chong Yidong <cyd@stupidchicken.com>
10319
10320 * simple.el (count-words-region): Always count in the region.
10321 Report the number of lines and characters too.
10322 (count-words): New command, which counts in the buffer if the
10323 region is inactive, as count-words-region used to.
10324 (count-words--message): New function. Handle plurals.
10325 (count-lines-region): Make it an alias for count-words-region.
10326
10327 * bindings.el (esc-map): Replace count-lines-region with
10328 count-words-region.
10329
c557cd6b
MR
103302011-10-08 Martin Rudalics <rudalics@gmx.at>
10331
10332 * window.el (window--delete): Delete dedicated frame
10333 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10334 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10335
61a57ef4 103362011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10337
3a7d293b 10338 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10339
c3833279
CY
103402011-10-07 Chong Yidong <cyd@stupidchicken.com>
10341
10342 * bindings.el ([M-left],[M-right]): Bind to left-word and
10343 right-word respectively.
10344
21ce8245
GM
103452011-10-07 Glenn Morris <rgm@gnu.org>
10346
10347 * cus-start.el (debug-on-quit): Fix custom type.
10348
6d823bb2
LMI
103492011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10350
0181e193
LMI
10351 * subr.el (define-key-after): Clarify that the function is not
10352 useful for non-menu keymaps.
10353
6d823bb2
LMI
10354 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10355
8e3459ce 103562011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10357
21ce8245 10358 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10359 in current minibuffer (Fix bug with recursive minibuffers).
10360
a1c2d21e
CY
103612011-10-06 Chong Yidong <cyd@stupidchicken.com>
10362
10363 * progmodes/gdb-mi.el (gdb): Doc fix.
10364
5a4cf282
MR
103652011-10-05 Martin Rudalics <rudalics@gmx.at>
10366
10367 * window.el (frame-auto-hide-function): New option replacing
10368 frame-auto-delete. Suggested by Stefan Monnier.
10369 (window--delete): Call frame-auto-hide-function instead of
10370 investigating frame-auto-delete.
c96111ea
MR
10371 (window-point-1, set-window-point-1): New functions.
10372 (window-in-direction, record-window-buffer, window-state-get-1)
10373 (display-buffer-record-window): Use window-point-1 instead of
10374 window-point.
10375 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10376
9854542e
SM
103772011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10380
8943cfb0
GM
103812011-10-05 Glenn Morris <rgm@gnu.org>
10382
10383 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10384 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10385
647ab967
LL
103862011-10-05 Leo Liu <sdl.web@gmail.com>
10387
10388 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10389 works with buffer object.
10390
3ddfbced
SM
103912011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * mpc.el (mpc-tool-bar-map): Add labels.
10394
bdfa5dd2
GM
103952011-10-04 Glenn Morris <rgm@gnu.org>
10396
10397 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10398
0e2070b5
MR
103992011-10-04 Martin Rudalics <rudalics@gmx.at>
10400
10401 * window.el (window--delete): New function.
10402 (frame-auto-delete): Resuscitate option.
10403 (bury-buffer, replace-buffer-in-windows)
10404 (quit-window): Rewrite using window--delete.
10405 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10406 Pass display-buffer-mark-dedicated to window--display-buffer-2
10407 (Bug#9639).
10408
3dc61a09
SM
104092011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10410
915a9b64
SM
10411 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10412 returns a list (bug#9554). Add remote file name completion.
10413 * comint.el (comint--table-subvert): Curry and get quote&unquote
10414 functions as arguments.
10415 (comint--complete-file-name-data): Adjust call accordingly.
10416 * pcomplete.el (pcomplete--table-subvert): Remove.
10417 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10418
3dc61a09
SM
10419 * minibuffer.el (completion-table-case-fold): Use currying.
10420 (completion--styles-type, completion--cycling-threshold-type):
10421 New constants.
10422 (completion-styles, completion-category-overrides)
10423 (completion-cycle-threshold): Use them.
10424 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10425 completion-table-case-fold.
10426
8ea0a993
SB
104272011-10-03 Stephen Berman <stephen.berman@gmx.net>
10428
10429 * minibuffer.el (completion-category-overrides): Fix type of styles
10430 and add more user friendly tags (bug#9660).
10431
8c24b7f6
SM
104322011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10435 (mule-input-method-string): New widget.
10436 (default-input-method, language-info-custom-alist): Use it.
10437
428fe61a
SM
104382011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10439
32c1fffd
SM
10440 * pcomplete.el: Require comint.
10441 (pcomplete--common-suffix): Remove.
10442 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10443 (pcomplete--table-subvert): Sync with comint--table-subvert.
10444 (pcomplete--entries): Use comint-completion-file-name-table.
10445 * comint.el (comint-unquote-filename): Simplify.
10446 (comint-completion-file-name-table): New function (bug#9616).
10447 (comint--complete-file-name-data): Use it.
10448
428fe61a
SM
10449 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10450 (pcmpl-gnu-tar-buffer): Remove.
10451 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10452 around. Make sure pcomplete-suffix-list is only changed temporarily.
10453 Don't look inside the tar's file if it's too large.
428fe61a 10454
04c52e2f
CY
104552011-10-01 Chong Yidong <cyd@stupidchicken.com>
10456
ce3cefcc
CY
10457 * cus-edit.el (custom-mode-map):
10458 * epa.el (epa-key-list-mode-map):
10459 * man.el (Man-mode-map):
10460 * startup.el (splash-screen-keymap):
10461 * simple.el (special-mode-map): Use scroll-up-command and
10462 scroll-down-command.
10463
10464 * progmodes/idlw-help.el (idlwave-help-mode-map):
10465 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10466 * net/newst-plainview.el (newsticker-mode-map):
10467 * emulation/ws-mode.el (wordstar-mode-map):
10468 * emulation/vi.el (vi-com-map):
10469 * calc/calc-graph.el (calc-graph-show-dumb):
10470 * term/sun.el (terminal-init-sun):
10471 * term/ns-win.el (global-map):
10472 * progmodes/grep.el (grep-mode-map):
10473 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10474 * mail/rmail.el (rmail-mode-map):
10475 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10476
04c52e2f
CY
10477 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10478 custom-safe-themes as special.
10479
79adf8c8
JD
104802011-10-01 Julien Danjou <julien@danjou.info>
10481
10482 * notifications.el (notifications-notify): Fix docstring.
10483
63bd50d3
PS
104842011-10-01 Per Starbäck <per@starback.se>
10485
10486 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10487
199e4c7e
MR
104882011-09-30 Martin Rudalics <rudalics@gmx.at>
10489
10490 * startup.el (command-line-1): Fix last fix by inserting
10491 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10492 (Bug#9605) and (Bug#9636)
199e4c7e 10493
fe5f08dd
EZ
104942011-09-29 Eli Zaretskii <eliz@gnu.org>
10495
10496 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10497 window is hscrolled, move by logical lines. (Bug#9607)
10498 (line-move-visual): Update the doc string to the above effect.
10499
b5516bbd
MR
105002011-09-29 Martin Rudalics <rudalics@gmx.at>
10501
ccee00c0
MR
10502 * window.el (display-buffer-record-window): When WINDOW is the
10503 selected window use `point' instead of `window-point'. (Bug#9626)
10504
b5516bbd
MR
10505 * startup.el (command-line-1): Use insert-before-markers when
10506 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10507
b5516bbd
MR
10508 * help.el (help-window): Remove variable.
10509
52aa0014
GM
105102011-09-29 Glenn Morris <rgm@gnu.org>
10511
10512 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10513
df9a7357
JB
105142011-09-29 Juanma Barranquero <lekktu@gmail.com>
10515
10516 * descr-text.el (describe-char-categories): Accept category
10517 descriptions more than one line long.
10518
a8406c20
SM
105192011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10520
88d9610c
SM
10521 * simple.el (delete-trailing-whitespace): Fix last change.
10522
a5daf810
SM
10523 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10524 Don't confuse "y => 3" as the beginning of a `y' operation.
10525
a8406c20
SM
10526 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10527 object has more than 4 slots (bug#9613).
10528
a239d4e9
JB
105292011-09-28 Juanma Barranquero <lekktu@gmail.com>
10530
10531 * subr.el (with-output-to-temp-buffer):
10532 * net/quickurl.el (quickurl, quickurl-browse-url):
10533 Fix typos in docstrings.
10534
693fbdb6
EZ
105352011-09-27 Eli Zaretskii <eliz@gnu.org>
10536
10537 * minibuffer.el (completion-styles)
10538 (completion-category-overrides): Cross reference each other in doc
10539 strings.
10540
8b457e28
GM
105412011-09-27 Glenn Morris <rgm@gnu.org>
10542
10543 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10544 to split-string. (Bug#9606)
10545
85a16208
LMI
105462011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10547
10548 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10549 (bug#9615).
10550
502f9ebd
CY
105512011-09-27 Chong Yidong <cyd@stupidchicken.com>
10552
10553 * emacs-lisp/package.el (list-packages): Fix echo area message.
10554
7690bdea
LL
105552011-09-27 Leo Liu <sdl.web@gmail.com>
10556
10557 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10558
e2ee6f30
MA
105592011-09-25 Michael Albinus <michael.albinus@gmx.de>
10560
10561 * net/dbus.el (dbus-unregister-object): Don't release services for
10562 registered signals. (Bug#9581)
10563
f3f98342
TZ
105642011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10565
10566 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10567 function that picks between cfengine 2 and 3 support
10568 automatically. Update docs accordingly.
10569
dd7aa8dd
KH
105702011-09-22 Kenichi Handa <handa@m17n.org>
10571
10572 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10573 ZERO.
10574 (indian-itrans-v5-table-for-tamil): New variable.
10575 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10576
3f2b07f8
KM
105772011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10578
10579 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10580 that's true if the current command involved collapsing of text.
10581 It's reset to false at the beginning of the next command.
10582 (allout-post-command-business): Move the cursor to the beginning
10583 of entry if the cursor is hidden and collapsing activity just
10584 happened.
10585
371d6a61
CY
105862011-09-24 Chong Yidong <cyd@stupidchicken.com>
10587
10588 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10589 tracking (Bug#9541).
10590
2ac2721a
UJ
105912011-09-24 Ulf Jasper <ulf.jasper@web.de>
10592
10593 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10594 (newsticker-show-news): Automatically load html rendering package
10595 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10596 because w3m-fill-column is let-bound" and the error "Symbol's value
10597 as variable is void: w3m-fill-column".
2ac2721a 10598
fac7ae53
MA
105992011-09-24 Michael Albinus <michael.albinus@gmx.de>
10600
10601 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10602 Release services only if they are defined. (Bug#9581)
10603
e08b633b
RS
106042011-09-23 Richard Stallman <rms@gnu.org>
10605
e488d29c
RS
10606 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10607 distinguish start of paragraph from start of its text.
10608
19c38752
RS
10609 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10610
e08b633b
RS
10611 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10612 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10613 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10614
0a39f27e
AS
106152011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10616
10617 * international/mule-diag.el (mule-diag): Insert a newline after
10618 each fontset description.
10619
db4e950d
SM
106202011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * simple.el (delete-trailing-whitespace):
10623 Document last change; simplify.
10624
eca3f3ea
PW
106252011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10626
d68e189a
PW
10627 * simple.el (delete-trailing-whitespace): Also delete
10628 extra newlines at the end of the buffer.
10629
eca3f3ea
PW
10630 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10631 (picture-newline): Use forward-line so as to ignore fields.
10632
01c157cc
SM
106332011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10634
10635 * subr.el (with-wrapper-hook): Fix edebug spec.
10636
022de23e
LMI
106372011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10638
10639 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10640 (bug#4538).
10641
91683089
MA
106422011-09-23 Michael Albinus <michael.albinus@gmx.de>
10643
eca3f3ea
PW
10644 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10645 Fix nasty bug using wrong cached values.
91683089 10646
5bdd6fa4
AM
106472011-09-23 Alan Mackenzie <acm@muc.de>
10648
10649 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10650
97adfb97
CY
106512011-09-23 Chong Yidong <cyd@stupidchicken.com>
10652
10653 * window.el (pop-to-buffer): Ensure right window is selected if we
10654 chose another frame.
10655
d4ef2b50
EZ
106562011-09-22 Eli Zaretskii <eliz@gnu.org>
10657
10658 * simple.el (what-cursor-position): Use get-char-property-change
10659 and next-single-char-property-change, to be able to show display
10660 properties that come from overlays as well as text properties.
10661
72258fe5
CY
106622011-09-22 Chong Yidong <cyd@stupidchicken.com>
10663
10664 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10665
10666 * cmuscheme.el (run-scheme, switch-to-scheme):
10667 * cus-edit.el (customize-group, custom-buffer-create)
10668 (customize-browse):
10669 * info.el (info):
10670 * shell.el (shell):
10671 * mail/sendmail.el (mail):
10672 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10673
8f098516
RS
106742011-09-22 Richard Stallman <rms@gnu.org>
10675
10676 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10677 move back only to line beg, don't move back over blank lines.
10678
e74f1bb6
MA
106792011-09-22 Michael Albinus <michael.albinus@gmx.de>
10680
10681 * files.el (copy-directory): Set directory attributes only in case
10682 they could be retrieved from the source directory. (Bug#9565)
10683
bfeef8b6
DK
106842011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10685
10686 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10687 (hs-find-block-beginning, hs-hide-level-recursive):
10688 Ignore strings as well as comments. (Bug#9502)
10689
7e423bb8
AS
106902011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10691
10692 * progmodes/sql.el (sql-comint-postgres):
10693 Convert port number to a string. (Bug#9566)
10694
b4d72fcf
MR
106952011-09-22 Martin Rudalics <rudalics@gmx.at>
10696
10697 * window.el (quit-window): Undedicate window when switching to
10698 previous buffer. Reported by Thierry Volpiatto
10699 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10700 (special-display-popup-frame): When popping up a new frame reset
10701 its previous buffers to nil. Simplify code.
b4d72fcf 10702
a7b88dc6
MA
107032011-09-21 Michael Albinus <michael.albinus@gmx.de>
10704
10705 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10706 and process filter, as done also in `shell-command'.
10707
cf4eacfd
MR
107082011-09-21 Martin Rudalics <rudalics@gmx.at>
10709
eca3f3ea 10710 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10711 Call set-window-start with NOFORCE argument t.
10712 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10713 (quit-window): Reword doc-string. Handle new format of
10714 quit-restore parameter. Don't delete window if it has a
10715 previous buffer we can show instead of the present one.
10716 (display-buffer-record-window): Rewrite using a new format for
10717 the quit-restore window parameter
10718 (special-display-popup-frame, display-buffer-same-window)
10719 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10720 (display-buffer-pop-up-window, display-buffer-use-some-window):
10721 Adapt symbol passed to display-buffer-record-window.
10722 * help.el (help-window-setup): Handle new format of quit-restore
10723 parameter.
10724
8d28cb95
SM
107252011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10726
94ab793f
SM
10727 * faces.el (face-list): Fix docstring (bug#9564).
10728
8d28cb95
SM
10729 * window.el (display-buffer--action-function-custom-type):
10730 Don't include internal functions in the Custom interface.
10731
3820edeb
JL
107322011-09-20 Juri Linkov <juri@jurta.org>
10733
10734 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10735 (Info-forward-node, Info-backward-node, Info-next-preorder)
10736 (Info-last-preorder): Use it. (Bug#9528)
10737
5147931d
JL
107382011-09-20 Juri Linkov <juri@jurta.org>
10739
10740 * info.el (Info-last-preorder): Visit last menu item only when
10741 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10742
cf499a1a
JD
107432011-09-20 Julien Danjou <julien@danjou.info>
10744
10745 * password-cache.el (password-cache-remove): Remove entries even if the
10746 value is nil, so that password with a nil value (negative caching) is
10747 possible to invalidate.
10748
f84e2fe2
LM
107492011-09-20 Lawrence Mitchell <wence@gmx.li>
10750
10751 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10752 all whitespace around breakpoint. (Bug#9553)
10753 (f90-find-breakpoint): Only break at whitespace inside a comment.
10754
78054a46
SM
107552011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * minibuffer.el (completion-file-name-table): Keep track of errors.
10758 (completion-table-with-predicate): Handle the case where pred1 is nil.
10759 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10760
345083b2
SM
107612011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10762
e24e27be
SM
10763 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10764 (debugger-return-value): Signal an error if the debugging context does
10765 not await any return value.
10766
345083b2
SM
10767 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10768 * image-mode.el (image-toggle-display-text)
10769 (image-toggle-display-image): Stay away from evil `intangible'.
10770
08d355e3
LL
107712011-09-19 Leo Liu <sdl.web@gmail.com>
10772
10773 * replace.el (occur-revert-arguments): Make it permanent-local.
10774 (occur-mode): Don't call font-lock-defontify.
10775
f01da43f
CY
107762011-09-19 Chong Yidong <cyd@stupidchicken.com>
10777
10778 * net/ldap.el (ldap-search-internal): Don't push empty search
10779 result (Bug#9508).
10780
b6072fa6
SM
107812011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10784
443d6696
MA
107852011-09-19 Michael Albinus <michael.albinus@gmx.de>
10786
10787 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10788 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10789
7cc6e154
JL
107902011-09-18 Juri Linkov <juri@jurta.org>
10791
10792 * buff-menu.el (Buffer-menu-mode-map):
10793 * dired.el (dired-mode-map):
10794 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10795 (lisp-interaction-mode-map):
10796 * emacs-lisp/package.el (package-menu-mode-map):
10797 * epa.el (epa-key-list-mode-map):
10798 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10799 (menu-bar-options-menu):
10800 * outline.el (outline-mode-menu-bar-map):
10801 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10802 * vc/vc-dir.el (vc-dir-menu-map):
10803 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10804 Capitalize non-function content words in menu item strings.
10805
10806 * dired.el (dired-mode-map): Add menu item for
10807 `image-dired-dired-toggle-marked-thumbs'.
10808
80302a81
JL
108092011-09-18 Juri Linkov <juri@jurta.org>
10810
10811 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10812 to `isearch-case-fold-search' and restore its original value
10813 after the `isearch-mode' call.
10814
46c5cf66
JL
108152011-09-18 Juri Linkov <juri@jurta.org>
10816
10817 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10818 because `zgrep' returns 1 for successful matches (bug#9226).
10819
d18b513b
JL
108202011-09-18 Juri Linkov <juri@jurta.org>
10821
10822 * info.el (Info-extract-menu-node-name): Check the second match
10823 for empty string (second test-case of bug#9528).
10824 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10825 intermediate nodes to the history (first test-case of bug#9528).
10826
72753f87
JL
108272011-09-18 Juri Linkov <juri@jurta.org>
10828
10829 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10830 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10831
c9384295
JL
108322011-09-18 Juri Linkov <juri@jurta.org>
10833
1154d12e
JB
10834 * info.el (Info-file-supports-index-cookies):
10835 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10836 outputs one more line for long file names (bug#4142).
c9384295 10837
d473dce8
CY
108382011-09-18 Chong Yidong <cyd@stupidchicken.com>
10839
10840 * newcomment.el (comment-normalize-vars): If prompting for
10841 comment-start, set comment-start-skip too (Bug#8424).
10842
2176854d
JB
108432011-09-18 Johan Bockgård <bojohan@gnu.org>
10844
10845 * icomplete.el: Fix previous fix of Bug#5849.
10846 (icomplete-mode): Don't set completion-show-inline-help.
10847 (icomplete-minibuffer-setup): Set completion-show-inline-help
10848 locally during icompletion.
10849
3aace4e4
CY
108502011-09-18 Chong Yidong <cyd@stupidchicken.com>
10851
c940224f
CY
10852 * woman.el (woman2-process-escapes): Don't delete unrecognized
10853 escapes (Bug#7843).
10854
3aace4e4
CY
10855 * files.el (inhibit-first-line-modes-regexps): Add image files.
10856 (hack-local-variables-prop-line): Return nil for malformed
10857 prop-lines (Bug#9044).
10858
710dec63
MA
108592011-09-18 Michael Albinus <michael.albinus@gmx.de>
10860
10861 * net/tramp.el (top): Don't require 'shell.
10862 (tramp-methods): Fix docstring.
10863 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10864 Return complete remote file name. Handle "smb" case.
10865 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10866 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10867
10868 * net/tramp-compat.el (top): Require 'shell.
10869
10870 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10871 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10872 `tramp-current-host'.
10873 (tramp-get-remote-tmpdir): Remove.
10874
10875 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10876 `tramp-tmpdir' entries.
10877 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10878 (tramp-smb-handle-file-attributes): Ignore errors.
10879 (tramp-smb-wait-for-output): Check also for process end.
10880
5d5ac8ec
LMI
108812011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10882
10883 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10884 when sending QUIT (bug#9312).
10885
8c0f49f0
CY
108862011-09-17 Chong Yidong <cyd@stupidchicken.com>
10887
10888 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10889 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10890 occur-mode-display-occurrence.
10891 (occur-edit-mode): Add usage message.
10892 (occur-cease-edit): New command.
10893 (occur-after-change-function): Use text properties to find the
10894 position of the prefix text.
10895 (occur-engine): Set stickiness of prefix text properties.
10896
8f1383f7
GM
108972011-09-17 Glenn Morris <rgm@gnu.org>
10898
10899 * progmodes/etags.el (complete-tag):
10900 Fix call to completion-in-region. (Bug#9526)
10901
744ba0e3
JL
109022011-09-17 Juri Linkov <juri@jurta.org>
10903
10904 * textmodes/ispell.el (ispell-word): Add to the error message
10905 the word, ispell program name and current dictionary (bug#9121).
10906 (ispell-tex-arg-end): Capitalize "error" in the error message.
10907
d9bbf400
AS
109082011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10909
10910 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10911 check. (Bug#4251)
10912
8da11505
JL
109132011-09-17 Juri Linkov <juri@jurta.org>
10914
10915 * window.el (window-safe-min-height, window-safe-min-width):
10916 Fix typos (followup to bug#9522).
10917
a91adc7e
SJ
109182011-09-17 Sven Joachim <svenjoac@gmx.de>
10919
10920 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10921
064f328a
EZ
109222011-09-16 Eli Zaretskii <eliz@gnu.org>
10923
10924 * simple.el (line-move): If goal-column is set, move by logical
10925 lines, not by display lines. (Bug#971)
10926 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10927 to reflect the above change.
10928
e69df516
SM
109292011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * image.el (imagemagick-register-types): Use regexp-opt.
10932
cbb0f9ab
CY
109332011-09-15 Chong Yidong <cyd@stupidchicken.com>
10934
10935 * window.el (display-buffer-base-action): Rename from
10936 display-buffer-default-action. Make default value empty.
10937 (display-buffer-overriding-action): Convert to defvar.
10938 (display-buffer-fallback-action): New var.
10939
25322144
CY
109402011-09-15 Chong Yidong <cyd@stupidchicken.com>
10941
10942 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10943 declaration.
10944 (package--add-to-archive-contents): If there is a duplicate entry
10945 with an older version, remove it.
10946 (package-menu-mark-delete, package-menu-mark-install)
10947 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10948 (package-menu-mark-obsolete-for-deletion):
10949 Use package-menu-get-status instead of a regexp search.
25322144
CY
10950 (package-menu-get-status): Use tabulated-list-entry.
10951 (package-menu-mark-upgrades): New command.
d770725a 10952 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10953 (package-menu-execute): Do installation before deletion.
10954 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10955 instead of checking major-mode.
10956 (package-menu--find-upgrades): New function.
10957
7520339c
LMI
109582011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10959
10960 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10961 passwords in the log buffer.
65a046c4
LMI
10962 (smtpmail-process-filter): Update the process marker so that the
10963 "broken by peer" status message is inserted in the right place.
7520339c 10964
d3c30954
SM
109652011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10966
3fe48822
SM
10967 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10968 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10969 bibtex-completion-at-point-function.
10970 (bibtex-completion-at-point-function): Use them.
10971
1b8b3954
SM
10972 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10973
d3c30954
SM
10974 * mpc.el (mpc-constraints-tag-lookup): New function.
10975 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10976 also to browser "album|playlist".
10977
72779976
JL
109782011-09-14 Juri Linkov <juri@jurta.org>
10979
10980 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10981 (isearch-edit-string): Use length of `isearch-string' when
10982 `isearch-fail-pos' returns nil.
10983 (isearch-message): Remove duplicate code and call
10984 `isearch-fail-pos' with arg `t'.
10985
a0bf2bcd
CY
109862011-09-14 Chong Yidong <cyd@stupidchicken.com>
10987
17bb0a2d
CY
10988 * replace.el (occur-mode-goto-occurrence): Don't force using other
10989 window (Bug#9499).
10990
a0bf2bcd
CY
10991 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10992
f678e0b6
MR
109932011-09-14 Martin Rudalics <rudalics@gmx.at>
10994
10995 * window.el (display-buffer-window): Remove.
10996 (display-buffer-record-window): Use help-setup window parameter
10997 instead of variable display-buffer-window.
10998 (display-buffer-function, special-display-buffer-names)
10999 (special-display-function): Mention help-setup parameter instead
11000 of display-buffer-window in doc-string.
d3c30954
SM
11001 * help.el (help-window-setup): New argument help-window.
11002 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11003 Reword some messages.
11004 (with-help-window): Pass window used for displaying the buffer
11005 to help-window-setup. Don't set display-buffer-window.
11006
8e39b2e8
GM
110072011-09-13 Glenn Morris <rgm@gnu.org>
11008
11009 * emacs-lisp/debug.el (debugger-make-xrefs):
11010 Preserve point. (Bug#9462)
11011
85e9c04b
CY
110122011-09-13 Chong Yidong <cyd@stupidchicken.com>
11013
11014 * window.el (window-deletable-p): Use next-frame.
11015
1b36ed6a
MR
110162011-09-13 Martin Rudalics <rudalics@gmx.at>
11017
11018 * window.el (window-auto-delete): Remove.
11019 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11020 dedication and previous buffers.
1b36ed6a
MR
11021 (switch-to-prev-buffer): Don't delete window.
11022 (delete-windows-on): Delete a window's frame if and only if the
11023 window is dedicated.
11024 (replace-buffer-in-windows): Delete buffer's window or frame if
11025 and only if window is dedicated.
11026 (quit-window): Handle quit-restore as before last change.
4d61f28d 11027 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11028
ef8ef9fb
CY
110292011-09-13 Chong Yidong <cyd@stupidchicken.com>
11030
11031 * window.el (window-deletable-p): Never delete the last frame on a
11032 given terminal.
11033
b2cba41e
GM
110342011-09-13 Glenn Morris <rgm@gnu.org>
11035
11036 * help.el (describe-key-briefly): Copy previous standard-output change.
11037
51553db6 110382011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11039
11040 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11041
b7556719
GM
110422011-09-13 Glenn Morris <rgm@gnu.org>
11043
11044 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11045 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11046
64b51947
CY
110472011-09-12 Chong Yidong <cyd@stupidchicken.com>
11048
11049 * dired-aux.el (dired-mark-read-string): Don't return default
11050 value on empty input (Bug#9361).
11051 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11052 Omit initial minibuffer contents.
11053 (dired-do-chmod): Signal an error on empty input.
11054 (dired-mark-read-string): Don't return default on empty input.
11055
11056 * files.el (file-modes-symbolic-to-number): Doc fix.
11057
393a301e
SM
110582011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * international/mule-cmds.el (ucs-completions): Remove.
11061 (read-char-by-name): Use complete-with-action instead; add metadata.
11062
fa5660f9
CY
110632011-09-11 Chong Yidong <cyd@stupidchicken.com>
11064
11065 * window.el (display-buffer--action-function-custom-type)
11066 (display-buffer--action-custom-type): New vars.
11067 (display-buffer-alist, display-buffer-default-action)
11068 (display-buffer-overriding-action): Add defcustom types.
11069
4a592f66
CY
11070 * frame.el (delete-other-frames): Doc fix (Bug#276).
11071
73d56dbd
LMI
110722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11073
11074 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11075
37ac18a3
CY
110762011-09-11 Chong Yidong <cyd@stupidchicken.com>
11077
11078 Change modes that used same-window-* vars to use switch-to-buffer.
11079
11080 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11081 Use switch-to-buffer.
11082
11083 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11084 (customize-browse, custom-buffer-create-other-window):
11085 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11086
11087 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11088 (Info-prev, Info-up, Info-speedbar-goto-node)
11089 (info-display-manual): Use switch-to-buffer.
11090 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11091
11092 * mail/sendmail.el (mail): Use switch-to-buffer.
11093 (mail-recover): Use switch-to-buffer-other-window.
11094
11095 * cmuscheme.el (run-scheme, switch-to-scheme):
11096 * ielm.el (ielm):
11097 * shell.el (shell):
11098 * net/rlogin.el (rlogin):
11099 * net/telnet.el (telnet, rsh):
11100 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11101
10195bd6
AS
111022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11103
11104 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11105
b322f63a
LMI
111062011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11107
39d7fed6
LMI
11108 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11109 so don't mention it (bug#9301).
ba5a81f1 11110 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11111
ee0e9f11
LMI
11112 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11113 match `x', `w32' and `ns', like the manual says (bug#9029).
11114
0b1c89c1 11115 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11116 (process-kill-buffer-query-function): Mention the buffer name in
11117 the query.
0b1c89c1 11118
77549ea8
LMI
11119 * image-mode.el (image-next-line): The line parameter is mandatory
11120 (bug#9258).
11121
803ef892
LMI
11122 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11123 which can be useful (bug#9301).
11124
12980837
LMI
11125 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11126
91054f8f
LMI
11127 * subr.el (match-string): Mention that the current buffer should
11128 be the same as the search was done in (bug#9282).
11129
b322f63a
LMI
11130 * facemenu.el: Disable the remove-* commands if the mark isn't
11131 active (bug#9162).
11132
3199b96f
CY
111332011-09-10 Chong Yidong <cyd@stupidchicken.com>
11134
11135 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11136 of display-buffer.
11137 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11138
11139 * replace.el (occur-mode-goto-occurrence)
11140 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11141 and display-buffer.
11142
11143 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11144 display-buffer.
11145
11146 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11147 special-display and same-window variables.
11148 (mail-other-window): Use switch-to-buffer-other-window.
11149 (mail-other-frame): USe switch-to-buffer-other-frame.
11150
393a301e
SM
11151 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11152 Use display-buffer-other-frame.
3199b96f
CY
11153 (gdb-display-gdb-buffer): Use pop-to-buffer.
11154
11155 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11156
11157 * progmodes/python.el: Don't set same-window-buffer-names.
11158
11159 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11160
11161 * window.el (display-buffer-alist): Add *Python*.
11162
8319e0bf
CY
111632011-09-10 Chong Yidong <cyd@stupidchicken.com>
11164
11165 * window.el (display-buffer-alist): Add entry for buffers
11166 previously handled same-window-*.
11167 (display-buffer-alist, display-buffer-default-action)
11168 (display-buffer-overriding-action): Mark as risky.
11169 (display-buffer-alist): Document action function changes.
11170 (display-buffer--same-window-action)
11171 (display-buffer--other-frame-action): New variables.
11172 (switch-to-buffer, display-buffer-other-frame): Use them.
11173 (display-buffer): Rename reuse-frame entry to reusable-frames.
11174 (display-buffer-reuse-selected-window): Function deleted.
11175 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11176 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11177 (display-buffer-special): New function.
11178 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11179 display-buffer-reuse-or-pop-window. Split off special-display
11180 part into display-buffer-special.
11181 (display-buffer-use-some-window): Don't perform any special
11182 pop-up-frames handling.
11183 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11184 (display-buffer--maybe-same-window): Rename from
0d3ff375 11185 display-buffer-maybe-same-window.
8319e0bf 11186
919a69aa
CY
11187 * info.el: Don't set same-window-regexps.
11188 (info-setup): New function.
11189 (info-other-window, info): Call it.
11190
11191 * cus-edit.el: Don't set same-window-regexps.
11192 (customize-group): New argument.
11193 (customize-group-other-window): Use it.
11194 (customize-face, customize-face-other-window): Likewise.
11195 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11196
8319e0bf
CY
11197 * net/rlogin.el:
11198 * net/telnet.el:
11199 * progmodes/gud.el: Don't set same-window-regexps.
11200
11201 * cmuscheme.el:
11202 * ielm.el:
11203 * shell.el:
11204 * mail/sendmail.el:
11205 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11206
25173000
JL
112072011-09-10 Juri Linkov <juri@jurta.org>
11208
11209 * isearch.el (isearch-edit-string): Remove obsolete mention of
11210 `C-w' (`isearch-yank-word-or-char') from docstring.
11211 (isearch-query-replace): Fix typo in docstring (bug#9466).
11212
056e44ef
JL
112132011-09-10 Juri Linkov <juri@jurta.org>
11214
11215 * paren.el (show-paren-function): Don't show escaped parens.
11216 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11217
c3760c17
EZ
112182011-09-10 Eli Zaretskii <eliz@gnu.org>
11219
11220 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11221 (mm-default-file-encoding): Remove autoload forms, they are
11222 replaced with autoload cookies in mml.el and mm-encode.el.
11223 (mail-add-attachment): New command.
11224 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11225 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11226 the doc string.
11227 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11228
fece895e
RT
112292011-09-10 Reuben Thomas <rrt@sc3d.org>
11230
e69df516
SM
11231 * simple.el (count-words-region): Use buffer if there's no region
11232 (bug#9429).
fece895e 11233
5e68ce4a
JL
112342011-09-09 Juri Linkov <juri@jurta.org>
11235
11236 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11237 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11238 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11239
0a6b9622
AM
112402011-09-09 Alan Mackenzie <acm@muc.de>
11241
11242 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11243 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11244
14a29deb
EZ
112452011-09-09 Eli Zaretskii <eliz@gnu.org>
11246
11247 Fix for Savannah bug#9392.
11248 * simple.el (mail-encode-mml): New defvar.
11249
11250 * mail/rmail.el (mail-encode-mml): Add a defvar.
11251 (rmail-enable-mime-composing): Default to t.
11252 (rmail-forward): Use MIME method of forwarding only if both
11253 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11254 Set mail-encode-mml non-nil if the MIME method was used.
11255
11256 * mail/sendmail.el (mml-to-mime): Add autoload form.
11257 (mail-encode-mml): Add a defvar.
11258 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11259 to nil.
11260 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11261 message through mml-to-mime, and reset mail-encode-mml to nil.
11262
28c45130
GM
112632011-09-09 Glenn Morris <rgm@gnu.org>
11264
11265 * woman.el (woman-if-body): When processing an .el block,
11266 do not delete the next .el block as well. (Bug#9447)
69f4b618 11267 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11268
9b1c252e
MR
112692011-09-08 Martin Rudalics <rudalics@gmx.at>
11270
11271 * window.el (window-deletable-p): Make sure window is live before
11272 invoking window-prev-buffers.
11273
567457e3
LL
112742011-09-08 Leo Liu <sdl.web@gmail.com>
11275
11276 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11277
97f05794
JL
112782011-09-08 Juri Linkov <juri@jurta.org>
11279
11280 * progmodes/compile.el (compilation-environment): Make it
11281 a defcustom (bug#8340).
11282
8b0874b5
MR
112832011-09-08 Martin Rudalics <rudalics@gmx.at>
11284
11285 * window.el (frame-auto-delete): Rename to window-auto-delete.
11286 Make it control auto-deletion of windows and/or frames.
11287 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11288 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11289 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11290 Rewrite handling of case when window/frame can be deleted.
11291 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11292 argument t. (Bug#9456)
8b0874b5 11293
4feb6e73
CY
112942011-09-07 Chong Yidong <cyd@stupidchicken.com>
11295
11296 * help-mode.el (help-mode): Restore autoload.
11297
91ab9c13
JL
112982011-09-07 Juri Linkov <juri@jurta.org>
11299
11300 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11301 `compilation-environment'. Set buffer-local
11302 `compilation-environment' to `thisenv' later after (funcall mode).
11303 (Bug#8340)
11304
11305 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11306 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11307 instead of replacing its value. (Bug#8340)
11308
0527e251
JL
113092011-09-07 Juri Linkov <juri@jurta.org>
11310
11311 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11312 based on text properties put by `grep-filter' instead of matching
11313 escape sequences.
11314 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11315 to the value of `grep-error-screen-columns' (bug#9438).
11316
249f792c
JL
113172011-09-07 Juri Linkov <juri@jurta.org>
11318
11319 * simple.el (next-error-highlight, next-error-highlight-no-select):
11320 Doc fix (bug#9432).
11321
ff7271b9
OT
113222011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11323
11324 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11325 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11326
183fc730
LL
113272011-09-07 Leo Liu <sdl.web@gmail.com>
11328
11329 * net/rcirc.el (rcirc-mode): Conditionally initialize
11330 rcirc-input-ring.
11331
77694924
SM
113322011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * emacs-lisp/find-func.el (find-function-C-source): Only set
11335 find-function-C-source-directory after checking that we found a source
11336 file there (bug#9440).
11337
d809b8eb
AM
113382011-09-06 Alan Mackenzie <acm@muc.de>
11339
11340 * isearch.el (isearch-other-meta-char): Wherever a key list is
11341 unread, "unread" the prefix arg, too. This fixes bug #8901.
11342
453de99f
OG
113432011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11344
11345 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11346
90439906
JL
113472011-09-05 Juri Linkov <juri@jurta.org>
11348
11349 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11350
f62bd846
JL
113512011-09-05 Juri Linkov <juri@jurta.org>
11352
11353 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11354 keeping point where processing of grep matches begins, and
11355 continue to delete remaining escape sequences from the same point.
11356 (grep-filter): Make leading zero optional in "0?1;31m" because
11357 git-grep emits "\033[1;31m" escape sequences unlike expected
11358 "\033[01;31m" as GNU Grep does (bug#9408).
11359 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11360
045820ec
JL
113612011-09-05 Juri Linkov <juri@jurta.org>
11362
11363 * subr.el (y-or-n-p): Capitalize "yes".
11364
f5e29b9b
MA
113652011-09-04 Michael Albinus <michael.albinus@gmx.de>
11366
11367 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11368 `tramp-cache-unload-hook' where appropriate.
11369 (tramp-methods): Rename `tramp-remote-sh' to
11370 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11371 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11372
11373 * net/tramp-sh.el (top): Don't require 'shell.
11374 (tramp-methods): Add `tramp-remote-shell' and
11375 `tramp-remote-shell-args' entries.
11376 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11377 (tramp-sh-handle-shell-command): Remove.
11378 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11379 Use `tramp-remote-shell'.
11380
2784c434
CY
113812011-09-03 Chong Yidong <cyd@stupidchicken.com>
11382
393a301e 11383 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11384 (sendmail-query-once): Save directly to send-mail-function.
11385 Update message-send-mail-function too.
11386
11387 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11388
464cdf56
CS
113892011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11390
11391 * progmodes/python.el (python-mode-map): Use correct function to
11392 start python interpreter from menu-bar (as reported by Geert
11393 Kloosterman).
11394 (inferior-python-mode-map): Fix typo.
393a301e 11395 (python-shell-map): Remove.
464cdf56 11396
d37e5c87
DD
113972011-09-03 Deniz Dogan <deniz@dogan.se>
11398
11399 * net/rcirc.el (rcirc-print): Simplify code for
11400 rcirc-scroll-show-maximum-output. There is no need to walk
11401 through all windows to find the right one.
11402
f3ada0ee
CS
114032011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11404
11405 * help.el (help-return-method): Doc fix.
11406
1f3c99ca
MR
114072011-09-03 Martin Rudalics <rudalics@gmx.at>
11408
11409 * window.el (window-deletable-p): Don't return a non-nil value
11410 when there's a buffer that was shown in the window before.
11411 (Bug#9419)
393a301e
SM
11412 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11413 Set window's previous buffers to nil.
1f3c99ca 11414
a3cf097f
EZ
114152011-09-03 Eli Zaretskii <eliz@gnu.org>
11416
11417 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11418 newline before and after the tag line, so it doesn't interfere
11419 with determining the paragraph direction of bidirectional text.
11420
3d03de90
LL
114212011-09-03 Leo Liu <sdl.web@gmail.com>
11422
11423 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11424
c3313451
CY
114252011-09-02 Chong Yidong <cyd@stupidchicken.com>
11426
393a301e 11427 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11428 (pop-to-buffer): Change interactive spec. Pass second argument
11429 directly to display-buffer.
11430 (display-buffer): Fix interactive spec. Use functionp to
11431 distinguish between a function and a list of functions.
11432
11433 * abbrev.el (edit-abbrevs):
11434 * arc-mode.el (archive-extract):
11435 * autoinsert.el (auto-insert):
11436 * bookmark.el (bookmark-bmenu-list):
11437 * files.el (find-file):
11438 * view.el (view-buffer):
11439 * progmodes/compile.el (compilation-goto-locus):
11440 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11441
89894cd8
CY
114422011-09-02 Chong Yidong <cyd@stupidchicken.com>
11443
11444 * window.el (display-buffer-alist): Doc fix.
11445 (display-buffer): Add docstring. Don't treat
11446 display-buffer-default specially.
11447 (display-buffer-reuse-selected-window)
11448 (display-buffer-same-window, display-buffer-maybe-same-window)
11449 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11450 (display-buffer-pop-up-window)
11451 (display-buffer-reuse-or-pop-window)
11452 (display-buffer-use-some-window): New functions.
11453 (display-buffer-default-action): Use them.
393a301e 11454 (display-buffer-default): Delete.
89894cd8
CY
11455 (pop-to-buffer-1): Fix choice of actions.
11456
ae0bc9fb
SM
114572011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * minibuffer.el (completion--insert-strings): Don't get confused by
11460 completion entries that end with an LF char.
11461
e9d90883
EZ
114622011-09-01 Eli Zaretskii <eliz@gnu.org>
11463
11464 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11465
437014c8
CY
114662011-09-01 Chong Yidong <cyd@stupidchicken.com>
11467
11468 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11469 (display-buffer-same-window, display-buffer-other-window):
11470 New functions.
437014c8
CY
11471 (pop-to-buffer-1): New function. Use the above.
11472 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11473 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11474
11475 * view.el (view-buffer-other-window, view-buffer-other-frame):
11476 Just use pop-to-buffer.
11477
a5e063d5
TV
114782011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11479
11480 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11481
793d32bb
WH
114822011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11483
11484 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11485
d65e4c15
RS
114862011-08-31 Richard Stallman <rms@gnu.org>
11487
11488 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11489 of the separation of rmail-view-buffer from rmail-buffer.
11490 If you say no to "replace original", the decrypt is in the
11491 view buffer. If you say yes, the decrypt goes into the
11492 rmail buffer also.
11493
f818cd2a
MR
114942011-08-31 Martin Rudalics <rudalics@gmx.at>
11495
11496 * window.el (display-buffer-window): Rewrite doc-string.
11497 (display-buffer-record-window): New function.
11498 (display-buffer-macro-specifiers)
11499 (display-buffer-even-window-sizes, display-buffer-set-height)
11500 (display-buffer-set-width, display-buffer-in-window)
11501 (display-buffer-reuse-window, display-buffer-split-specifiers)
11502 (display-buffer-side-specifiers, display-buffer-split-window-1)
11503 (display-buffer-split-window, display-buffer-split-atom-window)
11504 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11505 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11506 (display-buffer-other-window-means-other-frame)
11507 (display-buffer-normalize-special)
11508 (display-buffer-normalize-default)
11509 (display-buffer-normalize-argument)
11510 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11511 (display-buffer-normalize-specifiers, display-buffer-frame)
11512 (display-buffer-same-window, display-buffer-same-frame)
11513 (display-buffer-other-window)
11514 (display-buffer-same-frame-other-window)
11515 (display-buffer-other-frame, pop-to-buffer-same-window)
11516 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11517 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11518 (switch-to-buffer-same-frame)
11519 (switch-to-buffer-other-window-same-frame)
11520 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11521 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11522 (display-buffer-alist-set): Remove.
11523 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11524 (special-display-regexps, special-display-function):
11525 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11526 parameter.
11527 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11528 (special-display-frame-alist, special-display-popup-frame)
11529 (same-window-buffer-names, same-window-regexps, same-window-p)
11530 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11531 (split-window-preferred-function, split-height-threshold)
11532 (split-width-threshold, window-splittable-p)
11533 (split-window-sensibly, window--try-to-split-window)
11534 (window--frame-usable-p, even-window-heights)
11535 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11536 (window--display-buffer-2, display-buffer-other-frame):
11537 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11538 (display-buffer-default, display-buffer-assq-regexp): New functions.
11539 (display-buffer-alist): Rewrite doc-string.
11540 (display-buffer-default-action)
11541 (display-buffer-overriding-action): New variables.
11542 (display-buffer, switch-to-buffer): Rewrite.
11543 (pop-to-buffer): Restore Emacs 23 behavior but use
11544 window-normalize-buffer-to-display.
11545 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11546 Restore Emacs 23 behavior but use
11547 window-normalize-buffer-to-switch-to.
11548 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11549 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11550 Rewrite using Emacs 23 options.
f818cd2a 11551
5bc3b51d
MA
115522011-08-31 Michael Albinus <michael.albinus@gmx.de>
11553
11554 * net/tramp.el (tramp-root-regexp): Remove.
11555 (tramp-completion-file-name-regexp-unified)
11556 (tramp-completion-file-name-regexp-separate)
11557 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11558 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11559 (tramp-drop-volume-letter): Simplify definition.
11560 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11561
b1a4f8e1
SM
115622011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11565 (bug#9356).
11566
5664fa7b
RT
115672011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11568
b1a4f8e1 11569 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11570
9a45d6c3
JL
115712011-08-29 Juri Linkov <juri@jurta.org>
11572
11573 * isearch.el (isearch-done): Don't display message "Mark saved"
11574 when arg `edit' is non-nil to prevent its flicker in the echo area.
11575
fb87e0fb
CY
115762011-08-28 Chong Yidong <cyd@stupidchicken.com>
11577
11578 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11579 obsolete packages for deletion.
11580
09ac1c2a
CS
115812011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11582
11583 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11584 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11585 view-mode from help-mode.
11586 (help-xref-override-view-map): Remove.
11587 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11588 view-mode is not used anymore.
11589
7a1ff57f
CY
115902011-08-28 Chong Yidong <cyd@stupidchicken.com>
11591
11592 * server.el (server-port): Doc fix.
11593
b9696605
CY
11594 * cus-theme.el (custom-theme-choose-mode): Inherit from
11595 special-mode (Bug#9124).
11596 (custom-theme-choose-mode-map): Add special-mode to parent.
11597
ef8cdf8c
AM
115982011-08-28 Alan Mackenzie <acm@muc.de>
11599
11600 * progmodes/cc-fonts.el
11601 (c-make-font-lock-BO-decl-search-function): New function.
11602 (c-basic-matchers-after - "Fontify the clauses after various
11603 keywords"): Extract the three keyword lists for the 3 erroneous
11604 constructs from the list of four, and use the new function above
11605 in place of an old one.
11606
27de4e20
DD
116072011-08-28 Deniz Dogan <deniz@dogan.se>
11608
11609 * net/rcirc.el (rcirc-insert-prev-input)
11610 (rcirc-insert-next-input): Remove unused argument.
11611
356a3681
SM
116122011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11615
3fc9b218
AM
116162011-08-27 Alan Mackenzie <acm@muc.de>
11617
11618 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11619 handle function pointer parameters properly.
11620
538a061c
MR
116212011-08-27 Martin Rudalics <rudalics@gmx.at>
11622
11623 * window.el (display-buffer-reuse-window): Fix case where
11624 selected window was reused with non-nil OTHER-WINDOW argument.
11625 (Bug#9381)
11626
35b1c40c
DD
116272011-08-27 Deniz Dogan <deniz@dogan.se>
11628
11629 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11630 oftc's NickServ messages.
11631
2f6a3e79
GM
116322011-08-27 Glenn Morris <rgm@gnu.org>
11633
11634 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11635
7254299e
CY
116362011-08-26 Chong Yidong <cyd@stupidchicken.com>
11637
11638 * emacs-lisp/package.el (package-install): Call package-initialize
11639 if called interactively.
11640
f8ccf167
LL
116412011-08-26 Leo Liu <sdl.web@gmail.com>
11642
11643 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11644
3e8cd5ce
JL
116452011-08-25 Juri Linkov <juri@jurta.org>
11646
11647 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11648 `search-whitespace-regexp' (bug#9364).
11649
93eb7113
JL
116502011-08-25 Juri Linkov <juri@jurta.org>
11651
11652 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11653 `regexp-search-ring' to their global values to protect from
11654 updating by `read-from-minibuffer' (bug#9185).
11655
f65d1611
JL
116562011-08-25 Juri Linkov <juri@jurta.org>
11657
11658 * textmodes/ispell.el (ispell-command-loop): Add newline
11659 at the end of the "Use option `i'..." line.
11660
f1cf7a31
JL
116612011-08-25 Juri Linkov <juri@jurta.org>
11662
11663 * battery.el (display-battery-mode): If `battery-status-function'
11664 or `battery-mode-line-format' is nil, display the message and set
11665 `display-battery-mode' to nil (bug#9363).
11666
0c95fcf7
EZ
116672011-08-25 Eli Zaretskii <eliz@gnu.org>
11668
11669 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11670 bidi-string-mark-left-to-right; they are unnecessary now.
11671
a2ebe600
DD
116722011-08-25 Deniz Dogan <deniz@dogan.se>
11673
11674 * net/quickurl.el: Documentation typo fixes.
11675
e4ed06f1
CY
116762011-08-25 Chong Yidong <cyd@stupidchicken.com>
11677
11678 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11679
e5f1c99e
GM
116802011-08-25 Glenn Morris <rgm@gnu.org>
11681
b2948976
GM
11682 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11683
e5f1c99e
GM
11684 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11685 (smtpmail-via-smtp): Handle nil response from smtp.
11686
f22f4808
JL
116872011-08-24 Juri Linkov <juri@jurta.org>
11688
11689 * proced.el (proced-marked): Inherit from `error' instead of
11690 `font-lock-warning-face'.
11691
11692 * ibuffer.el (ibuffer-marked-face): Change default face from
11693 `font-lock-warning-face' to `warning'.
11694 (ibuffer-deletion-face): Change default face from
11695 `font-lock-type-face' to `error'.
11696
11697 * battery.el (battery-update): Use the face `error' instead of
11698 `font-lock-warning-face' (bug#6117).
11699
6a93965e
JL
117002011-08-24 Juri Linkov <juri@jurta.org>
11701
11702 * faces.el (success): Change face color from "Green3" to
11703 "ForestGreen" on light background (bug#9353).
11704
1ed43b09
CY
117052011-08-24 Chong Yidong <cyd@stupidchicken.com>
11706
5664fa7b
RT
11707 * window.el (quit-window): Rename from quit-restore-window.
11708 Use same arglist as old quit-window.
1ed43b09
CY
11709 (frame-auto-delete): Doc fix.
11710
11711 * view.el (view-mode-exit): Use quit-window.
11712
11dcdbb2
JL
117132011-08-24 Juri Linkov <juri@jurta.org>
11714
11715 * isearch.el (isearch-ring-adjust1): Start visiting previous
11716 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11717 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11718 for empty search string (when the last search string is reused
11719 automatically) to adjust the isearch ring to the last element and
11720 prepare the correct index for further M-p commands (bug#9185).
11721
de62b4df
KH
117222011-08-24 Kenichi Handa <handa@m17n.org>
11723
11724 * international/ucs-normalize.el: If decomposition property of
11725 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11726 nil.
11727 (nfd, nfkd): Likewise.
11728
963b492b
SM
117292011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11732 from process filters aren't reliably transmitted to the surrounding
11733 accept-process-output.
11734 (mpc-proc-check): New function.
11735 (mpc-proc-sync): Use it (bug#8293)
11736
93b6b5e1
SM
117372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11740 Add compatibility functions (bug#9313).
11741
bca633fb
EZ
117422011-08-23 Eli Zaretskii <eliz@gnu.org>
11743
b177498a
EZ
11744 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11745
6df6ae42 11746 * international/uni-bidi.el: Regenerate.
bca633fb 11747
0902a04e
KH
117482011-08-23 Kenichi Handa <handa@m17n.org>
11749
11750 * international/charprop.el:
11751 * international/uni-bidi.el:
11752 * international/uni-category.el:
11753 * international/uni-combining.el:
11754 * international/uni-comment.el:
11755 * international/uni-decimal.el:
11756 * international/uni-decomposition.el:
11757 * international/uni-digit.el:
11758 * international/uni-lowercase.el:
11759 * international/uni-mirrored.el:
11760 * international/uni-name.el:
11761 * international/uni-numeric.el:
11762 * international/uni-old-name.el:
11763 * international/uni-titlecase.el:
11764 * international/uni-uppercase.el: Regenerate.
11765
3bbf23bc
MR
117662011-08-23 Martin Rudalics <rudalics@gmx.at>
11767
11768 * help.el (help-window-setup): Fix message displayed when other
11769 window is reused. (Bug#9341)
11770
b3fd59bd
SM
117712011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11772
1802e444
SM
11773 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11774 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11775
b3fd59bd
SM
11776 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11777 Mark obsolete.
11778 * shell.el (shell-parse-pcomplete-arguments): New function.
11779 (shell-completion-vars): Use it instead (bug#9160).
11780
4eb61348
SM
117812011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11782
867cab74
SM
11783 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11784 strings and comments (bug#9333).
11785
4eb61348
SM
11786 * emacs-lisp/debug.el (debug-arglist): New function.
11787 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11788 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11789
262a1439
JL
117902011-08-22 Juri Linkov <juri@jurta.org>
11791
56ee679c
JL
11792 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11793 Revert regexp that highlights output switches to its old
11794 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11795
262a1439
JL
11796 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11797 to check for empty output (bug#9226).
11798
f13f86fb
CY
117992011-08-22 Chong Yidong <cyd@stupidchicken.com>
11800
11801 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11802 symbol-constituent as the default, as that stops font-lock from
11803 working properly (Bug#8843).
11804
c65c9622
LMI
118052011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806
11807 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11808 `coding-system-for-*' around the process open call to avoid
11809 auth-source side effects.
e7f2c178 11810 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11811 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11812 probe hangs.
c65c9622 11813
23a8a5ab
CY
118142011-08-21 Chong Yidong <cyd@stupidchicken.com>
11815
ff98b2dd
CY
11816 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11817
23a8a5ab
CY
11818 * emacs-lisp/find-func.el (find-function-noselect): New arg
11819 lisp-only.
11820
11821 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11822 signal an error for built-in functions (Bug#6664).
11823
f5e3c598
LMI
118242011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11827 (smtpmail-try-auth-methods): Use it.
11828
a3f2468a
CY
118292011-08-21 Chong Yidong <cyd@stupidchicken.com>
11830
2c34e8da
CY
11831 * font-lock.el (font-lock-fontify-region)
11832 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11833 (font-lock-default-unfontify-buffer)
11834 (font-lock-default-fontify-region)
11835 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11836
b3fd59bd
SM
11837 * progmodes/compile.el (compilation-error-properties):
11838 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11839 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11840 `ant' regexp.
ee31aabc 11841
a3f2468a
CY
11842 * net/browse-url.el (browse-url-firefox): Don't call
11843 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11844
8e999f70
GM
118452011-08-20 Glenn Morris <rgm@gnu.org>
11846
c21a496a
GM
11847 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11848
59ee0542
GM
11849 * tutorial.el (tutorial--default-keys): Update some default bindings.
11850
8e999f70
GM
11851 * files.el (hack-local-variables): Fully ignore case for "mode:".
11852
e3715033
AM
118532011-08-20 Alan Mackenzie <acm@muc.de>
11854
11855 Resolve invalid use of a regexp in regexp-opt.
11856
4d61f28d
JB
11857 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11858 detection for a java annotation.
e3715033 11859
4d61f28d 11860 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11861 detection for a java annotation.
11862
4d61f28d
JB
11863 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11864 handling for java.
e3715033
AM
11865 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11866
04ed2e9c
CY
118672011-08-20 Chong Yidong <cyd@stupidchicken.com>
11868
11869 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11870 (Bug#9274).
11871
826cee64
AM
118722011-08-20 Alan Mackenzie <acm@muc.de>
11873
58179cce 11874 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11875 such a construct. Mainly for when jit-lock etc. starts a chunk
11876 here.
11877
58179cce 11878 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11879 variable.
58179cce 11880 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11881 c-make-font-lock-search-function.
11882 (c-make-font-lock-search-function): Use the above function.
11883 (c-make-font-lock-context-search-function): New function.
11884 (c-cpp-matchers): Enhance the preprocessor expression case with
11885 the above function
11886 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11887 which takes an expression.
11888
11889 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11890
13009bd8
MR
118912011-08-20 Martin Rudalics <rudalics@gmx.at>
11892
11893 * window.el (display-buffer-reuse-window)
11894 (display-buffer-pop-up-window): Don't reuse or split a side
11895 window.
11896
9234ff7f
GM
118972011-08-19 Glenn Morris <rgm@gnu.org>
11898
11899 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11900 Downcase "Mode:". (Bug#9331)
9234ff7f 11901
f635daa1
CY
119022011-08-18 Chong Yidong <cyd@stupidchicken.com>
11903
11904 * international/characters.el: Add L and R categories.
11905
11906 * subr.el (bidi-string-mark-left-to-right): Rename from
11907 string-mark-left-to-right. Use category search.
11908
11909 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11910
bc987f8b
JL
119112011-08-18 Juri Linkov <juri@jurta.org>
11912
11913 * faces.el (error, warning, success): New faces with definitions
11914 copied from old default values of `font-lock-warning-face',
11915 `compilation-warning', `compilation-info' (bug#6117).
11916
11917 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11918
11919 * progmodes/compile.el (compilation-error): Inherit from `error'.
11920 (compilation-warning): Inherit from `warning'.
11921 (compilation-info): Inherit from `success'.
11922
11923 * dired.el (dired-marked): Inherit from `warning'.
11924 (dired-flagged): Inherit from `error'.
11925
57173b96
LMI
119262011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927
3e79eb87
LMI
11928 * mail/smtpmail.el (auth-source): Require to avoid problems with
11929 binding variables (bug#9298). Also clean up some unused
11930 autoloads.
11931
b3fd59bd
SM
11932 * net/network-stream.el (network-stream-open-starttls):
11933 Support using starttls.el without using gnutls-cli.
57173b96 11934
02b404de
JL
119352011-08-17 Juri Linkov <juri@jurta.org>
11936
11937 * progmodes/grep.el (rgrep): Handle the case when
11938 `grep-find-command' is a cons cell (bug#9278).
11939
8c9177f2
MR
119402011-08-17 Martin Rudalics <rudalics@gmx.at>
11941
11942 * window.el (display-buffer-pop-up-frame): Run frame creation
11943 function with BUFFER current (as special-display-popup-frame
11944 does). Reported by Drew Adams.
11945
3644a0ab
DU
119462011-08-17 Daiki Ueno <ueno@unixuser.org>
11947
11948 * epa-mail.el: Simplify GnuPG group expansion using
11949 epg-expand-group.
11950 (epa-mail-group-alist, epa-mail-group-modtime)
11951 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11952 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11953 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11954 Remove.
11955
5e617bc2 119562011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11957
11958 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11959
9c4aeabf
AM
119602011-08-16 Alan Mackenzie <acm@muc.de>
11961
11962 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11963 Correct, to avoid the inside of macros.
11964
3a99bf64
RS
119652011-08-16 Richard Stallman <rms@gnu.org>
11966
04963aa8
RS
11967 * epa-mail.el: Handle GnuPG group definitions.
11968 (epa-mail-group-alist, epa-mail-group-modtime)
11969 (epa-mail-gnupg-conf-file): New variables.
11970 (epa-mail-parse-groups, epa-mail-sync-groups)
11971 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11972 (epa-mail-expand-recipients): New functions.
11973 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11974
177549d0
RS
11975 * mail/rmail.el (rmail-epa-decrypt): New command.
11976
fe38beef
RS
11977 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11978 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11979 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11980 (epa-decrypt-armor-in-region): Make error message clearer.
11981
934eacb9
SM
119822011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11985 and "a2b" to "ab" for `prefix'.
11986
d024fb4e
CY
119872011-08-14 Chong Yidong <cyd@stupidchicken.com>
11988
11989 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11990 filter groups.
de148fee
CY
11991 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11992 Fourquet (Bug#8804).
d024fb4e 11993
62f1ca49
JB
119942011-08-12 Juanma Barranquero <lekktu@gmail.com>
11995
11996 * startup.el (argi): Declare as global variable (bug#9275).
11997
9ccaaa4b
CY
119982011-08-12 Chong Yidong <cyd@stupidchicken.com>
11999
12000 * subr.el (string-mark-left-to-right): Search the entire string
12001 for RTL script, not just the terminating character. Doc fix.
12002
a3dae87a
SM
120032011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12004
6cd18349
SM
12005 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12006 New function.
12007 (js--regexp-literal, js-syntax-propertize-function): Remove.
12008 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12009 (js-mode-map): Don't rebind electric keys.
12010 (js-insert-and-indent): Remove.
12011 (js-mode): Setup electric-layout and electric-indent instead.
12012
a3dae87a
SM
12013 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12014
9d5cb631
DU
120152011-08-12 Daiki Ueno <ueno@unixuser.org>
12016
12017 * epa.el (epa-progress-callback-function): Fix the logic of
12018 displaying progress.
12019 * epa-file.el (epa-file-insert-file-contents): Make progress
12020 display more user-friendly.
12021 (epa-file-write-region): Ditto.
12022
3e26a4a2
CY
120232011-08-10 Chong Yidong <cyd@stupidchicken.com>
12024
12025 * subr.el (string-mark-left-to-right): New function.
12026
12027 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12028 Use string-mark-left-to-right.
12029 (list-buffers-noselect): Caller changed.
12030
a3dae87a
SM
12031 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12032 Use string-mark-left-to-right.
3e26a4a2
CY
12033 (tabulated-list-print): Recenter after moving point.
12034
ac8cf6e6
JL
120352011-08-10 Juri Linkov <juri@jurta.org>
12036
12037 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12038 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12039 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12040
8d96c9a4
CY
120412011-08-09 Chong Yidong <cyd@stupidchicken.com>
12042
12043 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12044 (Bug#7554).
12045
7be1c708 120462011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12047
12048 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12049 character. (Bug#6594)
12050
37e11a63
CY
120512011-08-08 Chong Yidong <cyd@stupidchicken.com>
12052
839dde57
CY
12053 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12054 (image-dired--with-db-file): New macro.
12055 (image-dired-write-tags, image-dired-remove-tag)
12056 (image-dired-create-gallery-lists, image-dired-write-comments)
12057 (image-dired-get-comment, image-dired-mark-tagged-files)
12058 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12059 (image-dired-gallery-generate): Use insert-file-contents.
12060
37e11a63
CY
12061 * time.el (display-time-world-list, display-time-world-display):
12062 * time-stamp.el (time-stamp-string):
12063 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12064 set-time-zone-rule (Bug#7337).
12065
0b4946c4
DU
120662011-08-08 Daiki Ueno <ueno@unixuser.org>
12067
12068 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12069 (epg-error-to-string, epg-errors-to-string): New function.
12070 (epg-wait-for-completion): Reverse errors list.
12071 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12072 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12073 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12074 (epg-sign-keys, epg-generate-key-from-file)
12075 (epg-generate-key-from-string): Format errors by using
12076 epg-errors-to-string (bug#9255).
12077 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12078
75bfc667
JL
120792011-08-07 Juri Linkov <juri@jurta.org>
12080
12081 * faces.el (list-faces-display): Remove extra angle bracket
12082 from `help-mode-map'.
12083
12084 * info.el (Info-history-toc-nodes): Doc fix.
12085
12086 * longlines.el (longlines-mode): Doc fix.
12087
673e08bb
SM
120882011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12089
4640dd88
SM
12090 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12091 of statements and in a few more cases (bug#9183).
12092
673e08bb
SM
12093 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12094 New functions.
12095 (cl-transform-lambda): Use them (bug#9239).
12096
89b3f019
MR
120972011-08-05 Martin Rudalics <rudalics@gmx.at>
12098
12099 * window.el (display-buffer-same-window)
12100 (display-buffer-same-frame, display-buffer-other-window)
12101 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12102 (pop-to-buffer-other-window)
12103 (pop-to-buffer-same-frame-other-window)
12104 (pop-to-buffer-other-frame): Make them defuns.
12105 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12106
640c8776
SM
121072011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * subr.el (make-composed-keymap): Move from C. Change calling
12110 convention, and improve docstring to bring attention to a subtle point.
12111 * minibuffer.el (completing-read-default): Adjust accordingly.
12112
63648a95
MA
121132011-08-03 Michael Albinus <michael.albinus@gmx.de>
12114
12115 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12116 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12117
12118 * net/trampver.el: Update release number.
12119
b796c9b7
SM
121202011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12123 "in" (bug#9190).
12124
2239d7d5
LMI
121252011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12126
e07dd7c3
LMI
12127 * mail/sendmail.el (sendmail-query-once): Restore the current
12128 buffer after querying (bug#9074).
12129
0e6a2bd7
LMI
12130 * dired.el (dired-flagged): Use different faces for marked and
12131 flagged files (bug#6117).
12132
ce887515
LMI
12133 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12134 (bug#4433).
12135
92f2affc
LMI
12136 * ido.el (ido-mode): Switch off the message if called
12137 non-interactively.
12138
57d5aff0
LMI
12139 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12140 before 587, since it appears that that's more likely to work for
12141 more people.
12142
98cd6c18 12143 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12144 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12145 exist.
12146
b96dec83
LMI
12147 * info.el: Remove the `Info-beginning-of-buffer' function
12148 (bug#8325).
12149
b796c9b7
SM
12150 * net/network-stream.el (network-stream-open-starttls):
12151 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12152
d90e2ea0
MR
121532011-08-01 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (display-buffer-in-window): Don't set dedicated status
12156 of window here (Bug#9215).
12157 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12158 (display-buffer-pop-up-side-window)
b796c9b7 12159 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12160
cca09170
SM
121612011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12164 before binding generated-autoload-file.
12165
027b979c
DD
121662011-08-01 Deniz Dogan <deniz@dogan.se>
12167
12168 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12169
3c7ee4f3
MA
121702011-07-30 Michael Albinus <michael.albinus@gmx.de>
12171
12172 Sync with Tramp 2.2.2.
12173
12174 * net/trampver.el: Update release number.
12175
2cc8e51a
JL
121762011-07-30 Juri Linkov <juri@jurta.org>
12177
12178 * dired-aux.el (dired-touch-initial): Remove function.
12179 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12180 current time, and `default' to the last modification time of the
12181 current marked file (bug#6887).
12182
a514d856
JM
121832011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12184
12185 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12186 numeric argument to read-number (bug#9163).
a514d856 12187
8a7eddd7
MA
121882011-07-27 Michael Albinus <michael.albinus@gmx.de>
12189
12190 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12191 connection process, it could be nil.
12192
1ddd96f5
LL
121932011-07-27 Leo Liu <sdl.web@gmail.com>
12194
12195 Simplify url handling in rcirc-mode.
12196
12197 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12198 (rcirc-browse-url-at-mouse): Remove.
12199 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12200
b248a85d
AM
122012011-07-26 Alan Mackenzie <acm@muc.de>
12202
12203 Fontify bitfield declarations properly.
12204
12205 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12206 (c-symbol-chars): Now exported as a lang variable.
12207 (c-not-primitive-type-keywords): New lang variable.
12208
12209 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12210 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12211 parsed as a bitfield declaration.
b248a85d 12212
b796c9b7
SM
12213 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12214 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12215 (c-punctuation-in): New function.
12216 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12217 declarations properly.
12218
68575ab0
UJ
122192011-07-26 Ulf Jasper <ulf.jasper@web.de>
12220
12221 * calendar/icalendar.el (icalendar--all-events): Take care of
12222 multiple vcalendars in a single file.
b796c9b7 12223 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12224
0f0a88b9
DD
122252011-07-25 Deniz Dogan <deniz@dogan.se>
12226
12227 * image.el (insert-image): Clarifying docstring.
12228
0b3f36df
MA
122292011-07-24 Michael Albinus <michael.albinus@gmx.de>
12230
12231 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12232 `tramp-send-command-and-check' if there is no error.
12233 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12234
a9901f61
AM
122352011-07-22 Alan Mackenzie <acm@muc.de>
12236
12237 Prevent cc-langs.elc being loaded at run time.
12238
12239 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12240 cc-langs.
12241
4d61f28d 12242 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12243 "(require 'cc-langs)". Quote a form so it will evaluate at
12244 (cc-mode's) compilation time.
12245
11d074b2
MA
122462011-07-22 Michael Albinus <michael.albinus@gmx.de>
12247
12248 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12249 loading. (Bug#9114)
12250
938b94c8
MR
122512011-07-21 Martin Rudalics <rudalics@gmx.at>
12252
12253 * window.el (display-buffer-pop-up-window)
12254 (display-buffer-pop-up-side-window)
12255 (display-buffer-in-side-window): Call display-buffer-set-height
12256 and display-buffer-set-width after setting the new window's
b796c9b7 12257 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12258
bfa4f190
SS
122592011-07-20 Sam Steingold <sds@gnu.org>
12260
12261 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12262 (etags-tags-included-tables): Call `convert-standard-filename' on
12263 the file names contained in TAGS so that windows Emacs can handle
12264 TAGS files created by cygwin ctags.
12265
8ca42262
LMI
122662011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12267
12268 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12269 which apparently didn't work.
12270
5db2afd2 122712011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12272
5db2afd2
RW
12273 * proced.el (proced-send-signal): For *Marked Processes* buffer
12274 put point at beginning of buffer.
12275
92e15d10
SB
122762011-07-19 Stephen Berman <stephen.berman@gmx.net>
12277
12278 * proced.el (proced-format): Make header lines align with the text
12279 (bug#1779).
12280
1bfd59e5
LMI
122812011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282
12283 * view.el (view-buffer): Allow running in `special' modes if we're
12284 visiting a file (bug#8615).
12285
f5aae37c
MR
122862011-07-19 Martin Rudalics <rudalics@gmx.at>
12287
12288 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12289 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12290 New functions.
f5aae37c
MR
12291 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12292 more accurately.
12293
bf2c1571
AM
122942011-07-18 Alan Mackenzie <acm@muc.de>
12295
12296 Fontify declarators properly when, e.g., a jit-lock chunk begins
12297 inside a declaration.
12298
12299 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12300
b796c9b7
SM
12301 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12302 New function.
bf2c1571
AM
12303 (c-complex-decl-matchers): Insert reference to
12304 c-font-lock-enclosing-decls.
12305
12306 * progmodes/cc-engine.el (c-backward-single-comment):
12307 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12308 to nil around calls to (forward-comment -1).
12309
4e190b80
LMI
123102011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12311
12dc863d
LMI
12312 * image.el (put-image): Doc typo fix.
12313
a762e966
LMI
12314 * progmodes/etags.el (tags-search): Doc typo fix.
12315
4e190b80
LMI
12316 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12317 password if we get errors 550 to 554.
12318
f019fb21
LMI
123192011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12320
b796c9b7 12321 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12322
81746738
LMI
12323 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12324 indentation character (bug#6380).
12325
3ee3a1b5
LMI
12326 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12327
c82f64de
LMI
12328 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12329 to clarify what the problem is (bug#4291).
12330
f019fb21
LMI
12331 * simple.el (current-kill): Clarify what
12332 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12333 (auto-fill-mode): Document `auto-fill-function' in relation to
12334 `auto-fill-mode' (bug#2470).
f019fb21 12335
0794775d
LM
123362011-07-16 Lawrence Mitchell <wence@gmx.li>
12337
12338 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12339 method if slot is read-only (bug#9035).
12340
be39b8cc
MR
123412011-07-16 Martin Rudalics <rudalics@gmx.at>
12342
b796c9b7 12343 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12344 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12345 selected before, see discussion of (Bug#8615), (Bug#6954).
12346 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12347
6ccf7859
GM
123482011-07-15 Glenn Morris <rgm@gnu.org>
12349
12350 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12351 Respect help-form.
6ccf7859 12352
87e86684
LM
123532011-07-09 Lawrence Mitchell <wence@gmx.li>
12354
12355 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12356 (gnutls-negotiate): Use it.
12357
d6066239
LMI
123582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12359
b796c9b7
SM
12360 * net/gnutls.el (gnutls-negotiate):
12361 Upcase `gnutls-algorithm-priority'.
d6066239 12362
bd23ebc0
GM
123632011-07-15 Glenn Morris <rgm@gnu.org>
12364
c65bca65
GM
12365 * jka-compr.el (jka-compr-verbose): Move from here...
12366 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12367 Add missing :version tag.
12368 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12369
478615cc
LMI
123702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12371
7b41decb
LMI
12372 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12373 (gnutls-negotiate): Use it.
12374
dbc44fcd
LMI
12375 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12376
06789f97
LMI
12377 * info.el (Info-beginning-of-buffer): New command.
12378 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12379 announcing `b' as the key (bug#8325).
ab896c37 12380 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12381
c39da690
LMI
12382 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12383
3aa5f34b
LMI
12384 * international/mule-cmds.el
12385 (describe-specified-language-support): Make the error message
12386 clearer (bug#8905).
12387
4bf0979f
LMI
12388 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12389
478615cc
LMI
12390 * isearch.el (isearch-barrier): Add a doc string, since it's
12391 mentioned in a function doc string (bug#8678).
12392
75c68aa1
MR
123932011-07-15 Martin Rudalics <rudalics@gmx.at>
12394
12395 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12396 buffer argument (Bug#9083) and self-identifying label argument.
12397
a7c33da2
GM
123982011-07-15 Glenn Morris <rgm@gnu.org>
12399
12400 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12401
2f5c6024
LMI
124022011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403
12404 * man.el (Man-fontify-manpage): Fix message when formatting the
12405 man page (bug#7929).
12406
0bb23927 124072011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12408
12409 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12410 argument LRM; if non-nil, append an invisible LRM character to the
12411 buffer name.
12412 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12413 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12414 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12415 paragraph direction.
cce4b0a7 12416
621ef9ab
LMI
124172011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12418
d1583c48
LMI
12419 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12420 the man page name (bug#7929).
12421
6a57fb5f
LMI
12422 * image.el (put-image): Mention the `put-image' overlay property
12423 (bug#7834).
12424
d7956b14
LMI
12425 * scroll-bar.el (set-scroll-bar-mode): Mention that
12426 `scroll-bar-mode' lists the values (bug#7772).
12427
5b2d4a66
LMI
12428 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12429 command (bug#7729).
12430
7509a874
LMI
12431 * rect.el (apply-on-rectangle): Return the point after the last
12432 operation.
12433 (string-rectangle): Go to the point after the last operation
12434 (bug#7522).
12435
4fe74b19
LMI
12436 * printing.el (pr-toggle-region): Clarify the documentation
12437 slightly (bug#7493).
12438
b796c9b7
SM
12439 * time.el (display-time-update):
12440 Allow `display-time-mail-function' to return nil (bug#7158).
12441 Fix suggested by Detlev Zundel.
ab283561 12442
fc233c9d
LMI
12443 * vc/diff.el (diff): Clarify the order the file names are read
12444 (bug#7111).
12445
43f5740b
LMI
12446 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12447 the doc string (bug#7015).
12448
f2182a76
LMI
12449 * font-lock.el (font-lock-maximum-decoration): Mention what
12450 numeric levels mean (bug#6935).
12451
621ef9ab
LMI
12452 * startup.el (initial-buffer-choice): Don't mention the `none'
12453 selection, which is against policy.
12454
adc47434
MR
124552011-07-14 Martin Rudalics <rudalics@gmx.at>
12456
b796c9b7
SM
12457 * window.el (display-buffer-normalize-special):
12458 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12459
7e5bfb8f
EZ
124602011-07-14 Eli Zaretskii <eliz@gnu.org>
12461
12462 * subr.el (version<, version<=, version=): Mention "-CVS" and
12463 "-12345" alpha version numbers.
12464
27fa387a
CY
124652011-07-14 Chong Yidong <cyd@stupidchicken.com>
12466
12467 * bindings.el: Add advertised binding for set-mark-command
12468 (Bug#5772).
12469
8bdfa064
CY
124702011-07-14 Chong Yidong <cyd@stupidchicken.com>
12471
12472 * bindings.el (mode-line-other-buffer):
12473 * bookmark.el (bookmark-bmenu-2-window):
12474 * bs.el (bs-cycle-next, bs-cycle-previous):
12475 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12476 switch-to-buffer.
12477
12478 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12479 Delete.
8bdfa064 12480
5eba16a3
JB
124812011-07-14 Juanma Barranquero <lekktu@gmail.com>
12482
12483 * follow.el (follow-debug-message, follow-redisplay):
12484 * jka-cmpr-hook.el (with-auto-compression-mode):
12485 Fix typos in docstrings.
12486
15853710
LMI
124872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12488
a28e4607
LMI
12489 * subr.el (with-silent-modifications): Clarify somewhat what the
12490 macro inhibits (bug#6525).
12491
15853710
LMI
12492 * simple.el (eval-expression): Note what it does if called
12493 interactively (bug#6495).
12494
bee0fcef
CY
124952011-07-13 Chong Yidong <cyd@stupidchicken.com>
12496
b796c9b7
SM
12497 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12498 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12499
12500 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12501 Remove switch-to-buffer.
12502
58274504
LMI
125032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12504
bd2fcc8d
LMI
12505 * files.el (make-directory): Clarify that an error will be raised
12506 if there's an error (bug#6397).
12507
0f04b32c
LMI
12508 * startup.el (initial-buffer-choice): Add `none' as a choice
12509 (bug#6234).
12510
465c5fc8
LMI
12511 * subr.el (add-hook): Clarify section about buffer-local hooks
12512 (bug#6218).
12513
58274504
LMI
12514 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12515
bead9a43
JB
125162011-07-13 Juanma Barranquero <lekktu@gmail.com>
12517
12518 * tabify.el (untabify): Preserve the current column so that point
12519 doesn't move (bug#6032).
12520
3af98a7b
LMI
125212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12522
b796c9b7
SM
12523 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12524 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12525
6240145a
GM
125262011-07-13 Glenn Morris <rgm@gnu.org>
12527
12528 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12529 (dired-insert-directory): Give a message the first time
12530 if ls is found not to support --dired.
12531
1d8c2ccc
LMI
125322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12533
12534 * simple.el (toggle-truncate-lines): Clarify what is toggled
12535 (bug#5580). Text by Drew Adams.
12536
5fc4038e
CY
125372011-07-13 Chong Yidong <cyd@stupidchicken.com>
12538
12539 * simple.el (blink-matching-open): Make the error message from the
12540 last change less verbose.
12541
bf6012e5
DN
125422011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12543
12544 * font-lock.el (font-lock-comment-face): Use the high contrast
12545 "yellow" color for font-lock-comment-face on low color terminals
12546 using a dark background color (bug#4221).
12547
343c3b5a
LMI
125482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12549
7e9505c5
LMI
12550 * dired.el (dired-insert-set-properties): Make the doc string
12551 reflect what it does now (bug#5325).
12552
c26fdcf5
LMI
12553 * simple.el (blink-matching-open): Say that we were unable to find
12554 the match within the limit, if we're limited (bug#5122).
12555
bb388cc5
LMI
12556 * international/mule-cmds.el (prefer-coding-system): Add an
12557 example (bug#4869).
12558
343c3b5a
LMI
12559 * progmodes/etags.el (tags-search): Document `file-list-form'
12560 (bug#4731).
12561
2a517d45
LM
125622011-07-13 Lawrence Mitchell <wence@gmx.li>
12563
12564 * net/browse-url.el (browse-url-default-browser)
12565 (browse-url-browser-function): Make the default browser choice a
12566 bit more logical (bug#4300). Also clean up the doc string.
12567
b6c78ef2
JB
125682011-07-13 Juanma Barranquero <lekktu@gmail.com>
12569
12570 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12571 binary endings (bug#4440).
12572
1c4dd947
LMI
125732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12574
a2014063
LMI
12575 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12576 which can be pretty annoying (bug#8971).
12577
9c9c2d88
LMI
12578 * jka-compr.el (jka-compr-verbose): New variable, and use
12579 throughout (bug#8971).
12580
1c4dd947
LMI
12581 * info.el (Info-find-file): Fall back on the installation
12582 directory if we can't find the info node anywhere else.
12583
a1c9f41b
SO
125842011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12585
12586 * vc/vc.el (vc-revert-file):
12587 Don't set file time-stamp in the past. (Bug#5181)
12588
536f3d36
LMI
125892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590
7152b011
LMI
12591 * files.el (after-find-file): Give a better error message when
12592 trying to find a symlink that points to a file that doesn't exist
12593 (bug#4398).
12594
536f3d36
LMI
12595 * progmodes/cc-vars.el: Remove (probably) misleading comment
12596 (bug#4396).
12597
460c0fba
JB
125982011-07-12 Johan Bockgård <bojohan@gnu.org>
12599
12600 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12601
7a6bda45
CY
126022011-07-12 Chong Yidong <cyd@stupidchicken.com>
12603
12604 * mouse-sel.el: Hack restoring functionality, while keeping
12605 compatibility with 2010-07-03 changes to mouse selection.
12606 (mouse-sel-primary-overlay): New var.
12607 (mouse-sel-selection-alist): Use it.
12608 (mouse-sel-mode): Doc fix; remove points that are default features
12609 of mouse.el.
12610
c79598ef
JB
126112011-07-12 Johan Bockgård <bojohan@gnu.org>
12612
12613 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12614 Fix previous fix (bug#2490).
12615
ff8be6ef
RW
126162011-07-12 Roland Winkler <winkler@gnu.org>
12617
b796c9b7
SM
12618 * textmodes/bibtex.el (bibtex-initialize):
12619 Use pop-to-buffer-same-window.
ff8be6ef
RW
12620 (bibtex-search-entries): Fix interactive call.
12621
296ba3ee
LMI
126222011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623
f5242a02 12624 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12625 Fontise bytecomp Error lines more correctly (bug#2490).
12626 Fix suggested by Johan Bockgård.
f5242a02 12627
296ba3ee
LMI
12628 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12629
12630 * dired-x.el (dired-guess-default): Use `delete-dups'.
12631
f69fd0d2
CY
126322011-07-12 Chong Yidong <cyd@stupidchicken.com>
12633
12634 * dired.el (dired-mark-prompt):
12635 * dired-aux.el (dired-read-shell-command): Doc fix.
12636
eab5dc07
LMI
126372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12638
b796c9b7
SM
12639 * mail/sendmail.el (sendmail-query-once):
12640 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12641 emacs -Q.
12642
12643 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12644
eab5dc07
LMI
12645 * cus-edit.el (custom-file): Take an optional no-error variable.
12646 (customize-save-variable): Set the variable, and give a warning if
12647 running under "emacs -q".
12648
a1e65d42
JB
126492011-07-11 Juanma Barranquero <lekktu@gmail.com>
12650
12651 * loadhist.el (unload-feature-special-hooks):
12652 Add `auto-coding-functions', `fill-nobreak-predicate' and
12653 `find-directory-functions' (bug#5327).
12654
1d52da10
LMI
126552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12656
be958f1d
LMI
12657 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12658
5bedb26c
LMI
12659 * cus-edit.el (custom-guess-name-alist): -alist variables should
12660 use the `alist' type (bug#3120). Suggested by Drew Adams.
12661
1d52da10
LMI
12662 * printing.el: Add documentation to all the `pr-toggle-' commands.
12663
cd394be1 126642011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12665
12666 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12667 backends where it makes sense (bug#2623).
12668
dcc88d8a
LMI
126692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12670
c3de9feb
LMI
12671 * dired-x.el (dired-guess-default): Remove duplicate shell command
12672 entries (bug#2028).
8a93078b 12673 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12674 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12675
dcc88d8a
LMI
12676 * subr.el (remove-duplicates): New conveniency function.
12677
505e3645
LMI
126782011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12679
12680 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12681 (bug#1526).
12682
126832011-07-10 Martin Rudalics <rudalics@gmx.at>
12684
12685 * window.el (display-buffer-normalize-default): Don't invert
12686 meaning of even-window-heights. Reported by Eli Zaretskii
12687 <eliz@gnu.org>.
12688
455e4fa1
BR
126892011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12690
12691 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12692
8e0bc3e9
CY
126932011-07-10 Chong Yidong <cyd@stupidchicken.com>
12694
12695 * window.el (display-buffer): Fix arguments to
12696 display-buffer-reuse-window in last change.
12697
fa7c3228
CY
12698 * faces.el (link): Use a less saturated blue on light backgrounds.
12699
12700 * startup.el (fancy-startup-text, fancy-about-text)
12701 (fancy-startup-tail): Use font-lock faces, for background safety.
12702
c0a7f300
BN
127032011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12704
b796c9b7
SM
12705 * emulation/viper-cmd.el (viper-change-state-to-vi):
12706 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12707
4dc2a129
MR
127082011-07-09 Martin Rudalics <rudalics@gmx.at>
12709
12710 * window.el (display-buffer-default-specifiers): Remove.
12711 (display-buffer-macro-specifiers): Remove default specifiers.
12712 (display-buffer-alist): Default to nil.
b796c9b7 12713 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12714 (display-buffer-pop-up-window): Allow splitting internal
12715 windows. Check whether a live window was created.
12716 (display-buffer-other-window-means-other-frame)
12717 (display-buffer-normalize-arguments): Rename to
12718 display-buffer-normalize-argument and rewrite. Set the
12719 other-window specifier.
12720 (display-buffer-normalize-special): New function.
12721 (display-buffer-normalize-options): Rename to
12722 display-buffer-normalize-default and rewrite.
12723 (display-buffer-normalize-options-inhibit): Remove.
12724 (display-buffer-normalize-specifiers): Rewrite.
12725 (display-buffer): Process other-window specifier and call
12726 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12727 more faithfully.
b796c9b7 12728 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12729 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12730 (display-buffer-in-window, display-buffer-alist-set):
12731 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12732 <tassilo@member.fsf.org>.
12733
2d43b8c9
LL
127342011-07-09 Leo Liu <sdl.web@gmail.com>
12735
12736 * register.el (insert-register): Restore accidental change on
12737 2011-06-26. (Bug#9028)
12738
7f9b7c53
GM
127392011-07-09 Glenn Morris <rgm@gnu.org>
12740
12741 * subr.el (remq): Handle the empty list. (Bug#9024)
12742
f042cfd8
AS
127432011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12744
12745 * mail/sendmail.el (send-mail-function): No longer delay custom
12746 initialization.
12747 * custom.el (custom-initialize-delay): Doc fix.
12748
856b2f11
SM
127492011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12750
12751 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12752
afae1d68
MA
127532011-07-08 Michael Albinus <michael.albinus@gmx.de>
12754
12755 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12756 human-friendly prompt.
12757
0757af94
SM
127582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12761 provided by a particular plugin.
12762
d760b731
LMI
127632011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12764
12765 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12766 save customizations (with "emacs -Q"), just set the variable
12767 instead of erroring out.
12768
12769 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12770
cd79ce90
JL
127712011-07-08 Juri Linkov <juri@jurta.org>
12772
12773 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12774 (archive-zip-update-case): Use 7z if found by `executable-find'.
12775 The order of searching the available programs is the same as in
12776 `archive-zip-extract' (bug#8968).
12777
14cc04aa
CY
127782011-07-07 Chong Yidong <cyd@stupidchicken.com>
12779
12780 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12781 (menu-bar-options-menu): Tweak descriptions.
12782
0a1848ec
LMI
127832011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12784
12785 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12786 menu items into verb phrases (bug#1421). Also refill to fit under
12787 80 columns.
12788
f5bd0689
CY
127892011-07-07 Chong Yidong <cyd@stupidchicken.com>
12790
538e85c6
CY
12791 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12792 (Info-read-node-name): Doc fix (Bug#1084).
12793
f5bd0689
CY
12794 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12795 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12796 (end-of-sexp, beginning-of-sexp)
12797 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12798 (forward-symbol, forward-same-syntax, word-at-point)
12799 (sentence-at-point): Doc fix (Bug#1144).
12800
56ec5115
LMI
128012011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12802
f3f8e37f
LMI
12803 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12804 should cover it (bug#1281).
12805
0757af94 12806 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12807
e9fce1ac 12808 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12809 negotiation fails, then possibly try again with a non-encrypted
12810 connection (bug#9017).
12811
56ec5115
LMI
12812 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12813 be used.
12814
c2f9aec8
RS
128152011-07-07 Richard Stallman <rms@gnu.org>
12816
12817 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12818 property, and handle its changed format.
12819 Look for the correct line number.
12820 Use file's line contents (but not past first =) to find
12821 correct line in message.
12822
ef7b981d 128232011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12824
12825 * international/characters.el (build-unicode-category-table):
12826 Delete it.
0757af94 12827 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12828
0757af94 12829 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12830 to src/chartab.c.
12831 (get-char-code-property): Call unicode-property-table-internal to
12832 load a file. Call get-unicode-property-internal where necessary.
12833 (put-char-code-property): Call unicode-property-table-internal to
12834 load a file. Call put-unicode-property-internal where necessary.
12835 put-unicode-property-internal where necessary.
0757af94
SM
12836 (char-code-property-description):
12837 Call unicode-property-table-internal to load a file.
c805dec0
KH
12838
12839 * international/charprop.el:
12840 * international/uni-bidi.el:
12841 * international/uni-category.el:
12842 * international/uni-combining.el:
12843 * international/uni-comment.el:
12844 * international/uni-decimal.el:
12845 * international/uni-decomposition.el:
12846 * international/uni-digit.el:
12847 * international/uni-lowercase.el:
12848 * international/uni-mirrored.el:
12849 * international/uni-name.el:
12850 * international/uni-numeric.el:
12851 * international/uni-old-name.el:
12852 * international/uni-titlecase.el:
12853 * international/uni-uppercase.el: Regenerate.
12854
12855 * loadup.el: Load international/charprop.el before
12856 international/characters.
12857
e14b388a
CY
128582011-07-07 Chong Yidong <cyd@stupidchicken.com>
12859
12860 * window.el (next-buffer, previous-buffer): Signal an error if
12861 called from a minibuffer window.
12862
12863 * bindings.el: Revert 2011-07-04 change.
12864
354cf0ba
RS
128652011-07-06 Richard Stallman <rms@gnu.org>
12866
12867 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12868 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12869 Treat markers like ints.
12870 (rmail-mime-entity): Doc fix.
12871
a48868a7
LMI
128722011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12873
4906cd3d
LMI
12874 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12875 defcustom again for backwards compatibility.
12876
e0457abe
LMI
12877 * simple.el (shell-command-on-region): Fill.
12878
d67f7e1f
LMI
12879 * dired-aux.el (dired-kill-line): Add a doc string.
12880
fe204702
LMI
12881 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12882 to "\\sw\\|\\s_" (bug#358).
12883
a48868a7
LMI
12884 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12885 (dired-unmark-backward): Ditto.
12886 (dired-flag-backup-files): Ditto.
12887
12888 * dired-x.el (dired-mark-sexp): Ditto.
12889
aa8a705c
RS
128902011-07-06 Richard Stallman <rms@gnu.org>
12891
12892 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12893 (rmail-mime-entity): New arg TRUNCATED.
12894 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12895 New functions.
12896 (rmail-mime-save): Warn if entity is truncated.
12897 (rmail-mime-toggle-hidden): Likewise, for showing.
12898 (rmail-mime-process-multipart): Record when an entity is truncated.
12899
a9a936b9
RS
12900 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12901 if ENTITY is a string.
12902
1f2b92cb
LMI
129032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12904
f4f73198 12905 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12906 of faces when `M-C-x'-ing their definitions (bug#8378).
12907 Also clean up the code slightly.
f4f73198 12908
12b16734 12909 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12910 because that makes the colors go away.
12b16734 12911
f0691d22
LMI
12912 * mail/sendmail.el (send-mail-function): Change the default to
12913 `sendmail-query-once'.
9e87df06 12914 (sendmail-query-once): Add an autoload cookie.
f0691d22 12915
1f2b92cb
LMI
12916 * net/network-stream.el (network-stream-open-starttls): Try using
12917 a plain connection even if the server offered STARTTLS, and we
12918 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12919 capability. This should make smtpmail.el work in slightly more
12920 configurations.
12921
1cdd2a1b
MA
129222011-07-06 Michael Albinus <michael.albinus@gmx.de>
12923
12924 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12925 New defun.
12926 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12927
fbcc67e2
MM
129282011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12929
12930 * progmodes/sql.el: Version 3.0
0757af94 12931 (sql-product-alist): Add product :completion-object,
fbcc67e2 12932 :completion-column, and :statement attributes.
0757af94 12933 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12934 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12935 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12936 ansi keywords.
12937 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12938 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12939 (sql-oracle-show-reserved-words): New function for development.
12940 (sql-product-font-lock): Simplify for source code buffers.
12941 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12942 New functions.
12943 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12944 (sql-mode-map): Add statement movement functions.
12945 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12946 New variable.
fbcc67e2
MM
12947 (sql-statement-regexp, sql-beginning-of-statement)
12948 (sql-end-of-statement, sql-signum): New functions.
0757af94 12949 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12950 (sql-show-sqli-buffer): Bug fix.
12951 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12952 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12953 with sql-interactive-mode.
12954 (sql-save-connection): Save buffer local settings.
0757af94 12955 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12956 (sql-product-interactive): Bug fix.
12957 (sql-preoutput-hold): New variable.
12958 (sql-interactive-remove-continuation-prompt): Bug fixes.
12959 (sql-debug-redirect): New variable.
12960 (sql-str-literal): New function.
12961 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12962 Redesign.
fbcc67e2
MM
12963 (sql-oracle-save-settings, sql-oracle-restore-settings)
12964 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12965 (sql-completion-object, sql-completion-column)
12966 (sql-completion-sqlbuf): New variables.
12967 (sql-build-completions-1, sql-build-completions)
12968 (sql-try-completion): New functions.
12969 (sql-read-table-name): Use them.
12970 (sql-contains-names): New buffer local variable.
12971 (sql-list-all, sql-list-table): Use it.
12972 (sql-oracle-completion-types): New variable.
12973 (sql-oracle-completion-object, sql-sqlite-completion-object)
12974 (sql-postgres-completion-object): New functions.
12975
d4eaeab1
GM
129762011-07-06 Glenn Morris <rgm@gnu.org>
12977
12978 * window.el (pop-to-buffer): Doc fix.
12979
322b7dab 129802011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12981
12982 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12983
322b7dab 129842011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12985
322b7dab 12986 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12987
322b7dab 12988 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12989
605dd5bf
CY
129902011-07-05 Chong Yidong <cyd@stupidchicken.com>
12991
12992 * button.el (button): Inherit from link face. Suggested by Dan
12993 Nicolaescu.
12994
7dbfa719
SM
129952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12996
3db614b0
SM
12997 * progmodes/gdb-mi.el: Fit in 80 columns.
12998 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12999 switch-to-buffer.
13000
7dbfa719
SM
13001 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13002 if imenu is simply not configured (bug#8941).
13003
919d884a
KM
130042011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13005
13006 * allout.el (allout-post-undo-hook): New allout outline-change
13007 event hook to signal undo activity.
13008 (allout-post-command-business): Run allout-post-undo-hook if an
13009 undo just occurred.
7dbfa719
SM
13010 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13011 * allout-widgets.el (allout-widgets-after-undo-function):
13012 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13013 in the vicinity of an undo.
13014 (allout-widgets-mode): Include allout-widgets-after-undo-function
13015 on the new allout-post-undo-hook.
13016
450a0f09
SM
130172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13020 Let define-derived-mode define it.
13021 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13022 cycles of abbrev-table inheritance (bug#8998).
13023
2de69e00
RW
130242011-07-05 Roland Winkler <winkler@gnu.org>
13025
13026 * textmodes/bibtex.el: Add support for biblatex.
13027 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13028 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13029 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13030 (bibtex-entry-alist, bibtex-field-alist): New variables.
13031 (bibtex-entry-field-alist): Obsolete alias for
13032 bibtex-BibTeX-entry-alist.
13033 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13034 (bibtex-set-dialect): New command.
13035 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13036 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13037 Bind via bibtex-set-dialect.
2de69e00
RW
13038 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13039 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13040 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13041 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13042 Define via bibtex-set-dialect.
450a0f09
SM
13043 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13044 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13045 (bibtex-vec-push, bibtex-vec-incr): New functions.
13046 (bibtex-format-entry, bibtex-field-list)
13047 (bibtex-print-help-message, bibtex-validate)
13048 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13049
2dcdbdd9
SM
130502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * progmodes/compile.el (compilation-goto-locus):
13053 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13054 * bs.el (bs-cycle-next, bs-cycle-previous):
13055 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13056 * bindings.el (mode-line-other-buffer):
13057 * autoinsert.el (auto-insert):
13058 * arc-mode.el (archive-extract):
13059 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13060
b27640fe
JB
130612011-07-05 Juanma Barranquero <lekktu@gmail.com>
13062
13063 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13064 Fix check of `emacs-lock-unlockable-modes'.
13065 Coerce true values of `emacs-lock--try-unlocking' to t.
13066
53bbe3ad
JB
130672011-07-05 Juanma Barranquero <lekktu@gmail.com>
13068
13069 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13070 * emacs-lock.el: New file.
13071
1d3cdbc7
JD
130722011-07-05 Julien Danjou <julien@danjou.info>
13073
13074 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13075 than `boundp' to check if face is set.
13076
9173deec
JB
130772011-07-05 Juanma Barranquero <lekktu@gmail.com>
13078
13079 * register.el (registerv-make):
13080 * window.el (window-min-height): Fix typos in docstrings.
13081
869795d6
JD
130822011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13083
9173deec 13084 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13085 Update doc string.
13086
b768cdcd
JB
130872011-07-04 Juanma Barranquero <lekktu@gmail.com>
13088
13089 * server.el (server-execute): Catch quit and call
13090 `server-return-error' to pass the error back to emacsclient and
13091 close the connection (bug#8942).
13092
13aa217b
KM
130932011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13094
13095 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13096 insecure exception for current topic. Also note that auto-saves
13097 are handled differently.
13098
5d3385a0 13099 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13100 State variables for tracking auto-save inhibition situation.
13101
13102 (allout-write-contents-hook-handler): Rename from
13103 'allout-write-file-hook-handler', and describe how it depends on
13104 write-contents-functions sensitivity to non-nil value to prevent
13105 file write.
13106
13107 (allout-auto-save-hook-handler): Remove. auto-save does not check
13108 this in individual buffers, only in the starting buffer, so this
13109 is not the right way for us to inhibit auto-save in a buffer
13110 according to its condition.
13111
13112 (allout-mode): Use new allout-write-contents-hook-handler, and
13113 only with write-contents-functions. Remove auto-save provisions -
13114 they're implemented elsewhere.
13115
13116 (allout-before-change-handler): If undo is in progress, note that
13117 for attention of allout-post-command-business.
13118
13119 (allout-post-command-business): If the command we're following was
13120 an undo, check for change in the status of encrypted items and
13121 adjust auto-save inhibitions accordingly.
13122
13123 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13124 according to whether there are or aren't any plain-text topics
13125 pending encryption.
13126
2dcdbdd9 13127 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13128 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13129 if there are plain-text topics pending encryption.
13aa217b
KM
13130
13131 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13132 buffer-saved-size and some allout state to not inhibit auto-saves
13133 if there are no longer any plain-text topics pending encryption.
13134
0757af94
SM
13135 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13136 No longer provide for exemption of the current topic.
13aa217b 13137
ac89b32c
JL
131382011-07-04 Juri Linkov <juri@jurta.org>
13139
13140 Add 7z operations to delete and save changed members (bug#8968).
13141 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13142 New defcustoms.
13143 (archive-7z-write-file-member): New function.
13144 (archive-7z-summarize): Fix the number of dashes in the
13145 listing output.
13146
8fa39615
SM
131472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13150 (bug#8958).
13151
2f11b3f1
CY
131522011-07-04 Chong Yidong <cyd@stupidchicken.com>
13153
d66fef2b
CY
13154 * bindings.el: Ignore next-buffer and previous-buffer in
13155 minibuffer-local-map.
13156
2f11b3f1
CY
13157 * font-lock.el (font-lock-builtin-face): Change light background
13158 color to dark slate blue (Bug#6693).
13159
f932a347
WD
131602011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13161
13162 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13163
c8af70e1
SM
131642011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13165
13166 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13167 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13168 Add switch-to-buffer.
13169
f158badc
LMI
131702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13171
13172 * isearch.el (isearch-search-fun-function): Clarify further the
13173 meaning of the function returned.
13174
6d95bd46
MA
131752011-07-04 Michael Albinus <michael.albinus@gmx.de>
13176
13177 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13178
13179 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13180 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13181 Use it.
13182 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13183 `tramp-default-remote-path' does not exist.
13184 (tramp-send-command-and-read): New optional argument NOERROR.
13185 (tramp-open-connection-setup-interactive-shell)
13186 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13187 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13188 (tramp-process-sentinel): Flush also process' connection property.
13189 (tramp-sh-handle-start-file-process): Do not set process
13190 sentinel. It is done now ...
13191 (tramp-maybe-open-connection): ... here. (Bug#8929)
13192
909e6b67
MK
131932011-07-04 MON KEY <monkey@sandpframing.com>
13194
13195 * play/animate.el (animate-string): Doc fixes and allow changing
13196 the buffer name (bug#5417).
13197
131982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13199
c8af70e1 13200 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13201
f34755dc
PE
132022011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13203
396cec72
PE
13204 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13205 This is simpler and helps future-proof the code.
13206 (timer-until): Use time-subtract and float-time.
08235028 13207 (timer--time-less-p): Use time-less-p.
f34755dc 13208
56e6cc31
JB
132092011-07-04 Juanma Barranquero <lekktu@gmail.com>
13210
3abb79e5
JB
13211 * type-break.el (timep): Use the value of `float-time' to avoid a
13212 byte-compiler warning.
13213
56e6cc31
JB
13214 * server.el (server-eval-and-print): Return any result, even nil.
13215
7b9430b4
PE
132162011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13217
13218 * type-break.el: Accept time formats that the builtins accept.
13219 (timep, type-break-time-difference): Accept any format that
13220 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13221 This is simpler and helps future-proof the code.
13222 (type-break-time-difference): Round rather than ignoring
13223 subseconds components.
13224
3034e9e7
LMI
132252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13226
13227 * info.el (Info-apropos-matches): Make non-interactive, since it
13228 doesn't seem to do anything useful as a command (bug#8829).
13229
1485f4c0
CY
132302011-07-03 Chong Yidong <cyd@stupidchicken.com>
13231
13232 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13233 Move from faces.el.
1485f4c0
CY
13234 (frame-default-terminal-background): New function.
13235
13236 * custom.el (custom-push-theme): Don't record faces in `changed'
13237 theme; this doesn't work correctly for per-frame face settings.
13238 (disable-theme): Use face-set-after-frame-default to reset faces.
13239 (custom--frame-color-default): New function.
13240
9fa3dd45
LMI
132412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13242
c8af70e1 13243 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13244 (bug#8769).
13245
6cbbc20c
KR
132462011-03-29 Kevin Ryde <user42@zip.com.au>
13247
13248 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13249 `perl-Test2' extend to match possible "fail #N" rep count
13250 (bug#8377).
13251
c7f98048
LMI
132522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13253
65676592
LMI
13254 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13255 `smtpmail-via-smtp' now returns the error instead of nil.
13256
c7f98048
LMI
13257 * isearch.el (isearch-search-fun-function): Clarify the doc string
13258 (bug#8101).
13259
56e6cc31 132602011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13261
13262 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13263 unnecessary spaces (bug#8987).
13264
2b216704
LMI
132652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13266
13267 * net/network-stream.el (open-network-stream): Use the
13268 :end-of-capability command thoughout.
13269
132702011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13271
13272 * net/network-stream.el (open-network-stream): Add the
13273 :end-of-capability command parameter, used by pop3.el.
13274
36adf6ce
LMI
132752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13276
1ca0da0e
LMI
13277 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13278
fc00f69c
LMI
13279 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13280 for list)" (bug#6475).
13281
28fd8759 13282 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13283 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13284 an error (bug#6297).
13285
0dd8b6da
LMI
13286 * man.el (Man-reference-regexp): Allow matching possible
13287 word-wrapped references (bug#6289).
13288
ce1438d6
LMI
13289 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13290 for consistency with the other vc buffers (bug#6197).
13291 (vc-checkin): Ditto.
13292
13293 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13294
36adf6ce
LMI
13295 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13296
e83cc1f7
LMI
132972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13298
8a20ca4c
LMI
13299 * custom.el (defcustom): Clarify that :set is only used in the
13300 Customize user interface (bug#6089).
13301
83319045
LMI
13302 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13303 associated with a file, refuse to run instead of erroring out
13304 (bug#6084).
13305
a8392169
LMI
13306 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13307 the doc string, since it appears that using `fill-column' always
13308 controls the width (bug#7845).
13309
e83cc1f7
LMI
13310 * simple.el (shell-command-on-region): Say where the error output
13311 went if `shell-command-default-error-buffer' is set (bug#6857).
13312
e47ca23b
KM
133132011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13314
13315 * allout.el (allout-yank-processing): Adjust cursor position for
13316 backwards-deleted space.
13317
13318 (allout-rebullet-heading): Register changes with
13319 allout-exposure-changed-hook, so the modified topic is properly
13320 decorated.
13321
5cf56143
LMI
133222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13323
08549772
LMI
13324 * minibuffer.el (completion-in-region): Document PREDICATE
13325 (bug#7136).
13326
48e96771
LMI
13327 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13328 of keyword/argument pairs (bug#6904).
13329
c8af70e1
SM
13330 * replace.el (multi-occur):
13331 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13332
e17d05e2
LMI
133332011-07-02 Drew Adams <drew.adams@oracle.com>
13334
13335 * dired.el (dired-mark-if): Make the message about whether it's
13336 marking or unmarking clearer (bug#8523).
13337
063b0e45
LMI
133382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13339
13340 * disp-table.el (display-table-print-array): New function.
13341 (describe-display-table): Use it to print the vectors more pretty
13342 (Bug#8859).
13343
28545e04
MR
133442011-07-02 Martin Rudalics <rudalics@gmx.at>
13345
13346 * window.el (window-state-get-1): Don't assign clone numbers.
13347 Add clone-of item to list of window parameters.
13348 (window-state-put-2): Don't process clone numbers.
13349 (display-buffer-alist): Fix doc-string.
13350
3349e122
SM
133512011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * subr.el (remq): Don't allocate if it's not needed.
13354 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13355 (keymap--merge-bindings): New functions.
13356 (keymap-canonicalize): Use them to refine the canonicalization.
13357 * minibuffer.el (minibuffer-local-completion-map)
13358 (minibuffer-local-must-match-map): Move initialization from C.
13359 (minibuffer-local-filename-completion-map): Move initialization from C;
13360 don't inherit from anything here.
13361 (minibuffer-local-filename-must-match-map): Make obsolete.
13362 (completing-read-default): Use make-composed-keymap to combine
13363 minibuffer-local-filename-completion-map with either
13364 minibuffer-local-must-match-map or
13365 minibuffer-local-filename-completion-map.
13366
d224ac83
GM
133672011-07-01 Glenn Morris <rgm@gnu.org>
13368
3de63bf8
GM
13369 * type-break.el (type-break-time-sum): Use dolist.
13370
d224ac83
GM
13371 * textmodes/flyspell.el (flyspell-word-search-backward):
13372 Replace CL function.
13373
1a1e3f32
SM
133742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13375
fe3f64d5
SM
13376 * mouse.el (mouse--strip-first-event): New function.
13377 (function-key-map): Use it to map fringe clicks to normal clicks
13378 by default.
13379
eb604e34
SM
13380 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13381 (vc-bzr-revision-completion-table): Add support for annotate and date.
13382
1a1e3f32
SM
13383 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13384 inherit from parent.
13385
5bd35902
LMI
133862011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13387
ace6c69c 13388 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13389 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13390
191e2bed
LMI
13391 * dired.el (dired-mode): Fix up the doc string as suggested by
13392 Drew Adams (bug#8817).
13393
5bd35902
LMI
13394 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13395 cookie, since the manual says that it should be possible to add
13396 this function to `find-file-hook' (bug#8709).
13397
eee8207a
TZ
133982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13399
13400 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13401 here. Noted Ted Zlatanov as the maintainer.
13402 (cfengine-common-settings, cfengine-common-syntax): New functions
13403 to set up common things between `cfengine-mode' and
13404 `cfengine3-mode'.
13405 (cfengine3-mode): New mode.
13406 (cfengine3-defuns cfengine3-defuns-regex
13407 (cfengine3-class-selector-regex cfengine3-category-regex)
13408 (cfengine3-vartypes cfengine3-font-lock-keywords)
13409 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13410 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13411
36b148cf
MA
134122011-07-01 Michael Albinus <michael.albinus@gmx.de>
13413
13414 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13415
13416 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13417
0bf4ba9a
MR
134182011-07-01 Martin Rudalics <rudalics@gmx.at>
13419
13420 * window.el (same-window-buffer-names, same-window-regexps)
13421 (same-window-p, special-display-frame-alist)
13422 (special-display-popup-frame, special-display-function)
13423 (special-display-buffer-names, special-display-regexps)
13424 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13425 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13426 (split-window-preferred-function, split-height-threshold)
13427 (split-width-threshold, even-window-heights)
13428 (display-buffer-mark-dedicated, window-splittable-p)
13429 (split-window-sensibly, window-safely-shrinkable-p):
13430 Un-obsolete.
13431 (display-buffer): Don't spread args with function specifier
13432 because special-display-popup-frame won't like it.
13433
35837f51
PE
134342011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13435
d0672f86
PE
13436 Time-stamp simplifications and fixes.
13437 These improve accuracy slightly, and future-proof the code
13438 against some potential changes to current-time format.
13439
b9444d97
PE
13440 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13441 by using time-since and float-time.
13442
0ef923dc
PE
13443 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13444 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13445 + NNN microseconds".
13446
2f81380d
PE
13447 * type-break.el (type-break-time-sum): Rewrite using time-add.
13448
845b5c3e
PE
13449 * play/hanoi.el (hanoi-current-time-float): Remove.
13450 All uses replaced by float-time.
13451
ee6f1be0
PE
13452 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13453 This yields a more-accurate answer.
13454 (rng-time-to-float): Remove; no longer needed.
13455
fe955043
PE
13456 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13457
5777162a
PE
13458 * calendar/timeclock.el (timeclock-seconds-to-time):
13459 Defalias to seconds-to-time, since they're the same thing.
13460
3103f8b6 13461 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13462 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13463 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13464
0e61a35f
SM
134652011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13466
13467 * window.el (bury-buffer): Don't iconify the only frame.
13468 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13469 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13470
ddd63a1e
CY
134712011-07-01 Chong Yidong <cyd@stupidchicken.com>
13472
0e61a35f
SM
13473 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13474 Add mouse-yank-primary.
ddd63a1e 13475
055f4923
TZ
134762011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13477
13478 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13479
6a2fb145
SM
134802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13481
13482 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13483 (find-library-name): Use it to find relative load names when provided
13484 absolute file name (bug#8803).
13485
fd4983f2
LMI
134862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13487
887d14ad
LMI
13488 * textmodes/flyspell.el (flyspell-word): Consider words that
13489 differ only in case as potential doublons (bug#5687).
13490
c53dc7fc
LMI
13491 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13492 Remove two rather uninteresting debugging-like messages to make
13493 debbugs.el more silent.
13494
fd4983f2
LMI
13495 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13496 a password-like phrase.
13497
7a71b18d 134982011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13499
13500 * progmodes/cc-guess.el: New file.
13501
6a2fb145 13502 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13503
13504 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13505 derived from `c-basic-common-init'.
13506
13507 * progmodes/cc-mode.el (top-level): Require cc-guess.
13508 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13509
1fa280a3
LM
135102011-06-30 Lawrence Mitchell <wence@gmx.li>
13511
13512 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13513
e6597158
AM
135142011-06-30 Alan Mackenzie <acm@muc.de>
13515
1fa280a3
LM
13516 * progmodes/cc-engine.el (c-guess-continued-construct):
13517 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13518 lock is disabled. Name this case as "CASE G".
13519
68ba37fb
KM
135202011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13521
13522 * allout.el (allout-yank-processing): Fix injection of extra space
13523 between bullet and non-whitespace character in first topic when
13524 pasting, ensuring that the actual spacing in the pasted topic
13525 following the bullet char is preserved. This extra space was
13526 causing pasted encrypted topics to get a decrypted status even
13527 when the content was actually still encrypted. Now the decryption
13528 status from before the paste is preserved.
13529
13530 (allout-flag-region): Set all allout overlays so they evaporate
13531 when reduced to zero length (evanescent), to prevent overlay
13532 leakage.
13533
887a0b34
GM
135342011-06-30 Glenn Morris <rgm@gnu.org>
13535
94b9acce
GM
13536 * w32-fns.el (w32-charset-info-alist): Declare.
13537
1d9b46d4
GM
13538 * find-dired.el (find-grep-options): Simplify.
13539
cc232200
GM
13540 * term/ns-win.el (ns-set-resource): Declare.
13541
28e77c46
GM
13542 * ses.el (row, col): Declare dynamic variables honestly.
13543
887a0b34
GM
13544 * textmodes/reftex-parse.el (index-tags): Declare.
13545
658d8eb8
CY
135462011-06-30 Chong Yidong <cyd@stupidchicken.com>
13547
13548 * cus-edit.el (customize-push-and-save): New function.
13549
13550 * files.el (hack-local-variables-confirm): Use it.
13551
1fa280a3
LM
13552 * custom.el (load-theme): New arg NO-CONFIRM.
13553 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13554 (custom-enabled-themes): Doc fix.
13555
13556 * cus-theme.el (customize-create-theme)
13557 (custom-theme-merge-theme): Callers to load-theme changed.
13558
bb617717
LMI
135592011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13560
d61bdd5d
LMI
13561 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13562 short URLs have at least one dot in them (bug #7614).
13563
bb617717
LMI
13564 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13565 nil, because using a pty is apparently too slow (bug #895).
13566
2f31f37a
LMI
135672011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13568
13569 * mail/sendmail.el (sendmail-query-once): New function.
13570 (sendmail-query-once-function): New variable.
13571
3076b24e
GM
135722011-06-29 Glenn Morris <rgm@gnu.org>
13573
faf2a174
GM
13574 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13575
3076b24e
GM
13576 * ses.el (top-level): Require cl when compiling.
13577 (ses-set-localvars): Fix error statement.
13578 Call it at compile time to silence a storm of warnings.
13579
5386012d
MR
135802011-06-29 Martin Rudalics <rudalics@gmx.at>
13581
13582 * window.el (normalize-live-buffer): Rename to
13583 window-normalize-buffer.
13584 (normalize-live-frame): Rename to window-normalize-frame.
13585 (normalize-any-window): Rename to window-normalize-any-window.
13586 (normalize-live-window): Rename to window-normalize-live-window.
13587 (make-window-atom): Rename to window-make-atom.
13588 (window-resize-reset): Rename to window--resize-reset.
13589 (window-resize-reset-1): Rename to window--resize-reset-1.
13590 (resize-mini-window): Rename to window--resize-mini-window.
13591 (resize-subwindows-skip-p): Rename to
13592 window--resize-subwindows-skip-p.
13593 (resize-subwindows-normal): Rename to
13594 window--resize-subwindows-normal.
13595 (resize-subwindows): Rename to window--resize-subwindows.
13596 (resize-other-windows): Rename to window--resize-siblings.
13597 (resize-this-window): Rename to window--resize-this-window.
13598 (resize-root-window): Rename to window--resize-root-window.
13599 (resize-root-window-vertically): Rename to
13600 window--resize-root-window-vertically.
13601 (normalize-buffer-to-display): Rename to
13602 window-normalize-buffer-to-display.
13603 (normalize-buffer-to-switch-to): Rename to
13604 window-normalize-buffer-to-switch-to.
13605 Correspondingly update all callers of the functions listed
13606 above.
13607 (display-buffer-alist, display-buffer-normalize-arguments)
13608 (display-buffer-normalize-options, display-buffer)
13609 (display-buffer-alist-set): Use "function" instead of
13610 "fun-with-args".
13611
1176868d
CY
136122011-06-28 Chong Yidong <cyd@stupidchicken.com>
13613
13614 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13615 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13616 debbugs.gnu.org. Mention acknowledgment email.
13617
20a7a65f
LMI
136182011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13619
13620 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13621 buffer multibyteness, since it shouldn't matter.
13622
5f45cca5
MR
136232011-06-28 Martin Rudalics <rudalics@gmx.at>
13624
13625 * window.el (display-buffer-in-side-window): Handle dedicated
13626 windows as in display-buffer-reuse-window.
13627 (display-buffer-normalize-alist): Use value of override
13628 specifier.
13629 (display-buffer-normalize-specifiers): Use value of
13630 other-window-means-other-frame specifier.
13631 (display-buffer-alist): Rewrite some texts in widgets.
13632 (display-buffer): Spread arguments when calling function
13633 specified by fun-with-args.
13634
ad85fe1f
DD
136352011-06-28 Deniz Dogan <deniz@dogan.se>
13636
1fa280a3
LM
13637 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13638 Unnest `let'.
da68c4c8 13639
ad85fe1f
DD
13640 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13641 selectors (Bug#5732).
ec49bd31 13642 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13643
a08cc025
JA
136442011-06-27 Jari Aalto <jari.aalto@cante.net>
13645
13646 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13647 (eshell-ls-date-format): New defcustom.
13648 (eshell-ls-file): Use it.
13649
e2b551c5
SM
136502011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13653
8982b231
KY
136542011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13655
13656 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13657 (ange-ftp-make-tmp-name): New arg.
13658 (ange-ftp-file-local-copy): Use it.
13659
36c9fa27
J
136602011-06-27 Jambunathan K <kjambunathan@gmail.com>
13661
13662 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13663 no-conversion (Bug#8870).
13664
d68443dc
MR
136652011-06-27 Martin Rudalics <rudalics@gmx.at>
13666
13667 * window.el (window-right, window-left, window-child)
13668 (window-child-count, window-last-child)
13669 (window-iso-combination-p, walk-window-tree-1)
13670 (window-atom-check-1, window-tree-1, delete-window)
13671 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13672 new naming conventions - window-vchild, window-hchild,
13673 window-next and window-prev are now called window-top-child,
13674 window-left-child, window-next-sibling and window-prev-sibling
13675 respectively.
d615d6d2
MR
13676 (resize-window-reset): Rename to window-resize-reset.
13677 (resize-window-reset-1): Rename to window-resize-reset-1.
13678 (resize-window): Rename to window-resize.
13679 (window-min-height, window-min-width)
13680 (resize-mini-window, resize-this-window, resize-root-window)
13681 (resize-root-window-vertically, adjust-window-trailing-edge)
13682 (enlarge-window, shrink-window, maximize-window)
13683 (minimize-window, delete-window, quit-restore-window)
13684 (split-window, balance-windows, balance-windows-area-adjust)
13685 (balance-windows-area, window-state-put-2)
13686 (display-buffer-even-window-sizes, display-buffer-set-height)
13687 (display-buffer-set-width, set-window-text-height)
13688 (fit-window-to-buffer): Rename all "resize-window" prefixed
13689 calls to use the "window-resize" prefix convention.
13690 (display-buffer-alist): Fix symbol for label specifier.
13691 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13692 corresponding specifier.
13693 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13694
b6458526
VB
136952011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13696
13697 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13698 convention.
13699 (ses-call-printer): Does not pass an empty string to formatter when the
13700 cell is empty to keep from barking printer Calc math-format-value.
13701
d31fd9ac
RS
137022011-06-27 Richard Stallman <rms@gnu.org>
13703
43d5bf84
RS
13704 * battery.el (battery-mode-line-limit): New variable.
13705 (battery-update): Handle it.
13706
d31fd9ac
RS
13707 * mail/rmailmm.el (rmail-mime-process-multipart):
13708 Handle truncated messages.
13709
819a6054
GM
137102011-06-27 Glenn Morris <rgm@gnu.org>
13711
13712 * progmodes/flymake.el (flymake-err-line-patterns):
13713 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13714
cedc73f2
VB
137152011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13716
819a6054 13717 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13718 (ses--clean-!, ses--clean-_): New functions.
13719 (ses-range): Add configurability of readout order, and conversion
13720 to Calc vector.
13721
5e5d49b6
VB
13722 * ses.el (ses-repair-cell-reference-all): New function.
13723 (ses-cell-symbol): Set macro as safe, so that it can be used in
13724 formulas.
13725
56e6cc31 13726 * ses.el: Update cycle detection algorithm.
90ca8b49 13727 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13728 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13729 (ses-set-localvars): New function.
13730 (ses-make-cell): Add property-list as a cell element.
13731 (ses-cell-property-get-fun, ses-cell-property-get)
13732 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13733 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13734 New functions.
90ca8b49
VB
13735 (ses-cell-property-set, ses-cell-property-pop)
13736 (ses-cell-property-get-handle): New macro.
13737 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13738 New aliases, used for code readability.
13739 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13740 cycle detection.
13741 (ses-self-reference-early-detection): New defcustom.
fac916bf 13742 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13743 (ses-mode): Use ses-set-localvars.
13744 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13745 before lauching the update processing.
13746 (ses-initialize-Dijkstra-attempt): New function.
13747 (ses-recalculate-cell): Update for cycle detection based on
13748 Dijkstra algorithm.
13749
2bb63e81
VB
13750 * ses.el: Fix commenting and indenting convention.
13751
c9d29fb8
SM
137522011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * bs.el (bs-cycle-next): Complete last change.
13755
d8e4b68b
JB
137562011-06-27 Drew Adams <drew.adams@oracle.com>
13757
13758 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13759
40098786
LMI
137602011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13761
c9d29fb8
SM
13762 * net/network-stream.el (network-stream-open-starttls):
13763 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13764 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13765
40098786
LMI
13766 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13767 to binary to possibly avoid line encoding issues on Windows (among
13768 other things).
13769
468d09d4
LMI
137702011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13771
13772 * net/network-stream.el (open-network-stream): Return an :error
13773 saying what the problem was, if possible.
13774
13775 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13776 server.
13777
13778 * net/network-stream.el (network-stream-open-starttls): If we
13779 wanted to use STARTTLS, and the server offered it, but we weren't
13780 able to because we had no STARTTLS support, then close the connection.
13781 (open-network-stream): Return an :error element, if present.
13782
16f07dd7
CY
137832011-06-26 Chong Yidong <cyd@stupidchicken.com>
13784
88821ca0
CY
13785 * hl-line.el (hl-line-sticky-flag): Doc fix.
13786 (global-hl-line-sticky-flag): New option (Bug#8323).
13787 (global-hl-line-highlight): Obey it.
13788
16f07dd7
CY
13789 * vc/vc.el (vc-revert-show-diff): Default to t.
13790
6b5ccddf
KM
137912011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13792
c9d29fb8
SM
13793 * allout-widgets.el (allout-widgets-post-command-business):
13794 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13795 undecorated when an isearch is continued past, and isearch
13796 automatically collapses them. This leads to "widget leaks", where
13797 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13798 hidden widgets can slow down cursor travel, substantially.
13799 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13800 so we're doing without this nicety.
13801
13802 (allout-widgets-tally-string): Don't try to do a hash-table-count
13803 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13804 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13805 *Messages* when allout-widgets-maintain-tally is t.
13806
355f2e07
MR
138072011-06-26 Martin Rudalics <rudalics@gmx.at>
13808
13809 * window.el (display-buffer-normalize-argument): Rename to
13810 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13811 LABEL argument. Respect special-display-function when popping up
13812 a new frame. Fix code searching for a window showing the buffer
13813 on another frame.
c9d29fb8
SM
13814 (display-buffer-normalize-specifiers):
13815 Call display-buffer-normalize-arguments.
355f2e07
MR
13816 (display-buffer-in-window): Don't undedicate the window if its
13817 buffer remains the same.
13818 Reported by Drew Adams <drew.adams@oracle.com>.
13819 (display-buffer-alist): Add choice for same-window macro
13820 specfier.
13821 (display-buffer): Mention special meaning of LABEL argument in
13822 doc-string. Fix quoting. Don't pop up a new frame even as
13823 fallback.
13824
7ca8fc42
JB
138252011-06-26 Juanma Barranquero <lekktu@gmail.com>
13826
13827 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13828 avoid deleting the current window in some cases (bug#8911).
13829
bc312254
AS
138302011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13831
13832 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13833 (Bug#8934)
13834
2db18f3f
LMI
138352011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13836
c9d29fb8
SM
13837 * net/network-stream.el (network-stream-open-starttls):
13838 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13839 (network-stream-open-tls): Ditto.
13840
6302e0d3
LL
138412011-06-26 Leo Liu <sdl.web@gmail.com>
13842
13843 * register.el (registerv): New struct.
13844 (registerv-make): New function.
c9d29fb8
SM
13845 (jump-to-register, describe-register-1, insert-register):
13846 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13847 struct. (Bug#8415)
13848
5fdd4046
CY
138492011-06-26 Chong Yidong <cyd@stupidchicken.com>
13850
2afef60a
CY
13851 * vc/vc.el (vc-revert-show-diff): New defcustom.
13852 (vc-diff-internal): New arg specifying diff buffer.
13853 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13854 reuse an existing *vc-diff* buffer (Bug#8927).
13855
5fdd4046
CY
13856 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13857
e93db24a
GM
138582011-06-26 Glenn Morris <rgm@gnu.org>
13859
13860 * progmodes/f90.el (f90-critical-indent): New option.
13861 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13862 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13863 (f90-mode): Doc fix.
13864 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13865 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13866 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13867 (f90-match-end): Handle block, critical.
13868
eefff499
GM
138692011-06-25 Glenn Morris <rgm@gnu.org>
13870
f6ba4cc9
GM
13871 * calendar/diary-lib.el (diary-included-files): Doc fix.
13872 (diary-include-files): New function, extracted from
13873 diary-include-other-diary-files and diary-mark-included-diary-files.
13874 (diary-include-other-diary-files, diary-mark-included-diary-files):
13875 Just call diary-include-files.
13876 (diary-mark-entries): Reset diary-included-files on first call.
13877
16712304
GM
13878 * calendar/diary-lib.el (diary-mark-entries)
13879 (diary-mark-included-diary-files):
13880 Visit included diary-files in temp buffers.
13881
5d8e0d43
GM
13882 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13883 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13884 (f90-start-block-re, f90-imenu-generic-expression)
13885 (f90-looking-at-program-block-start, f90-no-block-limit):
13886 Add support for submodules.
13887
ccf7a5d5
GM
13888 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13889 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13890
11fdef7d 138912011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13892
13893 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13894 buffer-file-type before setting its value, to avoid disastrous
eefff499 13895 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13896
74f53697
JB
138972011-06-25 Juanma Barranquero <lekktu@gmail.com>
13898
13899 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13900
13901 * ses.el (ses-unload-function):
13902 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13903
13904 * proced.el (proced-unload-function):
13905 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13906
18a4ce5e
AR
139072011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13908
13909 * server.el (server-create-window-system-frame): Add parameters arg.
13910 (server-process-filter): Doc fix. Handle frame-parameters.
13911
519d22cc
JB
139122011-06-25 Juanma Barranquero <lekktu@gmail.com>
13913
13914 Fix bug#8730, bug#8781.
13915
13916 * loadhist.el (unload--set-major-mode): New function.
13917 (unload-feature): Use it.
13918
13919 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13920 (python-unload-function): New function.
13921
c206f5b0
SM
139222011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13925
f9ad64f3
GS
139262011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13927
13928 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13929 the candidates list.
13930
7d0da90e
JB
139312011-06-24 Juanma Barranquero <lekktu@gmail.com>
13932
13933 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13934
14b4e83d
RS
139352011-06-23 Richard Stallman <rms@gnu.org>
13936
13937 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13938 (rmail-variables): Set next-error-move-function.
13939 (rmail-what-message): Take argument POS.
13940 (rmail-next-error-move): New function.
13941
273d2baf
SM
139422011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13945 messages for adjacent non-terminals.
13946
56c2cc9a
RS
139472011-06-23 Richard Stallman <rms@gnu.org>
13948
13949 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13950 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13951 (rmail-start-mail): Don't specify use of rmail-mail-return;
13952 that's done by mail-bury now.
13953 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13954
d59eb518
MA
139552011-06-23 Michael Albinus <michael.albinus@gmx.de>
13956
13957 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13958 SIZE is a number.
13959
02cfc6d6
MR
139602011-06-23 Martin Rudalics <rudalics@gmx.at>
13961
13962 * window.el (get-lru-window, get-mru-window)
13963 (get-largest-window): Never return a minibuffer window.
13964 (display-buffer-pop-up-window): Fix a bug that could lead to
13965 reusing the minibuffer window.
13966 (display-buffer): Pass original specifier argument to
13967 display-buffer-function instead of the normalized one.
13968 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13969
4e323265
LL
139702011-06-22 Leo Liu <sdl.web@gmail.com>
13971
13972 * minibuffer.el (completing-read-function)
13973 (completing-read-default): Move from minibuf.c
13974
7a70468f
RS
139752011-06-22 Richard Stallman <rms@gnu.org>
13976
50718fc2
RS
13977 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13978 to Rmail even if not started by a special Rmail command.
13979
7a70468f
RS
13980 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13981 Copy the buffer currently showing just one message.
13982
297dde5a
RW
139832011-06-22 Roland Winkler <winkler@gnu.org>
13984
13985 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13986 (bibtex-clean-entry): First delete the old key so that a
13987 customized algorithm for generating the new key does not get
13988 confused by the old key.
13989 (bibtex-url): Obey regexp of first step.
13990 (bibtex-search-entries): Do not use add-to-list with local
13991 list-var.
13992
97bb1093
LMI
139932011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13994
13995 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13996 stored a user name, then query for the password first, instead of
13997 waiting for SMTP to give an error message and the trying again.
13998
1c0f1a19
JD
139992011-06-22 Lawrence Mitchell <wence@gmx.li>
14000
14001 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14002 BUFFER in call-process.
14003
396f7c9d
LMI
140042011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14005
14006 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14007 QUIT twice.
ddb7ffee
LMI
14008 (smtpmail-try-auth-methods): Require user name and password from
14009 auth-source.
396f7c9d 14010
8998d1b3
MR
140112011-06-22 Martin Rudalics <rudalics@gmx.at>
14012
14013 * window.el (display-buffer-default-specifiers)
14014 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14015 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14016 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14017
14018 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14019 (special-display-frame-alist, special-display-popup-frame):
14020 Remove duplicate declarations. These are now in window.el.
14021
4ea31e07
LMI
140222011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14023
c9d29fb8
SM
14024 * mail/smtpmail.el (smtpmail-via-smtp):
14025 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14026 server supports it. SMTP servers that support STARTTLS commonly
14027 require it.
14028
14029 * net/network-stream.el (network-stream-open-starttls): Support
14030 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14031 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14032
95f41d9a
LMI
14033 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14034 upgrades with `open-network-stream', and rely solely on
14035 auth-source for all credentials. Big changes throughout the file,
14036 but in particular:
c9d29fb8
SM
14037 (smtpmail-auth-credentials): Remove.
14038 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14039 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14040 MAIL FROM, too.
95f41d9a 14041
c9d29fb8
SM
14042 * net/network-stream.el (network-stream-open-starttls):
14043 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14044 STARTTLS.
14045 (auth-source): Require.
14046 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14047 (network-stream-certificate): Change cert-cert to cert and
14048 cert-key to key.
4ea31e07 14049
065ec2c7
MA
140502011-06-21 Michael Albinus <michael.albinus@gmx.de>
14051
14052 * net/tramp-cache.el (top): Don't load the persistency file when
14053 "emacs -Q" has been called.
14054
cd93b359
DR
140552011-06-21 Tim Harper <timcharper@gmail.com>
14056
d8e4b68b
JB
14057 * term/ns-win.el (ns-initialize-window-system):
14058 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14059 resource to NO as it is not yet supported by the NS port.
14060
ae9c0411
JB
140612011-06-21 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14064 (list-dynamic-libraries): ...not here.
14065
7f3f739f
LL
140662011-06-21 Leo Liu <sdl.web@gmail.com>
14067
14068 * subr.el (sha1): Implement sha1 using secure-hash.
14069
327c8fb1
MR
140702011-06-21 Martin Rudalics <rudalics@gmx.at>
14071
14072 * window.el (display-buffer-alist): In default value do not
14073 enforce searching a window on any but the selected frame.
14074 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14075 (display-buffer-select-window): Remove function.
14076 (display-buffer-in-window): When a window on another frame gets
14077 reused, do not select it any more but just raise its frame if
14078 necessary (Bug#8851) and (Bug#8856).
14079 (display-buffer-normalize-options): Handle pop-up-frames related
14080 options more faithfully.
14081 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14082 window if it is on another frame.
c9d29fb8
SM
14083 (display-buffer-alist, display-buffer-default-specifiers):
14084 Don't make new frame unsplittable by default.
9e9de014
MR
14085 (display-buffer-normalize-argument): Fix doc-string typo and use
14086 'same-frame-other-window instead of 'other-window when associating
14087 with display-buffer-macro-specifiers.
327c8fb1 14088
7cf3f556
VB
140892011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14090
14091 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14092 New functions.
14093 (5x5-mode-map, 5x5-mode-menu): Bind them.
14094 (5x5-draw-grid): Tweak the solver's rendering.
14095
60a406cf
SM
140962011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14097
14098 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14099 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14100
d8e4b68b 141012011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14102
14103 * menu-bar.el: Use function variable instead of switch-to-buffer.
14104 (menu-bar-select-buffer-function): New variable.
60a406cf 14105 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14106
478d6f95
SM
141072011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14108
14109 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14110 variable's status.
14111
ca530739
JD
141122011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14113
14114 * x-dnd.el (x-dnd-version-from-flags)
14115 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14116 and long as number (Bug#8899).
14117 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14118
bcd70d97
SM
141192011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14120
60a406cf 14121 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14122 (completion-try-completion, completion-all-completions): Compute the
14123 metadata argument if it's missing; make it optional (bug#8795).
14124
60a406cf 14125 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14126 (widget-complete): Use new :completion-function property.
14127 (widget-completions-at-point): New function.
14128 (default): Use :completion-function instead of :complete.
60a406cf
SM
14129 (widget-default-completions): Rename from widget-default-complete;
14130 Rewrite.
bcd70d97
SM
14131 (widget-string-complete, widget-file-complete, widget-color-complete):
14132 Remove functions.
14133 (file, symbol, function, variable, coding-system, color):
14134 * international/mule-cmds.el (default-input-method, charset)
14135 (language-info-custom-alist):
14136 * cus-edit.el (face): Use new property :completions.
14137
14138 * progmodes/pascal.el (pascal-completions-at-point): New function.
14139 (pascal-mode): Use it.
14140 (pascal-mode-map): Use completion-at-point.
14141 (pascal-toggle-completions): Make obsolete.
14142 (pascal-complete-word, pascal-show-completions):
14143 * progmodes/octave-mod.el (octave-complete-symbol):
14144 Redefine as obsolete alias.
14145 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14146 Signal absence of completion info for old Octave,
14147 (inferior-octave-complete): Redefine as obsolete alias.
14148 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14149 (meta-completions-at-point): Rename from meta-complete-symbol and
14150 adapt it for use on completion-at-point-functions.
14151 (meta-common-mode): Use it.
14152 (meta-looking-at-backward, meta-match-buffer): Remove.
14153 (meta-complete-symbol): Redefine as obsolete alias.
14154 (meta-common-mode-map): Use completion-at-point.
14155 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14156 (makefile-mode-map): Use completion-at-point.
14157 (makefile-completions-at-point): Rename from makefile-complete and
14158 adapt it for use on completion-at-point-functions.
14159 (makefile-mode): Use it.
14160 (makefile-complete): Redefine as obsolete alias.
14161
aebf69c8
DD
141622011-06-20 Deniz Dogan <deniz@dogan.se>
14163
14164 * net/rcirc.el: Delete trailing whitespaces once and for all.
14165
bfbbb27d
DC
141662011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14167
14168 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14169
d264a46b
CY
141702011-06-19 Chong Yidong <cyd@stupidchicken.com>
14171
4ca009e5
CY
14172 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14173
d264a46b
CY
14174 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14175
fbf5b3ce
MR
141762011-06-19 Martin Rudalics <rudalics@gmx.at>
14177
14178 * window.el (display-buffer-other-window-means-other-frame):
14179 Call display-buffer-normalize-alist.
14180 (display-buffer-normalize-specifiers-1): Rename to
14181 display-buffer-normalize-argument. New argument other-frame.
14182 Rewrite.
14183 (display-buffer-normalize-specifiers-2): Rename to
14184 display-buffer-normalize-options.
14185 (display-buffer-normalize-alist-1): New function.
14186 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14187 display-buffer-normalize-alist.
14188 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14189 (display-buffer-normalize-options-inhibit): New variable.
14190 (display-buffer-normalize-specifiers): Rewrite calling
14191 display-buffer-normalize-alist,
14192 display-buffer-normalize-argument, and
14193 display-buffer-normalize-options. Don't call the latter if
14194 display-buffer-normalize-options-inhibit is non-nil.
14195 (frame-auto-delete): New option.
14196 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14197 (window-list-no-nils, window-state-ignored-parameters)
14198 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14199 (window-state-put-1, window-state-put-2, window-state-put):
14200 New functions.
9a028c23
MR
14201 (display-buffer-normalize-options): Move special-display-p group
14202 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14203
6d10d800
CY
142042011-06-18 Chong Yidong <cyd@stupidchicken.com>
14205
6420d28b
CY
14206 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14207 groups (Bug#8776).
14208 (rx-submatch-n): New function.
14209 (rx): Document it.
14210
ddb8b596
CY
14211 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14212 (Bug#8768).
14213
14214 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14215
77080289
CY
14216 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14217
61dfb316
CY
14218 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14219 anytime existing face settings are present (Bug#8889).
14220
6d10d800
CY
14221 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14222 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14223 Remove unused argument.
14224
be3fb2b8
MR
142252011-06-18 Martin Rudalics <rudalics@gmx.at>
14226
bcd70d97
SM
14227 * window.el (display-buffer-default-specifiers):
14228 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14229 pop-up-window-min-width, and another reuse-window specifier
14230 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14231 (display-buffer-normalize-specifiers-2):
14232 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14233 pop-up-windows is unset. Add a reuse-window specifier for the
14234 case popping up a new window fails.
14235 (special-display-popup-frame): Remove double quoting.
28dec25a 14236 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14237
1c6d8c76
SM
142382011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14239
14240 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14241 according to comint-completion-addsuffix.
14242
14243 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14244 (pcomplete-suffix-list): Mark as obsolete.
14245 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14246 pcomplete-seen in the closure.
14247 (pcomplete-comint-setup): Setup completion-at-point as well.
14248 (pcomplete--entries): New function.
14249 (pcomplete--env-regexp): New var.
14250 (pcomplete-entries): Rewrite to work with partial-completion and
14251 without relying on pcomplete-suffix-list.
14252 (pcomplete-pare-list): Remove, unused.
14253
25aef8b8
MR
142542011-06-17 Martin Rudalics <rudalics@gmx.at>
14255
14256 * window.el (display-buffer-alist): Set pop-up-window-min-height
14257 and pop-up-window-min-width in default value. Reported by
14258 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14259 other-window-means-other-frame.
14260 (display-buffer-macro-specifiers): Comment out entry for
14261 other-window specifier.
14262 (display-buffer-other-window-means-other-frame): New function.
14263 (display-buffer-normalize-specifiers-1): New arguments
14264 buffer-name and label. Treat other-window case specially.
14265 (display-buffer-normalize-specifiers-2): Treat other-window case
14266 specially.
14267 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14268 (display-buffer-normalize-specifiers):
14269 Call display-buffer-normalize-specifiers-3.
25aef8b8 14270
dbad4f69
MR
142712011-06-17 Martin Rudalics <rudalics@gmx.at>
14272
14273 * window.el (same-window-p): Fix two typos introduced when
14274 adding with-no-warnings.
d1067961
MR
14275 (display-buffer-normalize-specifiers-1): Don't check
14276 pop-up-frames for 'unset initialization.
14277 (display-buffer-normalize-specifiers-2): Major rewrite using
14278 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14279 (pop-up-frames, display-buffer-reuse-frames)
14280 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14281 Suggested by David Engster <deng@randomsample.de>.
14282 (even-window-heights): Initialize to 'unset.
14283 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14284 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14285 other window case.
dbad4f69 14286
9b9c9e3a
MR
142872011-06-16 Martin Rudalics <rudalics@gmx.at>
14288
bcd70d97
SM
14289 * window.el (display-buffer-normalize-specifiers-1):
14290 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14291 second argument of display-buffer (Bug#8865).
981d5c09
MR
14292 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14293 (switch-to-buffer-other-window-same-frame)
14294 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14295 Adams (Bug#8875).
9c2755e9
MR
14296 (display-buffer): Don't check noninteractive when calling
14297 display-buffer-pop-up-frame.
14298 (display-buffer-pop-up-frame): Never pop up a frame in
14299 noninteractive mode (Bug#8857).
67222e1d
MR
14300 (enlarge-window, shrink-window): Don't report an error when the
14301 window can't be resized as requested (Bug#8862).
9b9c9e3a 14302
2b75be67
SM
143032011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14304
9ffdd3ba
SM
14305 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14306
cb581a67
SM
14307 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14308
2b75be67
SM
14309 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14310
8c0e3589
AM
143112011-06-15 Alan Mackenzie <acm@muc.de>
14312
cb581a67
SM
14313 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14314 for declarators, disable knr checking to speed up for normal files.
14315 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14316
b96e6cde
LMI
143172011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14318
4bba86e6
LMI
14319 * net/network-stream.el (open-network-stream): Add the keyword
14320 :always-query-capabilities for the case where you want to force a
14321 `plain' network connection, but the protocol still requires the
14322 capabilitiy command (i.e., SMTP and EHLO).
14323
2b75be67 14324 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14325 consistency with other `-live-p' functions.
14326
efdcdbf8
SM
143272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * window.el (same-window-buffer-names, same-window-regexps)
14330 (special-display-frame-alist, special-display-popup-frame)
14331 (special-display-function, special-display-buffer-names)
14332 (special-display-regexps, pop-up-frame-alist)
14333 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14334 (pop-up-windows, split-window-preferred-function)
14335 (split-height-threshold, split-width-threshold, even-window-heights)
14336 (display-buffer-mark-dedicated): Don't encourage the use of
14337 display-buffer-alist from Elisp code.
14338
c5cde042
DN
143392011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14340
14341 * progmodes/python.el (python-mode): Derive from prog-mode.
14342 * progmodes/ps-mode.el (ps-mode):
14343 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14344 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14345 * progmodes/ld-script.el (ld-script-mode): Likewise.
14346
baa1c9ab
MR
143472011-06-15 Martin Rudalics <rudalics@gmx.at>
14348
14349 * window.el (display-buffer-alist): Trim default value to avoid
14350 popping up a new frame (Bug#8857) or reusing an arbitrary window
14351 on another frame.
14352 (display-buffer): Do not fall back on popping up a new frame in
14353 batch mode (Bug#8857).
14354
c5dd5a51
CY
143552011-06-14 Chong Yidong <cyd@stupidchicken.com>
14356
14357 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14358 (custom-theme-summary): New function.
14359 (customize-themes): Use it.
14360
d647b7c4
GM
143612011-06-13 Glenn Morris <rgm@gnu.org>
14362
14363 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14364
9481c002
MR
143652011-06-13 Martin Rudalics <rudalics@gmx.at>
14366
357f93d2
MR
14367 * help.el (help-window): Remove variable.
14368 (help-window-point-marker, temp-buffer-max-height)
14369 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14370 (help-print-return-message): Don't set help-window.
14371 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14372 (help-window-setup-finish): Remove.
14373 (help-window-display-message, help-window-setup)
14374 (with-help-window): Major rewrite based on new
14375 display-buffer-window variable.
14376
14377 * help-mode.el (help-mode-finish): Remove help-window related
14378 code.
14379
14380 * view.el (view-exits-all-viewing-windows): Remove reference to
14381 view-return-to-alist in doc-string.
14382 (view-return-to-alist): Make obsolete.
14383 (view-buffer): Call pop-to-buffer-same-window and remove
14384 undo-window code.
14385 (view-buffer-other-window): Call pop-to-buffer-other-window and
14386 simplify code. Ignore second argument.
14387 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14388 simplify code. Ignore second argument.
14389 (view-return-to-alist-update): Make obsolete.
14390 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14391 Rewrite using quit-restore window parameters.
2b75be67
SM
14392 (view-mode-exit): Rename second argument to EXIT-ONLY.
14393 Rewrite using quit-restore-window.
357f93d2
MR
14394 (View-exit, View-exit-and-edit, View-leave, View-quit)
14395 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14396 appropriate arguments.
14397 (view-end-message): Use quit-restore window parameter.
14398
9481c002
MR
14399 * window.el (display-buffer-function): Rewrite doc-string.
14400 (display-buffer-window, display-buffer-alist): New variables.
14401 (display-buffer-split-specifiers)
14402 (display-buffer-side-specifiers)
14403 (display-buffer-macro-specifiers): New constants.
14404 (display-buffer-even-window-sizes, display-buffer-set-height)
14405 (display-buffer-set-width, display-buffer-select-window)
14406 (display-buffer-in-window, display-buffer-reuse-window)
14407 (display-buffer-split-window-1, display-buffer-split-window)
14408 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14409 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14410 (display-buffer-in-side-window, normalize-buffer-to-display)
14411 (display-buffer-normalize-specifiers-1)
14412 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14413 (display-buffer-normalize-specifiers, display-buffer-frame):
14414 New functions.
9481c002
MR
14415 (display-buffer): Major rewrite.
14416 (display-buffer-other-window, display-buffer-other-frame)
14417 (pop-to-buffer, switch-to-buffer-other-window)
14418 (switch-to-buffer-other-frame): Rewrite.
14419 (display-buffer-same-window, display-buffer-same-frame)
14420 (display-buffer-same-frame-other-window)
14421 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14422 (pop-to-buffer-other-window)
14423 (pop-to-buffer-same-frame-other-window)
14424 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14425 (switch-to-buffer-other-window-same-frame): New functions.
14426 (same-window-p, special-display-p): Rewrite disabling warnings.
14427 Make obsolete.
14428 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14429 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14430 Make obsolete
14431 (same-window-buffer-names, same-window-regexps)
14432 (special-display-frame-alist, special-display-popup-frame)
14433 (special-display-function, special-display-buffer-names)
14434 (special-display-regexps, pop-up-frame-alist)
14435 (pop-up-frame-function, split-window-preferred-function)
14436 (split-height-threshold, split-width-threshold)
14437 (even-window-heights): Make obsolete.
14438
9db51aca
GM
144392011-06-12 Glenn Morris <rgm@gnu.org>
14440
14441 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14442 Misc simplifications.
9db51aca 14443
39cffb44
MR
144442011-06-12 Martin Rudalics <rudalics@gmx.at>
14445
14446 * window.el (window-safely-shrinkable-p): Restore function which
14447 was inadvertently removed in change from 2011-06-11. Declare as
14448 obsolete.
14449
2b75be67
SM
14450 * calendar/calendar.el (calendar-generate-window):
14451 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14452 window-safely-shrinkable-p.
14453
a8955be7
GM
144542011-06-12 Glenn Morris <rgm@gnu.org>
14455
14456 * progmodes/fortran.el (fortran-mode-syntax-table):
14457 * progmodes/f90.el (f90-mode-syntax-table):
14458 Set % to punctuation. (Bug#8820)
14459 (f90-find-tag-default): Remove, no longer needed.
14460
f0d4059d
DC
144612011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14462
14463 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14464
1100a63c
CY
144652011-06-11 Chong Yidong <cyd@stupidchicken.com>
14466
14467 * image.el (image-animated-p): Return animation delay in seconds.
14468 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14469 (image-animate-timeout): Remove DELAY argument. Don't assume
14470 every subimage has the same delay; get it from image-animated-p.
14471 (image-animate): Caller changed.
14472
def722bf
MA
144732011-06-11 Michael Albinus <michael.albinus@gmx.de>
14474
14475 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14476 to ignored backtrace functions.
14477
0a2bb1a9
GM
144782011-06-11 Glenn Morris <rgm@gnu.org>
14479
14480 * calendar/appt.el (appt-disp-window-function): Doc fix.
14481 (appt-check): Handle overlapping appointments. (Bug#8337)
14482
6198ccd0
MR
144832011-06-11 Martin Rudalics <rudalics@gmx.at>
14484
14485 * window.el (window-tree-1, window-tree): New functions, moving
14486 the latter to window.el.
14487 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14488 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14489 (bw-refresh-edges): Remove.
14490 (balance-windows-1, balance-windows-2): New functions.
14491 (balance-windows): Rewrite in terms of window tree functions,
14492 balance-windows-1 and balance-windows-2.
14493 (bw-adjust-window): Remove.
14494 (balance-windows-area-adjust): New function with functionality of
14495 bw-adjust-window but using resize-window.
2b75be67
SM
14496 (set-window-text-height): Rewrite doc-string.
14497 Use normalize-live-window and resize-window.
14498 (enlarge-window-horizontally, shrink-window-horizontally):
14499 Rename argument to DELTA.
6198ccd0
MR
14500 (window-buffer-height): New function.
14501 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14502 Rewrite using new window resize routines.
2b75be67
SM
14503 (kill-buffer-and-window, mouse-autoselect-window-select):
14504 Use ignore-errors instead of condition-case.
6198ccd0
MR
14505 (quit-window): Call delete-frame instead of delete-windows-on
14506 for the only buffer on frame.
14507
9397e56f
MR
145082011-06-10 Martin Rudalics <rudalics@gmx.at>
14509
14510 * loadup.el (top-level): Load window before files for the sake
14511 of replace-buffer-in-windows.
14512
14513 * files.el (read-buffer-to-switch)
14514 (switch-to-buffer-other-window)
2b75be67
SM
14515 (switch-to-buffer-other-frame, display-buffer-other-frame):
14516 Move to window.el.
9397e56f
MR
14517
14518 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14519 (previous-buffer): Move to window.el.
14520
14521 * bindings.el (unbury-buffer): Move to window.el.
14522
14523 * window.el (delete-other-windows-vertically): Move after
14524 definition of delete-other-windows.
14525 (other-window, delete-windows-on, replace-buffer-in-windows):
14526 Move here from window.c.
14527 (record-window-buffer, unrecord-window-buffer)
14528 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14529 (switch-to-next-buffer): New functions.
14530 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14531 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14532 (previous-buffer): Move here from simple.el.
14533 Call switch-to-prev-buffer.
9397e56f
MR
14534 (bury-buffer): Move here from buffer.c. Switch to previous
14535 buffer when window cannot be deleted.
14536 (unbury-buffer): Move here from bindings.el.
14537 (ctl-x-map): Move binding for other-window from window.c to
14538 here.
14539 (read-buffer-to-switch, switch-to-buffer-other-window)
14540 (switch-to-buffer-other-frame): Move here from files.el.
14541 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14542 (switch-to-buffer): Move here from buffer.c.
14543 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14544
562dd5e9
MR
145452011-06-10 Martin Rudalics <rudalics@gmx.at>
14546
14547 * window.el (window-min-height, window-min-width): Move here
14548 from window.c. Add defcustoms and rewrite doc-strings.
14549 (resize-mini-window, resize-window): New functions.
14550 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14551 Move here from window.c.
14552 (maximize-window, minimize-window): New functions.
14553 (delete-window, delete-other-windows, split-window): Move here
14554 from window.c.
14555 (window-split-min-size): New function.
14556 (split-window-keep-point): Mention split-window-above-each-other
14557 instead of split-window-vertically.
2b75be67 14558 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14559 Rename split-window-vertically to split-window-above-each-other
14560 and provide defalias for old definition.
14561 (split-window-side-by-side, split-window-horizontally):
14562 Rename split-window-horizontally to split-window-side-by-side
14563 and provide defalias for the old definition.
562dd5e9
MR
14564 (ctl-x-map): Move bindings for delete-window,
14565 delete-other-windows and enlarge-window here from window.c.
14566 Replace bindings for split-window-vertically and
14567 split-window-horizontally by bindings for
14568 split-window-above-each-other and split-window-side-by-side.
14569
14570 * cus-start.el (all): Remove entries for window-min-height and
14571 window-min-width. Add entries for window-splits and
14572 window-nest.
14573
f0da764a
GM
145742011-06-09 Glenn Morris <rgm@gnu.org>
14575
80675c21
GM
14576 * calendar/appt.el (appt-mode-line): New function.
14577 (appt-check, appt-disp-window): Use it.
14578
f0da764a
GM
14579 * files.el (hack-one-local-variable-eval-safep):
14580 Allow minor-modes with explicit +/-1 arguments.
14581
59f623b7
TZ
145822011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14583
14584 * term/xterm.el (xterm): Add defgroup.
14585 (xterm-extra-capabilities): Add defcustom to supply known xterm
14586 capabilities, skip querying them, or query them (default).
14587 (terminal-init-xterm): Use it.
14588 (terminal-init-xterm-modify-other-keys): New function to set up
14589 modifyOtherKeys support to simplify `terminal-init-xterm'.
14590
9aab8e0d
MR
145912011-06-09 Martin Rudalics <rudalics@gmx.at>
14592
14593 * window.el (resize-window-reset, resize-window-reset-1)
14594 (resize-subwindows-skip-p, resize-subwindows-normal)
14595 (resize-subwindows, resize-other-windows, resize-this-window)
14596 (resize-root-window, resize-root-window-vertically)
14597 (window-deletable-p, window-or-subwindow-p)
14598 (frame-root-window-p): New functions.
14599
e8b08aee
GM
146002011-06-09 Glenn Morris <rgm@gnu.org>
14601
14602 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14603 (ange-ftp-get-files): Use it.
14604
254c37a5
AK
146052011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14606
14607 * mail/sendmail.el (mail-recover-1, mail-recover):
14608 * files.el (recover-file, recover-session):
14609 Handle dired-listing-switches not being just a single short option.
14610
35d7dbd3
GM
146112011-06-09 Glenn Morris <rgm@gnu.org>
14612
14613 * calendar/appt.el (appt-display-message, appt-disp-window):
14614 Handle lists of appointments.
14615
387522b2
MR
146162011-06-08 Martin Rudalics <rudalics@gmx.at>
14617
2b75be67
SM
14618 * window.el (one-window-p): Move down in code.
14619 Rewrite doc-string.
14620 (window-current-scroll-bars): Rewrite doc-string.
14621 Normalize live window argument.
387522b2
MR
14622 (walk-windows, get-window-with-predicate, count-windows):
14623 Rewrite doc-string. Use window-list-1.
14624 (window-in-direction-2, window-in-direction, get-mru-window):
14625 New functions.
14626
d8e4b68b 146272011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14628
14629 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14630 Doc fix (Bug#8713).
14631
146322011-06-08 Chong Yidong <cyd@stupidchicken.com>
14633
14634 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14635
146362011-06-08 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * loadhist.el (unload-feature-special-hooks):
14639 Add `comint-output-filter-functions'.
14640
0de12c52
IK
146412011-06-08 Ivan Kanis <gnu@kanis.fr>
14642
14643 * calendar/appt.el (appt-check): Move some initializations into the let.
14644
f3d1777e
MR
146452011-06-08 Martin Rudalics <rudalics@gmx.at>
14646
14647 * window.el (window-height): Defalias to window-total-height.
14648 (window-width): Defalias to window-body-width.
14649
18af70d0
CY
146502011-06-07 Chong Yidong <cyd@stupidchicken.com>
14651
14652 * image-mode.el (image-toggle-animation): New command.
14653 (image-mode-map): Bind it to RET.
14654 (image-mode): Update message.
14655 (image-toggle-display-image): Avoid a spurious cache flush.
14656 (image-transform-rotation): Doc fix.
14657 (image-transform-properties): Return quickly in the normal case.
14658 (image-animate-loop): Rename from image-animate-max-time.
14659
2b75be67 14660 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14661 (create-animated-image): Remove unnecessary function.
14662 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14663 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14664 (image-animate-timer): Use car-safe.
14665 (image-animate-timeout): Rename argument.
14666
190b47e6
MR
146672011-06-07 Martin Rudalics <rudalics@gmx.at>
14668
14669 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14670 window.c. Rename first argument to ALL-FRAMES.
14671 Rephrase doc-strings.
14672 (get-buffer-window-list): Rewrite using window-list-1.
14673 Rephrase doc-string.
a1511caf
MR
14674 (window-safe-min-height, window-safe-min-width): New constants.
14675 (window-size-ignore, window-min-size, window-min-size-1)
14676 (window-sizable, window-sizable-p, window-size-fixed-1)
14677 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14678 (window-max-delta-1, window-max-delta, window-resizable)
14679 (window-resizable-p, window-total-height, window-total-width)
14680 (window-body-width): New functions.
14681 (window-full-height-p, window-full-width-p): Rewrite using
14682 window-total-size.
14683 (window-body-height): Rewrite using window-body-size.
190b47e6 14684
85cc1f11
MR
146852011-06-06 Martin Rudalics <rudalics@gmx.at>
14686
14687 * window.el (window-right, window-left, window-child)
14688 (window-child-count, window-last-child, window-any-p)
14689 (normalize-live-buffer, normalize-live-frame)
14690 (normalize-any-window, normalize-live-window)
14691 (window-iso-combination-p, window-iso-combined-p)
14692 (window-iso-combinations)
14693 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14694 (windows-with-parameter, window-with-parameter)
14695 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14696 (window-atom-check, window-side-check, window-check):
14697 New functions.
85cc1f11
MR
14698 (ignore-window-parameters, window-sides, window-sides-vertical)
14699 (window-sides-slots): New variables.
14700 (window-size-fixed): Move down in code. Minor doc-string fix.
14701
e7156492
AS
147022011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14703
14704 * comint.el (comint-dynamic-complete-as-filename)
14705 (comint-dynamic-complete-filename): Correctly call
14706 completion-in-region.
14707
7e821d0d
DD
147082011-06-05 Deniz Dogan <deniz@dogan.se>
14709
14710 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14711 in last change.
14712
ac09b8a1
DD
147132011-06-05 Deniz Dogan <deniz@dogan.se>
14714
14715 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14716 (rcirc): Use it to prompt for encryption.
14717
34699b85
RW
147182011-06-05 Roland Winkler <winkler@gnu.org>
14719
14720 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14721 (bibtex-search-entries): New command bound to C-c C-a.
14722 (bibtex-display-entries): New function.
14723
004dedd3
RW
147242011-06-05 Roland Winkler <winkler@gnu.org>
14725
14726 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14727 (bibtex-insert-kill): After yanking insert newline if necessary.
14728 (bibtex-initialize): Call bibtex-string-files-init only once.
14729 (bibtex-mode): Do not call easy-menu-add.
14730 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14731 (bibtex-yank): Set arg properly if nil.
14732
022fe7ce
RW
147332011-06-05 Roland Winkler <winkler@gnu.org>
14734
2b75be67
SM
14735 * textmodes/bibtex.el (bibtex-search-entry-globally):
14736 New variable.
022fe7ce
RW
14737 (bibtex-search-entry): Use it.
14738
b7c3692a
RW
147392011-06-05 Roland Winkler <winkler@gnu.org>
14740
14741 * textmodes/bibtex.el (bibtex-entry-format): New option
14742 sort-fields.
14743 (bibtex-format-entry, bibtex-reformat): Honor this option.
14744 (bibtex-parse-entry): Return fields in proper order.
14745
8eda563d
JB
147462011-06-05 Juanma Barranquero <lekktu@gmail.com>
14747
14748 * doc-view.el (doc-view-remove-if): Move computation of result out
14749 of `dolist' to silence misleading lexical-binding warning.
14750
7dbe3dbc
CY
147512011-06-04 Chong Yidong <cyd@stupidchicken.com>
14752
14753 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14754 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14755
0c33dd17
MA
147562011-06-04 Michael Albinus <michael.albinus@gmx.de>
14757
14758 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14759 "SunOS 5.10".
14760
f8f91c2b
MA
147612011-06-04 Michael Albinus <michael.albinus@gmx.de>
14762
14763 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14764 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14765 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14766 (tramp-parse-putty):
14767 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14768 (tramp-completion-function-alist-ssh)
14769 (tramp-completion-function-alist-telnet)
14770 (tramp-completion-function-alist-su)
14771 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14772 cookie.
14773
14774 * net/tramp-ftp.el:
14775 * net/tramp-sh.el:
14776 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14777 load "tramp.el" `tramp-set-completion-function'.
14778
e17d9003
SM
147792011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * shell.el: Require and use pcomplete.
14782 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14783 (shell-completion-vars): Set pcomplete-default-completion-function.
14784
6c4cab03
DD
147852011-06-04 Deniz Dogan <deniz@dogan.se>
14786
14787 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14788 `memq' (Bug#8799).
14789
ea9fafe0
SM
147902011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14793
b3e945d3
JB
147942011-06-02 Juanma Barranquero <lekktu@gmail.com>
14795
14796 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14797 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14798 * vc/log-view.el (log-view-beginning-of-defun):
14799 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14800 (smerge-refine-forward, smerge-refine-chopup-region):
14801 Silence warning for unused `dotimes' counter variables.
14802
7d520089
SM
148032011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14804
14805 * net/tramp.el (tramp-with-progress-reporter): Rename from
14806 with-progress-reporter. Use `declare'.
14807 * net/tramp-smb.el:
14808 * net/tramp-sh.el:
14809 * net/tramp-gvfs.el: Update all uses.
14810
a1c2400f
JB
148112011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14812
14813 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14814 buffer isn't killed before making it current.
14815
2403c841
SM
148162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 Silence various byte-compiler warnings.
14819 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14820 `access-type' and new obsolescence format.
14821 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14822 new format.
14823 (byte-compile-check-variable): New `access-type' argument.
14824 Only warn if the access-type is obsolete.
14825 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14826 (byte-compile-variable-set): Adjust callers.
14827 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14828 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14829 setting it as obsolete.
14830 * simple.el (minibuffer-completing-symbol):
14831 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14832 access as obsolete.
14833 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14834 obsolete yet.
14835 * international/quail.el (quail-mouse-choose-completion): Remove unused
14836 code referring to obsolete var.
14837 (quail-choose-completion-string): Remove.
14838 * server.el (server-clients-with, server-kill-buffer-query-function)
14839 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14840 * proced.el (proced-send-signal):
14841 * emacs-lisp/lisp.el (lisp-complete-symbol):
14842 Replace completion-annotate-function with completion-extra-properties.
14843
2462470b
SM
148442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14845
fb5b2591
SM
14846 * simple.el (goto-line): Use read-number.
14847 (overriding-map-is-bound): Remove.
14848 (saved-overriding-map): Change default.
14849 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14850 Take the map as argument.
14851 (universal-argument, negative-argument, digit-argument): Use it.
14852 (restore-overriding-map): Adjust.
14853 (do-auto-fill): Use fill-forward-paragraph.
14854 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14855
fd6fa53f
SM
14856 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14857 (minibuffer-inactive-mode): New major mode.
14858 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14859 the *Messages* buffer" hack.
14860 (mouse-popup-menubar): Don't burp if the event is a normal key.
14861
2462470b
SM
14862 Miscellaneous tweaks.
14863 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14864 lexical scoping as in subr.el's dolist and dotimes.
14865 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14866 Silence compiler warning.
14867 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14868 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14869 * international/ccl.el (ccl-compile): Trivial simplification.
14870 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14871 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14872 `printflag' argument.
14873 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14874 Purecopy the whole obsolescence data.
14875
108bf785
LL
148762011-06-01 Leo Liu <sdl.web@gmail.com>
14877
14878 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14879 improve doc-string as suggested by Marco Pessotto
14880 <melmothx@gmail.com>.
14881 (rcirc-print): Fix last change.
14882
30a23501
SM
148832011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14884
14885 * minibuffer.el (complete-with-action): Return nil for the metadata and
14886 boundaries of non-functional tables.
14887 (completion-table-dynamic): Return nil for the metadata.
14888 (completion-table-with-terminator): Add default case, using
14889 complete-with-action.
14890 (completion--metadata): New function.
14891 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14892 to try and avoid pathological performance problems.
14893 (completion--embedded-envvar-table): Return `category' metadata.
14894
bcd54f83
LMI
148952011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14896
14897 * subr.el (process-alive-p): New tiny convenience function.
14898
e227544d
SM
148992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14902 content but also its previous major mode.
14903
e8296fdc
HE
149042011-05-31 Helmut Eller <eller.helmut@gmail.com>
14905
4d61f28d 14906 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14907 *Backtrace* buffer when we exit with C-M-c.
14908
620c53a6
SM
149092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * minibuffer.el: Add metadata method to completion tables.
14912 (completion-category-overrides): New defcustom.
14913 (completion-metadata, completion--field-metadata)
14914 (completion-metadata-get, completion--styles)
14915 (completion--cycle-threshold): New functions.
14916 (completion-try-completion, completion-all-completions):
14917 Add `metadata' argument to choose completion-styles.
14918 (completion--do-completion): Use metadata to choose cycling.
14919 (completion-all-sorted-completions): Use metadata for sorting.
14920 Remove :completion-cycle-penalty which is not needed any more.
14921 (completion--try-word-completion): Add `metadata' argument.
14922 (minibuffer-completion-help): Check metadata for annotation function
14923 and sorting.
14924 (completion-file-name-table): Return `category' metadata.
14925 (minibuffer-completing-file-name): Make obsolete.
14926 * simple.el (minibuffer-completing-symbol): Make obsolete.
14927 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14928 completion-try-completion.
14929
1257e755
SM
149302011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14933
3767e706
LL
149342011-05-30 Leo Liu <sdl.web@gmail.com>
14935
14936 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14937 (rcirc-print): Decode all incoming messages (bug#8744).
14938 (rcirc-decode-coding-system): Allow value nil for automatic coding
14939 system detection.
3767e706 14940
d1a5d56a
GM
149412011-06-01 Glenn Morris <rgm@gnu.org>
14942
14943 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14944
e8cbec34
CY
149452011-05-29 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * image.el (image-animate-max-time): Allow nil and t values.
14948 Default to nil.
14949 (create-animated-image): Doc fix.
14950 (image-animate-start): Remove second arg; just use
14951 image-animate-max-time.
14952 (image-animate-timeout): Doc fix. Args changed.
14953
14954 * image-mode.el (image-toggle-display-image): Ensure that the
14955 image spec passed to the animate timer is the same object as in
58179cce 14956 the buffer's display property (Bug#6981).
e8cbec34
CY
14957 (image-transform-properties): Doc fix.
14958
14959 * image.el (image-animate-max-time): Default to nil.
14960
159daf87
MR
149612011-05-29 Martin Rudalics <rudalics@gmx.at>
14962
14963 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14964 entire buffer list (Bug#8184).
14965
d66c4c7c
CY
149662011-05-29 Chong Yidong <cyd@stupidchicken.com>
14967
14968 * image.el (imagemagick-types-inhibit)
14969 (imagemagick-register-types): Doc fix.
14970
80aec780
DD
149712011-05-29 Deniz Dogan <deniz@dogan.se>
14972
14973 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14974 default.
14975
1dd3c2d9
CY
149762011-05-29 Chong Yidong <cyd@stupidchicken.com>
14977
14978 * select.el: Don't perform clipboard-manager saving in hooks;
14979 leave the hooks empty.
14980
60e56523
LL
149812011-05-28 Leo Liu <sdl.web@gmail.com>
14982
14983 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14984 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14985 (occur-edit-mode): New major mode (Bug#8463).
14986 (occur-after-change-function): New function.
14987 (occur-engine): Give Occur tags a read-only property.
14988
2b1e1a22
KR
149892011-05-28 Kevin Ryde <user42@zip.com.au>
14990
14991 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14992
5d344e88
CY
149932011-05-28 Chong Yidong <cyd@stupidchicken.com>
14994
8e6ca83d
CY
14995 * bindings.el (help-echo): Make the initial non-indicator dash
14996 empty on graphical terminals (Bug#7295).
14997
5d344e88
CY
14998 * files.el (auto-mode-alist): Move config rule after the
14999 in-stripping one (Bug#8547).
15000
bfbbace7
CY
15001 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15002
fbeba6e2
CY
15003 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15004 setting (Bug#8740).
15005
60ed8c72
AA
150062011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15007
4ac619f0
AA
15008 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15009 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15010 (Bug#8539).
60ed8c72 15011
23db196e
CY
150122011-05-28 Chong Yidong <cyd@stupidchicken.com>
15013
15014 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15015
5012f24c
DK
150162011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15017
15018 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15019 (hs-hide-block-at-point, hs-find-block-beginning)
15020 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15021 (Bug#8279).
15022
6a639b16
GM
150232011-05-28 Glenn Morris <rgm@gnu.org>
15024
15025 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15026
d43eaf2c
CY
150272011-05-28 Chong Yidong <cyd@stupidchicken.com>
15028
5199bde1
CY
15029 * help-fns.el (describe-function-1): If the function is a derived
15030 major mode, print the parent mode.
15031
d43eaf2c
CY
15032 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15033 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15034
423428a8
SM
150352011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15036
0ff8e1ba 15037 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15038 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15039 * progmodes/etags.el (tags-completion-at-point-function):
15040 * info-look.el (info-lookup-completions-at-point): Mark as
15041 non-exclusive.
15042 (info-complete): Adjust accordingly.
15043
423428a8
SM
15044 * info-look.el: Convert to lexical-binding and completion-at-point.
15045 (info-lookup-completions-at-point): New function.
15046 (info-complete): Use it and completion-in-region.
15047
b74aa22b
DA
150482011-05-28 Drew Adams <drew.adams@oracle.com>
15049
15050 * isearch.el: Let M-e start with point at the first mismatched char.
15051 (isearch-fail-pos): New function.
15052 (isearch-edit-string): Use it.
15053
66e2e71d
DK
150542011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15055
15056 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15057
b1890b0f 150582011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15059
15060 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15061 traversal functions for avl-trees.
15062 (avl-tree--stack): New struct.
15063 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15064 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15065 (avl-tree--do-enter): Add optional `updatefun' arg.
15066 Change return value.
eb95d01d 15067 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15068 (avl-tree--do-delete): Add `test' and `nilflag' args.
15069 Change return value.
eb95d01d
TC
15070 (avl-tree-member): Add optional `nilflag'
15071 (avl-tree-member-p): New function.
15072 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15073 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15074 (avl-tree-stack-empty-p): New functions.
15075
3769ddcf
TC
15076 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15077 avl-tree--del-balance1 and make it work both ways.
15078 (avl-tree--del-balance2): Remove.
15079 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15080 make it work both ways.
15081 (avl-tree--enter-balance2): Remove.
15082 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15083 New macros.
15084 (avl-tree--mapc, avl-tree-map): Add direction argument.
15085
eb95d01d 150862011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15087
15088 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15089
a9f737ee
CY
150902011-05-27 Chong Yidong <cyd@stupidchicken.com>
15091
15092 * select.el: Support clipboard managers with built-in function
15093 x-clipboard-manager-save, via delete-frame-functions and
15094 kill-emacs-hook.
15095 (xselect-convert-to-targets): Add MULTIPLE target to list.
15096 (xselect-convert-to-save-targets): New function.
15097
c92a1e54
KH
150982011-05-27 Kenichi Handa <handa@m17n.org>
15099
15100 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15101 let-binding rfc2047-encode-encoded-words to nil.
15102
e145f188
GM
151032011-05-27 Glenn Morris <rgm@gnu.org>
15104
5ec8a862
GM
15105 * mail/emacsbug.el: Don't require url-util.
15106
4b29d9fb
GM
15107 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15108
e145f188
GM
15109 * files.el (set-auto-mode):
15110 Also respect mode: entries at the end of the file. (Bug#8586)
15111
7d15102b
GM
151122011-05-26 Glenn Morris <rgm@gnu.org>
15113
98f593b8
GM
15114 * files.el (hack-local-variables-prop-line, hack-local-variables):
15115 Downcase mode names, as seems to be traditional.
27b48e63 15116 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15117
7d15102b
GM
15118 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15119 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15120
51d5b4ec
JD
151212011-05-25 Julien Danjou <julien@danjou.info>
15122
15123 * textmodes/rst.el (rst-define-level-faces): Do not define face
15124 symbol if it is already defined.
15125
91513f63
VB
151262011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15127
15128 * play/5x5.el (5x5-new-game, 5x5-randomize):
15129 Reset 5x5-solver-output to nil when a new grid is cast.
15130 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15131 these debugging traces, as defmacro breaks the compiled code.
15132
4d90d6d0
DK
151332011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15134
15135 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15136
e1b90ef6
LL
151372011-05-24 Leo Liu <sdl.web@gmail.com>
15138
15139 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15140 (vc-bzr-sha1): Adapt.
15141
d8e4b68b 15142 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15143
15144 * bindings.el: Provide sha1 feature.
15145
db0406bb 151462011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15147
15148 * mail/sendmail.el: Require `rfc2047'.
15149 (mail-insert-from-field): Do not perform RFC2047 encoding.
15150 (mail-encode-header): New function.
15151 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15152 buffer to the return value of select-message-coding-system.
15153 Call mail-encode-header.
b8d747b9
KH
15154
15155 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15156
db0406bb 151572011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15158
4d90d6d0
DK
15159 * mail/supercite.el (sc-default-cite-frame):
15160 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15161
eb8a5e9b
GM
151622011-05-24 Glenn Morris <rgm@gnu.org>
15163
f8630703
GM
15164 * progmodes/python.el (brm-menu): Declare.
15165
8831bbed
GM
15166 * emulation/viper.el (viper-set-hooks): Declare.
15167
eb8a5e9b
GM
15168 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15169 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15170 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15171 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15172 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15173 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15174
a2a25d24
SM
151752011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15176
15177 Add an :exit-function for completion-at-point.
15178
15179 * minibuffer.el (completion--done): New fun.
15180 (completion--do-completion): Use it. New arg `expect-exact'.
15181 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15182 since completion--do-completion does it for us now.
15183 (minibuffer-force-complete): Use completion--done and
15184 completion--replace. Handle sole-completion case with more care.
15185 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15186 (completion-extra-properties): New var.
15187 (completion-annotate-function): Make obsolete.
15188 (minibuffer-completion-help): Adjust accordingly.
15189 Use completion-list-insert-choice-function.
15190 (completion-at-point, completion-help-at-point):
15191 Bind completion-extra-properties.
15192 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15193 * simple.el (completion-list-insert-choice-function): New var.
15194 (completion-setup-function): Preserve it.
15195 (choose-completion): Pay attention to it, shuffle the code a bit.
15196 (choose-completion-string): New arg `insert-function'.
15197
15198 * textmodes/bibtex.el: Convert to lexical binding.
15199 (bibtex-mode-map): Use completion-at-point.
15200 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15201 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15202 (bibtex-complete): Define as obsolete alias.
15203 (bibtex-complete-internal): Remove.
15204 (bibtex-format-entry): Remove unused sub-group in regexp.
15205 * shell.el (shell--command-completion-data)
15206 (shell-environment-variable-completion):
15207 * pcomplete.el (pcomplete-completions-at-point):
15208 * comint.el (comint--complete-file-name-data): Use :exit-function
15209 instead of completion-table-with-terminator so it also works for
15210 choose-completion.
15211
e44e373d
SM
152122011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15213
4f91a816
SM
15214 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15215
782fc819
SM
15216 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15217 (bug#8710).
15218
e44e373d
SM
15219 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15220
381987c3
KM
152212011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15222
15223 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15224 customization variable and implement: If non-nil, auto-fill will
15225 be inhibited while on topic's header line.
15226
b776bc70
VB
152272011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15228
15229 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15230 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15231 always have a solution in grid size = 5 cases.
15232 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15233 (5x5-solver-output, 5x5-log-buffer): New vars.
15234 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15235 Make these variables buffer local to achieve 5x5 multi-session-ness.
15236 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15237 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15238 (5x5-solve-suggest): New funs.
15239 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15240 randomize a grid so that we ensure that there is always a solution.
15241 (5x5-make-random-grid): Allow other movement than flipping.
15242
7de88b6e
KR
152432011-05-23 Kevin Ryde <user42@zip.com.au>
15244
15245 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15246 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15247 advice and passes PREDICATE.
15248
b1ef1257
SM
152492011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15250
bbca48fe
SM
15251 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15252 byte-compile-lambda if it's actually a lambda.
15253
b1ef1257
SM
15254 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15255 Fix function quoting. Use backquote better.
15256
92a9cc65
YS
152572011-05-22 Yuanle Song <sylecn@gmail.com>
15258
15259 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15260 matching (Bug#8516).
15261
f0fb8059
JA
152622011-01-22 Jari Aalto <jari.aalto@cante.net>
15263
15264 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15265 different face (Bug#8178).
15266
d5b44c93
CY
152672011-05-22 Chong Yidong <cyd@stupidchicken.com>
15268
15269 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15270 defface (Bug#8144).
15271
79106a44
SM
152722011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15273
9c848d8a
SM
15274 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15275 funcall as well (bug#8712). Warn when performing those conversions.
15276 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15277
79106a44
SM
15278 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15279
88dfa756
GM
152802011-05-22 Glenn Morris <rgm@gnu.org>
15281
15282 * files.el (hack-local-variables-prop-line): Small simplifications.
15283 (hack-local-variables, hack-local-variables-prop-line):
15284 If MODE-ONLY, return the mode, rather than just `t'.
15285
b7cf2c79
SM
152862011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15287
15288 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15289
3f1a8558
GM
152902011-05-21 Glenn Morris <rgm@gnu.org>
15291
7e4ccca3
GM
15292 * files.el (hack-local-variables-prop-line, hack-local-variables):
15293 If only interested in the mode, don't bother doing the other stuff.
15294
637d46ca
GM
15295 * image-mode.el (image-after-revert-hook):
15296 Redraw all frames on which the image is visible. (Bug#8567)
15297
973d955b
GM
15298 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15299
3f1a8558
GM
15300 * wid-edit.el (widget-checklist-match-inline):
15301 Fix 2011-04-19 change. (Bug#8649)
15302
96479927
SM
153032011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15304
1dcf791f
SM
15305 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15306 Also allow singlespace after single-letter capitals followed by a dot.
15307
96479927
SM
15308 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15309 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15310
35fd0881
N
153112011-05-20 Nix <nix@esperi.org.uk>
15312
15313 * files.el (basic-save-buffer-2):
15314 Fix handling of break-hardlink-on-save with non-existent files.
15315
82745640
DD
153162011-05-19 Deniz Dogan <deniz@dogan.se>
15317
15318 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15319 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15320
4a720484
GM
153212011-05-19 Glenn Morris <rgm@gnu.org>
15322
d1f21341
GM
15323 * progmodes/f90.el (f90-type-def-re):
15324 Handle "type, bind(c)". (Bug#8691)
15325
4a720484
GM
15326 * emacs-lisp/autoload.el (batch-update-autoloads):
15327 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15328
2fb0a219
MA
153292011-05-18 Michael Albinus <michael.albinus@gmx.de>
15330
15331 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15332 property for the correct connection in case of multihops.
15333
e565dd37
GM
153342011-05-18 Glenn Morris <rgm@gnu.org>
15335
c2571358 15336 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15337 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15338
e565dd37
GM
15339 Rationalize calendar handling of day and month abbrev-arrays.
15340 * calendar/calendar.el (calendar-customized-p): New function.
15341 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15342 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15343 Add :set function.
15344 (calendar-abbrev-length, calendar-day-abbrev-array)
15345 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15346 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15347 Elements may no longer be nil.
15348 (calendar-day-name, calendar-month-name):
15349 Update for changed nature of abbrev arrays.
15350 * calendar/diary-lib.el (diary-name-pattern):
15351 Update for changed nature of abbrev arrays.
15352 (diary-mark-entries-1): Update calendar-make-alist calls.
15353 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15354 * calendar/cal-html.el (cal-html-day-abbrev-array):
15355 Simply inherit from calendar-day-abbrev-array.
15356
1d99a745
SM
153572011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15358
15359 * progmodes/grep.el (grep-mode): Disable default
15360 compilation-directory-matcher setting (bug#8684).
15361
7c1d9aa0
MA
153622011-05-17 Michael Albinus <michael.albinus@gmx.de>
15363
15364 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15365 instead of "head" and "tail". There were problems with SunOS 5.9,
15366 and it performs better.
15367
3952e9d8
GM
153682011-05-17 Glenn Morris <rgm@gnu.org>
15369
2dd12e7f
GM
15370 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15371
e4157b9c
GM
15372 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15373 Replace obsolete function.
15374
8e249bbd
GM
15375 * shell.el (pcomplete-parse-arguments-function): Declare.
15376
3952e9d8
GM
15377 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15378 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15379 (appt-check): Doc fixes.
15380 (appt-disp-window-function, appt-delete-window-function):
15381 Remove needless special case in custom :type.
15382 (appt-display-count): Default to 0, not nil.
15383 (appt-check): Reset appt-display-count to 0, not nil.
15384
c71a0d48 153852011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15386
c71a0d48
GM
15387 * progmodes/python.el (python-font-lock-keywords):
15388 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15389
31d55be9
SM
153902011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15391
15392 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15393
3bfacb2f
KR
153942011-05-16 Kevin Ryde <user42@zip.com.au>
15395
15396 * info-look.el (makefile-automake-mode): New setups, looking in
15397 automake manual, then makefile-mode.
15398 (makefile-mode): Remove automake manual, have it just in
15399 makefile-automake-mode since there's various things different or
15400 not relevant to plain make.
15401 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15402 believe a hypothetical automake-mode would go to makefile-mode,
15403 not the other way around.
15404
c8e83751
CY
154052011-05-15 Chong Yidong <cyd@stupidchicken.com>
15406
5e9e35cd
CY
15407 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15408 hunk-end tags (Bug#8672).
15409
c8e83751
CY
15410 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15411 vc-annotate-show-diff-revision-at-line (Bug#8671).
15412
50b23e5a
GM
154132011-05-14 Glenn Morris <rgm@gnu.org>
15414
7210a739
GM
15415 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15416 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15417 (change-log-font-lock-keywords): Also handle multiple author lines
15418 with leading tabs. (Bug#8644)
7210a739 15419
4691905a
GM
15420 * calendar/appt.el (appt-check): Rename some local variables.
15421 Some simplification/reordering.
15422
50b23e5a
GM
15423 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15424 (feedmail-sendmail-f-doesnt-sell-me-out)
15425 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15426 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15427 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15428 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15429 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15430 (feedmail-binmail-gnulinuxish-template):
15431 Rename from feedmail-binmail-linuxish-template.
15432 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15433 Use insert-buffer-substring.
15434
215cda7c
BC
154352011-05-14 Bill Carpenter <bill@carpenter.org>
15436
15437 * mail/feedmail.el (feedmail-patch-level): Increase.
15438 (feedmail-debug): New custom group.
15439 (feedmail-confirm-outgoing-timeout)
15440 (feedmail-sendmail-f-doesnt-sell-me-out)
15441 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15442 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15443 (feedmail-sender-line, feedmail-from-line)
15444 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15445 (feedmail-spray-this-address)
215cda7c
BC
15446 (feedmail-spray-address-fiddle-plex-list)
15447 (feedmail-queue-use-send-time-for-date)
15448 (feedmail-queue-use-send-time-for-message-id)
15449 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15450 (feedmail-buffer-eating-function):
15451 Doc fixes.
15452 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15453 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15454 (feedmail-message-action-scroll-down): New functions.
15455 (feedmail-queue-directory, feedmail-queue-draft-directory):
15456 Use expand-file-name.
15457 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15458 Remove C-v help entry.
15459 (feedmail-queue-buffer-file-name): New variable.
15460 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15461 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15462 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15463 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15464 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15465 (feedmail-message-action-toggle-spray)
15466 (feedmail-run-the-queue-no-prompts)
15467 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15468 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15469 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15470 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15471 (feedmail-envelope-deducer, feedmail-fiddle-from)
15472 (feedmail-fiddle-sender, feedmail-default-date-generator)
15473 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15474 (feedmail-fiddle-spray-address)
15475 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15476 (feedmail-fiddle-list-of-fiddle-plexes)
15477 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15478 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15479 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15480 Change default. Doc fix.
15481 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15482 (feedmail-binmail-linuxish-template): New constant.
15483 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15484 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15485 (feedmail-send-it): Add debug call.
15486 Use feedmail-queue-buffer-file-name, and
15487 feedmail-send-it-immediately-wrapper.
15488 (feedmail-message-action-send): Add debug call.
15489 Use feedmail-send-it-immediately-wrapper.
15490 (feedmail-queue-express-to-queue): Add debug call.
15491 Run feedmail-queue-express-hook.
15492 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15493 (feedmail-message-action-help-blat):
15494 Rename from feedmail-queue-send-edit-prompt-help-first.
15495 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15496 Check line-endings. Handle errors better.
15497 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15498 Doc fix. Add debug call.
15499 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15500 Use feedmail-queue-send-edit-prompt-inner.
15501 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15502 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15503 from feedmail-queue-send-edit-prompt.
15504 (feedmail-queue-send-edit-prompt-help)
15505 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15506 (feedmail-tidy-up-slug): Add debug call.
15507 Respect feedmail-queue-slug-suspect-regexp.
15508 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15509 (feedmail-dump-message-to-queue): Add debug call.
15510 Expand queue-directory.
15511 (feedmail-dump-message-to-queue): Change message slightly.
15512 Use feedmail-say-chatter.
15513 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15514 (feedmail-send-it-immediately-wrapper): New function.
15515 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15516 Insert empty string rather than newline. Handle full-frame case.
15517 Use catch/throw. Use feedmail-say-chatter.
15518 (feedmail-fiddle-from): Try mail-host-address.
15519 (feedmail-default-message-id-generator): Doc fix.
15520 Bind system-time-locale. Handle missing end.
15521 (feedmail-fiddle-x-mailer): Add debug call.
15522 Handle feedmail-x-mailer-line being nil.
15523 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15524 Add debug call. Use buffer-substring-no-properties.
15525 (feedmail-say-debug, feedmail-say-chatter): New functions.
15526 (feedmail-find-eoh): Give an explicit error.
15527
42c7e61e
UJ
155282011-05-13 Ulf Jasper <ulf.jasper@web.de>
15529
c2571358 15530 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15531 family from helvetica to sans.
c2571358 15532 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15533 etc/images/newsticker.
15534
c2571358 15535 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15536 family from helvetica to sans.
15537
15538 * net/newst-plainview.el (newsticker-new-item-face)
15539 (newsticker-old-item-face, newsticker-immortal-item-face)
15540 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15541 (newsticker-statistics-face): Change default family from
42c7e61e 15542 helvetica to sans.
c2571358 15543 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15544 etc/images/newsticker.
15545
5d3385a0
JB
15546 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15547 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15548 auto-marking.
15549
8497a297
DV
155502011-05-13 Didier Verna <didier@xemacs.org>
15551
15552 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15553 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15554 TODO entries.
8497a297
DV
15555 (lisp-lambda-list-keyword-parameter-indentation)
15556 (lisp-lambda-list-keyword-parameter-alignment)
15557 (lisp-lambda-list-keyword-alignment): New customizable user options.
15558 (lisp-indent-defun-method): Improve docstring.
15559 (extended-loop-p): Fix comment.
15560 (lisp-indent-lambda-list-keywords-regexp): New variable.
15561 (lisp-indent-lambda-list): New function.
15562 (lisp-indent-259): Use it.
15563 (lisp-indent-defmethod): Support for more than one
15564 method qualifier and properly indent methods lambda-lists.
15565 (defgeneric): Provide a missing common-lisp-indent-function property.
15566
f278f87f
SM
155672011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15568
15569 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15570 bounds for the empty string (bug#8667).
15571
5233edd7
GM
155722011-05-13 Glenn Morris <rgm@gnu.org>
15573
5237a44f
GM
15574 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15575
8340026c 15576 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15577 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15578
5233edd7 15579 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15580 (appt-time-msg-list): Doc fix.
a5464014 15581 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15582
92d10796
AS
155832011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15584
15585 * progmodes/ld-script.el (ld-script-keywords)
15586 (ld-script-builtins): Update keywords list.
15587
914a0ae1
SM
155882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15589
c89be45f
SM
15590 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15591
914a0ae1
SM
15592 * shell.el (shell-completion-vars): New function.
15593 (shell-mode):
15594 * simple.el (read-shell-command): Use it.
15595 (blink-matching-open): No need for " [...]" in minibuffer-message.
15596
98dc3df3
GM
155972011-05-12 Glenn Morris <rgm@gnu.org>
15598
15599 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15600 (appt-check): Simplify.
15601
d2fc7e3d 156022011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15603
4d61f28d 15604 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15605 literal "/dev/null".
15606
d2fc7e3d 156072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15608
15609 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15610 Fix typo.
15611
d2fc7e3d 156122011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15613
3f254caa
SM
15614 * progmodes/which-func.el (which-function):
15615 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15616 which might not be defined (Bug#8260).
15617
d45885f7
GM
156182011-05-12 Glenn Morris <rgm@gnu.org>
15619
15620 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15621 Let byte-compile-initial-macro-environment always take precedence.
15622
488086f4
SM
156232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15624
15625 * net/rcirc.el: Add support for SSL/TLS connections.
15626 (rcirc-server-alist): New field `encryption'.
15627 (rcirc): Check `encryption' settings.
15628 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15629 Merge make-local-variable into `set'.
15630 (rcirc--connection-open-p): New function.
15631 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15632 the process is not a network process (e.g. running gnutls-cli).
15633 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15634 Make rcirc-(en|de)code-coding-system local here.
15635 (rcirc-mode): Merge make-local-variable into `set'.
15636 (rcirc-parent-buffer): Make permanent buffer-local.
15637 (rcirc-multiline-minor-mode): Don't do it here.
15638 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15639 there's no server buffer.
15640
7d3b9d44
GM
156412011-05-11 Glenn Morris <rgm@gnu.org>
15642
f64049c6
GM
15643 * newcomment.el (comment-kill): Prefix "unused" local.
15644
93c9df73
GM
15645 * term/w32console.el (get-screen-color): Declare.
15646
7d3b9d44
GM
15647 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15648 Handle symbol elements of byte-compile-initial-macro-environment.
15649
9e2dd53f
LL
156502011-05-10 Leo Liu <sdl.web@gmail.com>
15651
488086f4
SM
15652 * bookmark.el (bookmark-bmenu-mode-map):
15653 Bind bookmark-bmenu-search to `/'.
8b340240 15654
9e2dd53f 15655 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15656 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15657 (Footnote-unicode): New function.
15658 (footnote-style-alist): Add unicode style to the list.
15659 (footnote-style): Doc fix.
9e2dd53f 15660
79b70037
GM
156612011-05-10 Jim Meyering <meyering@redhat.com>
15662
15663 Fix doubled-word typos.
15664 * international/quail.el (quail-insert-kbd-layout): and and -> and
15665 * kermit.el: and and -> and
15666 * net/ldap.el (ldap-search-internal): to to -> to
15667 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15668 * progmodes/js.el (js-mode): and and -> and
15669 * textmodes/artist.el (artist-move-to-xy): at at -> at
15670 (artist-draw-region-trim-line-endings): if if -> if
15671 And Safetyc -> Safety.
15672 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15673
b8f82dc1 156742011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15675 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15676
15677 * files.el (hack-one-local-variable-eval-safep):
15678 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15679
4f99f44b
GM
156802011-05-10 Glenn Morris <rgm@gnu.org>
15681
15682 * calendar/diary-lib.el (diary-list-entries-hook)
15683 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15684 (diary-nongregorian-marking-hook, diary-list-entries)
15685 (diary-include-other-diary-files, diary-mark-entries)
15686 (diary-mark-included-diary-files): Doc fixes.
15687
84f29e6b
JB
156882011-05-09 Juanma Barranquero <lekktu@gmail.com>
15689
15690 * misc.el: Require tabulated-list.el during compilation.
15691
9bedd73a
CY
156922011-05-09 Chong Yidong <cyd@stupidchicken.com>
15693
488086f4
SM
15694 * progmodes/compile.el (compilation-start):
15695 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15696 (compilation-filter-hook): Doc fix.
15697
797c735c
DD
156982011-05-09 Deniz Dogan <deniz@dogan.se>
15699
15700 * wdired.el: Remove outdated installation comment. Fix usage
15701 comment.
15702
5f4b1dfe
JB
157032011-05-09 Juanma Barranquero <lekktu@gmail.com>
15704
15705 * misc.el: Implement new command `list-dynamic-libraries'.
15706 (list-dynamic-libraries--loaded-only-p): New variable.
15707 (list-dynamic-libraries--refresh): New function.
15708 (list-dynamic-libraries): New command.
15709
4c44026c
CY
157102011-05-09 Chong Yidong <cyd@stupidchicken.com>
15711
488086f4
SM
15712 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15713 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15714 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15715 higher priority to avoid clobbering by gnu.
15716
027f966d
CY
157172011-05-08 Chong Yidong <cyd@stupidchicken.com>
15718
15719 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15720 if the face has existing theme settings (Bug#8454).
15721
085f5d7d
CY
157222011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15723
488086f4
SM
15724 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15725 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15726
2a86a00c
RS
15727 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15728 special file names `.' and `..' (Bug#8259).
15729
d9c54a06
CY
157302011-05-08 Chong Yidong <cyd@stupidchicken.com>
15731
488086f4
SM
15732 * progmodes/grep.el (grep-mode-font-lock-keywords):
15733 Remove buffer-changing entries.
d9c54a06
CY
15734 (grep-filter): New function.
15735 (grep-mode): Add it to compilation-filter-hook.
15736
15737 * progmodes/compile.el (compilation-filter-hook)
15738 (compilation-filter-start): New defvars.
15739 (compilation-filter): Call compilation-filter-hook prior to
15740 updating the process mark.
15741
c4662635
SM
157422011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15745
b0512a1d
EZ
157462011-05-07 Eli Zaretskii <eliz@gnu.org>
15747
605c9376
EZ
15748 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15749 mailclient-send-it even if window-system is nil. (Bug#8595)
15750
c4662635
SM
15751 * term/w32console.el (terminal-init-w32console):
15752 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15753 background-mode. (Bug#8597)
15754
d1dc2cc2
SM
157552011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15756
15757 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15758 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15759 New functions.
15760 (defgeneric, eieio--defmethod): Use them.
15761 (eieio-defgeneric): Remove.
15762 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15763
915d1300
GM
157642011-05-07 Glenn Morris <rgm@gnu.org>
15765
a3961c3e
GM
15766 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15767 Use let rather than let*.
15768 (timeclock-find-discrep): Remove unused local.
15769
314347b9
GM
15770 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15771
915d1300
GM
15772 * calendar/appt.el (appt-time-msg-list): Doc fix.
15773
275b59b0
NF
157742011-05-06 Noah Friedman <friedman@splode.com>
15775
15776 * apropos.el (apropos-print-doc): Only use
15777 emacs-lisp-docstring-fill-column when it is bound to an integer,
15778 per that variable's documentation.
15779
6c19f744
SM
157802011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15781
15782 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15783 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15784
60f884b2
GM
157852011-05-06 Glenn Morris <rgm@gnu.org>
15786
5006e634
GM
15787 * calendar/appt.el (appt-message-warning-time): Doc fix.
15788 (appt-warning-time-regexp): New option.
15789 (appt-make-list): Respect appt-message-warning-time.
15790
548d0a63
GM
15791 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15792 New options.
15793 (diary-add-to-list): Strip comments from the displayed string.
15794 (diary-mode): Set comment-start and comment-end.
15795
60f884b2
GM
15796 * vc/diff-mode.el (smerge-refine-subst): Declare.
15797 (diff-refine-hunk): Don't require smerge-mode when compiling.
15798
989681bb
JB
157992011-05-06 Juanma Barranquero <lekktu@gmail.com>
15800
15801 * simple.el (list-processes): Return nil as the docstring says.
15802
a6bc05e1
MA
158032011-05-05 Michael Albinus <michael.albinus@gmx.de>
15804
15805 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15806 to "".
15807 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15808 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15809 determining of binary transfer. (Bug#7383)
15810
23c22e9a
MA
158112011-05-05 Michael Albinus <michael.albinus@gmx.de>
15812
c4662635
SM
15813 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15814 Fix port computation bug. (Bug#8618)
23c22e9a 15815
0bff894f
GM
158162011-05-05 Glenn Morris <rgm@gnu.org>
15817
b8296902
GM
15818 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15819
1f522ce8
GM
15820 * simple.el (shell-dynamic-complete-functions)
15821 (comint-dynamic-complete-functions): Declare.
15822
cf5bee67
GM
15823 * net/network-stream.el (gnutls-negotiate):
15824 * simple.el (tabulated-list-print): Fix declarations.
15825
15826 * progmodes/gud.el (syntax-symbol, syntax-point):
15827 Remove unnecessary and incorrect declarations.
15828
0bff894f
GM
15829 * emacs-lisp/check-declare.el (check-declare-scan):
15830 Handle byte-compile-initial-macro-environment in bytecomp.el
15831
9869b3ae
SM
158322011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 Fix earlier half-done eieio-defmethod change (bug#8338).
15835 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15836 Streamline and change calling convention.
15837 (defmethod): Adjust accordingly and simplify.
15838 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15839 new eieio--defmethod.
15840 (slot-boundp): Minor CSE simplification.
15841
9c1d5ac5
MZ
158422011-05-05 Milan Zamazal <pdm@zamazal.org>
15843
15844 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15845 (glasses-make-readable): Use glasses-separate-capital-groups.
15846
455c834e
JB
158472011-05-05 Juanma Barranquero <lekktu@gmail.com>
15848
15849 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15850 (warning-series): Doc fix.
15851 (display-warning): Don't try to create the buffer if we just found it.
15852
9ed7c8cb
CY
158532011-05-04 Chong Yidong <cyd@stupidchicken.com>
15854
15855 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15856 (autoload-find-generated-file): New function.
15857 (generate-file-autoloads): Bind generated-autoload-file to
15858 buffer-file-name.
9869b3ae
SM
15859 (update-file-autoloads, update-directory-autoloads):
15860 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15861 output file (Bug#7989).
15862 (batch-update-autoloads): Doc fix.
15863
0898ca10
JB
158642011-05-04 Juanma Barranquero <lekktu@gmail.com>
15865
15866 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15867
31dfb76c
GM
158682011-05-04 Glenn Morris <rgm@gnu.org>
15869
f330b642
GM
15870 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15871 function, so it follows changes in calendar-date-style.
15872 (diary-fancy-date-matcher): New function.
15873 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15874 (diary-fancy-font-lock-fontify-region-function):
15875 Use diary-fancy-date-pattern as a function.
15876
31dfb76c
GM
15877 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15878 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15879
48e79d6a
TZ
158802011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15881
15882 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15883 instead of positional arguments. Allow :keylist and :crlfiles
15884 arguments.
15885 (open-gnutls-stream): Call it.
15886
15887 * net/network-stream.el (network-stream-open-starttls): Adjust to
15888 call `gnutls-negotiate' with :process and :hostname arguments.
15889
dd5a5ee0
SM
158902011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15891
ef80fc09
SM
15892 * minibuffer.el (completion--message): New function.
15893 (completion--do-completion, minibuffer-complete)
15894 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15895 (completion--do-completion): Don't ignore completion-auto-help when in
15896 icomplete-mode.
15897
dd5a5ee0
SM
15898 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15899 internal encoding (e.g. tibetan zero is not whitespace).
15900 (global-whitespace-mode): Prefer save-current-buffer.
15901 (whitespace-trailing-regexp): Remove useless save-match-data.
15902 (whitespace-empty-at-bob-regexp): Minor simplification.
15903
b7d22a83
CY
159042011-05-03 Chong Yidong <cyd@stupidchicken.com>
15905
15906 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15907
5192af46
AM
159082011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15909
15910 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15911 Use `concat' to create string for insertion.
5192af46 15912
5767d190
SM
159132011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15914
15915 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15916 Avoid open-line which runs post-self-insert-hook.
15917 (bibtex-fill-entry): Remove unused `end' var.
15918
bf242939
AM
159192011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15920
5767d190
SM
15921 * textmodes/ispell.el (ispell-add-per-file-word-list):
15922 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15923
25666126
LL
159242011-05-03 Leo Liu <sdl.web@gmail.com>
15925
15926 * isearch.el (isearch-yank-pop): New command.
5767d190 15927 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15928 (isearch-forward): Mention it.
15929
52d3c2d0
SM
159302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15931
1bcace58
SM
15932 * simple.el (minibuffer-complete-shell-command): Remove.
15933 (minibuffer-local-shell-command-map): Use completion-at-point.
15934 (read-shell-command): Setup completion vars here instead.
15935 (read-expression-map): Bind TAB to symbol completion.
15936
52d3c2d0
SM
15937 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15938 error directly rather via storing it into `results'.
15939
35813471
LL
159402011-05-02 Leo Liu <sdl.web@gmail.com>
15941
15942 * vc/diff.el: Fix description.
15943
e793a940
LMI
159442011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15945
15946 * server.el (server-eval-at): New function.
15947
8de66e05
LMI
159482011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15949
15950 * net/network-stream.el (open-network-stream): Take a :nowait
15951 parameter and pass it on to `make-network-process'.
15952 (network-stream-open-plain): Ditto.
15953
dcb79f20
AS
159542011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15955
15956 * faces.el (face-spec-set-match-display): Don't match toolkit
15957 options on terminal frames.
15958
14a7fbd8
SM
159592011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15960
7eabc1be
SM
15961 * progmodes/pascal.el: Use lexical binding.
15962 (pascal-mode-map): Remove author preferences.
15963
14a7fbd8
SM
15964 * pcomplete.el (pcomplete-std-complete): Don't abuse
15965 completion-at-point.
15966
50f84510
JB
159672011-04-28 Juanma Barranquero <lekktu@gmail.com>
15968
6e087a44
JB
15969 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15970 removing code that has been dead since 1991 or so.
15971
50f84510
JB
15972 * startup.el (command-line): When warning about "_emacs", use a
15973 delayed warning to allow the user to filter it out.
15974
0ba690bd
DD
159752011-04-28 Deniz Dogan <deniz@dogan.se>
15976
15977 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15978 user has not joined.
15979
08abfaad
SM
159802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15983 aren't any completions at point.
15984
638f053a
JB
159852011-04-28 Juanma Barranquero <lekktu@gmail.com>
15986
15987 * subr.el (display-delayed-warnings): New function.
15988 (delayed-warnings-hook): New variable.
15989
8fff8daa
SM
159902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15991
08abfaad
SM
15992 * minibuffer.el (completion-at-point, completion-help-at-point):
15993 Don't presume that a given completion-at-point-function will always
15994 use the same calling convention.
15995
8fff8daa
SM
15996 * pcomplete.el (pcomplete-completions-at-point):
15997 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15998 pcomplete-seen is non-nil.
15999 (pcomplete-comint-setup): Also recognize the new comint/shell
16000 completion functions.
16001 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16002 pcomplete-seen is non-nil.
16003
841a1577 160042011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16005
841a1577 16006 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16007 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16008 the first character in the entry. This allows for code to add its
211ec907
UJ
16009 own uid to the entry.
16010 (icalendar--convert-float-to-ical): Add export of
16011 `diary-float'-entries save for those with the optional DAY
16012 argument.
16013
2a782793
DC
160142011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16015
16016 * subr.el (shell-quote-argument): Use alternate escaping strategy
16017 when we spot a variable reference in a string.
16018
0438ce91
DC
160192011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16020
16021 * cus-start.el (all): Define customization for debug-on-event.
16022
841a1577 160232011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16024
16025 * subr.el (shell-quote-argument): Escape correctly under Windows.
16026
d090ed6c
SM
160272011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16028
16029 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16030
bfd31217
MA
160312011-04-25 Michael Albinus <michael.albinus@gmx.de>
16032
d090ed6c
SM
16033 * net/tramp.el (tramp-process-actions): Add POS argument.
16034 Delete region between POS and (pos).
bfd31217 16035
d090ed6c
SM
16036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16037 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16038 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16039
16040 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16041 position in `tramp-process-actions' call.
16042
16043 * net/trampver.el: Update release number.
16044
e92f3bd3
SM
160452011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16046
850256b5
SM
16047 * custom.el (defcustom): Obey lexical-binding.
16048
e92f3bd3
SM
16049 Fix octave-inf completion problems reported by Alexander Klimov.
16050 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16051 Inherit from octave-mode-syntax-table.
16052 (inferior-octave-mode): Set info-lookup-mode.
16053 (inferior-octave-completion-at-point): New function.
16054 (inferior-octave-complete): Use it and completion-in-region.
16055 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16056 comint-filename-completion.
16057 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16058 symbol elements which shouldn't be word elements.
16059 (octave-font-lock-keywords, octave-beginning-of-defun)
16060 (octave-function-header-regexp): Adjust regexps accordingly.
16061 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16062
cd22b309
JB
160632011-04-25 Juanma Barranquero <lekktu@gmail.com>
16064
16065 * net/gnutls.el (gnutls-errorp): Declare before first use.
16066
8b492194
TZ
160672011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16068
16069 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16070 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16071 default trustfile exists before going to use it. Add missing
5a5fa834 16072 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16073 Reported by Claudio Bley <claudio.bley@gmail.com>.
16074 (open-gnutls-stream): Add usage example.
16075
16076 * net/network-stream.el (network-stream-open-starttls): Give host
16077 parameter to `gnutls-negotiate'.
16078 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16079 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16080
841a1577 160812011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16082
cd22b309
JB
16083 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16084 Use correct match group (bug#8438).
05842630 16085
3ba7869c
CY
160862011-04-24 Chong Yidong <cyd@stupidchicken.com>
16087
512e3ae1
CY
16088 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16089 (package-menu--generate): New arg specifying packages to show.
16090 (package-menu-refresh, package-menu-execute, list-packages):
16091 Callers changed.
16092 (package-show-package-list): New function, replacing deleted
16093 package--list-packages (renamed because it is non-internal).
16094
16095 * finder.el (finder-list-matches): Use package-show-package-list
16096 instead of deleted package--list-packages.
16097
e92f3bd3
SM
16098 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16099 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16100 (vc-annotate-mode-map): Bind it to RET.
16101
7031be6d
UR
161022011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16103
16104 * progmodes/etags.el (next-file): Don't use set-buffer to change
16105 buffers (Bug#8478).
16106
4ef177aa
CY
161072011-04-24 Chong Yidong <cyd@stupidchicken.com>
16108
c8d173eb
CY
16109 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16110
4ef177aa
CY
16111 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16112 (apropos-accumulator): Doc fix.
16113 (apropos-function, apropos-macro, apropos-command)
16114 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16115 (apropos-plist): Add face property.
16116 (apropos-symbols-internal): Fix indentation.
16117 (apropos-print): Simplify help, and recognize apropos-multi-type.
16118 (apropos-print-doc): Use button-type-get to extract the button's
16119 face property. Fill docstring (Bug#8352).
16120
4ffd0d6b 161212011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16122
16123 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16124
c6c32125 16125 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16126 (mpuz-mode-map): Use mapc.
c6c32125
JB
16127 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16128 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16129 Fix typos in docstrings.
16130
58d468b4
JB
16131 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16132 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16133
6470c3c6
JB
16134 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16135
4ffd0d6b 161362011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16137
16138 * minibuffer.el (completion--do-completion): Avoid the "Next char
16139 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16140
3ad8bad0
CY
16141 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16142 mouse-2 into unread-command-events, it is interpreted correctly.
16143
71d73c9c 16144 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16145 (image-toggle-display): Doc fix.
71d73c9c 16146
841a1577 161472011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16148
4ffd0d6b
GM
16149 * textmodes/page.el (what-page): Use line-number-at-pos to
16150 calculate line number (Bug#6825).
6e1dbaa9 16151
c2fb1b60
JB
161522011-04-22 Juanma Barranquero <lekktu@gmail.com>
16153
16154 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16155 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16156 Pass argument NO-DEFAULT to `find-tag-interactive'.
16157
e02f48d7
JB
161582011-04-22 Juanma Barranquero <lekktu@gmail.com>
16159
16160 Lexical-binding cleanup.
16161
16162 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16163 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16164 * progmodes/ada-prj.el (ada-prj-initialize-values)
16165 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16166 (ada-prj-show-value):
16167 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16168 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16169 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16170 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16171 * progmodes/bug-reference.el (bug-reference-push-button):
16172 * progmodes/fortran.el (fortran-line-length):
16173 * progmodes/glasses.el (glasses-change):
16174 * progmodes/octave-mod.el (octave-fill-paragraph):
16175 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16176 (python-pdbtrack-grub-for-buffer, python-sentinel):
16177 * progmodes/sql.el (sql-save-connection):
16178 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16179 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16180 Mark unused parameters.
16181
16182 * progmodes/compile.el (compilation--flush-directory-cache)
16183 (compilation--flush-parse, compile-internal): Mark unused parameters.
16184 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16185 (compilation-next-error-function): Remove unused variable `timestamp'.
16186
16187 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16188 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16189
16190 * progmodes/dcl-mode.el (dcl-end-of-command):
16191 Remove unused variable `start'.
16192 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16193 (dcl-option-value-basic, dcl-option-value-offset)
16194 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16195 Mark unused parameters.
16196 (dcl-save-local-variable): Remove unused variable `val'.
16197 (mode): Declare.
16198
16199 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16200 Mark unused parameters.
16201 (delphi-ignore-changes): Move before first use.
16202 (delphi-charset-token-at): Remove unused variable `start'.
16203 (delphi-else-start): Remove unused variable `if-count'.
16204 (delphi-comment-block-start, delphi-comment-block-end):
16205 Remove unused variable `kind'.
16206 (delphi-indent-line): Remove unused variable `new-point'.
16207
16208 * progmodes/ebrowse.el (ebrowse-files-list)
16209 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16210 Mark unused parameters. Don't quote `lambda'.
16211 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16212 Don't quote `lambda'.
16213 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16214 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16215 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16216 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16217 Use `ignore-errors'.
16218 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16219 (ebrowse-view/find-file-and-search-pattern)
16220 (ebrowse-view/find-member-declaration/definition):
16221 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16222 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16223 Rename parameter PREFIX-ARG to PREFIX.
16224 (ebrowse-tags-read-name): Remove unused variables `start' and
16225 `member-info'.
16226 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16227 to `tags-file'.
16228
16229 * progmodes/etags.el (local-find-tag-hook): Declare.
16230 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16231 Mark unused parameters.
16232
16233 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16234 (executable-interpret): Mark unused parameter.
16235
16236 * progmodes/flymake.el (flymake-process-sentinel)
16237 (flymake-after-change-function)
16238 (flymake-create-temp-with-folder-structure)
16239 (flymake-get-include-dirs-dot): Mark unused parameters.
16240 (flymake-safe-delete-directory): Remove unused variable `err'.
16241
16242 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16243 (speedbar-timer-fn, speedbar-line-text)
16244 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16245 (speedbar-center-buffer-smartly): Declare functions.
16246 (gdb-find-watch-expression): Remove unused variable `array'.
16247 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16248 (gdb-starting): Mark unused parameters.
16249 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16250 (gdb-table-string): Remove unused variable `res'.
16251 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16252 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16253 (gdb-display-buffer): Remove unused variable `cur-size'.
16254
16255 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16256 allow lexical-binding compilation.
16257 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16258 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16259 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16260 Mark unused parameters.
16261 (gud-gdb-marker-filter): Remove unused variable `match'.
16262 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16263 lambda expressions and funcall them, instead of using `fset'.
16264
16265 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16266 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16267
16268 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16269 variable `header-beg'; use `let'.
16270
16271 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16272 `restart', `last-sexp' and `at-do'.
16273
16274 * progmodes/js.el (js--debug): Mark unused parameter.
16275 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16276 (js--splice-into-items): Remove unused variable `item'.
16277 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16278
16279 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16280 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16281 (makefile-complete): Remove unused variable `try'.
16282 (makefile-fill-paragraph, makefile-match-function-end):
16283 Mark unused parameters.
16284
16285 * progmodes/octave-inf.el (inferior-octave-complete):
16286 Remove unused variable `proc'.
16287 (inferior-octave-output-digest): Mark unused parameter.
16288
16289 * progmodes/perl-mode.el (perl-calculate-indent):
16290 Remove unused variable `err'.
16291
16292 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16293 (prolog-indent-line): Mark unused parameters.
16294 (prolog-indent-line): Remove unused variable `beg'.
16295
16296 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16297 (reporter-dont-compact-list): Declare.
16298
16299 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16300 Remove unused variable `char'.
16301 (sh-debug): Mark unused parameter.
16302 (sh-get-indent-info): Remove unused variable `start'.
16303 (sh-calculate-indent): Remove unused variable `var'.
16304
16305 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16306 (simula-electric-keyword): Remove unused variable `null'.
16307 (simula-search-backward, simula-search-forward): Remove unused
16308 variables `begin' and `end'.
16309
16310 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16311 Remove unused variable `pos'.
16312 (vera-electric-tab, vera-comment-uncomment-region):
16313 Mark unused parameters.
16314 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16315
7ede3b65
CY
163162011-04-22 Chong Yidong <cyd@stupidchicken.com>
16317
16318 * emacs-lisp/package.el (package--builtins, package-alist)
16319 (package-load-descriptor, package-built-in-p, package-activate)
16320 (define-package, package-installed-p)
16321 (package-compute-transaction, package-buffer-info)
16322 (package--push): Doc fix. Distinguish more clearly between
16323 version strings and version lists.
16324
121656e9
JB
163252011-04-21 Juanma Barranquero <lekktu@gmail.com>
16326
16327 Lexical-binding cleanup.
16328
16329 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16330 (5x5-make-mutate-best):
16331 * play/fortune.el (fortune-in-buffer):
16332 * play/gomoku.el (gomoku-init-display):
16333 * play/solitaire.el (solitaire, solitaire-do-check):
16334 * play/tetris.el (tetris-default-update-speed-function):
16335 Mark unused parameters.
16336
16337 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16338 (bubbles--shift): Remove unused variable `char-org'.
16339 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16340 (bubbles--show-images): Remove unused variable `char'.
16341
16342 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16343 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16344 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16345 (decipher-analyze-buffer): Use ?\s.
16346 (decipher-make-checkpoint): Remove unused variable `mapping'.
16347
16348 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16349
16350 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16351 Remove unused variable `result'; use `let'.
16352
16353 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16354 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16355 (gametree-children-shown-p, gametree-compute-reduced-score):
16356 Use `ignore-errors'.
16357
16358 * play/handwrite.el (ps-lpr-switches): Declare.
16359 (handwrite): Remove unused variables `pmin' and `lastp'.
16360
16361 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16362
16363 * play/landmark.el (landmark-init-display)
16364 (landmark-update-naught-weights): Mark unused parameters.
16365 (landmark-y): Remove unused variable `noise'. Simplify.
16366 (landmark-human-plays): Remove unused variable `score'.
16367
16368 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16369 (mpuz-try-proposal): Remove unused variable `game'.
16370
16371 * play/zone.el (life-patterns): Declare.
16372
80f499c7
JB
163732011-04-20 Juanma Barranquero <lekktu@gmail.com>
16374
16375 * vc/vc.el (ediff-vc-internal): Declare function.
16376
024ff170
SM
163772011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16378
c0a193ea
SM
16379 * shell.el: Use lexical-binding and std completion UI.
16380 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16381 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16382 comint-preoutput-filter-functions rather than on
16383 comint-output-filter-functions.
16384 (shell-command-completion, shell--command-completion-data)
16385 (shell-filename-completion, shell-environment-variable-completion)
16386 (shell-c-a-p-replace-by-expanded-directory): New functions.
16387 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16388 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16389 (shell-dynamic-complete-environment-variable): Use them.
16390 (shell-dynamic-complete-as-environment-variable)
16391 (shell-dynamic-complete-as-command): Remove.
16392 (shell-match-partial-variable): Match past point.
16393 * comint.el: Clean up use of completion-at-point-functions.
16394 (comint-completion-at-point): New function.
16395 (comint-mode): Use it completion-at-point-functions.
16396 (comint-dynamic-complete): Make it obsolete.
16397 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16398 (comint-c-a-p-replace-by-expanded-history): New function.
16399 (comint-dynamic-complete-functions)
16400 (comint-replace-by-expanded-history): Use it.
16401 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16402 termination strings. Try harder to avoid second try-completion.
16403 (completion-in-region-mode-map): Disable bindings that don't work yet.
16404
2dbaa080
SM
16405 * comint.el: Use lexical-binding. Require CL.
16406 (comint-dynamic-complete-functions): Use comint-filename-completion.
16407 (comint-completion-addsuffix): Tweak custom type.
16408 (comint-filename-completion, comint--common-suffix)
16409 (comint--common-quoted-suffix, comint--table-subvert)
16410 (comint--complete-file-name-data): New functions.
16411 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16412 (comint-dynamic-list-filename-completions): Use them.
16413 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16414
2dbaa080
SM
16415 * minibuffer.el (completion-in-region-mode):
16416 Keep completion-in-region-mode--predicate global.
16417 (completion-in-region--postch):
16418 Assume completion-in-region-mode--predicate is not null.
16419
c79a6f38
SM
16420 * progmodes/flymake.el (flymake-start-syntax-check-process):
16421 Obey `dir'. Simplify.
16422
024ff170
SM
16423 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16424 we're in VC after all.
16425
1c6c854e
CS
164262011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16427
16428 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16429 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16430 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16431
bed7f140
SM
164322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16433
332e62ab
SM
16434 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16435 add sanity check.
16436
bed7f140
SM
16437 * obsolete/erc-hecomplete.el: Make obsolete.
16438 * obsolete/: Standardize obsolescence info in the header.
16439
f195c582
GM
164402011-04-20 Glenn Morris <rgm@gnu.org>
16441
16442 * calendar/solar.el (solar-horizontal-coordinates):
16443 Use the longitude argument rather than `calendar-longitude'.
16444 (solar-date-next-longitude): Remove unused locals.
16445
cb79b8c0
VJL
164462011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16447
16448 * whitespace.el: New version 13.2.1.
16449
164502011-04-20 felix <EmacsWiki> (tiny change)
16451
d8e4b68b 16452 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16453 switching between major modes on a file.
16454
602ea69d
SM
164552011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16456
16457 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16458 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16459 multi-line comments as well.
16460
06b60517
JB
164612011-04-19 Juanma Barranquero <lekktu@gmail.com>
16462
16463 Lexical-binding cleanup.
16464
16465 * arc-mode.el (archive-mode-revert):
16466 * cmuscheme.el (scheme-interactively-start-process):
16467 * custom.el (custom-initialize-delay):
16468 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16469 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16470 * emacs-lock.el (emacs-lock-clear-sentinel):
16471 * ezimage.el (defezimage):
16472 * follow.el (follow-avoid-tail-recenter):
16473 * fringe.el (set-fringe-mode-1):
16474 * generic-x.el (bat-generic-mode-compile):
16475 * help-mode.el (help-info-variable, help-do-xref)
16476 (help-mode-revert-buffer):
16477 * help.el (view-emacs-todo):
16478 * iswitchb.el (iswitchb-completion-help):
16479 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16480 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16481 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16482 * locate.el (locate-update):
16483 * longlines.el (longlines-encode-region)
16484 (longlines-after-change-function):
16485 * outline.el (outline-isearch-open-invisible):
16486 * ps-def.el (declare-function, charset-dimension, char-width)
16487 (encode-char):
16488 * ps-mule.el (ps-mule-plot-string):
16489 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16490 (recentf-edit-list-select, recentf-edit-list-validate)
16491 (recentf-open-files-action):
16492 * rect.el (delete-whitespace-rectangle-line)
16493 (rectangle-number-line-callback):
16494 * register.el (window-configuration-to-register)
16495 (frame-configuration-to-register):
16496 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16497 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16498 (xselect-convert-to-targets, xselect-convert-to-delete)
16499 (xselect-convert-to-filename, xselect-convert-to-charpos)
16500 (xselect-convert-to-lineno, xselect-convert-to-colno)
16501 (xselect-convert-to-os, xselect-convert-to-host)
16502 (xselect-convert-to-user, xselect-convert-to-class)
16503 (xselect-convert-to-name, xselect-convert-to-integer)
16504 (xselect-convert-to-atom, xselect-convert-to-identity):
16505 * subr.el (declare, ignore, process-kill-without-query)
16506 (text-clone-maintain):
16507 * terminal.el (te-get-char, te-tic-sentinel):
16508 * tool-bar.el (tool-bar-make-keymap):
16509 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16510 * type-break.el (type-break-mode, type-break-noninteractive-query):
16511 * view.el (View-back-to-mark):
16512 * wid-browse.el (widget-browse-action, widget-browse-widget)
16513 (widget-browse-widgets, widget-browse-sexp):
16514 * widget.el (define-widget-keywords):
16515 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16516 Mark unused parameters.
16517
16518 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16519 (align-areas): Remove unused variable `look'.
16520 (align-region): Remove unused variables `real-end' and `pos-list'.
16521
16522 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16523
16524 * bindings.el (mode-line-modified, mode-line-remote):
16525 Mark unused parameters.
16526 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16527
16528 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16529 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16530
16531 * comint.el (comint-history-isearch-pop-state)
16532 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16533 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16534 (comint-substitute-in-file-name): Doc fix.
16535
16536 * completion.el (cmpl-statistics-block): Mark unused parameter.
16537 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16538 (save-completions-to-file, load-completions-from-file):
16539 Remove unused local variable `e'.
16540
16541 * composite.el (compose-chars): Remove unused variable `len'.
16542 (lgstring-insert-glyph): Remove unused variable `g'.
16543 (compose-glyph-string): Remove unused variables `ascent',
16544 `descent', `lbearing' and `rbearing'.
16545 (compose-glyph-string-relative): Remove unused variables
16546 `lbearing', `rbearing' and `wadjust'.
16547 (compose-gstring-for-graphic): Remove unused variables `header',
16548 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16549 (compose-gstring-for-terminal): Remove unused variables `header'
16550 and `nchars'. Use `let', not `let*'.
16551
16552 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16553 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16554 (Custom-buffer-done, custom-buffer-create-internal)
16555 (custom-browse-visibility-action, custom-browse-group-tag-action)
16556 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16557 (widget-magic-mouse-down-action, custom-toggle-parent)
16558 (custom-add-parent-links, custom-toggle-hide-variable)
16559 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16560 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16561 (custom-face-menu-create, custom-variable-menu-create, get)
16562 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16563 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16564 (customize-apropos): Remove unused variable `tests'.
16565 (custom-group-value-create): Remove unused variable `hidden-p'.
16566 (sort-fold-case): Declare.
16567
16568 * cus-theme.el (custom-reset-standard-faces-list)
16569 (custom-reset-standard-variables-list): Declare.
16570 (customize-create-theme, custom-theme-revert, custom-theme-write)
16571 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16572 Mark unused parameters.
16573
16574 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16575
16576 * delim-col.el (delimit-columns-max): Move defvar before first use.
16577
16578 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16579 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16580
16581 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16582 (auto-insert): Declare.
16583 (desktop-restore-file-buffer): Rename desktop-* parameters;
16584 mark unused ones.
16585 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16586 (desktop-buffer): Rename desktop-* parameters.
16587
16588 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16589 (dframe-reposition-frame-xemacs, dframe-help-echo)
16590 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16591 Mark unused parameters.
16592
16593 * dired-aux.el (backup-extract-version-start, overwrite-query)
16594 (overwrite-backup-query, rename-regexp-query)
16595 (rename-non-directory-query): Declare.
16596 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16597 (dired-add-entry): Remove unused variable `orig-file-name'.
16598 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16599 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16600 `dired-copy-preserve-time' directly.
16601 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16602 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16603
16604 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16605 (dired-virtual-revert, dired-make-relative-symlink):
16606 Mark unused parameters.
16607 (manual-program): Declare.
16608 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16609 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16610 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16611
16612 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16613
16614 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16615
16616 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16617 Declare.
16618
16619 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16620
16621 * electric.el (Electric-command-loop): Rename parameter
16622 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16623
16624 * expand.el (expand-in-literal): Remove unused variable `here'.
16625
16626 * facemenu.el (facemenu-add-new-color):
16627 Remove unused variable `docstring'.
16628
16629 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16630 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16631 (face-attr-construct): Mark unused parameter. Doc fix.
16632 (read-color): Remove unused variable `hex-string'.
16633
16634 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16635 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16636 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16637 (display-buffer-other-frame): Remove unused variable `old-window'.
16638 (kill-buffer-hook): Declare.
16639 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16640 Mark unused parameters.
16641 (after-find-file): Pass 1 to `auto-save-mode', not t.
16642
16643 * files-x.el (auto-insert): Declare.
16644 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16645
16646 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16647 variable `buf'. Mark unused parameter.
06b60517
JB
16648 (find-lisp-insert-directory): Mark unused parameter.
16649
16650 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16651 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16652 (format-common-tail): Remove, unused.
16653 (format-deannotate-region): Remove unused variable `loc'.
16654 (format-annotate-region): Remove unused variable `p'.
16655 (format-annotate-single-property-change): Remove unused variables
16656 `default' and `tail'.
16657
16658 * forms.el (read-file-filter): Declare.
16659 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16660
16661 * frame.el (frame-creation-function-alist): Mark unused parameter.
16662 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16663
16664 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16665 Remove unused parameters.
16666 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16667 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16668
16669 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16670 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16671 (hfy-prepare-tag-map): Mark unused parameters.
16672 (htmlfontify-buffer): Use `called-interactively-p'.
16673
16674 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16675 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16676 (ibuffer-do-occur): Mark unused parameters.
16677 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16678 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16679
16680 * ibuffer.el: Don't quote `lambda'.
16681 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16682 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16683 Mark unused parameters.
16684
16685 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16686 (ido-completing-read): Mark unused parameters.
16687 (ido-copy-current-word): Mark unused parameters;
16688 remove unused variable `name'.
16689 (ido-sort-merged-list): Remove unused parameter `dirs'.
16690
16691 * ielm.el (ielm-input-sender): Mark unused parameter.
16692 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16693 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16694 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16695 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16696 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16697
16698 * image-dired.el (image-dired-display-thumbs): Remove unused
16699 variables `curr-file' and `count'.
16700 (image-dired-remove-tag): Remove unused variable `start'.
16701 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16702 variable `curr-file'
16703 (image-dired-rotate-original): Remove unused variable `temp-file'.
16704 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16705 Remove unused variable `file'.
16706 (image-dired-gallery-generate): Remove unused variable `curr'.
16707 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16708
16709 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16710
16711 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16712
16713 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16714
16715 * isearch.el (minibuffer-history-symbol): Declare.
16716 (isearch-edit-string): Remove unused variable `err'.
16717 (isearch-message-prefix, isearch-message-suffix):
16718 Mark unused parameters.
16719
16720 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16721
16722 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16723
16724 * makesum.el (double-column): Remove unused variable `cnt'.
16725
16726 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16727 (ido-ignore-item-temp-list): Declare.
16728
16729 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16730 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16731 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16732 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16733 `mouse-col-delta'.
16734
16735 * mouse-sel.el (mouse-extend-internal):
16736 Remove unused variable `orig-window-frame'.
16737
16738 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16739 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16740 Move declarations before first use.
16741 (pcomplete-opt): Mark unused parameters; doc fix.
16742
16743 * proced.el (proced-revert): Mark unused parameter.
16744 (proced-send-signal): Remove unused variable `err'.
16745
16746 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16747 Rename parameter PREFIX-ARG to ARG.
16748 (ps-basic-plot-string, ps-basic-plot-whitespace):
16749 Mark unused parameters.
16750
16751 * replace.el (replace-count): Define.
16752 (occur-revert-function): Mark unused parameters.
16753 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16754 (isearch-case-fold-search, isearch-string): Declare.
16755 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16756 bind `case-fold-search'. Remove unused variables `beg' and `end',
16757 and simplify.
16758 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16759 COUNT and bind `replace-count'.
16760 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16761 to COUNT.
16762
16763 * savehist.el (print-readably, print-string-length): Declare.
16764
16765 * shadowfile.el (shadow-expand-cluster-in-file-name):
16766 Remove unused variable `cluster'.
16767 (shadow-copy-file): Remove unused variable `i'.
16768 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16769 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16770 (shadow-define-literal-group, shadow-define-regexp-group)
16771 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16772
16773 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16774 (shell): Use `called-interactively-p'.
16775 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16776
16777 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16778 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16779 (delete-backward-char): Remove unused variable `ocol'.
16780 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16781 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16782 (event-apply-hyper-modifier, event-apply-shift-modifier)
16783 (event-apply-control-modifier, event-apply-meta-modifier):
16784 Mark unused parameters.
16785 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16786 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16787
16788 * speedbar.el (speedbar-ignored-directory-expressions)
16789 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16790 (speedbar-find-file, speedbar-dir-follow)
16791 (speedbar-directory-buttons-follow, speedbar-tag-find)
16792 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16793 (speedbar-buffers-line-directory, speedbar-buffer-click):
16794 Mark unused parameters.
16795 (speedbar-tag-file): Remove unused variable `mode'.
16796 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16797
16798 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16799
16800 * talk.el (talk): Remove unused variable `display'.
16801
16802 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16803 (tar-write-region-annotate): Mark unused parameter.
16804
16805 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16806 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16807 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16808 warning by another.
16809
16810 * time-stamp.el (time-stamp-string-preprocess):
16811 Remove unused variable `require-padding'.
16812
16813 * tree-widget.el (widget-glyph-enable): Declare.
16814 (tree-widget-action): Mark unused parameter.
16815
16816 * w32-fns.el (x-get-selection): Mark unused parameter.
16817 (autoload-make-program, generated-autoload-file): Declare.
16818
16819 * wdired.el (wdired-revert): Mark unused parameters.
16820 (wdired-xcase-word): Remove unused variable `err'.
16821
16822 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16823 (whitespace-help-scroll): Remove unused variable `data-help'.
16824
16825 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16826 (widget-image-insert, widget-after-change, default)
16827 (widget-default-format-handler, widget-default-notify)
16828 (widget-default-prompt-value, widget-info-link-action)
16829 (widget-url-link-action, widget-function-link-action)
16830 (widget-variable-link-action, widget-file-link-action)
16831 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16832 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16833 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16834 (widget-insert-button-action, widget-delete-button-action, visibility)
16835 (widget-documentation-link-action, widget-documentation-string-action)
16836 (widget-const-prompt-value, widget-regexp-match, symbol)
16837 (widget-coding-system-prompt-value)
16838 (widget-key-sequence-value-to-external, sexp)
16839 (widget-sexp-value-to-internal, character, vector, cons)
16840 (widget-choice-prompt-value, widget-boolean-prompt-value)
16841 (widget-color--choose-action): Mark unused parameters.
16842 (widget-item-match-inline, widget-choice-match-inline)
16843 (widget-checklist-match, widget-checklist-match-inline)
16844 (widget-group-match): Rename parameter VALUES to VALS.
16845 (widget-field-value-set): Remove unused variable `size'.
16846 (widget-color-action): Remove unused variables `value' and `start'.
16847
16848 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16849 variable `dir'. Doc fix.
06b60517
JB
16850 (windmove-find-other-window): Don't pass it.
16851
16852 * window.el (count-windows): Mark unused parameter.
16853 (bw-adjust-window): Remove unused variable `err'.
16854
16855 * woman.el (woman-file-name): Remove unused variable `default'.
16856 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16857 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16858 (global-font-lock-mode): Declare.
16859 (woman-decode-region): Mark unused parameter.
16860 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16861
16862 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16863 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16864 (x-dnd-handle-moz-url): Remove unused variable `title'.
16865 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16866
16867 * xml.el (xml-parse-tag, xml-parse-attlist):
16868 Remove unused variable `pos'.
16869
bc4f7f3d
GM
168702011-04-19 Glenn Morris <rgm@gnu.org>
16871
16872 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16873 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16874 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16875 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16876 * calendar/cal-html.el (cal-html-insert-minical):
16877 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16878 (calendar-mark-date-pattern):
16879 Prefix "unused" locals.
16880
16881 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16882 optional argument `style'.
16883
16884 * calendar/appt.el (appt-make-list):
16885 * calendar/cal-china.el (calendar-chinese-date-string):
16886 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16887 (diary-hebrew-yahrzeit):
16888 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16889 * calendar/calendar.el (calendar-generate-window):
16890 * calendar/time-date.el (time-to-days):
16891 Remove unused local variables.
16892
16a43933
CY
168932011-04-18 Chong Yidong <cyd@stupidchicken.com>
16894
16895 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16896 glyphless-char-display table.
16897 (tabulated-list-glyphless-char-display): New var.
16898
7eed1860
SS
168992011-04-18 Sam Steingold <sds@gnu.org>
16900
16901 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16902 to acknowledgments.
16903
4d2d1ccd
GM
169042011-04-17 Glenn Morris <rgm@gnu.org>
16905
16906 * calendar/diary-lib.el (diary-sexp-entry):
16907 * calendar/holidays.el (holiday-sexp):
16908 Set debug-on-error rather than the removed stack-trace-on-error.
16909
239da61d
GM
169102011-04-16 Glenn Morris <rgm@gnu.org>
16911
16912 * progmodes/f90.el: Use lexical-binding.
16913 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16914
8b05752a
SM
169152011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16916
daca8ba5
SM
16917 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16918 (mail-mode): Setup mailalias completion here instead.
16919 * mail/mailalias.el: Use lexical-binding.
16920 (pattern, mailalias-done): Declare dynamic.
16921 (mail-completion-at-point-function): New function, from mail-complete.
16922 (mail-complete): Use it.
16923 (mail-completion-expand): New function.
16924 (mail-get-names): Use it.
16925 (mail-directory, mail-directory-process, mail-directory-stream):
16926 Don't use `pattern' for lexically bound arg.
16927
6f542485
SM
16928 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16929
037e7c3f
SM
16930 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16931 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16932 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16933
8b05752a
SM
16934 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16935 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16936 (byte-interactive-p): Define them again, for use when inlining
16937 old code.
16938
49093f60
JB
169392011-04-15 Juanma Barranquero <lekktu@gmail.com>
16940
16941 * loadup.el: Use `string-to-number', not `string-to-int'.
16942
b5b8e7de
SM
169432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16944
16945 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16946 gud-gdb-complete-command.
16947 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16948 (gud-gdb-completion-at-point): New function.
16949 (gud-gdb-completions): Remove.
16950
f42efeb5
MA
169512011-04-14 Michael Albinus <michael.albinus@gmx.de>
16952
49093f60
JB
16953 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16954 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16955 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16956 whether `executable-find' is bound.
f42efeb5
MA
16957
16958 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16959
e240cc21
SM
169602011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16961
16962 * minibuffer.el (completion-in-region-mode-predicate)
16963 (completion-in-region-mode--predicate): New vars.
16964 (completion-in-region, completion-in-region--postch)
16965 (completion-in-region-mode): Use them.
16966 (completion--capf-wrapper): Also return the hook function.
16967 (completion-at-point, completion-help-at-point):
16968 Adjust and provide a predicate.
c2bd2ab0
SM
16969
16970 Preserve arg names for advice of subr and lexical functions (bug#8457).
16971 * help-fns.el (help-function-arglist): Consolidate the subr and
16972 new-byte-code cases. Add argument `preserve-names' to extract names
16973 from the docstring when needed.
16974 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16975 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16976 (ad-arglist): Use help-function-arglist's new arg.
16977 (ad-definition-type): Use cond.
16978
c183f693
JB
169792011-04-13 Juanma Barranquero <lekktu@gmail.com>
16980
06641a47
JB
16981 * autorevert.el (auto-revert-handler):
16982 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16983 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16984 Don't quote lambda.
16985
c183f693
JB
16986 * image-mode.el (image-transform-set-scale):
16987 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16988
1e3b6001
G
169892011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16990
16991 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16992 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16993 Upgrades via gnutls-cli are too slow to be done opportunistically.
16994
2d6af8dd
JB
169952011-04-12 Juanma Barranquero <lekktu@gmail.com>
16996
16997 * dframe.el (dframe-current-frame): Remove spurious quote.
16998
c0749a51
GM
169992011-04-12 Glenn Morris <rgm@gnu.org>
17000
088d0d61
GM
17001 * calendar/cal-tex.el (cal-tex-end-document):
17002 Try to automatically use latin1 input if needed.
17003
c0749a51
GM
17004 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17005 Don't try to cons a mark onto an empty element.
17006
5c90fde0
LL
170072011-04-11 Leo Liu <sdl.web@gmail.com>
17008
17009 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17010 buffers.
17011 (ido-kill-buffer-at-head): Support killing virtual buffers.
17012
369e974d
CY
170132011-04-10 Chong Yidong <cyd@stupidchicken.com>
17014
17015 * minibuffer.el (completion-show-inline-help): New var.
17016 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17017 (minibuffer-force-complete, minibuffer-complete-word):
17018 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17019
17020 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17021 to avoid interference from inline help (Bug#5849).
17022
37f1c930
LL
170232011-04-10 Leo Liu <sdl.web@gmail.com>
17024
099c39a4
JB
17025 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17026 Fix typo.
37f1c930 17027
a32d4040
CY
170282011-04-09 Chong Yidong <cyd@stupidchicken.com>
17029
17030 * image-mode.el (image-toggle-display-image): Signal an error if
17031 not in Image mode.
17032 (image-transform-mode, image-transform-resize)
17033 (image-transform-set-rotation): Doc fix.
daca8ba5 17034 (image-transform-set-resize): Delete.
a32d4040
CY
17035 (image-transform-set-scale, image-transform-fit-to-height)
17036 (image-transform-fit-to-width): Handle image-toggle-display-image
17037 and image-transform-resize directly.
17038
099c39a4 170392011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17040
17041 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17042 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17043 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17044 (doc-view-mode-map): Add bindings for the new functions.
17045
099c39a4 170462011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17047
4d61f28d 17048 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17049 Fix typo in docstring.
17050
3726838a
EZ
170512011-04-08 Eli Zaretskii <eliz@gnu.org>
17052
04f33f1e
EZ
17053 * files.el (file-size-human-readable): Produce one digit after
17054 decimal, like "ls -lh" does.
17055
17056 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17057 the file size representation.
17058
3726838a
EZ
17059 * simple.el (list-processes): If async subprocesses are not
17060 available, error out with a clear error message.
17061
cbb59342
CY
170622011-04-08 Chong Yidong <cyd@stupidchicken.com>
17063
17064 * help.el (help-form-show): New function, to be called from C.
17065 Put help-form output in a buffer named differently than *Help*.
17066
e3971c44
EZ
170672011-04-08 Eli Zaretskii <eliz@gnu.org>
17068
17069 * files.el (file-size-human-readable): New function.
17070
17071 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17072 computing the representation inline. Don't require `cl'.
17073
12544bbe
GM
170742011-04-08 Glenn Morris <rgm@gnu.org>
17075
a1de6c6a
GM
17076 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17077
3c4671f4
GM
17078 * net/browse-url.el (browse-url-firefox):
17079 Test system-type, not system-configuration.
17080
b605679c
GM
17081 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17082 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17083 Use log-edit-empty-buffer-p. (Bug#7598)
17084
56442f0c
GM
17085 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17086 (rlogin-mode-map): Initialize in the defvar.
17087 (rlogin): Use ignore-errors.
17088
12544bbe
GM
17089 * replace.el (occur-mode-map): Some fixes for menu items.
17090
eb237b0f
AH
170912011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17092
17093 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17094
7d668f2c
CY
170952011-04-06 Chong Yidong <cyd@stupidchicken.com>
17096
e67a13ab
CY
17097 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17098 issuing unused warnings.
17099
17100 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17101 macro directly.
17102
7d668f2c
CY
17103 * simple.el: Lisp reimplement of list-processes. Based on an
17104 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17105 (process-menu-mode): New major mode.
17106 (list-processes--refresh, list-processes):
17107 (process-menu-visit-buffer): New functions.
17108
17109 * files.el (save-buffers-kill-emacs): Don't assume any return
17110 value of list-processes, which is undocumented anyway.
17111
a83ec3c9
CY
171122011-04-06 Chong Yidong <cyd@stupidchicken.com>
17113
17114 * emacs-lisp/tabulated-list.el: New file.
17115
e91a96fe
CY
17116 * emacs-lisp/package.el: Use Tabulated List mode.
17117 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17118 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17119 table format using Tabulated List mode variables.
17120 (package--push): New macro, replacing package-list-maybe-add.
17121 (package-menu--generate): Use package--push. Renamed from
17122 package--generate-package-list.
17123 (package-menu-refresh, list-packages): Use it.
daca8ba5 17124 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17125 Return insertion data instead of inserting it directly.
099c39a4
JB
17126 (package-menu-describe-package, package-menu-execute):
17127 Use tabulated-list-get-id.
e91a96fe
CY
17128 (package-menu-mark-delete, package-menu-mark-install)
17129 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17130 (package-menu-mark-obsolete-for-deletion):
17131 Use tabulated-list-put-tag.
e91a96fe
CY
17132 (package--list-packages, package-menu-revert)
17133 (package-menu-get-package, package-menu-get-version)
17134 (package-menu-sort-by-column): Functions deleted.
17135 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17136 (package-menu--status-predicate, package-menu--version-predicate)
17137 (package-menu--name-predicate)
17138 (package-menu--description-predicate): Handle arguments in the
17139 Tabulated List format.
17140 (package-list-packages-no-fetch): Call list-packages.
17141
3e214b50
JB
171422011-04-06 Juanma Barranquero <lekktu@gmail.com>
17143
17144 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17145 (after-find-file): Don't bind it.
3e214b50
JB
17146 (revert-buffer-in-progress-p): New variable.
17147 (revert-buffer): Bind it.
17148 Pass nil for `after-find-file-from-revert-buffer'.
17149
17150 * saveplace.el (save-place-find-file-hook): Use new variable
17151 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17152
3f0f1700
GM
171532011-04-06 Glenn Morris <rgm@gnu.org>
17154
c0274801
GM
17155 * Makefile.in (AUTOGEN_VCS): New variable.
17156 (autoloads): Use $AUTOGEN_VCS.
17157
3f0f1700
GM
17158 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17159 * calendar/calendar.el (calendar-mode-map):
17160 Check for toolkit scroll bars. (Bug#8305)
17161
41ea9e48
CY
171622011-04-05 Chong Yidong <cyd@stupidchicken.com>
17163
17164 * minibuffer.el (completion-in-region--postch)
17165 (completion-in-region-mode): Remove unnecessary messages.
17166
6194c800
JB
171672011-04-05 Juanma Barranquero <lekktu@gmail.com>
17168
33256f14
JB
17169 * font-lock.el (font-lock-refresh-defaults):
17170 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17171 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17172
6194c800
JB
17173 * info.el (Info-directory-list, Info-read-node-name-2)
17174 (Info-split-parameter-string): Doc fixes.
17175 (Info-virtual-nodes): Reflow docstring.
17176 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17177 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17178 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17179 Fix typos in docstrings.
17180 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17181 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17182 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17183 (Info-restore-desktop-buffer): Mark unused parameters.
17184 (Info-directory-find-file, Info-directory-find-node)
17185 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17186 (Info-virtual-index-find-node, Info-apropos-find-file)
17187 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17188 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17189 (Info-virtual-index): Remove unused local variable `nodename'.
17190
b87a8200 171912011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17192
b87a8200
DD
17193 * net/rcirc.el: Update my e-mail address.
17194 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17195
3b2ff876
CY
171962011-04-05 Chong Yidong <cyd@stupidchicken.com>
17197
17198 * startup.el (command-line): Save the cursor's theme-face
17199 directly, instead of using face-override-spec.
17200
17201 * custom.el (load-theme): Minor optimization in assigning faces.
17202
8d17e7ca
JB
172032011-04-04 Juanma Barranquero <lekktu@gmail.com>
17204
17205 * help-fns.el (describe-variable): Complete all variables having
17206 documentation, including keywords.
17207 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17208
2fbc1934
JB
172092011-04-04 Juanma Barranquero <lekktu@gmail.com>
17210
17211 Convert to lexical-binding.
17212
17213 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17214 (bs--get-marked-string, bs--get-modified-string)
17215 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17216 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17217 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17218
17219 * ehelp.el (electric-help-execute-extended)
17220 (electric-help-ctrl-x-prefix):
17221 * hexl.el (hexl-revert-buffer-function):
17222 * linum.el (linum-after-change, linum-after-scroll):
17223 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17224
17225 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17226
74f50695
DU
172272011-04-04 Daiki Ueno <ueno@unixuser.org>
17228
17229 * epa-dired.el:
17230 * epa-mail.el:
17231 * epa-hook.el:
17232 * epa-file.el:
17233 * epa.el:
17234 * epg.el: Use lexical binding.
17235
c11325f7
CY
172362011-04-03 Chong Yidong <cyd@stupidchicken.com>
17237
0d9e9a12
CY
17238 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17239
c11325f7 17240 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17241 dictionary case for flyspell-mark-duplications-exceptions.
17242 Use regexp matching for languages.
c11325f7
CY
17243 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17244 default dictionary (Bug#7926).
17245
da91b5f2
CY
172462011-04-02 Chong Yidong <cyd@stupidchicken.com>
17247
099c39a4
JB
17248 * emacs-lisp/package.el (package--with-work-buffer):
17249 Recognize https URLs.
da91b5f2 17250
099c39a4
JB
17251 * net/network-stream.el: Move from gnus/proto-stream.el.
17252 Change prefix to network-stream throughout.
da91b5f2
CY
17253 (open-protocol-stream): Merge into open-network-stream, leaving
17254 open-protocol-stream as an alias. Handle nil BUFFER args.
17255
17256 * subr.el (open-network-stream): Move to net/network-stream.el.
17257
afa8e9f6
GM
172582011-04-02 Glenn Morris <rgm@gnu.org>
17259
1d2e369d
GM
17260 * find-dired.el (find-exec-terminator): New option.
17261 (find-ls-option): Test for -ls support.
17262 (find-ls-subdir-switches): Test for -b in find-ls-option.
17263 (find-dired, find-grep-dired): Doc fixes.
17264 (find-dired): Use find-exec-terminator.
17265
8abb7da8 17266 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17267 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17268 (find-name-arg): Remove purecopy.
8abb7da8 17269
f3ca7378
GM
17270 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17271 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17272 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17273 accordingly. Don't add the null-device if not needed.
17274
afa8e9f6
GM
17275 * files.el (save-some-buffers): Doc fix.
17276
35eae264
EZ
172772011-04-02 Eli Zaretskii <eliz@gnu.org>
17278
17279 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17280
26b51db5
JB
172812011-04-01 Juanma Barranquero <lekktu@gmail.com>
17282
17283 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17284 Use `dolist' rather than `mapcar'.
17285
7200d79c
SM
172862011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17287
03408648 17288 Add lexical binding.
7200d79c 17289
03408648
SM
17290 * subr.el (apply-partially): Use new closures rather than CL.
17291 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17292 (dolist, dotimes): Use slightly different expansion for lexical code.
17293 (functionp): Move to C.
17294 (letrec): New macro.
17295 (with-wrapper-hook): Use it and apply-partially instead of CL.
17296 (eval-after-load): Preserve lexical-binding.
17297 (save-window-excursion, with-output-to-temp-buffer): Turn them
17298 into macros.
7200d79c 17299
03408648
SM
17300 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17301
17302 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17303 than the arglist.
17304 (help-add-fundoc-usage): Don't add `Not documented'.
17305 (help-function-arglist): Handle closures, subroutines, and new
17306 byte-code-functions.
17307 (help-make-usage): Remove leading underscores.
17308 (describe-function-1): Handle closures.
17309 (describe-variable): Use special-variable-p for completion.
17310
17311 * files.el (lexical-binding): Declare safe.
f488fb65 17312
03408648
SM
17313 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17314 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17315 (pcase): Add `let' pattern.
17316 Change memoization so it actually works.
17317 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17318 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17319 <let>: New case.
f488fb65 17320
03408648
SM
17321 * emacs-lisp/macroexp.el: Use lexical binding.
17322 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17323 Don't convert ' to #' without checking that it's indeed quoting
17324 a lambda.
17325
17326 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17327 Use eval-sexp-add-defvars.
03408648
SM
17328 (eval-sexp-add-defvars): New fun.
17329
17330 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17331
17332 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17333 Don't autoload.
17334 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17335 than the internal `byte-compile-lambda'.
17336 (defmethod): Don't hide code under quotes.
17337 (eieio-defmethod): New `code' argument.
17338
17339 * emacs-lisp/eieio-comp.el: Remove.
17340
17341 * emacs-lisp/edebug.el (edebug-eval-defun)
17342 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17343 (edebug-toggle): Avoid `eval'.
17344
17345 * emacs-lisp/disass.el (disassemble-internal): Handle new
17346 `closure' objects.
17347 (disassemble-1): Handle new byte codes.
17348
17349 * emacs-lisp/cl.el (pushnew): Silence warning.
17350
17351 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17352 (cl-byte-compile-throw): Remove.
17353 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17354
17355 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17356 closures.
17357
17358 * emacs-lisp/cconv.el: New file.
17359
17360 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17361 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17362 (byte-compile-initial-macro-environment):
17363 Handle declare-function here.
17364 (byte-compile--lexical-environment): New var.
17365 (byte-stack-ref, byte-stack-set, byte-discardN)
17366 (byte-discardN-preserve-tos): New lap codes.
17367 (byte-interactive-p): Don't use any more.
17368 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17369 New macros.
17370 (byte-compile-lapcode): Use them and handle new lap codes.
17371 (byte-compile-obsolete): Remove.
17372 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17373 (byte-compile-arglist-warn): Check late def of inlinable funs.
17374 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17375 since they should have been expanded by now.
17376 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17377 (byte-compile-from-buffer): Remove unused second arg.
17378 (byte-compile-preprocess): New function.
17379 (byte-compile-toplevel-file-form): New function to distinguish
17380 file-form calls from outside from file-form calls from hunk-handlers.
17381 (byte-compile-file-form): Simplify.
17382 (byte-compile-file-form-defsubst): Remove.
17383 (byte-compile-file-form-defmumble): Simplify now that
17384 byte-compile-lambda always returns a byte-code-function.
17385 (byte-compile): Preprocess.
17386 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17387 Remove, not used any more.
17388 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17389 (byte-compile-make-args-desc): New funs.
17390 (byte-compile-lambda): Handle lexical functions. Always return
17391 a byte-code-function.
17392 (byte-compile-reserved-constants): New var, to make up room for
17393 closed-over variables.
17394 (byte-compile-constants-vector): Obey it.
17395 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17396 (byte-compile-macroexpand-declare-function): New function.
17397 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17398 byte-code-functions.
17399 (byte-compile-form): Check obsolescence here.
17400 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17401 (byte-compile-variable-ref): Remove.
17402 (byte-compile-dynamic-variable-op): New fun.
17403 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17404 (byte-compile-variable-set): New funs.
17405 (byte-compile-discard): Add 2 args.
17406 (byte-compile-stack-ref, byte-compile-stack-set)
17407 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17408 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17409 macroexpand-all instead.
17410 (byte-compile-quote-form): Remove.
17411 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17412 (byte-compile-bind, byte-compile-unbind): New funs.
17413 (byte-compile-let): Handle let* and lexical binding.
17414 (byte-compile-let*): Remove.
17415 (byte-compile-catch, byte-compile-unwind-protect)
17416 (byte-compile-track-mouse, byte-compile-condition-case):
17417 Handle a new :fun-body form, used for lexical scoping.
17418 (byte-compile-save-window-excursion)
17419 (byte-compile-with-output-to-temp-buffer): Remove.
17420 (byte-compile-defun): Simplify.
17421 (byte-compile-stack-adjustment): New fun.
17422 (byte-compile-out): Use it.
17423 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17424
17425 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17426 handler any more.
17427
17428 * emacs-lisp/byte-opt.el: Use lexical binding.
17429 (byte-inline-lapcode): Remove (to bytecomp).
17430 (byte-compile-inline-expand): Pay attention to inlining to/from
17431 lexically bound code.
17432 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17433 any more.
17434 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17435 any more and don't call compiler-macros.
17436 (byte-compile-splice-in-already-compiled-code): Remove.
17437 (byte-code): Don't inline any more.
17438 (disassemble-offset): Receive `bytes' as argument rather than via
17439 dynamic scoping.
17440 (byte-compile-tag-number): Declare before first use.
17441 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17442 `return' even if make-spliceable.
17443 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17444 obsolete interactive-p.
17445 (byte-optimize-lapcode): Optimize new lap-codes.
17446 Don't trip up on new form of `byte-constant' lap code.
17447
17448 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17449
17450 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17451
17452 * custom.el (custom-initialize-default, custom-declare-variable):
17453 Use `defvar'.
17454
17455 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17456 New variables.
17457 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17458 (COMPILE_FIRST): Add macroexp and cconv.
17459 * makefile.w32-in: Mirror changes in Makefile.in.
17460
17461 * vc/cvs-status.el:
17462 * vc/diff-mode.el:
17463 * vc/log-edit.el:
17464 * vc/log-view.el:
17465 * vc/smerge-mode.el:
17466 * textmodes/bibtex-style.el:
090bd7cb 17467 * textmodes/css-mode.el:
03408648
SM
17468 * startup.el:
17469 * uniquify.el:
da91b5f2
CY
17470 * minibuffer.el:
17471 * newcomment.el:
17472 * reveal.el:
17473 * server.el:
17474 * mpc.el:
17475 * emacs-lisp/smie.el:
17476 * doc-view.el:
17477 * dired.el:
03408648
SM
17478 * abbrev.el: Use lexical binding.
17479
0f0c1f27
EZ
174802011-04-01 Eli Zaretskii <eliz@gnu.org>
17481
17482 * info.el (info-display-manual): New function.
17483
c82b2579
SM
174842011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17485
17486 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17487
221ddf68
TH
174882011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17489
17490 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17491 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17492
cba6e77e
GM
174932011-03-31 Glenn Morris <rgm@gnu.org>
17494
e040639f
GM
17495 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17496
cba6e77e
GM
17497 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17498
6d0f1c9e
CS
174992011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17500
17501 * progmodes/python.el (python-default-interpreter)
17502 (python-python-command-args, python-jython-command-args)
17503 (python-which-shell, python-which-args, python-which-bufname)
17504 (python-file-queue, python-comint-output-filter-function)
17505 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17506 variables and functions.
17507
3e2d70fd
SM
175082011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17509
17510 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17511 (completion-in-region-mode): New minor mode.
17512 (completion-in-region): Use it.
17513 (completion-in-region--data, completion-in-region-mode-map): New vars.
17514 (completion-in-region--postch): New function.
17515 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17516 New vars.
17517 (completion--capf-wrapper): New function.
17518 (completion-at-point): Use it to track well-behavedness of
17519 hook functions.
17520 (completion-help-at-point): New command.
17521
f3e4086c
JM
175222011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17523
17524 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17525 syntax class to search for whitespace on a single line
17526 (Message-ID: <4D938140.4030905@redhat.com>).
17527
eb7ffc14
LL
175282011-03-30 Leo Liu <sdl.web@gmail.com>
17529
17530 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17531 New commands.
17532 (edit-abbrevs-map): Bind them here.
17533 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17534
d806ab68
KM
175352011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17536
17537 * allout.el (allout-hide-by-annotation, allout-flag-region):
17538 Reduce possibility of overlay leakage by making them volatile.
17539
17540 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17541 hash is not shared between buffers. Mode initialization is
17542 responsible for giving it a useful starting value.
17543 (allout-item-span): Reduce possibility of overlay leakage by
17544 making them volatile.
17545 (allout-widgets-count-buttons-in-region): Add diagnostic function
17546 for tracking down button overlay leaks.
17547
ea622834
LL
175482011-03-29 Leo Liu <sdl.web@gmail.com>
17549
17550 * ido.el (ido-read-internal): Use the default history var
17551 minibuffer-history if no HISTORY is specified.
17552
b62f8267
G
175532011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17554
03408648
SM
17555 * net/imap.el (imap-shell-open, imap-process-connection-type):
17556 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17557 Kerberos, SSL, other subprocesses.
17558
947b6566
LL
175592011-03-28 Leo Liu <sdl.web@gmail.com>
17560
17561 * abbrev.el (abbrev-table-empty-p): New function.
17562 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17563 nonempty ones. (Bug#5937)
17564
5ffb62aa
JD
175652011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17566
17567 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17568
7a097943
LL
175692011-03-27 Leo Liu <sdl.web@gmail.com>
17570
17571 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17572 for foreground and background colors.
17573 (ansi-color-make-color-map): Adapt.
17574
c5b40130
LL
175752011-03-25 Leo Liu <sdl.web@gmail.com>
17576
1f48f7d2
LL
17577 * midnight.el (midnight-time-float): Remove. Note it calculates
17578 the microsecond component incorrectly and seconds-to-time does the
17579 same job.
625897ec 17580 Remove redundant (require 'timer).
1f48f7d2 17581
c5b40130
LL
17582 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17583 (ido-completions): Remove unused arguments. (Bug#8329)
17584
d86d2721
SM
175852011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17586
17587 * minibuffer.el (completion--flush-all-sorted-completions):
17588 Remove itself from hook.
17589 (completion-at-point): Let the functions perform the completion
17590 immediately and return nil or t.
17591 * comint.el (comint-dynamic-complete-functions): Now identical to
17592 completion-at-point-functions.
17593 (comint-dynamic-list-input-ring): Remove unused var `index'.
17594 (comint--match-partial-filename, comint--unquote&expand-filename):
17595 New funs, split from comint-match-partial-filename.
17596 (comint-dynamic-complete): Use completion-at-point.
17597 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17598
e8974c48
DA
175992011-03-24 Drew Adams <drew.adams@oracle.com>
17600
17601 * thingatpt.el: Support `defun'.
17602
def71b5e
LL
176032011-03-23 Leo Liu <sdl.web@gmail.com>
17604
cb5af48e
LL
17605 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17606
def71b5e
LL
17607 * help-mode.el (help-mode-finish): Tweak regexp.
17608
927c53e7
GM
176092011-03-23 Glenn Morris <rgm@gnu.org>
17610
18d05bed
GM
17611 * eshell/esh-opt.el (eshell-eval-using-options):
17612 Do not bind unused local variable `eshell-option-stub'.
17613
927c53e7
GM
17614 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17615
9d0da923
JB
176162011-03-22 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17619 keymap variable in `with-no-warnings' to avoid a warning when the
17620 keymap has been already `defconst'ed.
17621
4b978a67
LL
176222011-03-22 Leo Liu <sdl.web@gmail.com>
17623
17624 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17625 encode all chars in abbrevs; otherwise use emacs-mule or
17626 utf-8-emacs. (Bug#8308)
17627
5fd62452
JB
176282011-03-22 Juanma Barranquero <lekktu@gmail.com>
17629
0b1596c6
JB
17630 * simple.el (backward-delete-char-untabify):
17631 Avoid warning about using `delete-backward-char'.
17632
5fd62452
JB
17633 * image.el (image-type-file-name-regexps): Make it variable.
17634 `imagemagick-register-types' modifies it, and the user may want
17635 to add new extensions for known image types.
17636 (imagemagick-register-types): Throw error if not using ImageMagick.
17637
0b4e93f1
LL
176382011-03-22 Leo Liu <sdl.web@gmail.com>
17639
17640 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17641 located before rcirc-prompt-end-marker.
17642 (rcirc-complete): Error if point is not after rcirc prompt.
17643 Handle the case when table is nil.
9882e214 17644 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17645
fccee4ab
CY
176462011-03-22 Chong Yidong <cyd@stupidchicken.com>
17647
17648 * custom.el (custom--inhibit-theme-enable): Make it affect only
17649 custom-theme-set-variables and custom-theme-set-faces.
17650 (provide-theme): Ignore custom--inhibit-theme-enable.
17651 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17652 (custom-enabling-themes): Delete variable.
d86d2721
SM
17653 (enable-theme): Accept only loaded themes as arguments.
17654 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17655 (custom-enabled-themes): Forbid themes from setting this.
17656 Eliminate use of custom-enabling-themes.
17657 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17658
af896da6
LL
176592011-03-21 Leo Liu <sdl.web@gmail.com>
17660
17661 * ido.el (ido-read-internal): Add ido-selected to history instead
17662 of user input.
17663
78f64af0
SM
176642011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17665
17666 * subr.el (deferred-action-list, deferred-action-function):
17667 Mark obsolete.
17668
b16ac1ec
LL
176692011-03-21 Leo Liu <sdl.web@gmail.com>
17670
810f7698
LL
17671 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17672 change on 2011-02-13 (bug#8309).
17673
b16ac1ec
LL
17674 * minibuffer.el (read-file-name-function): Change default value.
17675 (read-file-name--defaults): Rename from read-file-name-defaults.
17676 (read-file-name-default): Rename from read-file-name.
17677 (read-file-name): Call read-file-name-function.
17678
4e05e67e
GM
176792011-03-21 Glenn Morris <rgm@gnu.org>
17680
17681 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17682 Doc fixes.
17683
4359915b
CY
176842011-03-21 Chong Yidong <cyd@stupidchicken.com>
17685
17686 * cus-theme.el: Add missing provide statement.
17687 (customize-create-theme): Extract theme value correctly.
17688 (custom-theme-visit-theme): Autoload.
17689 (customize-create-theme): Prompt before inserting default faces.
17690
1fe275ee
JB
176912011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17692
17693 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17694 units and musical notes.
17695
cd394be1 176962011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17697
17698 * ido.el (ido-read-internal): Use completing-read-default.
17699 (ido-completing-read): Fix compatibility with completing-read.
17700
7d476bde
CO
177012011-03-20 Christian Ohler <ohler@gnu.org>
17702
17703 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17704 (ert-delete-all-tests): Use `called-interactively-p' rather than
17705 `interactive-p'.
17706 (ert--make-xrefs-region): Respect END.
17707
fe0fb33e
CY
177082011-03-19 Chong Yidong <cyd@stupidchicken.com>
17709
ff854b0b
CY
17710 * dired-aux.el (dired-create-directory): Signal an error if the
17711 directory already exists (Bug#8246).
17712
fe0fb33e
CY
17713 * facemenu.el (list-colors-display): Call list-faces-display
17714 inside with-help-window.
17715 (list-colors-print): Use display property to align the final
17716 column, instead of checking window-width.
17717
576bce32
EZ
177182011-03-19 Eli Zaretskii <eliz@gnu.org>
17719
4d61f28d 17720 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17721 windows-nt systems.
17722 (emerge-protect-metachars): Quote correctly for ms-dos and
17723 windows-nt systems.
17724
89c41d68 177252011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17726
17727 * info.el (info-initialize): Replace all uses of `:' with
17728 path-separator for compatibility with non-Unix systems.
17729 Cache quoting of path-separator. (Bug#8258)
17730
b14e3e21 177312011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17732
17733 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17734 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17735 (mouse-avoidance-mode): Fix typos in docstrings.
17736
4525ce3e
CY
177372011-03-19 Chong Yidong <cyd@stupidchicken.com>
17738
17739 * startup.el (package-subdirectory-regexp): Move from package.el.
17740 Omit \\` and \\', and let callers add them.
17741
17742 * emacs-lisp/package.el (package-strip-version)
17743 (package-load-all-descriptors): Add \\` and \\' to
17744 package-subdirectory-regexp before using it.
17745 (package-untar-buffer): New arg DIR; ensure that file untars only
17746 into this expected directory. Remove superfluous delete-region.
17747 (package-unpack): Caller changed.
17748 (package-tar-file-info): Use package-subdirectory-regexp.
17749
a904a09a 177502011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17751
a904a09a
SM
17752 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17753 diff-mode-shared-map (bug#8284).
17754 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17755
177562011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17757
17758 * calendar/time-date.el (format-seconds): Use assoc instead of
17759 assoc-string, since assoc-string doesn't exist in XEmacs.
17760
171fc304
JB
177612011-03-17 Juanma Barranquero <lekktu@gmail.com>
17762
17763 * custom.el (custom-known-themes): Reflow docstring.
17764 (custom-theme-load-path): Fix typo in docstring.
17765 (load-theme): Fix typo in error message.
17766 (custom-available-themes, custom-variable-theme-value):
17767 Use `let', not `let*'.
17768
d71990a1
JB
177692011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17770
17771 * calc/README: Mention inclusion of musical notes.
17772
17773 * calc/calc-units.el (calc-lu-quant): Rename from
17774 `calc-logunits-quantity'.
17775 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17776 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17777 (calc-db): Rename from `calc-dblevel'.
17778 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17779 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17780 (calc-np): Rename from `calc-nplevel'.
17781 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17782 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17783 (calc-lu-plus): Rename from `calc-logunits-add'.
17784 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17785 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17786 (calc-lu-minus): Rename from `calc-logunits-sub'.
17787 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17788 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17789 (calc-lu-times): Rename from `calc-logunits-mul'.
17790 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17791 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17792 (calc-lu-divide): Rename from `calc-logunits-div'.
17793 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17794 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17795
17796 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17797 functions being autoloaded.
17798
17799 * calc/calc.el (calc-lu-power-reference): Rename from
17800 `calc-logunits-power-reference'.
17801 (calc-lu-field-reference): Rename from
17802 `calc-logunits-field-reference'.
17803
7a71b18d
GM
17804 * calc/calc-help.el (calc-l-prefix-help):
17805 Mention musical note functions.
d71990a1 17806
40c2934b
SM
178072011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17808
17809 * minibuffer.el (completion-all-sorted-completions):
17810 Use :completion-cycle-penalty text property if present.
17811
b0911414
KM
178122011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17813
17814 * allout.el (allout-yank-processing): Adjust for new rebulleting
17815 regime so bullet being yanked is used without prompting the user
17816 for a choice.
17817
8a05b668
JB
178182011-03-16 Juanma Barranquero <lekktu@gmail.com>
17819
17820 * startup.el (command-line): Warn the user that _emacs is deprecated.
17821
5ba5fb81
JB
178222011-03-16 Juanma Barranquero <lekktu@gmail.com>
17823
17824 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17825 (delphi-verbose, delphi-comment-face, delphi-string-face)
17826 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17827 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17828 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17829 (delphi-new-comment-line, delphi-font-lock-defaults)
17830 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17831 Fix typos in docstrings.
17832
2dab465b
KM
178332011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17834
5ba5fb81 17835 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17836 Invert the roles of character and string values for INSTEAD, so a
17837 string is used for the more common case of a defaulting prompt.
17838
0adf5618
SM
178392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17840
17841 * progmodes/ruby-mode.el (ruby-backward-sexp):
17842 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17843 * play/gamegrid.el (gamegrid-make-face):
17844 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17845 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17846 * notifications.el (notifications-notify):
17847 * net/xesam.el (xesam-search-engines):
17848 * net/quickurl.el (quickurl-list-insert):
17849 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17850
d72700e5
CY
178512011-03-15 Chong Yidong <cyd@stupidchicken.com>
17852
17853 * startup.el (command-line): Update package subdirectory regexp.
17854
49c5410a
SM
178552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17856
c6eee9aa
SM
17857 * allout.el (allout-abbreviate-flattened-numbering)
17858 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17859
49c5410a
SM
17860 * subr.el (read-char-choice): Only show the cursor after the prompt,
17861 not after the answer.
17862
047b2bb9
KR
178632011-03-15 Kevin Ryde <user42@zip.com.au>
17864
17865 * help-fns.el (variable-at-point): Skip leading quotes, if any
17866 (bug#8253).
17867
0a57d256
SM
178682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17869
17870 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17871 warning message.
17872
77c992bc
MA
178732011-03-14 Michael Albinus <michael.albinus@gmx.de>
17874
17875 * shell.el (shell): When called interactively, offer to change the
17876 shell file name on remote hosts.
17877
eebc475d
TZ
178782011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17879
17880 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17881 integration for LDAP parameters. The host, base, user or binddn,
17882 and secret tokens can be specified in a netrc file, for instance.
17883 This is optional because an `auth-source' parameter must be
17884 specified in the search attributes.
17885
9d05d1ba
JB
178862011-03-13 Juanma Barranquero <lekktu@gmail.com>
17887
17888 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17889
09d9db2c
GM
178902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17891
17892 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17893 into declaration. Remove redundant and harmful binding.
17894
178952011-03-12 Eli Zaretskii <eliz@gnu.org>
17896
17897 * files.el (file-ownership-preserved-p): Pass `integer' as an
17898 explicit 2nd argument to `file-attributes'. If the file's owner
17899 is the Administrators group on Windows, and the current user is
17900 Administrator, consider that a match.
17901
17902 * server.el (server-ensure-safe-dir): Consider server directory
17903 safe on MS-Windows if its owner is the Administrators group while
17904 the current Emacs user is Administrator. Use `=' to compare
17905 numerical UIDs, since they could be integers or floats.
17906
219bd536
JB
179072011-03-12 Juanma Barranquero <lekktu@gmail.com>
17908
17909 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17910
f3afd36b
MA
179112011-03-12 Michael Albinus <michael.albinus@gmx.de>
17912
17913 Sync with Tramp 2.2.1.
17914
17915 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17916
17917 * net/trampver.el: Update release number.
17918
3aaaa6f1
SM
179192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17920
94642599
SM
17921 * progmodes/compile.el (compilation--previous-directory): Fix up
17922 various nil/dead-marker mismatches (bug#8014).
17923 (compilation-directory-properties, compilation-error-properties):
17924 Don't call it at a position past the one we're about to change.
17925
3aaaa6f1
SM
17926 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17927 Disable obsolescence warnings in the file that declares it.
17928
14239447
KM
179292011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17930
099c39a4
JB
17931 * allout-widgets.el (allout-widgets-tally):
17932 Initialize allout-widgets-tally as a hash table rather than nil to
17933 prevent mode-line redisplay warnings. Also, clarify the module
17934 description and fix a comment typo.
14239447 17935
135e287c
JB
179362011-03-11 Juanma Barranquero <lekktu@gmail.com>
17937
17938 * help-fns.el (describe-variable): Don't complete keywords.
17939 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17940
ffbf300e
CY
179412011-03-10 Chong Yidong <cyd@stupidchicken.com>
17942
ba08b241
CY
17943 * emacs-lisp/package.el (package-version-join): Impose a standard
17944 string representation for pre/alpha/beta version lists.
17945 (package-unpack-single): Standardize the directory name by passing
17946 it through package-version-join.
17947 (package-strip-rcs-id): Accept any version string that does not
17948 signal an error in version-to-list.
ffbf300e 17949
f346fd6b
MA
179502011-03-10 Michael Albinus <michael.albinus@gmx.de>
17951
17952 * simple.el (delete-trailing-whitespace): Return nil for the
17953 benefit of `write-file-functions'.
17954
ccb55d27
GM
179552011-03-10 Glenn Morris <rgm@gnu.org>
17956
5ceaac0c
GM
17957 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17958
02da65ff
GM
17959 * vc/vc-git.el (vc-git-program): New option.
17960 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17961 (vc-git--call): Use it.
17962
b2f603cc
GM
17963 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17964
5772caab
GM
17965 * cus-edit.el (Custom-newline): If no button at point, look
17966 for a subgroup button at start-of-line. (Bug#2298)
17967
ccb55d27
GM
17968 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17969
ec6ecaed
JD
179702011-03-10 Julien Danjou <julien@danjou.info>
17971
17972 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17973 `cursor-type' is nil.
17974
9d5aa01d
JB
179752011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17976
17977 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17978
b6a5875b
KM
179792011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17980
7a71b18d 17981 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17982 preserves the existing header prefix, rebulleting it if necessary,
17983 rather than replacing it. This is necessary for proper operation
17984 of cooperative addons like allout-widgets.
1154d12e
JB
17985 (allout-make-topic-prefix, allout-rebullet-heading):
17986 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17987 value as alternate bullet to be used, instead of prompting the user
17988 for a bullet character.
b6a5875b 17989
ee545c35
MA
179902011-03-09 Michael Albinus <michael.albinus@gmx.de>
17991
d86d2721
SM
17992 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17993 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17994 `tramp-default-port'.
17995
c47971d7
DD
179962011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17997
17998 * net/rcirc.el (rcirc-handler-001): Remove useless
17999 with-rcirc-process-buffer.
18000 (rcirc-check-auth-status): Swap arguments to string-match.
18001
13522cb4
GM
180022011-03-09 Glenn Morris <rgm@gnu.org>
18003
0be6f4f1
GM
18004 * shell.el (shell-mode):
18005 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18006
13522cb4
GM
18007 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18008 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18009
515de2e3
CY
180102011-03-08 Chong Yidong <cyd@stupidchicken.com>
18011
18012 * emacs-lisp/package.el (package-refresh-contents)
18013 (package-menu-execute): Use condition-case-no-debug.
18014
b511b994
MA
180152011-03-08 Michael Albinus <michael.albinus@gmx.de>
18016
18017 * simple.el (shell-command-to-string): Use `process-file'.
18018
18019 * emacs-lisp/package.el (package-tar-file-info): Handle also
18020 remote files.
18021
d86d2721
SM
18022 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18023 Use `equal' for upload base check.
b511b994 18024
25bbfb31
AM
180252011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18026
18027 * textmodes/texinfo.el (texinfo-environments):
18028 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18029
be996521
GM
180302011-03-08 Glenn Morris <rgm@gnu.org>
18031
e9c8529f
GM
18032 * cus-start.el (cursor-in-non-selected-windows):
18033 Fix :set quoting oddness. (Bug#8192)
18034
be996521
GM
18035 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18036 in some setf expressions. (Bug#2159)
18037
2bb5649e
CY
180382011-03-08 Chong Yidong <cyd@stupidchicken.com>
18039
18040 * custom.el (custom-available-themes): Return themes in
18041 alphabetical order.
18042
33383987 18043See ChangeLog.15 for earlier changes.
e3d51b27
MR
18044
18045;; Local Variables:
18046;; coding: utf-8
e3d51b27
MR
18047;; End:
18048
acaf905b 18049 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18050
18051 This file is part of GNU Emacs.
18052
18053 GNU Emacs is free software: you can redistribute it and/or modify
18054 it under the terms of the GNU General Public License as published by
18055 the Free Software Foundation, either version 3 of the License, or
18056 (at your option) any later version.
18057
18058 GNU Emacs is distributed in the hope that it will be useful,
18059 but WITHOUT ANY WARRANTY; without even the implied warranty of
18060 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18061 GNU General Public License for more details.
18062
18063 You should have received a copy of the GNU General Public License
18064 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.