* lisp/simple.el (read-only-mode): Move from lisp/files.el for bootstrapping.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
35e62fc9
SM
12012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
af070a1c
SM
3 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4 * files.el (read-only-mode): Move to simple.el.
5
35e62fc9
SM
6 * files.el (read-only-mode): New minor mode.
7 (toggle-read-only): Use it and mark obsolete.
8 (find-file--read-only):
9 * vc/vc.el (vc-next-action, vc-checkout):
10 * vc/vc-cvs.el (vc-cvs-checkout):
11 * obsolete/vc-mcvs.el (vc-mcvs-update):
12 * ffap.el (ffap--toggle-read-only): Update callers.
13
c2c43c23
MA
142012-08-29 Michael Albinus <michael.albinus@gmx.de>
15
16 * eshell/esh-ext.el (eshell-external-command): Do not examine
17 remote shell scripts. See
18 <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
19
20 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
21 "/usr/local/sbin".
22
9fba804b
SM
232012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
26
eada0861 272012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 28
806f0cc7
LL
29 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
30 completion-at-point. (Bug#12220)
31
3bb213b9
LL
32 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
33
22ab32ef
LL
34 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
35
eada0861 362012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 37
19c17fc1
CY
38 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
39 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 40
eada0861 412012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
42
43 * progmodes/hideif.el (hif-compress-define-list):
44 Fix typo. (Bug#11951)
45
eada0861 462012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
47
48 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
49 buffer local setting.
50
27d6c5a8
LL
51 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
52 rcirc-encode-coding-system.
53
eada0861 542012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
55
56 * net/rcirc.el (rcirc-split-message): New function.
57 (rcirc-send-message): Use it. (Bug#12051)
58
d44688e4
JL
592012-08-28 Juri Linkov <juri@jurta.org>
60
61 * info.el (Info-fontify-node): Hide empty lines at the end of
62 the node. (Bug#12272)
63
34f10d41
MR
642012-08-27 Drew Adams <drew.adams@oracle.com>
65
66 * dired.el (dired-pop-to-buffer): Make window start at beginning
67 of buffer (Bug#12281).
68
77f1f99c
CY
692012-08-26 Chong Yidong <cyd@gnu.org>
70
71 * window.el (special-display-regexps, special-display-frame-alist)
72 (special-display-buffer-names, special-display-function)
73 (display-buffer-reuse-frames): Mark as obsolete.
74
75 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
76
77 * help.el (help-print-return-message): Don't treat
78 display-buffer-reuse-frames specially.
79
d97af5a0
CY
802012-08-26 Chong Yidong <cyd@gnu.org>
81
9fba804b
SM
82 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
83 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
84 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
85 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
86 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
87 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
88 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
89 the functions directly with gdb-display-buffer-other-frame-action.
90 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
91 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
92 (gdb-display-stack-buffer, gdb-display-locals-buffer)
93 (gdb-display-registers-buffer): Define directly.
94 (def-gdb-display-buffer): Macro deleted.
95 (gdb-display-buffer): Remove second and third args, callers don't
96 use them. Defer to the default display-buffer behavior, apart
97 from making windows dedicated.
98 (gdb-setup-windows): Don't call display-buffer unnecessarily.
99
100 * progmodes/gud.el (gud-display-line): Just use display-buffer.
101
102 * window.el (display-buffer-pop-up-frame): Handle a
103 pop-up-frame-parameters alist entry.
104 (display-buffer): Document it.
105
dd7ffad6
CY
1062012-08-26 Chong Yidong <cyd@gnu.org>
107
108 * isearch.el (search-whitespace-regexp): Make string and nil
109 values apply to both ordinary and regexp search. Allow a cons
110 cell value to distinguish between the two.
111 (isearch-whitespace-regexp, isearch-search-forward)
112 (isearch-search-backward): New functions.
113 (isearch-occur, isearch-search-fun-default, isearch-search)
114 (isearch-lazy-highlight-new-loop): Use them.
115 (isearch-forward, isearch-forward-regexp): Doc fix.
116
4c47bd1e
CY
1172012-08-26 Chong Yidong <cyd@gnu.org>
118
119 * faces.el (help-argument-name): Always inherit from italic
120 (Bug#12213).
121
9aba119d
MR
1222012-08-25 Martin Rudalics <rudalics@gmx.at>
123
124 * window.el (window--even-window-heights): Even heights when
125 WINDOW and the selected window form a vertical combination.
126 (display-buffer-use-some-window): Provide that window used gets
127 sized back by quit-window. (Bug#11880) and (Bug#12091)
128
ca5256ad
PE
1292012-08-24 Paul Eggert <eggert@cs.ucla.edu>
130
131 Fix file time stamp problem with bzr and CVS (Bug#12001).
132 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
133 in the file's time stamp, since the version control system loses
134 that information.
135
d1c0d176
JL
1362012-08-22 Juri Linkov <juri@jurta.org>
137
138 * info.el (Info-fontify-node): Hide the suffix of the
139 Info file name in the header line. (Bug#12187)
140
141562ff
GM
1412012-08-22 Glenn Morris <rgm@gnu.org>
142
143 * calendar/cal-tex.el (cal-tex-weekly-common):
144 Restore leading blank page.
145
61a48e19 1462012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
147
148 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
149 the region under `shift-select-mode'. (Bug#12231)
150
1512012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
152
153 * progmodes/executable.el (executable-prefix): Set to "#!" instead
154 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
155 gives details on why the space is never needed.
156
ea95074e
MR
1572012-08-22 Martin Rudalics <rudalics@gmx.at>
158
9fba804b
SM
159 * window.el (walk-window-tree, window-with-parameter):
160 New optional argument MINIBUF to control whether these functions
ea95074e
MR
161 should run on the minibuffer window.
162 (window-at-side-list): Don't operate on minibuffer window.
163 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
164 (window--size-ignore): Rename to window--size-ignore-p.
165 Update callers.
caceae25
MR
166 (display-buffer-in-atom-window, window--major-non-side-window)
167 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
168 (delete-side-window, display-buffer-in-side-window):
169 New functions.
caceae25
MR
170 (window--side-check, window-deletable-p, delete-window)
171 (delete-other-windows, split-window): Handle side windows and
172 atomic windows appropriately.
173 (window--display-buffer): Call display-buffer-record-window also
174 when the window buffer did not change.
ea95074e 175
80a51fa0
CS
1762012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
177
178 * help-fns.el (help-fns--key-bindings):
179 Abbreviate non-symbol remap targets. (Bug#12174)
180
fbb6300b
MR
1812012-08-22 Martin Rudalics <rudalics@gmx.at>
182
183 * dired.el (dired-mark-remembered): Don't clobber point.
184 (Bug#11795)
185
2b2c0794
GM
1862012-08-22 Glenn Morris <rgm@gnu.org>
187
188 * progmodes/bug-reference.el (bug-reference): New custom group.
189 (bug-reference-bug-regexp): Make it a defcustom.
190
37219830
DU
1912012-08-22 Daiki Ueno <ueno@unixuser.org>
192
193 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
194 (js-paren-indent-offset, js-square-indent-offset)
195 (js-curly-indent-offset): Add :safe (Bug#12257).
196
94e0e559
EC
1972012-08-22 Edward O'Connor <hober0@gmail.com>
198
199 * json.el (json-key-format): Add error properties.
200 (json-encode-key): New function.
201 (json-encode-hash-table, json-encode-alist, json-encode-plist):
202 Use json-encode-key.
203
da485f5e
GM
2042012-08-22 Glenn Morris <rgm@gnu.org>
205
206 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
207 (cal-tex-leftday, cal-tex-rightday): Remove functions.
208 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
209 Update for above change.
210
c6cc78b8
AS
2112012-08-21 Andreas Schwab <schwab@linux-m68k.org>
212
213 * cus-face.el (custom-face-attributes): Fix customize type for the
214 :underline attribute. (Bug#11805)
215
5481664a
MR
2162012-08-21 Martin Rudalics <rudalics@gmx.at>
217
218 * window.el (window-point-1, set-window-point-1): Remove.
219 (window-in-direction, record-window-buffer)
220 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
221 (window--state-get-1, display-buffer-record-window):
222 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
223 window-point and set-window-point respectively.
224
6d74698e
GM
2252012-08-21 Glenn Morris <rgm@gnu.org>
226
b7fa2691
GM
227 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
228 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
229 Use it.
230
52f56d5a
GM
231 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
232 (cal-tex-shortday): New function.
233 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
234 (cal-tex-cursor-filofax-daily): Use the above.
235
9f1ee09e
GM
236 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
237 New functions.
238 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
239 (cal-tex-cursor-filofax-week): Use them.
240
79858159
GM
241 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
242 New constants.
243 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
244 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
245
d346b2b4
GM
246 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
247 (cal-tex-end-document): Don't rely on buffer name.
248
b2403709
GM
249 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
250 Use cal-tex-vspace.
251 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
252 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
253 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
254 Use cal-tex-arg.
b2403709 255
1cebb5c0
GM
256 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
257 (cal-tex-cursor-week, cal-tex-cursor-week2)
258 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
259 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
260 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
261 (cal-tex-insert-preamble, cal-tex-b-document)
262 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
263 Improve cal-tex-cmd usage.
264
c68cd5d4
GM
265 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
266 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
267 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
268 (cal-tex-weekly-paper): New function.
269 (cal-tex-cursor-week, cal-tex-cursor-week2)
270 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
271 (cal-tex-cursor-day): Use it.
272
9dca4801
GM
273 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
274 (cal-tex-cursor-filofax-week): Remove leading blank page.
275
1941e134
GM
276 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
277 Add autoload cookie. For now at least, don't use color, since
278 no other cal-tex function does.
279
6d74698e
GM
280 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
281 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
282 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
283
64cde199
JL
2842012-08-21 Juri Linkov <juri@jurta.org>
285
286 * info.el (Info-file-attributes): New variable.
287 (info-insert-file-contents): Add file attributes to
288 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
289 `Info-toc-nodes' when previous modtime of the Info file is less
290 than new modtime.
291 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
292 of info.el. (Bug#12230)
293
32757648
GM
2942012-08-20 Glenn Morris <rgm@gnu.org>
295
296 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
297 * calendar/holidays.el (calendar-holiday-list):
298 Report errors with display-warning rather than beep'n'sleep.
299
a32fbbcf
MA
3002012-08-20 Michael Albinus <michael.albinus@gmx.de>
301
302 * net/tramp.el (tramp-accept-process-output): Accept only output
303 from PROC. Otherwise, process filters and sentinels might be
304 confused. (Bug#12145)
305
a05731a0
CY
3062012-08-20 Chong Yidong <cyd@gnu.org>
307
308 * descr-text.el (describe-text-properties-1): Use overlays-in to
309 report on empty overlays (Bug#3322).
310
36e8d1eb
GM
3112012-08-20 Glenn Morris <rgm@gnu.org>
312
3d300447
GM
313 * mail/rmailout.el (rmail-output-read-file-name):
314 Trap and report errors in rmail-output-file-alist elements.
315
36e8d1eb
GM
316 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
317 since most non-font-lock faces are not also variables).
318
b96e5814
ER
3192012-08-20 Edward Reingold <reingold@iit.edu>
320
321 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
322 New function. (Bug12160)
323
7cef3569
GM
3242012-08-19 Glenn Morris <rgm@gnu.org>
325
326 * mail/rmailout.el (rmail-output-read-file-name):
327 Fix previous change (when the alist is nil or does not match).
328
17975d7f
CY
3292012-08-19 Chong Yidong <cyd@gnu.org>
330
331 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
332 (Bug#12228).
333
2170b1bd
CY
3342012-08-18 Chong Yidong <cyd@gnu.org>
335
336 * simple.el (yank-handled-properties): New defcustom.
337 (yank-excluded-properties): Add font-lock-face and category.
338 (yank): Doc fix.
339
9fba804b
SM
340 * subr.el (remove-yank-excluded-properties):
341 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
342 and category is now done this way, instead of being hard-coded.
343 (insert-for-yank-1): Remove font-lock-face handling.
344 (yank-handle-font-lock-face-property)
345 (yank-handle-category-property): New function.
346
ee218151
GM
3472012-08-17 Glenn Morris <rgm@gnu.org>
348
349 * mail/rmailout.el (rmail-output-read-file-name):
350 Check rmail-output-file-alist against the full message body
351 in the correct rmail buffer. (Bug#12214)
352
4a6bc3fd
MA
3532012-08-17 Michael Albinus <michael.albinus@gmx.de>
354
9fba804b
SM
355 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
356 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 357
383dcbf9
CY
3582012-08-17 Chong Yidong <cyd@gnu.org>
359
360 * mouse.el (mouse-appearance-menu): If x-select-font returns a
361 font spec, set the font directly (Bug#3228).
362
998c4a6a
MR
3632012-08-17 Martin Rudalics <rudalics@gmx.at>
364
365 * window.el (delete-window): Fix last fix.
366
52162052
MR
3672012-08-16 Martin Rudalics <rudalics@gmx.at>
368
369 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
370 (window-child, window-child-count, window-last-child)
371 (window-normalize-window, window-combined-p)
372 (window-combinations, window-atom-root, window-min-size)
373 (window-sizable, window-sizable-p, window-size-fixed-p)
374 (window-min-delta, window-max-delta, window--resizable)
375 (window--resizable-p, window-resizable, window-total-size)
376 (window-full-height-p, window-full-width-p, window-body-size)
377 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
378 (minimize-window, window-deletable-p, delete-window)
379 (delete-other-windows, set-window-buffer-start-and-point)
380 (next-buffer, previous-buffer, split-window, balance-windows-2)
381 (set-window-text-height, window-buffer-height)
382 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
383 (truncated-partial-width-window-p): Minor code adjustments.
384 In doc-strings state whether the argument window has to denote a
85c2386b 385 live, valid or any window.
52162052 386
1c308380
PS
3872012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
388
389 * progmodes/subword.el (subword-forward-function)
390 (subword-backward-function, subword-forward-regexp)
391 (subword-backward-regexp): New variables.
392 (subword-forward, subword-forward-internal, subword-backward-internal):
393 Use new variables, eg so that different "word" definitions
394 can be easily used. (Bug#11411)
395
94c9ece1
SM
3962012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
399 for composite selectors.
400 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
401 operation just because we can't find a previous revision.
402
f2045622
CY
4032012-08-15 Chong Yidong <cyd@gnu.org>
404
405 * frame.el (set-frame-font): Accept font objects.
406
582db660
SM
4072012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
410
2f29c200
WJ
4112012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
412
456e62c2
WJ
413 * man.el (Man-overstrike-face, Man-underline-face)
414 (Man-reverse-face): Remove variables.
415 (Man-overstrike, Man-underline, Man-reverse): New faces.
416 (Man-fontify-manpage): Use them instead of the variables.
417 (Man-cleanup-manpage): Comment change.
418 (Man-ansi-color-map): New variable.
419 (Man-fontify-manpage): Use it.
420 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
421
2f29c200
WJ
422 Implement ANSI SGR parameters 22-27 (bug#12146).
423 * ansi-color.el (ansi-colors): Doc fix.
424 (ansi-color-context, ansi-color-context-region): Doc fix.
425 (ansi-color--find-face): New function.
426 (ansi-color-apply, ansi-color-apply-on-region): Use it.
427 Rename the local variable `face' to `codes' since it is now a list of
428 ansi codes. Doc fix.
429 (ansi-color-get-face): Remove.
430 (ansi-color-parse-sequence): New function, derived from
431 ansi-color-get-face.
432 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
433 codes 22-27.
434
b4f5e9df
SM
4352012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * subr.el (read-passwd): Allow use from a minibuffer.
438
ba025fbd
EZ
4392012-08-14 Eli Zaretskii <eliz@gnu.org>
440
441 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
442 inside comments and strings as identifiers.
443
444 * progmodes/gud.el (gud-tooltip-print-command): Quote the
445 expression to evaluate. This allows to evaluate expressions with
446 embedded whitespace.
447 (gud-tooltip-tips): Add a blank before the newline in the
448 message-box text, for the benefit of message-box emulation on
449 MS-Windows.
450
451 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
452 messages from GDB, pop them up in a tooltip to give feedback to
453 user.
b4f5e9df
SM
454 (gdb-tooltip-print-1): Quote the expression to evaluate.
455 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
456 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
457 if the TTY name is nil or empty (which happens when communicating
458 with the inferior via pipes, e.g. on MS-Windows).
459 (gdb-internals): If GDB sends a "&\n" empty debugging message,
460 don't send that to the GUD buffer.
461
c548f821
GM
4622012-08-14 Glenn Morris <rgm@gnu.org>
463
464 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
465 Optimize away setq-default with no args, as for setq. (Bug#12195)
466
55802e4a
CY
4672012-08-14 Chong Yidong <cyd@gnu.org>
468
4abcdac8
CY
469 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
470
55802e4a
CY
471 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
472 (Bug#12085).
473
3c3cda1a
GM
4742012-08-14 Glenn Morris <rgm@gnu.org>
475
476 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
477
e1873bd0
MA
4782012-08-14 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
481 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
482 Use cached shell name.
483
925411b4
FEG
4842012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
485
486 * progmodes/python.el (python-shell-send-string):
3c3cda1a 487 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 488
e636fafe
DG
4892012-08-14 Dmitry Gutov <dgutov@yandex.ru>
490
491 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
492 (ruby-percent-literal-beg-re): New constant.
493 (ruby-syntax-general-delimiters-goto-beg): Rename to
494 `ruby-syntax-enclosing-percent-literal', improve literal type check.
495 (ruby-syntax-propertize-general-delimiters): Rename to
496 `ruby-syntax-propertize-percent-literal', it's a shorter and more
497 popular term. Adjust comments everywhere.
498 (ruby-syntax-propertize-percent-literal): Only propertize when not
499 inside a simple string or comment. When the literal is unclosed,
500 leave the text after it unpropertized.
f063063a
DG
501 (ruby-syntax-methods-before-regexp): New constant.
502 (ruby-syntax-propertize-function): Use it to recognize regexps.
503 Don't look at the text after regexp, just use the whitelist.
e636fafe 504
e5b19827
AS
5052012-08-14 Andreas Schwab <schwab@linux-m68k.org>
506
507 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
508 non-nil always load the compiled file if it exists. (Bug#12197)
509
a9f6f311
CY
5102012-08-14 Chong Yidong <cyd@gnu.org>
511
512 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
513 (hi-lock-set-pattern): When deciding whether to use font lock or
514 overlays, look at font-lock-mode instead of font-lock-fontified
515 (Bug#12168).
516 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
517 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
518
7d806b1e
DU
5192012-08-14 Daiki Ueno <ueno@unixuser.org>
520
521 * subr.el (internal--after-with-selected-window): Fix typo
522 (Bug#12193).
523
5beed586
FEG
5242012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
525
526 Use `completion-table-dynamic' for completion functions.
527 * progmodes/python.el
528 (python-shell-completion--do-completion-at-point)
e636fafe
DG
529 (python-shell-completion--get-completions):
530 Remove functions.
5beed586
FEG
531 (python-shell-completion-complete-at-point): New function.
532 (python-completion-complete-at-point): Use it.
533
92cb3b04
J
5342012-08-13 Jambunathan K <kjambunathan@gmail.com>
535
536 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
537 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
538
89660017
SM
5392012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
540
3c98c962
SM
541 * subr.el (function-get): Refine `autoload' arg so it can also
542 autoload functions for gv.el (bug#12191).
543 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
544 autoloads macros.
545
aa7c6dbe
SM
546 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
547 Prefer pcase-let over destructuring-bind.
548 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
549 Also, remove whitespace as we go, rather than after accumulating the
550 various places.
551
89660017
SM
552 * subr.el (internal--before-with-selected-window)
553 (internal--after-with-selected-window): Fix typo seleted->selected.
554 (with-selected-window): Adjust callers.
555 Reported by Dmitry Gutov <dgutov@yandex.ru>.
556
31cd32c9
BG
5572012-08-13 Bastien Guerry <bzg@gnu.org>
558
0fcd3d9f 559 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
560 enhancement. (Bug#12172)
561
1b15d8ad
AS
5622012-08-13 Andreas Schwab <schwab@linux-m68k.org>
563
31e54db0
AS
564 * tar-mode.el (tar-header-data-end): Only ignore size for files of
565 type 1-6.
566 (tar-header-block-summarize, tar-get-descriptor): Handle pax
567 extended headers.
568
1b15d8ad
AS
569 * files.el (hack-local-variables-filter): Remove useless eval.
570
35cb9c06
MR
5712012-08-13 Martin Rudalics <rudalics@gmx.at>
572
573 * subr.el (with-selected-window): Fix last change.
574
1439443b
SM
5752012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * subr.el (internal--before-with-seleted-window)
578 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
579 (with-selected-window): Use them, to replace dependency on
580 tty-top-frame.
1439443b 581
0d9e2599
NN
5822012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
583
584 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
585 binding for `newline'.
586 (ruby-move-to-block): When moving backward, stop at block opening,
587 not indentation.
588 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
589 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
590 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
591 `ruby-toggle-block'.
592
ba10c48c
SM
5932012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * ibuffer.el (ibuffer-do-toggle-read-only):
596 * dired.el (dired-toggle-read-only):
597 * buff-menu.el (Buffer-menu-toggle-read-only):
598 * bindings.el (mode-line-toggle-read-only):
599 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
600
9229c658
AS
6012012-08-12 Andreas Schwab <schwab@linux-m68k.org>
602
603 * descr-text.el (describe-char): Put the overlays over the
604 "displayed as" character.
605
0fd09128
JB
6062012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
607
608 * calc/calc-units.el (math-default-units-table): Give an
609 initial value.
610 (math-put-default-units): Add options to put composite units and
611 unit systems in the default units table.
612 (calc-convert-units): Send composite units to
613 `math-put-default-units' when appropriate.
614
9ff9402d 6152012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 616
fbb5e336
GM
617 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
618
7aacaf15
GM
619 * tutorial.el (help-with-tutorial):
620 * emacs-lisp/copyright.el (copyright-update-directory):
621 * emacs-lisp/autoload.el (autoload-find-generated-file)
622 (autoload-find-file): Disable local eval: (for insurance).
623
f40b9f10
GM
624 * files.el (hack-local-variables-filter): If an eval: form is not
625 known to be safe, and enable-local-variables is :safe, then ignore
626 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 627 This is CVE-2012-3479.
f40b9f10 628
daa9f1a6
SM
6292012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
632 (rx-form): Simplify.
633
9cd80478
DG
6342012-08-09 Dmitry Gutov <dgutov@yandex.ru>
635
0d9e2599
NN
636 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
637 ?, _, and : are symbol constituents, ! is not (but kinda should be).
638 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
639 (ruby-syntax-propertize-function): Adjust for changes in
640 `ruby-syntax-propertize-heredoc'.
641
6422012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
643
9cd80478
DG
644 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
645 binding (use `M-;' instead).
9cd80478 646 (ruby-singleton-class-p): New function.
0d9e2599 647 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 648
d301b413
SM
6492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
652
1530c98e
CY
6532012-08-10 Chong Yidong <cyd@gnu.org>
654
655 * progmodes/python.el (python-shell-get-process-name): Don't mess
656 with same-window-buffer-names.
657
658 * eshell/eshell.el (eshell-add-to-window-buffer-names)
659 (eshell-remove-from-window-buffer-names): Make obsolete.
660 (eshell-buffer-name, eshell-unload-hook): Don't use them.
661 (eshell): Just use pop-to-buffer-same-window instead.
662
e1293765
CY
6632012-08-10 Chong Yidong <cyd@gnu.org>
664
665 * bindings.el: Bind M-= back to count-words-region.
666
667 * simple.el (count-words-region): Accept a prefix arg for acting
668 on the entire buffer.
669 (count-words--buffer-message): New helper function.
670
e1894109
SM
6712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
674 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
675 (event-start, event-end): Use posn-at-point to return a more
676 informative posn.
677 (posnp): New function.
678 * mouse.el (popup-menu-normalize-position): Use it.
679
c69f56a2
MY
6802012-08-10 Masatake YAMATO <yamato@redhat.com>
681
682 * mouse.el (popup-menu-normalize-position): New function.
683 (popup-menu): Use `popup-menu-normalize-position' to normalize
684 the form for POSITION argument.
685
686 * term/x-win.el (x-menu-bar-open):
687 Use the value returend from (posn-at-point) as position
688 passed to `popup-menu'.
689
31673780
JB
6902012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
691
692 * calc/calccomp.el (math-compose-expr): Add extra argument
693 indicating that parentheses should be put around products in
694 denominators. Give multiplication precedence over division during
695 composition.
696
dab7711b
CY
6972012-08-09 Chong Yidong <cyd@gnu.org>
698
dee4ef93
CY
699 * man.el (Man-switches, Man-sed-command, Man-awk-command)
700 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
701 (Man-untabify-command, manual-program): Convert to defcustom
702 (Bug#10429).
703
73e2bbc5
CY
704 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
705
3e861c8a
CY
706 * descr-text.el (describe-char): Don't insert extra newlines
707 (Bug#10127).
708
a9f5a649
CY
709 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
710 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
711
dab7711b
CY
712 * align.el (align-region): Delete temporary markers (Bug#10047).
713 Plus some code cleanups.
714
e0cc4efa
FEG
7152012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
716
717 * progmodes/python.el (python-pdbtrack-tracked-buffer)
718 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
719 (python-shell-internal-last-output): Use make-local-variable
720 instead of make-variable-buffer-local.
721
489af14f
FEG
7222012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
723
724 * progmodes/python.el: Enhancements to forward-sexp.
725 (python-nav-forward-sexp): Rename from
726 python-nav-forward-sexp-function.
c69f56a2
MY
727 (python-nav--forward-sexp, python-nav--backward-sexp):
728 New functions.
489af14f 729
0fc50303
JB
7302012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
731
732 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
733 modes and simplification modes.
734
5d65606a
SM
7352012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * delsel.el (delete-selection-pre-hook): Don't propagate the
738 file-supersession signals (bug#12161).
739
4250fdf5
SM
7402012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
743 (cl-map-extents): Add compatibility aliases (bug#12135).
744
d9f9b465
MA
7452012-08-08 Michael Albinus <michael.albinus@gmx.de>
746
747 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
748 tests by `ignore-error'.
749 (tramp-find-shell): Open also a new shell, when cache is already
750 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
751
ce0fcefa
JL
7522012-08-08 Juri Linkov <juri@jurta.org>
753
754 * bookmark.el: Add `defaults' property to the bookmark record.
755 (bookmark-current-buffer): Doc fix.
756 (bookmark-make-record): Add `defaults' property with default values
757 to the bookmark record.
758 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
759 with `bookmark-insert-current-bookmark'.
760 (bookmark-set): Get `defaults' property from the bookmark record
761 and use it in `read-from-minibuffer'.
762 (bookmark-insert-current-bookmark): Remove function.
763
764 * info.el (Info-bookmark-make-record): Add `defaults' property
765 with values of canonical Info node name, the current Info file
766 name and the current Info node name. (Bug#12107)
767
53fa8652
JL
7682012-08-08 Juri Linkov <juri@jurta.org>
769
770 * files.el (basic-save-buffer): Use `buffer-name' as the default
771 of `read-file-name' when buffer is not visiting a file (bug#12128).
772
242c0a95
JL
7732012-08-08 Juri Linkov <juri@jurta.org>
774
775 * info.el (Info-isearch-search): Doc fix.
776 (Info-search): Change search-failed message from "initial node" to
777 "end of node" (bug#12078).
778 (Info-isearch-search): Change `isearch-string-state' to
779 `isearch--state-string'.
780
32ac3a6b
GM
7812012-08-08 Glenn Morris <rgm@gnu.org>
782
783 * language/persian.el: Remove file.
f8c1afd5 784 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
785 * loadup.el: Remove language/persian.
786
2c2d9c9c
OF
7872012-08-08 Óscar Fuentes <ofv@wanadoo.es>
788
789 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
790
2d79ec42
FEG
7912012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
792
793 * progmodes/python.el Fixed defsubst warning.
794 (python-syntax-context) Rename from python-info-ppss-context.
795 (python-syntax-context-type): Rename from
796 python-info-ppss-context-type.
797 (python-syntax-comment-or-string-p): Rename from
798 python-info-ppss-comment-or-string-p.
799
2bd255dd
JB
8002012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
801
802 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
803
c395097f
AS
8042012-08-07 Andreas Schwab <schwab@linux-m68k.org>
805
6125983e
AS
806 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
807 a defcustom that is quoted with backquote.
808
4250fdf5
SM
809 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
810 Fix handling of interactive spec when the body uses return.
651eaf36
AS
811 (math-do-arg-check, math-define-function-body): Use backquote forms.
812 * calc/calc-ext.el (math-defcache): Likewise.
813 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
814 * allout.el (allout-new-exposure): Likewise.
815 * calc/calcalg2.el (math-tracing-integral): Likewise.
816 * info.el (Info-last-menu-item): Likewise.
817 * emulation/vip.el (vip-loop): Likewise.
818 * textmodes/artist.el (artist-funcall): Likewise.
819 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
820 Construct menu-item directly.
821
4250fdf5
SM
822 * progmodes/autoconf.el (font-lock-syntactic-keywords):
823 Don't declare.
c395097f 824
5fb50dd3
CY
8252012-08-07 Chong Yidong <cyd@gnu.org>
826
827 * simple.el (deactivate-mark): Preserve text properties when
828 saving the primary selection (Bug#8384).
829
54eea618
KR
8302012-08-07 Kevin Ryde <user42@zip.com.au>
831
832 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
833 (woman-parse-numeric-value): On a bad .IP line, issue a warning
834 and continue processing (Bug#12110).
835
638eaeb9
SM
8362012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
839 syntax-propertize-function (bug#10095).
840
ea376861
SM
8412012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
842
f91b35be
SM
843 * help-fns.el (help-fns--key-bindings, help-fns--signature)
844 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
845 describe-function-1.
846 (describe-function-1): Use them. Move compiler macro after sig.
847 (help-fns--compiler-macro): Use function-get. Assume we're already in
848 standard-output. Adjust layout to new call order.
849
ea376861
SM
850 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
851 re-binding a symbol that has a symbol-macro (bug#12119).
852
d5be7bd0
MB
8532012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
854
855 * language/persian.el: New file. (Bug#11812)
856 * loadup.el: Add language/persian.el.
857
90749b53
CY
8582012-08-06 Chong Yidong <cyd@gnu.org>
859
860 * window.el (window--maybe-raise-frame): New function.
861 (window--display-buffer): Split off from here.
862 (display-buffer-reuse-window, display-buffer-pop-up-frame)
863 (display-buffer-pop-up-window, display-buffer-use-some-window):
864 Obey an inhibit-switch-frame action alist entry.
865 (display-buffer): Update doc.
866
867 * replace.el (occur-after-change-function): Avoid losing focus by
868 using the inhibit-switch-frame display parameter (Bug#12139).
869
ba7b0154
FEG
8702012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
871
872 Make internal shell process buffer names start with space.
873 * progmodes/python.el (python-shell-make-comint): Add optional
874 argument INTERNAL.
875 (run-python-internal): Use it.
876 (python-shell-internal-get-or-create-process): Check for new
877 internal buffer names.
878
5eaeacb5
GM
8792012-08-06 Glenn Morris <rgm@gnu.org>
880
e296d94b 881 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
882 Do less getting and setting of environment variables.
883
b7ccbdc2
CY
8842012-08-05 Chong Yidong <cyd@gnu.org>
885
777fe95e
CY
886 * proced.el (proced): Add substitution string to docstring to
887 trigger autoloading of the proced library on C-h f (Bug#1768).
888
4250fdf5
SM
889 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
890 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
891
892 * imenu.el (imenu-generic-expression): Move documentation here
893 from imenu--generic-function.
894 (imenu--generic-function): Refer to imenu-generic-expression.
895
9e3b7800 8962012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
897
898 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
899 indentation declaration.
900 (viper-loop): Add indentation declaration (Bug#7025).
901
e5d9c0d1
CY
9022012-08-05 Chong Yidong <cyd@gnu.org>
903
f0422feb
CY
904 * help-fns.el (describe-variable): Add hyperlink for
905 directory-local variables files. Improve buffer-local and
906 permanent-local reporting; suggested by MON KEY (Bug#6644).
907
908 * help-mode.el (help-dir-local-var-def): New button type.
909
e5d9c0d1
CY
910 * files.el (kill-buffer-hook): Provide a defvar.
911
a4f2deaa
GM
9122012-08-05 Glenn Morris <rgm@gnu.org>
913
914 * eshell/esh-ext.el (eshell/addpath):
915 Also update eshell-path-env. (Bug#12013)
916
a9dd5754
CY
9172012-08-05 Chong Yidong <cyd@gnu.org>
918
a4f2deaa 919 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 920
d014c740
CY
921 * fringe.el (fringe-styles): Add docstring.
922 (fringe--check-mode): New function.
923 (set-fringe-mode, set-fringe-style): Use it.
924 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
925
a9dd5754
CY
926 * files.el (set-auto-mode): Fix invalid setq call.
927
7c2dc8bd
SM
9282012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * isearch.el: Misc simplification; use defstruct.
931 (isearch-mode-map): Dense maps now work like sparse ones.
932 (isearch--state): New defstruct.
933 (isearch-string-state, isearch-message-state, isearch-point-state)
934 (isearch-success-state, isearch-forward-state)
935 (isearch-other-end-state, isearch-word-state, isearch-error-state)
936 (isearch-wrapped-state, isearch-barrier-state)
937 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
938 replaced by defstruct's accessors.
939 (isearch--set-state): Rename from isearch-top-state and change
940 calling convention.
941 (isearch-push-state): Use new isearch--get-state.
942 (isearch-toggle-word): Disable regexp when enabling word.
943 (isearch-message-prefix): Remove unused arg _c-q-hack.
944 (isearch-message-suffix): Remove unused arg _ellipsis.
945
7fcc0070
AS
9462012-08-04 Andreas Schwab <schwab@linux-m68k.org>
947
948 * simple.el (list-processes--refresh): For a server use :host or
949 :local as the address.
97ad0769 950 (list-processes): Doc fix.
7fcc0070 951
00340faf
MN
9522012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
953
954 * lisp/mpc.el: Support password in host argument.
955 (mpc--proc-connect): Parse and use new password element.
956 Set mpc-proc variable instead of returning process.
957 (mpc-proc): Adjust accordingly.
958
6dad7178
EZ
9592012-08-03 Eli Zaretskii <eliz@gnu.org>
960
18949c2f
EZ
961 * whitespace.el (whitespace-display-mappings): Use Unicode
962 codepoints, instead of emacs-mule codepoints. See
963 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
964 for the details.
965
6dad7178
EZ
966 * files.el (file-truename): Don't skip symlink-chasing part on
967 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
968 Windows into the loop that recursively chases symlinks.
969 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
970 MS-DOS.
971
385b0198
CY
9722012-08-03 Chong Yidong <cyd@gnu.org>
973
6200f3c4
CY
974 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
975
385b0198
CY
976 * sort.el (sort-regexp-fields): Doc fix.
977
b9e74744
TH
9782012-08-03 Tassilo Horn <tsdh@gnu.org>
979
980 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
981 labels regex position point at the expected place.
982
41013cb4
MK
9832012-08-03 MON KEY <monkey@sandpframing.com>
984
985 * net/imap.el (imap-interactive-login, imap-authenticate)
986 (imap-mailbox-lsub, imap-mailbox-list)
987 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
988 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
989 (imap-parse-response): Doc fix.
990
0ffee616
JT
9912012-08-03 João Távora <joaotavora@gmail.com>
992
993 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
994 if sexp scanning does not move point (Bug#5734).
995
cfcc9cc8
TH
9962012-08-02 Tassilo Horn <tsdh@gnu.org>
997
998 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
999 Add listings, minted, and ctable packages.
1000 (reftex-label-alist-builtin): Move listings, minted, and ctable
1001 entries before LaTeX.
a01bbb84 1002 (reftex-label-alist): Docfix.
cfcc9cc8 1003
66ec2442
BG
10042012-08-02 Bastien Guerry <bzg@gnu.org>
1005
1006 * replace.el (occur): Fix docstring (bug#12122).
1007
837b365b
GM
10082012-08-02 Glenn Morris <rgm@gnu.org>
1009
1010 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1011
e098de97
PE
10122012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1013
1014 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1015 * international/mule-cmds.el: Create
1016 inactivate-current-input-method-function as an obsolete alias for
1017 deactivate-current-input-method-function. See Katsumi Yamaoka in
1018 <http://bugs.gnu.org/10150#46>.
1019
a0f95636
JB
10202012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1021
1022 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1023 of nested `if's.
1024
0d26d7c4
GM
10252012-08-01 Glenn Morris <rgm@gnu.org>
1026
1027 * progmodes/autoconf.el (autoconf-definition-regexp):
1028 Add AH_TEMPLATE, adjust submatch numbering.
1029 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1030 (autoconf-current-defun-function): Update for above change.
1031 (autoconf-current-defun-function): First skip to end of current word.
1032
b686ba06
RS
10332012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1034
1035 * calendar/cal-html.el (cal-html-insert-agenda-days):
1036 Fix typo. (Bug#12018)
1037
0d49da68
FEG
10382012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1039
1040 Shell processes: enhancements to startup and CEDET compatibility.
1041 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1042 (python-shell-make-comint): accept-process-output at startup.
1043 (run-python-internal): Set inferior-python-mode-hook to nil.
1044 (python-shell-internal-get-or-create-process): call sit-for.
1045 (python-preoutput-result): Add obsolete alias.
1046 (python-shell-internal-send-string): Use it.
1047 (python-shell-send-setup-code): Remove call to
1048 accept-process-output.
1049
f1a71c6e
AS
10502012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1051
1052 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1053 (Bug#12108)
1054
d2605269
JB
10552012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1056
1057 * calc-mode.el (calc-basic-simplification-mode): Rename from
1058 `calc-limited-simplification-mode'.
1059 (calc-alg-simplification-mode): New function.
d66060f8 1060 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1061
d2605269
JB
1062 * calc.el (calc-set-mode-line): Adjust mode line display for
1063 basic simplification mode.
1064
1065 * calc-help.el (calc-m-prefix-help): Update help message.
1066
1067 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1068 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1069
a3827a43
BG
10702012-07-31 Bastien Guerry <bzg@gnu.org>
1071
1072 * man.el (man): Fix comment. (bug#12101)
1073
502e3f89
MR
10742012-07-31 Martin Rudalics <rudalics@gmx.at>
1075
1076 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1077 Don't return a non-nil value when no suitable buffer was found.
1078
d7714961
FEG
10792012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1080
1081 * progmodes/python.el (run-python-internal): Disable font lock for
1082 internal shells.
1083
1f45e27e
SM
10842012-07-30 Stefan Merten <smerten@oekonux.de>
1085
1086 * rst.el: Silence `checkdoc-ispell'.
1087 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1088 (rst-official-version, rst-official-cvs-rev)
1089 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1090 (rst-mode-map): New key binding.
1091
0aee6912
PE
10922012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1093
1094 Update .PHONY listings in makefiles.
1095 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1096 autoloads, update-subdirs, updates, bzr-update, update-authors,
1097 compile-onefile, compile-calc, backup-compiled-files,
1098 compile-after-backup, compile-one-process, mh-autoloads,
1099 bootstrap-clean, distclean, maintainer-clean.
1100
9052f9f0
JB
11012012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1102
1823ac5a
JB
1103 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1104 (calc-set-mode-line): Don't display "AlgSimp ".
1105
1106 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1107 (calc-lim-simplify-mode): New function.
1108 (calc-set-simplify-mode): Default to 'alg.
1109 (calc-default-simplify-mode): Make algebraic simplifications
1110 the default.
1111
1112 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1113 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1114
8d7c7eed 1115 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1116 indicate new simplification modes.
1117
1823ac5a
JB
1118 * calc/README: Mention new default simplification mode.
1119
9052f9f0
JB
1120 * calc/calc.el (math-normalize-error): New variable.
1121 (math-normalize): Set `math-normalize-error' to t
1122 when there's an error.
1123
1124 * calc/calc-alg.el (math-simplify): Don't simplify when
1125 `math-normalize' returns an error.
1126
20ba0cb4
EZ
11272012-07-29 Eli Zaretskii <eliz@gnu.org>
1128
1129 * international/mule-cmds.el (set-locale-environment): Revert last
1130 change, since display-graphic-p returns nil when this function is
1131 called during startup. Instead...
1132
1133 * term/w32console.el (terminal-init-w32console): ...setup the
1134 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1135
a5dcc929
JL
11362012-07-29 Juri Linkov <juri@jurta.org>
1137
1138 * simple.el (goto-line): Don't display default line number in the
1139 prompt because it should be displayed by `read-number' (bug#9952).
1140 Add the current line number to the defaults of `goto-line' to
1141 allow its easier modification by users with `M-n' (bug#9201).
1142
1143 * subr.el (read-number): Support multiple default values like in
1144 other minibuffer reading functions. Replace `read' with
1145 `string-to-number' for consistency with `number-to-string'.
1146
72b255c7
PE
11472012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1148
1149 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1150 * emulation/viper-init.el (viper-deactivate-input-method-action):
1151 Rename from viper-inactivate-input-method-action.
1152 (viper-deactivate-input-method):
1153 Rename from viper-inactivate-input-method.
1154 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1155 * international/mule-cmds.el (deactivate-input-method):
1156 Rename from inactivate-input-method.
1157 Also run input-method-deactivate-hook.
1158 (deactivate-current-input-method-function):
1159 Rename from inactivate-current-input-method-function.
1160 (input-method-deactivate-hook): New hook.
1161 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1162 (inactivate-input-method): Mark obsolete.
1163
72b255c7
PE
1164 * international/quail.el (quail-activate):
1165 Also run quail-deactivate-hook.
1166 (quail-deactivate): Rename from quail-inactivate.
1167 * international/robin.el (robin-activate):
1168 Also run robin-deactivate-hook.
1169 (robin-deactivate): Rename from robin-inactivate.
1170
2549c068
CY
11712012-07-29 Chong Yidong <cyd@gnu.org>
1172
1173 * simple.el (indicate-copied-region): New function.
1174 (kill-ring-save): Split off from here.
1175
1176 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1177 (kill-rectangle): Set deactivate-mark to t on read-only error.
1178
1179 * register.el (copy-to-register, copy-rectangle-to-register):
1180 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1181 (append-to-register, prepend-to-register):
1182 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1183
1184 * simple.el (async-shell-command-buffer): New defcustom.
1185 (shell-command): Use it. (Bug#4719)
1186
01bd1b0d
EZ
11872012-07-28 Eli Zaretskii <eliz@gnu.org>
1188
1189 * international/mule-cmds.el (set-locale-environment): In a
1190 console session on MS-Windows, set up keyboard and terminal
1191 encoding from the OEM codepage, not the ANSI codepage.
1192 (Bug#12055)
1193
a55739d3
CY
11942012-07-28 Chong Yidong <cyd@gnu.org>
1195
1196 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1197 gdb-get-location.
1198
0e1a094f 11992012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1200
1201 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1202 the alist (bug#12029).
1203
20329d73
EZ
12042012-07-28 Eli Zaretskii <eliz@gnu.org>
1205
1206 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1207 (compile-always, compile-first)
1208 ($(lisp)/calendar/cal-loaddefs.el)
1209 ($(lisp)/calendar/diary-loaddefs.el)
1210 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1211 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1212 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1213 instead of on update-subdirs.
1214 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1215
345a2258
CY
12162012-07-28 Chong Yidong <cyd@gnu.org>
1217
1eee6341
CY
1218 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1219 directory if vc-deduce-backend returns nil (Bug#7350).
1220
345a2258
CY
1221 * simple.el (delete-trailing-lines): New option.
1222 (delete-trailing-whitespace): Obey it (Bug#11879).
1223
049a0936
DE
12242012-07-28 David Engster <deng@randomsample.de>
1225
1226 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1227 Explanation of new 'symbol-qnames feature in doc-strings.
1228 (xml-maybe-do-ns): Return expanded names as plain symbols if
1229 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1230 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1231
aa81af71
FEG
12322012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1233
1234 Consistent completion in inferior python with emacs -nw.
1235 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1236 binding in inferior-python-mode-map with "\t".
1237 (python-shell-completion-complete-at-point)
1238 (python-completion-complete-at-point): Remove interactive spec.
1239
e827b1eb
JB
12402012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1241
1242 * calc/calccomp.el (math-compose-expr): Undo previous change.
1243
a90dfb95
FEG
12442012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1245
4250fdf5 1246 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1247 run-python.
1248 (python-shell-make-comint): Fix pop-to-buffer call.
1249 (run-python): Autoload. New arg SHOW.
1250 (python-shell-get-or-create-process): Do not pop python process
1251 buffer.
1252
32770973 12532012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1254
1255 * notifications.el (notifications-on-action-signal)
1256 (notifications-on-closed-signal): Use also the bus address for the map.
1257 (notifications-notify, notifications-close-notification)
1258 (notifications-get-capabilities): Add optional argument BUS.
1259
86332df2
TH
12602012-07-27 Tassilo Horn <tsdh@gnu.org>
1261
4250fdf5
SM
1262 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1263 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1264 ctable macro.
1265 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1266 labels written in keyvals syntax.
1267
ca1302a4
JB
12682012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1269
1270 * calc/calccomp.el (math-compose-expr): Use parentheses when
1271 there is a product in the denominator of a fraction.
1272
f8b91036
EZ
12732012-07-26 Eli Zaretskii <eliz@gnu.org>
1274
1275 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1276 ($(lisp)/calendar/diary-loaddefs.el)
1277 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1278 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1279 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1280 rewritten while the autoload files are built at the same time,
1281 which needs to load subdirs.el.
1282
c8e5a42c
MR
12832012-07-26 Martin Rudalics <rudalics@gmx.at>
1284
1285 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1286 (mouse-drag-line): Don't exit tracking when a switch-frame or
1287 switch-window event occurs (Bug#12006).
1288
670d85ea
SM
12892012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * mouse.el (popup-menu): Fix last change.
1292
7abaf5cc
SM
12932012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 Autoload from Lisp with more care. Follow aliases when looking for
1296 function properties.
1297 * subr.el (autoloadp): New function.
1298 (symbol-file): Use it.
1299 (function-get): New function.
1300 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1301 autoload-do-load.
1302 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1303 (lisp-indent-function):
1304 * emacs-lisp/gv.el (gv-get):
1305 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1306 * emacs-lisp/byte-opt.el (byte-optimize-form):
1307 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1308 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1309 Use function-get.
1310 * emacs-lisp/cl.el: Don't propagate function properties any more.
1311
1312 * speedbar.el (speedbar-add-localized-speedbar-support):
1313 * emacs-lisp/disass.el (disassemble-internal):
1314 * desktop.el (desktop-load-file):
1315 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1316 (describe-function-1):
1317 * emacs-lisp/find-func.el (find-function-noselect):
1318 * emacs-lisp/elp.el (elp-instrument-function):
1319 * emacs-lisp/advice.el (ad-has-proper-definition):
1320 * apropos.el (apropos-safe-documentation, apropos-macrop):
1321 * emacs-lisp/debug.el (debug-on-entry):
1322 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1323 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1324 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1325
b1364986
AA
13262012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1327
1328 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1329 function, not an obsolete variable (Bug#12046).
1330
67ada220
AS
13312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1332
1333 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1334
f08088e3
CS
13352012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1336
1337 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1338 window only if it is still live (Bug#12034).
1339
8137e7b3
MR
13402012-07-25 Martin Rudalics <rudalics@gmx.at>
1341
1342 * subr.el (redirect-frame-focus): Add advertised calling
1343 convention (Bug#12030).
1344
09ae5da1
PE
13452012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1346
1347 Prefer typical American spelling for "acknowledgment".
1348 * vc/add-log.el (change-log-acknowledgment): Rename from
1349 change-log-acknowledgement, with an alias for the old name.
1350
3cc5a3a8
JB
13512012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1352
1353 * calc-alg.el (math-simplify-divide): Don't cross multiply
1354 in an equation when the lhs is a variable.
1355
b7af7f62
JD
13562012-07-24 Julien Danjou <julien@danjou.info>
1357
1358 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1359 Remove, unused.
1360
ec1b09b1
EZ
13612012-07-23 Eli Zaretskii <eliz@gnu.org>
1362
1363 * startup.el (command-line): Don't display an empty user name in
1364 the error message about non-existent home directory, when
1365 init-file-user was set to an empty string. See
1366 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1367 for the details and context.
1368
b525fd8a
VB
13692012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1370
1371 * ses.el (ses-cell-formula-aset): New macro.
1372 (ses-cell-references-aset): New macro.
1373 (ses-cell-p): New function.
1374 (ses-rename-cell): Do no longer rely on complex operations like
1375 ses-cell-set-formula or ses-set-cell to change the cell and handle
1376 the undo at the same time, but rather use lower level new macros
1377 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1378 the undo directly. Refresh the mode line.
1379
2c73e345
LL
13802012-07-21 Leo Liu <sdl.web@gmail.com>
1381
670d85ea
SM
1382 * progmodes/cc-cmds.el (c-defun-name):
1383 Use match-string-no-properties instead for consistency.
2c73e345 1384
542dfbde
LL
13852012-07-20 Leo Liu <sdl.web@gmail.com>
1386
3646bcd6
LL
1387 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1388 (Bug#7879)
1389
542dfbde
LL
1390 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1391
25721031
CY
13922012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1395 * progmodes/bug-reference.el, misearch.el: Provide themselves
1396 (bug#11915).
1397
1398 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1399 of narrowed buffer (bug#11966).
1400
316e68a7
VB
14012012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1402
1403 * ses.el (ses-rename-cell): Set new name also in reference list of
1404 cells of which the renamed cell depends.
1405
bbf0e7d9
MY
14062012-07-20 Masatake YAMATO <yamato@redhat.com>
1407
1408 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1409 to check whether menu-bar is shown or not. If not shown,
1410 show the menu-bar as a popup menu instead of using tmm.
1411 * mouse.el (popup-menu): Accept `point' as `position' argument.
1412
c28662a8
DG
14132012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1414
1415 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1416 up inside string symbol literal (bug#11923).
1417
87ab808f
EZ
14182012-07-20 Eli Zaretskii <eliz@gnu.org>
1419
1420 * startup.el (fancy-startup-text): Read the whole tutorial, not
1421 just its first 256 bytes. Prevents gibberish in display of the
1422 tutorial title.
1423
89dea803
DA
14242012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1425
1426 Drop idle buffer compaction due to an absence of the
1427 proved efficiency.
1428 * compact.el: Remove.
1429
8a4e6db8
SS
14302012-07-19 Sam Steingold <sds@gnu.org>
1431
1432 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1433 vc-bzr-pull & vc-bzr-merge-branch.
1434 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1435 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1436 for consistency with compilation-error-regexp-alist.
1437 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1438 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1439 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1440 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1441
5db81e33
SM
14422012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/chart.el: Use lexical-binding.
1445 (chart-emacs-storage): Don't hardcode the list of entries.
1446
5b835e1d
DA
14472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1448
1449 Next round of tweaks caused by Fgarbage_collect changes.
1450 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1451
9cd47b72
DA
14522012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1453
1454 Compact buffers when idle.
1455 * compact.el: New file.
1456
1d6fc0df
SM
14572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * subr.el (eventp): Presume that if it looks vaguely like an event,
1460 it's an event (bug#10190).
1461
1d29cc7d
FEG
14622012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1463
1464 Enhancements to ppss related code (thanks Stefan).
1465 * progmodes/python.el (python-indent-context)
1466 (python-indent-calculate-indentation, python-indent-dedent-line)
1467 (python-indent-electric-colon, python-nav-forward-block)
1468 (python-mode-abbrev-table)
1d6fc0df 1469 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1470 for ppss context.
1471 (python-info-continuation-line-p): Cleanup.
1472 (python-info-ppss-context): Do not catch 'quote.
1473 (python-info-ppss-context-type)
1474 (python-info-ppss-comment-or-string-p): Simplify.
1475
d583cbe6
FEG
14762012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1477
1478 * progmodes/python.el: Enhancements to eldoc support.
1479 (python-info-current-symbol): New function.
1480 (python-eldoc-at-point): Use python-info-current-symbol.
1481 (python-info-current-defun): Fix cornercase on first defun scan.
1482 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1483 and signal error when no inferior python process is available.
1484
eceb6feb
DG
14852012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1488 assume it's always t.
1489 (vc-git-registered): Remove caching, the function is only called
1490 once.
1491 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1492
4c8ff0fe
CY
14932012-07-18 Chong Yidong <cyd@gnu.org>
1494
19fb7186
CY
1495 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1496
9587c688
CY
1497 * simple.el (count-words): Report on narrowing (Bug#9959).
1498
0fe776a1
CY
1499 * bindings.el: Bind M-= to count-words.
1500
4c8ff0fe
CY
1501 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1502
7f5331cc
MY
15032012-07-18 Masatake YAMATO <yamato@redhat.com>
1504
1505 * progmodes/sh-script.el (sh-imenu-generic-expression):
1506 Capture a function with `function' keyword and without parentheses
1507 like "function FOO" (bug#11856).
1508
2dc2a609
TH
15092012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1510
1511 * window.el (split-window-sensibly): Make WINDOW argument
1512 optional.
1513
439f7677
CY
15142012-07-18 Chong Yidong <cyd@gnu.org>
1515
9aeb25a6
CY
1516 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1517
439f7677
CY
1518 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1519 and make C-x 8 RET exit isearch (Bug#11439).
1520
1521 * international/iso-transl.el: Move isearch-mode-map key
1522 definitions to isearch.el.
1523
12999ea8
SM
15242012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1527 (eieio-defclass): Use gv-define-setter when possible.
1528
3ab6e069
DA
15292012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1530
1531 Reflect recent changes in Fgarbage_collect.
1532 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1533 reflect new format of data returned by Fgarbage_collect.
1534
0a60bc10
FEG
15352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1536
1537 New utility functions + python-info-ppss-context fix (Bug#11910).
1538 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1539 (python-info-ppss-comment-or-string-p): New functions.
1540 (python-info-ppss-context): Small fix for string check.
1541
6dafa0d5
JL
15422012-07-17 Juri Linkov <juri@jurta.org>
1543
1544 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1545 (dired-do-async-shell-command): Don't add `*' at the end of the
1546 command (Bug#11815).
1547 (dired-do-shell-command): Doc fix.
1548 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1549 Join the individual commands using either "&" or ";" as the
1550 separator depending on the values of these trailing characters.
1551 At the end re-add the trailing "&". (Bug#10598)
1552
1553 * simple.el (async-shell-command): Sync the interactive spec with
1554 `shell-command'. Doc fix.
1555 (shell-command): Doc fix.
1556
b19dd9d1
JL
15572012-07-17 Juri Linkov <juri@jurta.org>
1558
1559 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1560
bcdc27d7 15612012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1562
bcdc27d7 1563 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1564 * progmodes/python.el (python-nav-beginning-of-statement):
1565 Rename from python-nav-statement-start.
bcdc27d7
FEG
1566 (python-nav-end-of-statement): Rename from
1567 python-nav-statement-end.
1568 (python-nav-beginning-of-block): Rename from
1569 python-nav-block-start.
1570 (python-nav-end-of-block): Rename from python-nav-block-end.
1571
191da00e
FEG
15722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1573
7f5331cc
MY
1574 * progmodes/python.el (python-shell-send-string-no-output):
1575 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1576 future interactions (Bug#11868).
1577
4dc7c8d5 15782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1579
88ecaf8f
SM
1580 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1581
ef501ef0
SM
1582 * emacs-lisp/elint.el (elint-find-args-in-code):
1583 Use help-function-arglist, so as to handle lexical byte-code.
1584
aa7aaf8f
SM
1585 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1586 change (bug#11826).
1587
45fd731c
SM
15882012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1589
2143fa32
SM
1590 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1591 Avoid spuriously marking the buffer as modified because of c-is-sws.
1592
efc26dbe
SM
1593 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1594 as not-a-comment (bug#11946).
1595
f5695c9a
SM
1596 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1597 for uninterned vars.
1598
1599 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1600 Use read-event since we don't really want to read chars but bytes.
1601
45fd731c
SM
1602 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1603 $$..$$ but also $..$ using regexps (bug#11953).
1604 Use tex-verbatim for \url and \path.
1605 (tex-font-lock-keywords): Define as defconst like the others.
1606 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1607
ddfc8813
RK
16082012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1609
1610 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1611 alias for insert-char.
1612
758e556a
FEG
16132012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1614
1615 * progmodes/python.el: Simplified imenu implementation.
1616 (python-nav-jump-to-defun): Remove command.
1617 (python-mode-map): Use `imenu' instead.
1618 (python-nav-list-defun-positions-cache)
1619 (python-imenu-include-defun-type, python-imenu-make-tree)
1620 (python-imenu-subtree-root-label, python-imenu-index-alist):
1621 Remove vars.
1622 (python-nav-list-defun-positions, python-nav-read-defun)
1623 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1624 (python-imenu-make-tree, python-imenu-create-index):
1625 Remove functions.
758e556a
FEG
1626 (python-mode): Update to interact with imenu by setting
1627 `imenu-extract-index-name-function' only.
1628
032d23ab
FEG
16292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1630
1631 * progmodes/python.el: Enhancements to navigation commands.
1632 (python-nav-backward-sentence)
1633 (python-nav-forward-sentence): Remove.
1634 (python-nav-backward-statement, python-nav-forward-statement)
1635 (python-nav-statement-start, python-nav-statement-end)
1636 (python-nav-backward-block, python-nav-forward-block)
1637 (python-nav-block-start, python-nav-block-end)
1638 (python-nav-forward-sexp-function)
1639 (python-info-current-line-comment-p)
1640 (python-info-current-line-empty-p): New functions.
1641 (python-indent-context): Use `python-nav-statement-start'.
1642
01795a1b
MA
16432012-07-16 Michael Albinus <michael.albinus@gmx.de>
1644
9328d9aa
MA
1645 * eshell/em-ls.el (eshell/ls): Use `apply'.
1646
1647 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1648 multi-hops, instead of Tramp internals.
1649
01795a1b
MA
1650 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1651
1652 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1653 when F1 and F2 are located on different hosts.
1654
63408057
CY
16552012-07-14 Chong Yidong <cyd@gnu.org>
1656
1657 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1658 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1659 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1660 (xterm-mouse--read-event-sequence-1000)
1661 (xterm-mouse--read-event-sequence-1006): New functions. For old
1662 mouse protocol, handle M-mouse-X events correctly.
1663 (xterm-mouse-event): New arg specifying mouse protocol.
1664 (turn-on-xterm-mouse-tracking-on-terminal)
1665 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1666 sequence to toggle extended coordinates on newer XTerms.
1667 This appears to be harmless on terminals which do not support this.
63408057 1668
cd276f6e
LL
16692012-07-14 Leo Liu <sdl.web@gmail.com>
1670
28ca98ac
LL
1671 Add fringe bitmap indicators for flymake. (Bug#11253)
1672 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1673 (flymake-make-overlay): New arg BITMAP.
1674 (flymake-error-bitmap, flymake-warning-bitmap)
1675 (flymake-fringe-indicator-position): New user variables.
1676
cd276f6e
LL
1677 * fringe.el: New bitmap exclamation-mark.
1678
04408072
JD
16792012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1680
1681 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1682 also (Bug#7879).
1683
b5cf7fc4
CY
16842012-07-14 Chong Yidong <cyd@gnu.org>
1685
1686 * electric.el (electric-pair-post-self-insert-function): Fix pair
1687 insertion in empty-region case (Bug#11520).
1688
be755c79
RT
16892012-07-14 Chong Yidong <cyd@gnu.org>
1690
45fd731c
SM
1691 * bindings.el: Consolidate ctl-x-r-map bindings.
1692 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1693
1694 * rect.el, register.el: Move bindings to bindings.el.
1695
16962012-07-14 Reuben Thomas <rrt@sc3d.org>
1697
1698 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1699
7f5b3198
AS
17002012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1701
1702 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1703
97662200
JB
17042012-07-13 Juanma Barranquero <lekktu@gmail.com>
1705
80185fed
JB
1706 * bindings.el (top): Use `mapc' instead of `mapcar'.
1707
97662200
JB
1708 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1709
2bb1ae55
MA
17102012-07-13 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * progmodes/sql.el (sql-comint): Suppress the check for program on
1713 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1714 (Bug#11908)
1715
dea31bd3
CY
17162012-07-13 Chong Yidong <cyd@gnu.org>
1717
1718 * bindings.el: Assign a non-nil permanent-local property to
1719 per-buffer variables which lack a default value (Bug#11930).
1720
1721 * help-fns.el (describe-variable): In the "automatically becomes
1722 local" notice, take note of permanent-local variables.
1723
b68b3337
CY
17242012-07-13 Chong Yidong <cyd@gnu.org>
1725
1726 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1727 to allow printing the message when called from Lisp.
1728
1729 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1730 Remove toggle-read-only.
1731
1732 * bs.el (bs-toggle-readonly):
45fd731c
SM
1733 * buff-menu.el (Buffer-menu-toggle-read-only):
1734 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1735
1736 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1737 Remove with-no-warnings around toggle-read-only.
1738 (ffap-read-only, ffap-read-only-other-window)
1739 (ffap-read-only-other-frame): Callers changed.
1740
1741 * help-mode.el: Don't require view package.
1742 (help-mode-finish): Set buffer-read-only instead of calling
1743 toggle-read-only.
1744
1745 * bindings.el (mode-line-toggle-read-only):
1746 * dired.el (dired-toggle-read-only):
1747 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1748 with non-nil second arg.
1749
1750 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1751 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1752 directly.
1753
56bc1586
EZ
17542012-07-12 Eli Zaretskii <eliz@gnu.org>
1755
1756 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1757 not incf.
1758
a464a6c7
SM
17592012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 More CL cleanups and reduction of use of cl.el.
1762 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1763 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1764 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1765 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1766 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1767 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1768 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1769 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1770 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1771 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1772 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1773 * eshell/em-cmpl.el, eshell/em-banner.el:
1774 * calendar/parse-time.el: Use cl-lib.
1775 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1776 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1777 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1778 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1779 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1780 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1781 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1782 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1783 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1784 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1785 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1786 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1787 `lambda' rather than with `quote'.
1788 (eshell-do-opt): Adjust accordingly.
1789 (eshell-process-option): Simplify.
1790 * eshell/esh-var.el:
1791 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1792 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1793 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1794 to `pcase--dontcare'.
1795 * emacs-lisp/cl.el (labels): Mark obsolete.
1796 (cl--letf, letf): Move to cl-lib.
1797 (cl--letf*, letf*): Remove.
1798 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1799 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1800 (cl-progv): Rewrite.
1801 (cl--letf, cl-letf): Move from cl.el.
1802 (cl-letf*): New macro.
1803 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1804
7ad4afe1
MA
18052012-07-11 Michael Albinus <michael.albinus@gmx.de>
1806
1807 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1808
9af57756
CY
18092012-07-11 Chong Yidong <cyd@gnu.org>
1810
1811 * vc/log-edit.el (log-edit-vc-backend): New variable.
1812 (log-edit): Doc fix.
1813
1814 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1815 argument of log-edit to set up all local variables.
1816 (vc-start-logentry): New optional arg specifying VC backend.
1817
1818 * vc/vc.el (vc-checkin): Use it.
1819 (vc-deduce-fileset): Handle Log Edit buffers.
1820 (vc-diff): Make first argument optional too.
1821
1822 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1823
8477cc7a
MA
18242012-07-10 Michael Albinus <michael.albinus@gmx.de>
1825
1826 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1827 command, just in case. The function is not needed anymore.
1828 (eshell-external-command): Do not call `eshell-remote-command'.
1829
19faa8e8
SM
18302012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1831
f58e0fd5
SM
1832 Reduce use of (require 'cl).
1833 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1834 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1835 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1836 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1837 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1838 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1839 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1840 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1841 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1842 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1843 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1844 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1845 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1846 (byte-compile-unfold-bcf, byte-compile-check-variable):
1847 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1848 (byte-compile-nilconstp):
1849 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1850 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1851
2519d43a
SM
1852 * emacs-lisp/gv.el (cond): Make it a valid place.
1853 (if): Simplify slightly.
1854
19faa8e8
SM
1855 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1856 (pcase--self-quoting-p): New function.
1857 (pcase--u1): Use it.
1858
c4907a5e
GM
18592012-07-10 Glenn Morris <rgm@gnu.org>
1860
1861 * emacs-lisp/authors.el (authors-fixed-entries):
1862 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1863
c4444d16
PE
18642012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1865
1866 Rename configure.in to configure.ac (Bug#11603).
1867 * emacs-lisp/authors.el (authors-canonical-file-name):
1868 * progmodes/autoconf.el (autoconf-mode):
1869 Prefer configure.ac to configure.in.
1870
d75be97d
CY
18712012-07-08 Chong Yidong <cyd@gnu.org>
1872
01ac65bd
CY
1873 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1874 Implement the mouse-1-click-follows-link handling properly.
1875
1876 * info.el (Info-link-keymap): Use follow-link mechanism for
1877 header-line links (Bug#374).
1878
d75be97d
CY
1879 * simple.el (deactivate-mark): Do not set the primary selection
1880 if another program has acquired it (Bug#11772).
1881
87a92845 18822012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1883
1884 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1885 (woman-decode-region): Replace escaped-escapes without destroying
1886 bold or underline (Bug#11552).
87a92845 1887 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1888
621b9d6c
CY
18892012-07-07 Chong Yidong <cyd@gnu.org>
1890
1891 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1892 (interprogram-cut-function, interprogram-paste-function):
1893 Mention that we typically mean the clipboard.
621b9d6c 1894
133a11fc
GM
18952012-07-06 Glenn Morris <rgm@gnu.org>
1896
0d27a45e
GM
1897 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1898
133a11fc
GM
1899 * files.el (toggle-read-only): Restrict message to interactive use.
1900
07b151f1
MA
19012012-07-06 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1904
1905 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1906
211b896b
GM
19072012-07-06 Glenn Morris <rgm@gnu.org>
1908
50394322
GM
1909 * Makefile.in (compile-one-process): Rename from "recompile".
1910
211b896b
GM
1911 * Makefile.in (bzr-update): "compile" is the same as "recompile
1912 autoloads", but parallelizable, so use that instead.
1913
4737eec9
DG
19142012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * window.el (quit-window): Always restore window height when
8137e7b3 1917 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1918
226c3633 19192012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1920
1921 * simple.el (kill-whole-line): Doc tweak.
1922
226c3633 19232012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1924
1925 * files.el (file-relative-name): Compare file names
1926 case-insensitively if on MS-Windows or MS-DOS, or if
1927 read-file-name-completion-ignore-case is non-nil. Don't use
1928 case-fold-search for this purpose. (Bug#11827)
1929
4dc7c8d5
SM
19302012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1931
1932 * calendar/cal-dst.el (calendar-current-time-zone):
1933 Return calendar-current-time-zone-cache if non-nil.
1934
19352012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 19362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1937
19faa8e8
SM
1938 * calendar/cal-dst.el (calendar-current-time-zone):
1939 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1940
60198fc9
GM
19412012-07-06 Glenn Morris <rgm@gnu.org>
1942
1943 * Makefile.in (cvs-update): Remove old alias.
1944
957b3189
MA
19452012-07-05 Michael Albinus <michael.albinus@gmx.de>
1946
1947 Sync with Tramp 2.2.6-pre.
1948
1949 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1950 compatible declaration.
1951
19faa8e8
SM
1952 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1953 Protect `list-load-path-shadows' call.
957b3189
MA
1954
1955 * net/tramp-compat.el (top): Require packages, which aren't
1956 autoloaded anymore for XEmacs. Protect call of
1957 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1958 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1959 it hurts at least for SXEmacs.
1960 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1961 standard-value for `temporary-file-directory'.
1962
1963 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1964 Redirect stderr to /dev/null.
1965 (tramp-sh-handle-write-region): uid and gid can be floats.
1966 Reported by Russell Sim <russell.sim@gmail.com>.
1967 (tramp-sh-handle-vc-registered): Hide errors.
1968 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1969 and `start-file-process'.
1970 (tramp-maybe-open-connection): Check also whether `non-essential'
1971 is bound.
1972
566df3fc
CY
19732012-07-04 Chong Yidong <cyd@gnu.org>
1974
1975 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1976 (xml-parse-tag): Likewise, and avoid changing entity tables.
1977 (xml-syntax-table): Define from scratch, making sure not to give
1978 x2000 and other Unicode spaces whitespace syntax, since those are
1979 not spaces in XML.
1980 (xml-parse-fragment): Delete unused function.
1981 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1982 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1983 (xml-entity-ref, xml-pe-reference-re)
1984 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1985 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1986 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1987 (xml-entity-value-re): Use syntax references in regexps where
1988 possible; no need to define inside a let-binding.
1989 (xml-parse-dtd): Use xml-pe-reference-re.
1990 (xml-entity-or-char-ref-re): New defconst.
1991 (xml-parse-string, xml-substitute-special): Use it.
1992
30eabd7a
SM
19932012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1994
0781098a
SM
1995 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1996 (find-file--read-only): New function.
1997 (find-file-read-only, find-file-read-only-other-window)
1998 (find-file-read-only-other-frame): Use it.
1999 (insert-file-contents-literally): Don't `fset'.
2000 (get-free-disk-space): Use locate-dominating-file.
2001
b5771c0d
SM
2002 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2003 function is already compiled.
2004
30eabd7a
SM
2005 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2006
b4886f6e
MA
20072012-07-03 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2010 files on the same host.
2011
b9d82339
AS
20122012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2013
2014 * help-fns.el (describe-function-1): Only call
2015 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2016
a76e6535
CY
20172012-07-03 Chong Yidong <cyd@gnu.org>
2018
2019 * xml.el: Protect parser against XML bombs.
2020 (xml-entity-expansion-limit): New variable.
2021 (xml-parse-string, xml-substitute-special): Use it.
2022 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2023
b544fef2
GM
20242012-07-03 Glenn Morris <rgm@gnu.org>
2025
2026 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2027 Allow linking to specific messages in debbugs reports (eg 123#5).
2028
a7aef6f5
CY
20292012-07-02 Chong Yidong <cyd@gnu.org>
2030
2031 * xml.el: Fix entity and character reference expansion, allowing
2032 them to expand into markup as per XML spec.
2033 (xml-default-ns): New variable.
2034 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2035 (xml-parse-region): Make first two arguments optional.
2036 Discard text properties.
2037 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2038 All callers changed.
a7aef6f5
CY
2039 (xml-parse-tag): Call xml-parse-tag-1. For backward
2040 compatibility, this function should not modify buffer contents.
2041 (xml-parse-tag-1): Fix opening-tag regexp.
2042 (xml-parse-string): Rewrite, handling entity and character
2043 references properly.
2044 (xml--entity-replacement-text): Signal an error if a parameter
2045 entity is undefined.
2046
3df31c9f
SM
20472012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2b5208f1
SM
2049 * comint.el (comint-output-filter): Filter out repeated prompts.
2050
3df31c9f
SM
2051 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2052 and file-name-absolute-p.
2053 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2054 internal calls.
2055
e3ac1281
PE
20562012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2057
2058 Spelling fixes.
2059 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2060 Rename from byte-compile--refiy-function. All uses changed.
2061
fbf2e7ad
CY
20622012-07-01 Chong Yidong <cyd@gnu.org>
2063
2064 * xml.el (xml--parse-buffer): New function. Move most of
2065 xml-parse-region here.
2066 (xml-parse-region): Copy region into a temporary buffer, since
2067 parameter entity substitution requires changing buffer contents.
2068 Use xml--parse-buffer.
2069 (xml-parse-file): Use xml--parse-buffer.
2070 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2071 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2072
9bf0aa15
GM
20732012-06-30 Glenn Morris <rgm@gnu.org>
2074
bbce2853
GM
2075 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2076
9bf0aa15
GM
2077 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2078 Remove outdated and unnecessary dbus declarations.
2079
0d23c240
EZ
20802012-06-30 Eli Zaretskii <eliz@gnu.org>
2081
2082 * emacs-lisp/timer.el (timer-until): Subtract results of
2083 float-time, instead of taking float-time of the result of
2084 time-subtract, since float-time signals an error for negative time
2085 arguments.
2086
b3218de1
CY
20872012-06-30 Chong Yidong <cyd@gnu.org>
2088
2089 * xml.el (xml-*-re): Convert defvars into defconsts, and
2090 eval-and-compile them so eval-and-compile works on derivatives.
2091 (xml--entity-replacement-text): Use eval-and-comple.
2092
a40c87a0
MA
20932012-06-30 Michael Albinus <michael.albinus@gmx.de>
2094
2095 * vc/vc-git.el (vc-git-registered): Use cache property
2096 `git-registered'.
2097 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2098 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2099 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2100
ac87de97
DG
21012012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2102
2103 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2104 removed (likely outside Emacs). (Bug#11757)
ac87de97 2105
ac10fe06
SM
21062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2107
3df31c9f 2108 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2109
7f3fbd5d
CY
21102012-06-30 Chong Yidong <cyd@gnu.org>
2111
2112 * xml.el: Implement XML parameter entities.
2113 (xml-parameter-entity-alist): New variable.
2114 (xml-parse-region, xml-parse-fragment): Preserve previous values
2115 of xml-entity-alist and xml-parameter-entity-alist, so that
2116 repeated calls on different documents do not change them.
2117 (xml-parse-tag): Fix doctype regexp.
2118 (xml--entity-replacement-text): New function.
2119 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2120 properly requires url retrieval which is unimplemented.
2121 (xml-escape-string): Doc fix.
2122
3cfbebba
SM
21232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2126
2af3565e
DA
21272012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2128
2129 * fringe.el (fringe-mode): Doc fix.
2130
929df0e7
MA
21312012-06-29 Michael Albinus <michael.albinus@gmx.de>
2132
2133 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2134 is non-nil.
2135 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2136 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2137
c8d3a25c 21382012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2139
c8d3a25c
GM
2140 * calendar/cal-dst.el (calendar-current-time-zone):
2141 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2142
c8d3a25c 21432012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2144
2145 * progmodes/which-func.el (which-func-format):
2146 Add mouse-face. (Bug#11698)
2147
c8d3a25c
GM
21482012-06-29 Leo Liu <sdl.web@gmail.com>
2149
2150 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2151
21522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * minibuffer.el (minibuffer-confirm-exit-commands):
2155 Add completion-at-point (bug#11725).
2156
21572012-06-29 Glenn Morris <rgm@gnu.org>
2158
2159 * progmodes/f90.el (f90-font-lock-keywords-2):
2160 Add some preprocessor elements. (Bug#10499)
2161
21622012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2165 Use syntax-propertize (bug#11739).
2166
2badeec4
JB
21672012-06-28 Juanma Barranquero <lekktu@gmail.com>
2168
2169 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2170
ae4969c2
JD
21712012-06-28 Julien Danjou <julien@danjou.info>
2172
2173 * term.el (term-handle-colors-array): Use a set of new faces to
2174 color the terminal. Also uses :inverse-video property.
2175 (term-default-fg-color): Set to nil by default, deprecate in favor
2176 of `term-face'.
2177 (term-default-bg-color): Set to nil by default, deprecate in favor
2178 of `term-face'.
2179 (term-current-face): Use `term-face' by default.
2180 (term-bold-attribute): Variable deleted.
2181
1c9bd870
GM
21822012-06-28 Glenn Morris <rgm@gnu.org>
2183
2184 * simple.el (completion-list-mode-finish):
2185 Don't use toggle-read-only. (Since completion-list-mode has
2186 a special mode-class, it wasn't doing anything extra anyway.)
2187
c207708c
SM
21882012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 Make inlining of other-mode interpreted functions work (bug#11799).
2191 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2192 (byte-compile): Use it to fix compilation of lexical-binding closures.
2193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2194 function, if needed.
2195
3fd56834
SM
21962012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2197
04901786
SM
2198 * help-mode.el (help-make-xrefs): Don't just withstand
2199 cyclic-variable-indirection but any error in documentation-property.
2200
1ec4b7b2
SM
2201 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2202 memory use.
2203 * bindings.el (bindings--define-key): New function.
2204 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2205 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2206 * bindings.el: Use it to purecopy define-key bindings.
2207
e309e2a5
SM
2208 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2209
d5c6faf9
SM
2210 * emacs-lisp/cl.el (flet): Mark obsolete.
2211 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2212 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2213 * progmodes/js.el (js-c-fill-paragraph):
2214 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2215 (ebrowse-switch-member-buffer-to-derived-class):
2216 * play/5x5.el (5x5-solver): Use cl-flet.
2217
6e9590e2
SM
2218 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2219 (cl--symbol-function): New macro.
2220 (cl--letf, cl--letf*): Use it.
2221
3fd56834
SM
2222 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2223 Strip "toggle-" if any.
2224
35ff222c
GM
22252012-06-27 Glenn Morris <rgm@gnu.org>
2226
1ba6038a
GM
2227 * info.el (Info-default-directory-list): Move here from paths.el.
2228 * paths.el: Remove file, which is now empty.
2229 * loadup.el: No longer load "paths".
2230
0ea0e51b
GM
2231 * custom.el (custom-initialize-delay): Doc fix.
2232
35ff222c
GM
2233 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2234 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2235 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2236 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2237 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2238 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2239 * eshell/eshell.el (eshell-defgroup): Remove alias.
2240
c89926a5
CY
22412012-06-27 Chong Yidong <cyd@gnu.org>
2242
2243 * help.el (help-enable-auto-load): New variable.
2244
2245 * help-fns.el (help-fns--autoloaded-p): New function.
2246 (describe-function-1): Refer to a function as "autoloaded" if it
2247 was autoloaded at any time in the past. Perform autoloading if
2248 help-enable-auto-load is non-nil.
2249
cc06e7e7
EZ
22502012-06-26 Eli Zaretskii <eliz@gnu.org>
2251
2252 * makefile.w32-in (compile, compile-always): Depend on
2253 update-subdirs, not on subdirs.el. Otherwise, several different
2254 sub-targets of 'bootstrap' running in parallel could
2255 simultaneously write to subdirs.el, producing a garbled file.
2256
d2c32364
SS
22572012-06-26 Sam Steingold <sds@gnu.org>
2258
2259 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2260 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2261 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2262 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2263 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2264 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2265 * textmodes/tex-mode.el: Use it.
2266 Did not touch cedet and org because they are maintained elsewhere.
2267
5cf983b2
MR
22682012-06-26 Martin Rudalics <rudalics@gmx.at>
2269
2270 * calendar/calendar.el (calendar-exit): Don't try to delete or
2271 iconify last frame. See:
2272 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2273
8c4f2952
JD
22742012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2275
2276 * server.el (server-process-filter): Remember dir in the
2277 process's `server-client-directory' properties.
2278
772b2e2c
CY
22792012-06-24 Chong Yidong <cyd@gnu.org>
2280
2281 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2282 non-tag text.
2283
711b11e1
JB
22842012-06-23 Juanma Barranquero <lekktu@gmail.com>
2285
2286 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2287
dc5d230c
SM
22882012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * help-fns.el (describe-variable): Don't croak when doc is not found.
2291 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2292 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2293 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2294 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2295 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2296 ((lambda ..) ..).
2297 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2298
136e1c1d
CY
22992012-06-23 Chong Yidong <cyd@gnu.org>
2300
e8c1cabf
CY
2301 * info.el (Info-mouse-follow-link): Accept symbol values of
2302 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2303 (Info-fontify-node): Use Info-link-keymap for all navigation
2304 buttons, with link-args property to perform the desired action.
2305 (Info-link-keymap): Doc fix.
2306 (Info-next-link-keymap, Info-prev-link-keymap)
2307 (Info-up-link-keymap): Delete now-unused keymaps.
2308
0e9e6c6a
CY
23092012-06-23 Chong Yidong <cyd@gnu.org>
2310
05e89fea
CY
2311 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2312
0e9e6c6a
CY
2313 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2314 system abbrevs.
2315
2316 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2317
e33c6771
SM
23182012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2319
b68581e2
SM
2320 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2321 (bug#11719).
2322
e33c6771
SM
2323 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2324 the requote function doesn't work properly (bug#11714).
2325
7117e105
GM
23262012-06-23 Glenn Morris <rgm@gnu.org>
2327
2328 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2329
36cec983
SM
23302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 Further GV/CL cleanups.
2333 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2334 gv-expander.
2335 (gv--defun-declaration): New function.
2336 (defun-declarations-alist): Use it.
2337 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2338 (gv-place): Autoload.
2339 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2340 original definition of dotimes and dolist.
2341 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2342 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2343 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2344 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2345 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2346 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2347 to the function's definition.
2348 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2349 * window.el:
2350 * files.el:
2351 * faces.el:
2352 * env.el: Don't use CL.
2353
d35af63c
PE
23542012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2355
2356 Support higher-resolution time stamps (Bug#9000).
2357
2358 * calendar/time-date.el (with-decoded-time-value): New arg
2359 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2360 (encode-time-value): New optional arg PICO. New type 3.
2361 (time-to-seconds) [!float-time]: Support the new picoseconds
2362 component if it's used.
2363 (seconds-to-time, time-subtract, time-add):
2364 Support ps-resolution time stamps as well.
2365
2366 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2367 (timerp): Timer vectors now have length 9, not 8.
2368 (timer--time): Support new-style (4-part) time stamps.
2369 (timer-next-integral-multiple-of-time): Time stamps now have
2370 picosecond resolution, so take a bit more care about rounding.
2371 (timer-relative-time, timer-inc-time): New optional arg psecs.
2372 (timer-set-time-with-usecs): Set psecs to 0.
2373 (timer--activate): Check psecs component, too.
2374
2375 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2376
ac77b21a
SM
23772012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2378
f143bfe3
SM
2379 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2380 Move the non-essential binding to the post/pre-command-hook where it is
2381 more obviously correct.
2382
ac77b21a
SM
2383 * subr.el (read-passwd): Don't use a history at all.
2384 * savehist.el (savehist-save): Remove password saved accidentally
2385 because of the above bug.
2386
76386c5a
BG
23872012-06-22 Bastien Guerry <bzg@gnu.org>
2388
2389 * files.el (toggle-read-only): Display a message telling whether
2390 the buffer is read-only or not (bug#11726).
2391
2ee3d7f0
SM
23922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * emacs-lisp/gv.el: New file.
2395 * subr.el (push, pop): Extend to generalized variables.
2396 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2397 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2398 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2399 gv-define-simple-setter, and gv-define-expander.
2400 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2401 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2402 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2403 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2404 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2405 gv-letplace.
2406 (cl-defstruct): Don't define setf-method any more.
2407 * emacs-lisp/cl.el (flet): Don't autoload.
2408 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2409 (define-setf-expander, defsetf, define-modify-macro)
2410 (cl-struct-setf-expander): Move from cl-lib.el.
2411 * emacs-lisp/syntax.el:
2412 * emacs-lisp/ewoc.el:
2413 * emacs-lisp/smie.el:
2414 * emacs-lisp/cconv.el:
2415 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2416 (timer--time): Use gv-define-simple-setter.
2417 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2418 to avoid coding-system problems in subr.el. Adjust all users.
2419 (macroexp--maxsize, macroexp-small-p): New functions.
2420 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2421 * scroll-bar.el (scroll-bar-mode):
2422 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2423 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2424 * winner.el (winner-configuration, winner-make-point-alist)
2425 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2426 * files.el (locate-file-completion-table): Avoid list*.
2427
c5695d1d
CY
24282012-06-22 Chong Yidong <cyd@gnu.org>
2429
2430 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2431 (dired-create-files): Doc fix (Bug#11329).
2432 (dired-do-copy): Doc fix (Bug#11334).
2433 (dired-mark-read-string): Doc fix (Bug#11553).
2434
2ee3d7f0
SM
2435 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2436 Doc fix (Bug#11326).
c5695d1d
CY
2437 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2438 (dired-dwim-target): Doc fix.
2439
2440 * wdired.el (wdired-mode): Doc fix.
2441
89b5595a
GM
24422012-06-22 Glenn Morris <rgm@gnu.org>
2443
575db3f1
GM
2444 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2445 (pcmpl-rpm-cache-stamp-file): New constant.
2446 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2447 (pcmpl-rpm-packages): Optionally cache list of packages.
2448
a4c8dd51
GM
2449 * pcmpl-rpm.el (pcmpl-rpm): New group.
2450 (pcmpl-rpm-query-options): New option.
2451 (pcmpl-rpm-packages): No need to inline it.
2452 Use pcmpl-rpm-query-options.
2453
89b5595a
GM
2454 * calendar/calendar.el (calendar-in-read-only-buffer):
2455 Avoid some needless mode changes.
2456
e76f0800
CY
24572012-06-21 Chong Yidong <cyd@gnu.org>
2458
2459 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2460 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2461 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2462
297a8f1d
CY
24632012-06-20 Chong Yidong <cyd@gnu.org>
2464
2465 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2466
d34c18b1
DR
24672012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2468
2469 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2470 (bug#11201).
2471
32f7f28e
CY
24722012-06-20 Chong Yidong <cyd@gnu.org>
2473
2474 * term.el (term-window-width): Handle the case of a missing right
2475 fringe (Bug#8837).
2476 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2477 (term-mode): Use define-derived-mode. Minor cleanups.
2478 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2479 (term-move-columns, term-insert-char, term-emulate-terminal)
2480 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2481
493c6688
MA
24822012-06-20 Michael Albinus <michael.albinus@gmx.de>
2483
d34c18b1
DR
2484 * net/ange-ftp.el (ange-ftp-get-passwd):
2485 Bind `enable-recursive-minibuffers'.
493c6688
MA
2486 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2487
3f06ecf4
DR
24882012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2489
2490 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2491
68f12411
GM
24922012-06-19 Glenn Morris <rgm@gnu.org>
2493
2494 * progmodes/python.el (python-mode): Derive from prog-mode.
2495
b3820318
KG
24962012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2497
2498 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2499 (edt-user-menu-bar-update-buffers): New functions.
2500 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2501
c6bf3022
CY
25022012-06-19 Chong Yidong <cyd@gnu.org>
2503
2504 * subr.el (with-selected-window): Preserve the selected window's
2505 terminal's top-frame (Bug#4702).
2506
2507 * window.el (save-selected-window): Likewise.
2508
25f09295
SM
25092012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * progmodes/python.el (python-rx-constituents): Move backquote.
2512 (python-skeleton-define, python-define-auxiliary-skeleton):
2513 Use `declare'.
2514
6b11952a
MA
25152012-06-18 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * minibuffer.el (read-file-name-default): Revert the patch from
2518 2012-06-17.
2519
ee4b1330
SM
25202012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2523 (pcase--u1, pcase--q1): Don't use apply-partially.
2524
35647f79
GM
25252012-06-18 Glenn Morris <rgm@gnu.org>
2526
2527 * progmodes/python.el (python-proc, python-buffer)
2528 (python-send-receive, python-send-string): Fix obsolete versions.
2529
24b0cff0
MR
25302012-06-18 Martin Rudalics <rudalics@gmx.at>
2531
2532 * window.el (special-display-p): Completely remove stringp
2533 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2534
29855149
MA
25352012-06-17 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2538
2539 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2540
2541 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2542 * net/tramp-sh.el (tramp-maybe-open-connection):
2543 Throw if `non-essential' is non-nil.
2544
07463363
MR
25452012-06-17 Martin Rudalics <rudalics@gmx.at>
2546
2547 * window.el (special-display-p): Signal an error if BUFFER-NAME
2548 is not a string (Bug#11713).
2549
48d1354e
PE
25502012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2551
2552 * progmodes/python.el (python-info-beginning-of-backslash):
2553 Rename from python-info-beginning-of-backlash, as a spelling fix.
2554
eb4a8a9a
CY
25552012-06-17 Chong Yidong <cyd@gnu.org>
2556
2557 * term.el (term-emulate-terminal): If term-check-size is called,
2558 move point to the process mark without resetting point (Bug#4635).
2559
ddfbf826 25602012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2561
2562 * international/mule-cmds.el (mule-menu-keymap)
2563 (set-language-environment, set-locale-environment): Doc tweaks.
2564
9b0e3eba
AA
25652012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2566
2567 * cus-face.el (custom-face-attributes): Add wave-style underline
2568 attribute.
2569 * faces.el (set-face-attribute): Update docstring to describe
2570 wave-style underline attribute.
2571
771e3eae
CY
25722012-06-16 Chong Yidong <cyd@gnu.org>
2573
2574 * term/xterm.el (terminal-init-xterm): Discard input before
2575 querying background mode (Bug#10959).
2576
7ae2ea10
SM
25772012-06-16 Stefan Merten <smerten@oekonux.de>
2578
2579 * textmodes/rst.el: Added and corrected some comments.
2580 (rst-re-alist-def): Improve symbol syntax.
2581 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2582 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2583 (rst-official-version, rst-official-cvs-rev): Update version
2584 information.
7ae2ea10 2585
b6974efa
JB
25862012-06-15 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2589 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2590
8826d473
GM
25912012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2592
2593 * progmodes/python.el: New python.el merge.
2594 (python-guess-indent): Obsolete var.
2595 (python-indent-guess-indent-offset): New defcustom.
2596 (python-indent): Obsolete var.
2597 (python-indent-offset): New defcustom.
2598 (python-python-command, python-jython-command): Delete var.
2599 (python-shell-interpreter): New defcustom.
2600 (python-pdbtrack-do-tracking-p): Delete var.
2601 (python-pdbtrack-activate): New defcustom.
2602 (python-use-skeletons): Obsolete var.
2603 (python-skeleton-autoinsert): New defcustom.
2604 (inferior-python-filter-regexp, python-continuation-offset)
2605 (python-honour-comment-indentation, python-indent-string-contents)
2606 (python-jython-packages, python-mode-hook)
2607 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2608 (python-shell-prompt-alist)
2609 (python-source-modes): Delete defcustoms.
2610 (python-check-buffer-name, python-eldoc-setup-code)
2611 (python-eldoc-string-code, python-ffap-setup-code)
2612 (python-ffap-string-code, python-fill-comment-function)
2613 (python-fill-decorator-function, python-fill-paren-function)
2614 (python-fill-string-function, python-imenu-include-defun-type)
2615 (python-imenu-make-tree, python-imenu-subtree-root-label)
2616 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2617 (python-shell-compilation-regexp-alist)
2618 (python-shell-completion-module-string-code)
2619 (python-shell-completion-pdb-string-code)
2620 (python-shell-completion-setup-code)
2621 (python-shell-completion-string-code)
2622 (python-shell-enable-font-lock, python-shell-exec-path)
2623 (python-shell-extra-pythonpaths)
2624 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2625 (python-shell-process-environment)
2626 (python-shell-prompt-block-regexp)
2627 (python-shell-prompt-output-regexp)
2628 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2629 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2630 (python-shell-virtualenv-path): New defcustoms.
2631 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2632 (inferior-python-mode-syntax-table, python--prompt-regexp)
2633 (python-buffer, python-command python-python-command)
2634 (python-default-template, python-imports, python-indent-index)
2635 (python-indent-list, python-indent-list-length)
2636 (python-mode-running, python-pdbtrack-is-tracking-p)
2637 (python-preoutput-continuation, python-preoutput-leftover)
2638 (python-preoutput-result, python-preoutput-skip-next-prompt)
2639 (python-prev-dir/file, python-recursing)
2640 (python-saved-check-command, python-version-checked)
2641 (python-which-func-length-limit)
2642 (view-return-to-alist): Delete vars.
2643 (python-check-custom-command, python-dotty-syntax-table)
2644 (python-imenu-index-alist, python-indent-current-level)
2645 (python-indent-dedenters, python-indent-levels)
2646 (python-nav-beginning-of-defun-regexp)
2647 (python-nav-list-defun-positions-cache)
2648 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2649 (python-shell-internal-buffer)
2650 (python-skeleton-available): New vars.
2651 (def-python-skeleton): Delete macro.
2652 (python-skeleton-define): New macro.
2653 (python-define-auxiliary-skeleton, python-rx): New macros.
2654 (python-insert-class): Delete command.
2655 (python-skeleton-class): New command.
2656 (python-insert-def): Delete command.
2657 (python-skeleton-def): New command.
2658 (python-insert-for): Delete command.
2659 (python-skeleton-for): New command.
2660 (python-insert-if): Delete command.
2661 (python-skeleton-if): New command.
2662 (python-insert-try/except, python-insert-try/finally): Delete commands.
2663 (python-skeleton-try): New command.
2664 (python-insert-while): Delete command.
2665 (python-skeleton-while): New command.
2666 (python-backspace): Delete command.
2667 (python-indent-dedent-line-backspace): New command.
2668 (python-electric-colon): Delete command.
2669 (python-indent-electric-colon): New command.
2670 (python-guess-indent): Delete command.
2671 (python-indent-guess-indent-offset): New command.
2672 (python-shift-left): Delete command.
2673 (python-indent-shift-left): New command.
2674 (python-shift-right): Delete command.
2675 (python-indent-shift-right): New command.
2676 (python-find-function): Delete command.
2677 (python-nav-jump-to-defun): New command.
2678 (python-next-statement): Delete command.
2679 (python-nav-forward-sentence): New command.
2680 (python-previous-statement): Delete command.
2681 (python-nav-backward-sentence): New command.
2682 (python-fill-paragraph): Delete command.
2683 (python-fill-paragraph-function): New command.
2684 (python-send-buffer): Delete command.
2685 (python-shell-send-buffer): New command.
2686 (python-send-defun): Delete command.
2687 (python-shell-send-defun): New command.
2688 (python-send-region, python-send-region-and-go): Delete commands.
2689 (python-shell-send-region)
2690 (python-shell-switch-to-shell): New commands.
2691 (python-send-string): Delete command.
2692 (python-shell-send-string): New command.
2693 (python-switch-to-python): Delete command.
2694 (python-shell-switch-to-shell): New command.
2695 (python-describe-symbol): Delete command.
2696 (python-eldoc-at-point): New command.
2697 (python--set-prompt-regexp, python-args-to-list)
2698 (python-after-info-look, python-check-version)
2699 (python-check-comint-prompt, python-find-imports)
2700 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2701 (python-unload-function, python-expand-template)
2702 (python-maybe-jython, python-preoutput-filter)
2703 (python-pdbtrack-get-source-buffer)
2704 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2705 (python-pdbtrack-toggle-stack-tracking)
2706 (python-pdbtrack-track-stack-file, python-initial-text)
2707 (python-first-word, python-comment-line-p, python-send-command)
2708 (python-setup-brm, python-sentinel, python-set-proc)
2709 (python-skip-out, python-input-filter, python-outdent-p)
2710 (python-outline-level, python-backslash-continuation-line-p)
2711 (python-end-of-block, python-end-of-statement, python-mark-block)
2712 (python-beginning-of-block, python-beginning-of-statement)
2713 (python-blank-line-p, python-beginning-of-string)
2714 (python-open-block-statement-p): Delete functions.
2715 (python-indent-line, python-indent-line-1): Delete functions.
2716 (python-indent-line): New function.
2717 (python-indentation-levels): Delete function.
2718 (python-indent-calculate-levels): New function.
2719 (python-proc): Delete function.
2720 (python-shell-get-process): New function.
2721 (python-send-receive): Delete function.
2722 (python-shell-send-string-no-output): New function.
2723 (python-module-path): Delete function.
2724 (python-ffap-module-path): New function.
2725 (python-completion-at-point)
2726 (python-symbol-completions): Delete functions.
2727 (python-completion-complete-at-point): New function.
2728 (python-load-file): Delete function.
2729 (python-shell-send-file): New function.
2730 (python-calculate-indentation): Delete function.
2731 (python-indent-calculate-indentation): New function.
2732 (python-skip-comments/blanks): Delete function.
2733 (python-util-forward-comment): New function.
2734 (python-continuation-line-p): Delete function.
2735 (python-info-continuation-line-p): New function.
2736 (python-which-func, python-current-defun): Delete function.
2737 (python-info-current-defun): New function.
2738 (python-beginning-of-defun): Delete function.
2739 (python-nav-beginning-of-defun): New function.
2740 (python-close-block-statement-p)
2741 (python-block-end-p): Delete function.
2742 (python-info-closing-block): New function.
2743 (python-comint-output-filter-function)
2744 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2745 (python-fill-comment, python-fill-decorator, python-fill-paren)
2746 (python-fill-string, python-imenu-make-element-tree)
2747 (python-imenu-make-tree, python-imenu-tree-assoc)
2748 (python-indent-context, python-indent-dedent-line)
2749 (python-indent-line-function)
2750 (python-indent-post-self-insert-function)
2751 (python-indent-toggle-levels)
2752 (python-info-assignment-continuation-line-p)
2753 (python-info-beginning-of-backlash)
2754 (python-info-block-continuation-line-p)
2755 (python-info-closing-block-message)
2756 (python-info-line-ends-backslash-p)
2757 (python-info-looking-at-beginning-of-defun)
2758 (python-info-ppss-context, python-info-ppss-context-type)
2759 (python-nav-list-defun-positions, python-nav-read-defun)
2760 (python-nav-sentence-end, python-nav-sentence-start)
2761 (python-pdbtrack-comint-output-filter-function)
2762 (python-pdbtrack-set-tracked-buffer)
2763 (python-shell-calculate-exec-path)
2764 (python-shell-calculate-process-environment)
2765 (python-shell-completion--do-completion-at-point)
2766 (python-shell-completion--get-completions)
2767 (python-shell-completion-complete-at-point)
2768 (python-shell-completion-complete-or-indent)
2769 (python-shell-get-or-create-process)
2770 (python-shell-get-process-name)
2771 (python-shell-internal-get-or-create-process)
2772 (python-shell-internal-get-process-name)
2773 (python-shell-internal-send-string, python-shell-make-comint)
2774 (python-shell-parse-command, python-shell-send-setup-code)
2775 (python-skeleton-add-menu-items)
2776 (python-util-clone-local-variables, python-util-position)
2777 (run-python-internal, python-indentation-levels)
2778 (python-nav-beginning-of-defun)
2779 (python-completion-complete-at-point): New functions.
2780 (run-python): Change arguments. New API requirements.
2781
4302f5ba
SM
27822012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2783
f38ea36d
SM
2784 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2785 (bug#11649).
2786
2787 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2788 (macroexp--expand-all): Use it.
2789
4302f5ba
SM
2790 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2791 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2792 Use `cl-function' instead.
2793
33377562
JB
27942012-06-14 Juanma Barranquero <lekktu@gmail.com>
2795
2796 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2797 Suggested by Stefan Monnier while discussing bug#11657.
2798
54c5ba1a
SS
27992012-06-14 Sam Steingold <sds@gnu.org>
2800
2801 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2802
f9f1b1fe
AS
28032012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2804
2805 * play/doctor.el (doctor-doc): Remove parameter and use
2806 doctor-sent instead of sent.
2807 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2808
a81068ba
SM
28092012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2810
5a315f9c
SM
2811 * files.el: Require cl-lib.
2812 (file-name-non-special): Replace case -> cl-case.
2813
2814 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2815
a81068ba
SM
2816 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2817 mapping from #' to function*.
2818
8cca9703
CY
28192012-06-13 Chong Yidong <cyd@gnu.org>
2820
2821 * mouse.el (mouse-drag-track): Do not set the mark if the user
2822 releases the mouse without selecting anything (Bug#11588).
2823
a12ac9d7
SM
28242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2825
ccf1dc18
SM
2826 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2827 as well (bug#11646).
2828
ef62b23d
SM
2829 * loadup.el: Count byte-code functions as well.
2830
c4c8444a
SM
2831 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2832 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2833
a12ac9d7
SM
2834 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2835 (bug#11649). Add cl-defun and cl-defmacro.
2836
87e6e64f
DA
28372012-06-13 Drew Adams <drew.adams@oracle.com>
2838
2839 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2840 Fix last change.
2841
682cefaf
MA
28422012-06-13 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2845 Otherwise, it blocks in batch mode.
2846
773e1f08
JB
28472012-06-13 Juanma Barranquero <lekktu@gmail.com>
2848
2849 * help-mode.el (bookmark-make-record-default): Declare.
2850
60057926
CY
28512012-06-13 Chong Yidong <cyd@gnu.org>
2852
2853 * emacs-lisp/package.el (list-packages): Compute a list of
2854 packages that are newly-available since the last list-packages
2855 invocation.
2856 (package-menu--new-package-list): New var.
2857 (package-menu--generate, package-menu--print-info)
2858 (package-menu--status-predicate, package-menu-mark-install):
2859 Handle new status label "new".
2860
ad4d226c
SM
28612012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2864 conversion to backquotes.
2865
f1a4e679
CY
28662012-06-12 Chong Yidong <cyd@gnu.org>
2867
2868 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2869 Rename from gud-inhibit-global-bindings.
2870
2871 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2872
2873 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2874 hook from nxml-glyph-set-hook.
2875
2876 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2877 declaration.
2878
2879 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2880
2881 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2882 Convert to defcustom.
2883
0c9e42b5
DA
28842012-06-12 Drew Adams <drew.adams@oracle.com>
2885
2886 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2887 New functions.
2888 (help-mode): Use them.
2889
09e06855
GM
28902012-06-11 Glenn Morris <rgm@gnu.org>
2891
2892 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2893 Use preprocessor face for directives.
2894 (fortran-directive-re): Doc fix.
2895
71adb94b
SM
28962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2897
2eb87922
SM
2898 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2899 conversion to backquotes (bug#11652).
2900
71adb94b
SM
2901 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2902 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2903 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2904 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2905 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2906 (cl-ninth, cl-tenth): Mark them as inlinable.
2907 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2908 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2909 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2910 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2911 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2912 (cl-list*, cl-adjoin): Don't put an autoload manually.
2913 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2914 (cl--compiler-macro-list*): Add autoload cookie.
2915 (cl--compiler-macro-cXXr): New function.
2eb87922 2916
71adb94b
SM
2917 * help-fns.el (help-fns--compiler-macro): New function extracted from
2918 describe-function-1; follow aliases and use `compiler-macro' property.
2919 (describe-function-1): Use it.
2920
a6674402
CY
29212012-06-11 Chong Yidong <cyd@gnu.org>
2922
2923 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2924 is uninstalled, if imagemagick is installed.
2925
bb3faf5b
SM
29262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/cl-lib.el: Use lexical-binding.
2929 (cl-map-extents, cl-maclisp-member): Remove.
2930 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2931 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2932 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2933 * emacs-lisp/cl-extra.el: Use lexical-binding.
2934 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2935 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2936 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2937 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2938 * emacs-lisp/cl-seq.el: Use lexical-binding.
2939 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2940 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2941 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2942 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2943 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2944 CL's internals.
2945
2fe4b125
MA
29462012-06-11 Michael Albinus <michael.albinus@gmx.de>
2947
2948 Sync with Tramp 2.2.6-pre.
2949
2950 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2951 `print-length' and `print-level' to nil, in order to avoid
2952 truncation. Reported by Christopher Schmidt
2953 <christopher@ristopher.com>.
2954
2955 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2956
2957 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2958 New defmacro.
2959 (tramp-compat-copy-directory): Add optional argument
2960 COPY-CONTENTS. It is not handled yet.
2961
2962 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2963 (tramp-ftp-file-name-p): Simplify.
2964
2965 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2966 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2967 connection vector.
2968
2969 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2970 (tramp-methods): Do not use `tramp-password-end-of-line'.
2971 (tramp-completion-function-alist-putty): Handle UNIX case.
2972 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2973 (tramp-do-file-attributes-with-stat)
2974 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2975 gid as real numbers. They could run out of integer range on cygwin.
2976 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2977 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2978 (tramp-open-connection-setup-interactive-shell):
2979 Use `tramp-cleanup'. Move check for busyboxes ...
2980 (tramp-find-shell): ... here. Simplify implementation.
2981 Set "remote-shell" property also for alternative shells.
2982 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2983 If failing, a regular file would be written otherwise.
2984 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2985 (tramp-find-inline-encoding): Cache the coding commands in the
2986 process cache. Apply test command on the remote side, if defined.
2987 (tramp-find-inline-compress): Cache the compress commands in the
2988 process cache.
2989 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2990 when requested. Handle hops.
2991 (tramp-current-connection): New defvar.
87e6e64f
DA
2992 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2993 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2994 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2995 (tramp-get-inline-compress, tramp-get-inline-coding):
2996 Read connection properties from the process cache.
2fe4b125
MA
2997
2998 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2999 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3000 New defconsts.
2fe4b125
MA
3001 (tramp-smb-prompt): Extend for powershell prompt.
3002 (tramp-smb-file-name-handler-alist): Add handlers for
3003 `process-file', `shell-command' and `start-file-process'.
3004 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3005 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3006 (tramp-smb-file-name-p): Simplify.
3007 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3008 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3009 (tramp-smb-shell-quote-argument): New defuns.
3010 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3011 Implement using "tar". By this, time-stamps are preserved.
3012 (tramp-smb-handle-copy-file): Handle also the case of directories.
3013 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3014 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3015 Use `tramp-get-connection-buffer').
2fe4b125
MA
3016 (tramp-smb-handle-rename-file): Use "rename", when source and
3017 target are on the same share.
87e6e64f
DA
3018 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3019 Use `tramp-smb-server-version'.
2fe4b125
MA
3020 (tramp-smb-wait-for-output): Remove prompt.
3021
3022 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3023 (tramp-methods, tramp-rsh-end-of-line):
3024 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3025 (tramp-save-ad-hoc-proxies): New defcustom.
3026 (tramp-completion-function-alist): Adapt docstring.
3027 (tramp-default-password-end-of-line): Remove defcustom.
3028 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3029 (tramp-user-regexp, tramp-file-name-regexp-unified)
3030 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3031 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3032 (tramp-remote-file-name-spec-regexp): New defconst.
3033 (tramp-file-name-structure): Extend structure for hops.
3034 (tramp-get-method-parameter): Move up.
3035 (tramp-file-name-p, tramp-dissect-file-name)
3036 (with-parsed-tramp-file-name): Handle hops.
3037 (tramp-file-name-hop): New defun.
3038 (tramp-make-tramp-file-name): New optional arg HOP.
3039 (tramp-message-show-progress-reporter-message): New defvar.
3040 (tramp-with-progress-reporter): Use it. We cannot use
3041 `tramp-message-show-message' here, because this suppresses also
3042 error buffers.
3043 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3044 `tramp-message-show-message' is nil.
3045 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3046 (tramp-cleanup): New defun.
3047 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3048 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3049 an error unchanged.
3050 (tramp-completion-handle-file-name-all-completions): Handle hops.
3051 Fix an error when called from ido.
3052 (tramp-completion-dissect-file-name): Use better local variable
3053 name. Add hop to the vector.
3054 (tramp-handle-insert-file-contents): Use progress-reporter for the
3055 whole scenario.
3056 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3057 to `t'.
3058 (tramp-check-for-regexp): Simplify search.
3059 (tramp-enter-password): Remove it. Move implementation ...
3060 (tramp-action-password): ... here.
3061 (tramp-mode-string-to-int, tramp-local-host-p)
3062 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3063 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3064 Set tramp-autoload cookie.
2fe4b125
MA
3065
3066 * net/trampver.el: Update release number.
3067
30682012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3069 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3072 (tramp-parse-group, tramp-parse-file)
3073 (tramp-parse-shostkeys-sknownhosts): New defuns.
3074 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3075 (tramp-parse-shosts-group, tramp-parse-sconfig)
3076 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3077 (tramp-parse-sknownhosts, tramp-parse-hosts)
3078 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3079 Use them.
3080 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3081 (tramp-parse-putty-group): Don't narrow.
3082 (tramp-parse-putty): Make a loop.
3083 (tramp-file-name-handler): Catch the `suppress' signal.
3084
72834e10
CY
30852012-06-11 Chong Yidong <cyd@gnu.org>
3086
3087 * image.el (imagemagick-register-types): Put the ImageMagick entry
3088 at the end of image-type-file-name-regexps.
3089
a4712e11
JB
30902012-06-11 Johan Bockgård <bojohan@gnu.org>
3091
3092 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3093 (pcase, pcase-let*, pcase-dolist): Use them.
3094
82ad98e3
SM
30952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/pcase.el (pcase--let*): New function.
3098 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3099 (pcase--expand): Use macroexp-let².
3100
f80efb86
SM
31012012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3104 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3105 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3106 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3107 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3108 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3109
31ca4639 31102012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3111
31ca4639
CY
3112 * mail/rmail.el (rmail-yank-current-message): Leave point at
3113 correct position. (Bug#11660)
94f0aa34 3114
31ca4639 31152012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3116
31ca4639 3117 * allout-widgets.el: Fix code header.
9e1b8ec4 3118
31ca4639 31192012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3120
f80efb86
SM
3121 * cus-edit.el (customize-changed-options-previous-release):
3122 Bump to 24.1.
31ca4639 3123
642b6d30
AS
31242012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3127
4f5d2ba1
CY
31282012-06-09 Chong Yidong <cyd@gnu.org>
3129
3130 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3131
e75852fd
MR
31322012-06-09 Martin Rudalics <rudalics@gmx.at>
3133
3134 * window.el (special-display-popup-frame): Don't use
3135 window--display-buffer (Bug#11651).
3136
1e48e282
EZ
31372012-06-09 Eli Zaretskii <eliz@gnu.org>
3138
8a26b487
EZ
3139 Fix parallel builds: make sure loaddefs.el is not being written
3140 while Lisp files are compiled.
3141 (compile): Don't depend on 'mh-autoloads'.
3142 (compile-CMD, compile-SH): Depend on 'autoloads'.
3143 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3144
1e48e282
EZ
3145 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3146
6175e34b
CY
31472012-06-09 Chong Yidong <cyd@gnu.org>
3148
3149 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3150 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3151 Doc fixes (Bug#11225).
3152
d9857e53
SM
31532012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3156 a function if there's a clear indication that it has a compiler-macro.
3157 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3158 (macro-declarations-alist): Add arglist to declaration functions.
3159 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3160 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3161 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3162 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3163 Also add autoload to find the compiler macro.
3164 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3165 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3166 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3167 (cl--compiler-macro-get): New functions, replacing calls to
3168 cl-define-compiler-macro.
3169 (cl-typep) [compiler-macro]: Use macroexp-let².
3170
f81298f8 31712012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3172
3173 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3174 string properly, fixes Bug#11473.
3175
4b56d0fe
CY
31762012-06-08 Chong Yidong <cyd@gnu.org>
3177
3178 * faces.el (set-face-attribute): Doc fix.
3179 (modify-face): Don't use :bold and :italic.
3180 (error, warning, success): Tweak definitions.
3181
3182 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3183 (custom-modified, custom-set, custom-changed, custom-themed)
3184 (custom-saved, custom-button, custom-button-mouse)
3185 (custom-button-pressed, custom-state, custom-comment-tag)
3186 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3187 (custom-group-subtitle): Use new-style face specs.
3188 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3189 (custom-set-face, custom-changed-face, custom-saved-face)
3190 (custom-button-face, custom-button-pressed-face)
3191 (custom-documentation-face, custom-state-face)
3192 (custom-comment-face, custom-comment-tag-face)
3193 (custom-variable-tag-face, custom-variable-button-face)
3194 (custom-face-tag-face, custom-group-tag-face-1)
3195 (custom-group-tag-face): Remove obsolete face alias.
3196
3197 * epa.el (epa-validity-high, epa-validity-medium)
3198 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3199 (epa-field-name, epa-field-body):
3200 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3201 (font-lock-keyword-face, font-lock-builtin-face)
3202 (font-lock-function-name-face, font-lock-variable-name-face)
3203 (font-lock-type-face, font-lock-constant-face):
3204 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3205 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3206 * speedbar.el (speedbar-button-face, speedbar-file-face)
3207 (speedbar-directory-face, speedbar-tag-face)
3208 (speedbar-selected-face, speedbar-highlight-face)
3209 (speedbar-separator-face):
3210 * whitespace.el (whitespace-newline, whitespace-space)
3211 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3212 (whitespace-line, whitespace-space-before-tab)
3213 (whitespace-space-after-tab, whitespace-indentation)
3214 (whitespace-empty):
3215 * emulation/cua-base.el (cua-global-mark):
3216 * eshell/em-prompt.el (eshell-prompt):
3217 * net/newst-plainview.el (newsticker-new-item-face)
3218 (newsticker-old-item-face, newsticker-immortal-item-face)
3219 (newsticker-obsolete-item-face, newsticker-date-face)
3220 (newsticker-statistics-face, newsticker-default-face):
3221 * net/newst-reader.el (newsticker-feed-face)
3222 (newsticker-extra-face, newsticker-enclosure-face):
3223 * net/newst-treeview.el (newsticker-treeview-face)
3224 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3225 (newsticker-treeview-immortal-face)
3226 (newsticker-treeview-obsolete-face)
3227 (newsticker-treeview-selection-face):
3228 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3229 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3230 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3231 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3232 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3233 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3234 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3235 (mpuz-text):
3236 * progmodes/vera-mode.el (vera-font-lock-number)
3237 (vera-font-lock-function, vera-font-lock-interface):
3238 * textmodes/table.el (table-cell): Use new-style face specs, and
3239 don't use the old :bold and :italic attributes.
3240
3241 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3242 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3243 (ebrowse-member-class, ebrowse-progress): Likewise.
3244 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3245 (ebrowse-file-name-face, ebrowse-default-face)
3246 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3247 (ebrowse-progress-face): Remove obsolete faces.
3248
3249 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3250 Inherit from error and warning faces respectively.
3251
3252 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3253 Likewise.
f80efb86
SM
3254 (flyspell-incorrect-face, flyspell-duplicate-face):
3255 Remove obsolete aliases.
4b56d0fe 3256
03310646
MA
32572012-06-08 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3260 Avoid infloop.
3261
513749ee
SM
32622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * startup.el (argv, argi): Make lexically scoped.
3265 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3266 * emacs-lisp/cl-macs.el: Use lexical-binding.
3267 Rename cl-bind-* to cl--bind-*.
3268 * files.el: Don't require `cl' since it doesn't use it.
3269 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3270
595ef4ad
JB
32712012-06-08 Juanma Barranquero <lekktu@gmail.com>
3272
3273 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3274 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3275 instead of calling external sort utility.
3276 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3277
e9f66fcb
EZ
32782012-06-08 Eli Zaretskii <eliz@gnu.org>
3279
3280 * descr-text.el (describe-char): Mention how to insert the
3281 character, if the current input method doesn't support it.
3282 See the discussion in this thread for the details:
3283 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3284
3d10db47
SS
32852012-06-08 Sam Steingold <sds@gnu.org>
3286
3287 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3288 XF86Back to previous-buffer.
3289 (minibuffer-local-map): Bind them to next-history-element and
3290 previous-history-element respectively.
3291 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3292 help-go-back respectively.
3293 * info.el (Info-mode-map): Bind them to Info-history-forward and
3294 Info-history-back respectively.
3295 These are the keys next to Up on the ThinkPad keyboard.
3296
de7e2b36
SM
32972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3300 * emacs-lisp/cl-macs.el: Provide itself.
3301 (cl--labels-convert-cache): New var.
3302 (cl--labels-convert): New function.
3303 (cl-flet, cl-labels): New implementation with new semantics, relying on
3304 lexical-binding.
3305 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3306 (cl-closure-vars, cl--function-convert-cache)
3307 (cl--function-convert): Move from cl-macs.el.
3308 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3309 rename by removing the "cl-" prefix.
3310 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3311
6fa6c4ae
SM
33122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3315 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3316 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3317 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3318 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3319 (cl-hash-table-count): Add old compatibility aliases.
3320
3321 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3322 Use macroexpand-all-environment instead.
3323 (cl--old-macroexpand): New var.
3324 (cl--sm-macroexpand): New function.
3325 (cl-symbol-macrolet): Use it during macro expansion.
3326 (cl--function-convert-cache): New var.
3327 (cl--function-convert): New function, extracted from
3328 cl-macroexpand-all.
3329 (cl-lexical-let): Use it.
3330
3331 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3332 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3333 (cl-member): Remove old alias.
3334
3335 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3336 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3337 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3338 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3339 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3340 (cl-macroexpand-cmacs): Remove var.
3341 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3342 Use macroexpand-all instead.
3343
4dd1c416
SM
33442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3347 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3348 (macroexp-copyable-p): New functions and macros.
3349 * emacs-lisp/edebug.el (edebug-unwrap):
3350 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3351 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3352 (pcase--let*): Remove.
3353 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3354 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3355 macroexp-const-p instead.
3356 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3357
3358 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3359 instead of "cl-" for internal definitions. Use macroexp-const-p.
3360 (cl-old-bc-file-form): Remove var.
3361 (cl-const-exprs-p): Remove fun.
3362 (cl-labels, cl-macrolet): Use backquote.
3363 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3364 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3365 (cl-define-setf-expander): Rename from cl-define-setf-method.
3366 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3367
3368 * international/mule-cmds.el: Don't require CL.
3369 (view-hello-file): Don't use `letf'.
3370
ed8bd4d7
SM
33712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3372
7287f2f3
SM
3373 * tmm.el (tmm-prompt): Use string-prefix-p.
3374 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3375 (tmm-add-prompt): Use minibuffer-completion-help.
3376 (tmm-delete-map): Remove.
3377
ed8bd4d7
SM
3378 * subr.el (kbd): Make it its own function.
3379
7b4cdbf4
SM
33802012-06-07 Stefan Merten <smerten@oekonux.de>
3381
3382 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3383 Silence compiler warnings. Fix versions.
ed8bd4d7 3384 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3385 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3386 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3387 (rst-package-emacs-version-alist): Correct Emacs version to
3388 represent major merge with upstream.
ed8bd4d7 3389 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3390
2b48d721
GM
33912012-06-06 Glenn Morris <rgm@gnu.org>
3392
3393 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3394 Only print environment variables if set.
3395
fa779ab0
SM
33962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3399 (macroexp--cons): Rename from maybe-cons.
3400 (macroexp--accumulate): Rename from macroexp-accumulate.
3401 (macroexp--all-forms): Rename from macroexpand-all-forms.
3402 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3403 (macroexp--expand-all): Rename from macroexpand-all-1.
3404
628299e0
SS
34052012-06-06 Sam Steingold <sds@gnu.org>
3406
3407 * calendar/calendar.el (calendar-in-read-only-buffer):
3408 Call `special-mode' to enable the standard read-only keybindings.
3409
b7bb5838
SM
34102012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3413 with "loading" messages (bug#11635).
3414
dfb308ba
MA
34152012-06-06 Michael Albinus <michael.albinus@gmx.de>
3416
3417 * files.el (enable-remote-dir-locals): New option.
3418 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3419
0372ee92
MA
3420 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3421 Ensure, that the temp directory is local.
3422
3423 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3424 `temporary-file-directory'.
3425
eed0bb91
MA
3426 * progmodes/python.el (python-send-region): Ensure, that the
3427 temporary file is created also in the remote case.
3428
7a58f64d
GM
34292012-06-06 Glenn Morris <rgm@gnu.org>
3430
f7dd4e98
GM
3431 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3432 (vc-rcs-update-changelog): Use it.
3433
090bd7cb 3434 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3435
7a58f64d
GM
3436 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3437 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3438 (vc-sccs-diff): Replace use of the external vcdiff script.
3439
daed4003
GM
34402012-06-05 Glenn Morris <rgm@gnu.org>
3441
3442 * ledit.el: Move to obsolete/.
3443
48c455c7
SS
34442012-06-05 Sam Steingold <sds@gnu.org>
3445
ed9265fc 3446 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3447 patch (Bug#11140).
3448
57a7d507
SM
34492012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3450
090bd7cb 3451 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3452
53aacf21
SM
3453 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3454 compiler-macro expansion.
3455
57a7d507
SM
3456 Add native compiler-macro support.
3457 * emacs-lisp/macroexp.el (macroexpand-all-1):
3458 Support compiler-macros directly. Properly follow aliases and apply
3459 the compiler macros more thoroughly.
3460 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3461 macroexpand now properly follows aliases.
3462 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3463 (cl-compiler-macroexpand): Use new prop.
3464 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3465
3466 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3467
51a5f9d8
MR
34682012-06-05 Martin Rudalics <rudalics@gmx.at>
3469
3470 * window.el (get-lru-window, get-mru-window, get-largest-window):
3471 New argument NOT-SELECTED to avoid picking the selected window.
3472 (window--display-buffer-1, window--display-buffer-2): Replace by
3473 new function window--display-buffer
3474 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3475 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3476 Use window--display-buffer.
51a5f9d8
MR
3477 (display-buffer-use-some-window): Remove temporary dedication
3478 hack by calling get-lru-window and get-largest-window with
3479 NOT-SELECTED argument non-nil. Call window--display-buffer.
3480
08f9f738
GM
34812012-06-05 Glenn Morris <rgm@gnu.org>
3482
3483 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3484 Replace external vcdiff script.
3485
e364a2b7
SM
34862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3489
041df390
CY
34902012-06-04 Chong Yidong <cyd@gnu.org>
3491
e364a2b7
SM
3492 * image.el (imagemagick-types-inhibit): Revert last change.
3493 Add INFO and M.
47b36b94 3494 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3495
7c1898a7
SM
34962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/cl-lib.el: Rename from cl.el.
3499 * emacs-lisp/cl.el: New compatibility file.
3500 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3501 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3502 to obey the "cl-" prefix.
3503 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3504
0c3461de
GM
35052012-06-03 Glenn Morris <rgm@gnu.org>
3506
1e266c88
GM
3507 * emacs-lisp/authors.el (authors-aliases): Addition.
3508
0c3461de
GM
3509 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3510 Fix :version.
3511
d8a52e15
SM
35122012-06-03 Stefan Merten <smerten@oekonux.de>
3513
3514 * textmodes/rst.el: Add comments.
3515 (rst-transition, rst-adornment): New faces.
3516 (rst-adornment-faces-alist): Make default safe to reevaluate.
3517 Fixes
3518 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3519 Improve customization tags.
3520 (rst-define-level-faces): Clarify meaning.
3521
5205d6f6
CY
35222012-06-03 Chong Yidong <cyd@gnu.org>
3523
3524 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3525 (compilation-mode-line-run, compilation-mode-line-exit):
3526 New faces.
5205d6f6
CY
3527 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3528
757ee657
JD
35292012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3530
7c1898a7
SM
3531 * progmodes/which-func.el (which-func-update-ediff-windows):
3532 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3533
5f2c76c6
CY
35342012-06-03 Chong Yidong <cyd@gnu.org>
3535
3536 * bindings.el: Remove explicit help text from format-mode-line.
3537 It is now supplied by mode-line-default-help-echo.
3538 (mode-line-front-space, mode-line-end-spaces)
3539 (mode-line-misc-info): New variables.
3540 (mode-line-modes, mode-line-position): Move the default value to
3541 the variable definition.
3542 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3543 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3544 (mode-line-modified-help-echo): New functions.
3545 (mode-line-mule-info, mode-line-modified): Use them.
3546 (mode-line-eol-desc, propertized-buffer-identification):
3547 Consistency fixes for help text.
cbe46e5f
CY
3548 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3549 set-buffer-file-coding-system (Bug#289).
3550 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3551
f2d6a3df
SM
35522012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * simple.el (execute-extended-command): Set real-this-command
3555 (bug#11506).
3556
37269466
CY
35572012-06-02 Chong Yidong <cyd@gnu.org>
3558
3559 Remove incorrect uses of "modeline" in comments, docstrings, and
3560 function/variable names (Bug#10329).
3561
3562 * cus-edit.el (mode-line):
3563 * dframe.el (dframe-mouse-hscroll):
3564 * emacs-lisp/re-builder.el:
3565 * emacs-lisp/easy-mmode.el (define-minor-mode):
3566 * frame.el (set-frame-name):
3567 * help.el (lookup-minor-mode-from-indicator):
3568 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3569 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3570 (c-toggle-hungry-state):
3571 * progmodes/antlr-mode.el (antlr-language-alist):
3572 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3573 * progmodes/vhdl-mode.el (vhdl-mode):
3574 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3575 * term/ns-win.el (ns-face-at-pos):
3576 * term/sup-mouse.el (sup-mouse-report):
3577 * textmodes/flyspell.el (flyspell-mode-line-string):
3578 * textmodes/ispell.el (ispell-highlight-face):
3579 * textmodes/reftex-global.el:
3580 * vc/vc-arch.el (vc-arch-mode-line-string):
3581 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3582 * vc/vc-git.el (vc-git-mode-line-string):
3583 * vc/vc-hooks.el (vc-display-status)
3584 (vc-default-mode-line-string):
3585 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3586
3587 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3588
3589 * dired.el (dired-sort-set-mode-line): Rename from
3590 dired-sort-set-modeline. All callers changed.
3591
3592 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3593 eshell-status-in-modeline.
3594
3595 * foldout.el (foldout-mode-line-string): Rename from
3596 foldout-modeline-string. All callers changed.
3597 (foldout-update-mode-line): Rename from foldout-update-modeline.
3598
3599 * subr.el (redraw-modeline): Make into obsolete alias.
3600
3601 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3602 timeclock-modeline-display. Make old name an alias.
3603 (timeclock-update-mode-line): Likewise. All callers changed.
3604 (timeclock-mode-line-display): No need to check before using
3605 add-hook.
3606 (timeclock-relative, timeclock-day-over-hook)
3607 (timeclock-use-elapsed, timeclock-mode-string)
3608 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3609
3610 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3611 crisp-mode-modeline-string.
3612
3613 * play/solitaire.el (solitaire-build-mode-line): Rename from
3614 solitaire-build-modeline. All callers changed.
3615
3616 * play/zone.el (zone-hiding-mode-line): Rename from
3617 zone-hiding-modeline. All callers changed.
3618 (zone): Remove unusued `modeline-hidden-level' property.
3619
3620 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3621 xscheme-modeline-initialize. All callers changed.
3622
3623 * strokes.el (strokes-lighter): Rename from
3624 strokes-modeline-string.
3625
3626 * textmodes/sgml-mode.el (html-face-tag-alist)
3627 (html-tag-face-alist): Use mode-line face instead of obsolete
3628 alias modeline.
3629
42152ee4
SM
36302012-06-02 Stefan Merten <smerten@oekonux.de>
3631
3632 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3633 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3634
95f520b5
CY
36352012-06-02 Chong Yidong <cyd@gnu.org>
3636
3637 * image.el (imagemagick-enabled-types): Rename from
3638 imagemagick-types-enable. Add many more types.
3639 (imagemagick-types-inhibit): Change default to nil.
3640 (imagemagick-filter-types): Caller changed.
3641
4a5f187a
SM
36422012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3643
03fef3e6
SM
3644 * emacs-lisp/cl-macs.el: Use backquotes.
3645 (cl-transform-function-property): Use eval-and-compile rather than
3646 abusing `require'.
3647 (defstruct): Use declare-function instead of with-no-warnings.
3648
4a5f187a
SM
3649 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3650 (byte-compile-output-docform): Re-add the print-circle bindings.
3651 (byte-compile-fix-header): Use #$ just because it's shorter.
3652 (byte-compile-output-file-form): Remove defun/defmacro.
3653
bd56924f
MR
36542012-06-01 Martin Rudalics <rudalics@gmx.at>
3655
3656 * simple.el (choose-completion): Remove now obsolete binding for
3657 owindow.
3658
046e38ce
MA
36592012-06-01 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3662 in order to avoid "Stack overflow in regexp matcher".
3663
32d72c2f
GM
36642012-05-31 Glenn Morris <rgm@gnu.org>
3665
3666 * image.el: For clarity, call imagemagick-register-types at
3667 top-level, rather than relying on a custom :initialize.
3668 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3669 (imagemagick-filter-types): New function. (Bug#7406)
3670 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3671 If disabling support, remove elements altogether rather
3672 than using an impossible regexp.
3673 (imagemagick-types-inhibit): Give it the default init function.
3674
dd41169b
SM
36752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3676
4a5f187a
SM
3677 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3678 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3679
efc00ab1 36802012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3681
3682 * desktop.el (desktop-read): Clear previous and next buffers for
3683 all windows and bury *Messages* buffer (bug#11556).
3684
500fcedc
SM
36852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 Add `declare' for `defun'. Align `defmacro's with it.
3688 * emacs-lisp/easy-mmode.el (define-minor-mode)
3689 (define-globalized-minor-mode): Don't autoload the var definitions.
3690 * emacs-lisp/byte-run.el: Use lexical-binding.
3691 (defun-declarations-alist, macro-declarations-alist): New vars.
3692 (defmacro, defun): Use them.
3693 (make-obsolete, define-obsolete-function-alias)
3694 (make-obsolete-variable, define-obsolete-variable-alias):
3695 Use `declare'.
3696 (macro-declaration-function): Mark obsolete.
3697 * emacs-lisp/autoload.el: Use lexical-binding.
3698 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3699
6e8a1786
AM
37002012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3701
3702 * textmodes/ispell.el (ispell-with-no-warnings):
3703 Define as a macro.
500fcedc
SM
3704 (ispell-kill-ispell, ispell-change-dictionary):
3705 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3706 `interactive-p'.
3707
61b108cc
SM
37082012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3711 (macro-declaration-function): Move var from C code.
3712 (macro-declaration-function): Define function with defalias.
3713 * emacs-lisp/macroexp.el (macroexpand-all-1):
3714 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3715 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3716 defun/defmacro any more.
3717 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3718 Provide fallback for unknown arglist.
3719 (byte-compile-arglist-warn): Change calling convention.
3720 (byte-compile-output-file-form): Move print-vars binding.
3721 (byte-compile-output-docform): Simplify accordingly.
3722 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3723 (byte-compile-defmacro-declaration): Remove.
3724 (byte-compile-file-form-defmumble): Generalize to defalias.
3725 (byte-compile-output-as-comment): Return byte-positions.
3726 Simplify callers accordingly.
3727 (byte-compile-lambda): Use `assert'.
3728 (byte-compile-defun, byte-compile-defmacro): Remove.
3729 (byte-compile-file-form-defalias):
3730 Use byte-compile-file-form-defmumble.
3731 (byte-compile-defalias-warn): Remove.
3732
6d3f7c2f
SM
37332012-05-29 Stefan Merten <smerten@oekonux.de>
3734
3735 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3736 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3737
3738 (rst-mode-abbrev-table): Merge definition.
3739 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3740 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3741
6dbaa1c7
UJ
37422012-05-29 Ulf Jasper <ulf.jasper@web.de>
3743
3744 * calendar/icalendar.el
3745 (icalendar-export-region): Export UID properly.
3746
d209e2fb 37472012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3748 * calendar/icalendar.el (icalendar-import-format):
3749 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3750 (icalendar-import-format-uid): New.
3751 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3752 Export UID.
3753
6876a58d
SM
37542012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3757 different alternative patterns.
3758 (pcase-codegen): Be more careful to preserve identity.
3759 (pcase--u1): Don't forget to mark vars as used.
3760
3761 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3762 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3763 (byte-compile-from-buffer): ...rather than here.
3764
3765 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3766 functions from byte-compile-function-environment.
3767
46b7967e
TN
37682012-05-29 Troels Nielsen <bn.troels@gmail.com>
3769
3770 * window.el (window-deletable-p): Avoid deleting the root window
3771 of a frame with an active minibuffer.
3772
69d565e2
MR
37732012-05-29 Martin Rudalics <rudalics@gmx.at>
3774
3775 * simple.el (choose-completion): Use quit-window (Bug#11567).
3776
a149fa51
CY
37772012-05-29 Chong Yidong <cyd@gnu.org>
3778
3779 * whitespace.el (whitespace-cleanup): Fix usage of
3780 whitespace-empty-at-bob-regexp (Bug#11492).
3781
2b311310
AH
37822012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3783
3784 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3785 revert (Bug#11488).
3786
b9cb2387
JL
37872012-05-29 Juri Linkov <juri@jurta.org>
3788
3789 * isearch.el (isearch-mode-map): Bind `M-s _' to
3790 `isearch-toggle-symbol'. Bind `M-s c' to
3791 `isearch-toggle-case-fold'.
3792 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3793 (isearch-forward): Add `M-s _' to the docstring.
3794 (isearch-forward-symbol, isearch-toggle-case-fold)
3795 (isearch-symbol-regexp): New functions. (Bug#11381)
3796
d5e61c1c
JL
37972012-05-29 Juri Linkov <juri@jurta.org>
3798
3799 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3800 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3801 a function, call it to get the regexp.
3802 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3803 property `isearch-message-prefix' instead of the string "word ".
3804 (isearch-search-fun-default): For the case of `isearch-word',
3805 return a lambda that calls re-search-forward/re-search-backward
3806 with a regexp returned by `word-search-regexp' or by the function
3807 in `isearch-word'.
3808
8cbd80f7
JL
38092012-05-29 Juri Linkov <juri@jurta.org>
3810
3811 * isearch.el (isearch-search-fun-default): New function.
3812 (isearch-search-fun): Move default part to the new function
3813 `isearch-search-fun-default'.
3814 (isearch-search-fun-function): Set the default value to
3815 `isearch-search-fun-default'. (Bug#11381)
3816
3817 * comint.el (comint-history-isearch-end):
3818 Use `isearch-search-fun-default'.
3819 (comint-history-isearch-search): Use `isearch-search-fun-default'
3820 and remove spacial case for `isearch-word'.
3821 (comint-history-isearch-wrap): Remove spacial case for
3822 `isearch-word'.
3823
3824 * hexl.el (hexl-isearch-search-function):
3825 Use `isearch-search-fun-default'.
3826
3827 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3828 Use `word-search-regexp' for `isearch-word'.
3829
3830 * misearch.el (multi-isearch-search-fun):
3831 Use `isearch-search-fun-default'.
3832
3833 * simple.el (minibuffer-history-isearch-search):
3834 Use `isearch-search-fun-default' and remove spacial case for
3835 `isearch-word'.
3836 (minibuffer-history-isearch-wrap): Remove spacial case for
3837 `isearch-word'.
3838
3839 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3840 Remove spacial case for `isearch-word'.
3841 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3842
85c8c5b6
AM
38432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3844
3845 Decrease XEmacs incompatibilities.
3846 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3847 Use `string-match'.
3848 (flyspell-delete-region-overlays): Use alternative definition for
3849 XEmacs.
3850 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3851 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3852 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3853 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3854 `define-obsolete-face-alias' under XEmacs, but old method.
3855
3856 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3857 `with-no-warnings' definition or Emacs alias.
3858 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3859 (ispell-word): Do not use `region-p' if XEmacs.
3860
8cab9efc
AM
38612012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3862
3863 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3864 Check for `ispell-dictionary-base-alist' instead of full
3865 `ispell-dictionary-alist'.
3866 (ispell-init-process): Show spellchecker when starting new Ispell
3867 process.
3868
fda91268
RZ
38692012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3872 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3873
694ea8e3
JB
38742012-05-27 Juanma Barranquero <lekktu@gmail.com>
3875
3876 * version.el (motif-version-string, gtk-version-string)
3877 (ns-version-string): Declare.
3878
e4d4f539
JL
38792012-05-27 Juri Linkov <juri@jurta.org>
3880
3881 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3882 after the `eval-defun-1' specialcaseing
3883 like in `edebug-eval-defun' (bug#10181).
3884
3885 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3886 like in `eval-defun-1'.
3887
33017faf 38882012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3889
fda91268
RZ
3890 * mail/sendmail.el (mail-yank-region):
3891 Recognize rmail-yank-current-message in addition to insert-buffer.
3892 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3893 a *mail* buffer created through rmail-start-mail with sendmail as
3894 mail-user-agent.
3895
33017faf
GM
38962012-05-27 Chong Yidong <cyd@gnu.org>
3897
3898 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3899 Default to 256 (Bug#11267).
3900
3901 * help.el (describe-mode): Doc fix.
3902
04188bb9
GM
39032012-05-26 Glenn Morris <rgm@gnu.org>
3904
38264cc9
GM
3905 * w32-fns.el (w32-init-info): Remove.
3906 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3907
eb7afdad
GM
3908 * info.el (info-initialize): For self-contained NS builds, put the
3909 included info/ directory at the front. (Bug#2791)
3910
04188bb9
GM
3911 * paths.el (Info-default-directory-list): Make it a defcustom,
3912 mainly so that we can use custom-initialize-delay.
3913
a179e3f7
SM
39142012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3915
43416392
SM
3916 * subr.el (buffer-has-markers-at): Mark obsolete.
3917
a179e3f7 3918 * subr.el (lambda): Use declare.
43416392 3919
a179e3f7
SM
3920 * emacs-lisp/lisp-mode.el (lambda):
3921 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3922
34a008d9
AH
39232012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3924
3925 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3926
0a3b289f
GM
39272012-05-26 Glenn Morris <rgm@gnu.org>
3928
3929 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3930
758c81e8
GM
39312012-05-25 Glenn Morris <rgm@gnu.org>
3932
f9f334f0
GM
3933 * paths.el: Remove no-byte-compile.
3934 * loadup.el: No need to load paths.el uncompiled.
3935
87eb79c2
GM
3936 * image.el (imagemagick-types-inhibit): Doc fix.
3937
758c81e8
GM
3938 * version.el: Remove no-byte-compile and associated formatting.
3939 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3940 is ancient code from when there was an "inc-vers.el".
3941
e7e85dc0
SM
39422012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * progmodes/gdb-mi.el: Minor style changes.
3945 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3946 Turn into minor modes.
3947 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3948 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3949 (gdb-shell): Remove unneeded let-binding.
3950 (gdb-get-many-fields): Eliminate O(n²) behavior.
3951
f31237a4
EZ
39522012-05-25 Eli Zaretskii <eliz@gnu.org>
3953
3954 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3955 platforms that don't link in fontset.c.
3956
bc1b21bb
JL
39572012-05-25 Juri Linkov <juri@jurta.org>
3958
3959 Use the same diff color scheme as in modern VCSes (bug#10181).
3960
3961 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3962 to avoid confusion with `diff-added' that now uses green colors.
3963 (diff-removed): Use shades of red.
3964 (diff-added): Use shades of green.
3965 (diff-changed): Leave just the yellow color.
3966 (diff-use-changed-face): New variable.
3967 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3968 how to highlight context diff changes.
3969 (diff-refine-change): Use shades of yellow.
3970 (diff-refine-removed): New face that uses shades of red.
3971 (diff-refine-added): New face that uses shades of green.
3972 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3973 `diff-refine-removed' in the call to `smerge-refine-subst'
3974 depending on the value of `diff-use-changed-face'.
3975
3976 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3977 (smerge-other): Use shades of green.
3978 (smerge-base): Use shades of yellow.
3979 (smerge-refined-change): Empty face.
3980 (smerge-refined-removed): New face that uses shades of red.
3981 (smerge-refined-added): New face that uses shades of green.
3982 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3983 args `props-r' and `props-a', and use them. Doc fix.
3984 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3985 on its value use different faces `smerge-refined-change',
3986 `smerge-refined-removed', `smerge-refined-added' in the call to
3987 `smerge-refine-subst'.
3988
3989 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3990 Add face condition `min-colors 88' with shades of red.
3991 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3992 `min-colors 88' with shades of green.
3993 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3994 `min-colors 88' with shades of yellow.
3995
6df9112c
GM
39962012-05-24 Glenn Morris <rgm@gnu.org>
3997
ead5edc0
GM
3998 * paths.el (prune-directory-list, remote-shell-program): Move to...
3999 * files.el (prune-directory-list, remote-shell-program): ...here.
4000 For the latter, delay initialization, prefer ssh, just search PATH.
4001
f18b81e6
GM
4002 * paths.el (term-file-prefix): Move to faces.el (the only user).
4003 * faces.el (term-file-prefix): Move here, make it a defcustom.
4004
ee2f89a6
GM
4005 * paths.el (news-directory, news-path, news-inews-program):
4006 Move to gnus/nnspool.el.
61a583ca 4007
f8815e4c
GM
4008 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4009
c8f3b42c
GM
4010 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4011 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4012 Make the latter a defcustom, with a delayed initialization.
4013
6df9112c
GM
4014 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4015 These were deleted from Gnus itself late 2010.
4016
5dadff36
JB
40172012-05-22 Juanma Barranquero <lekktu@gmail.com>
4018
9e1701c6
JB
4019 * progmodes/which-func.el (which-func-ff-hook):
4020 Check against user-error, not error.
4021
bd7239f5 4022 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4023 cl-specs.el, which no longer exists.
4024
3290526d
GM
40252012-05-22 Glenn Morris <rgm@gnu.org>
4026
4027 * info.el (info-emacs-bug): New command.
4028 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4029 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4030
ff0c3cfb
GM
40312012-05-21 Glenn Morris <rgm@gnu.org>
4032
4033 * makefile.w32-in (update-subdirs-SH):
4034 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4035
5814f126
SM
40362012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4037
a52c0aa0
SM
4038 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4039
5814f126
SM
4040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4041 Simplify Maven regexp, and make sure the file can't start with a space
4042 (bug#11517).
4043
b847032c
GM
40442012-05-21 Glenn Morris <rgm@gnu.org>
4045
4046 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4047 Scrap superfluous subshells.
4048
3858bfe7
SM
40492012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4052 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4053
d14b0029
JB
40542012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4055
4056 * calc/calc.el (calc-ensure-consistent-units): New variable.
4057
a52c0aa0
SM
4058 * calc/calc-units.el (math-consistent-units-p)
4059 (math-check-unit-consistency): New functions.
4060 (calc-quick-units, calc-convert-units):
4061 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4062 is non-nil.
d14b0029
JB
4063 (calc-extract-units): Fix typo.
4064
60c4db3a
SM
40652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4066
77f3b62e
SM
4067 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4068
60c4db3a
SM
4069 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4070 (flyspell-default-deplacement-commands): Don't spell check after
4071 repeated window/frame switches (e.g. triggered by mouse-movement).
4072 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4073 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4074 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4075 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4076 Remove unused vars.
4077 (flyspell-get-casechars, flyspell-get-not-casechars):
4078 Simplify; Don't bother removing a ] just to add it back.
4079 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4080
d209e2fb 40812012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4082
4083 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4084 New functions.
bd7239f5 4085 (math-function-table): Add support for more C functions.
b1a10716 4086
3f1b25b5
AM
40872012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4088
090bd7cb
JB
4089 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4090 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4091 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4092
b581bb5c
SM
40932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4096 their respective macro declarations.
4097 * skeleton.el (define-skeleton):
4098 * progmodes/compile.el (define-compilation-mode):
4099 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4100 (define-ibuffer-filter):
4101 * emacs-lisp/generic.el (define-generic-mode):
4102 * emacs-lisp/easy-mmode.el (define-minor-mode)
4103 (define-globalized-minor-mode):
4104 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4105 * emacs-lisp/byte-run.el (defsubst):
4106 * custom.el (deftheme): Add doc-string metadata.
4107
70b8ef8f
SM
41082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4111
b1198e17
SM
41122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4113
9abdc45d
SM
4114 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4115
b1198e17
SM
4116 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4117 * emacs-lisp/cl-macs.el: Idem.
4118 * emacs-lisp/cl-specs.el: Remove.
4119
4735906a
SM
41202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 Minor renaming of internal CL functions and variables.
4123 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4124 (cl--position): Rename from cl-position.
4125 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4126 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4127 (cl--random-state): Rename from *random-state*.
4128
ac348012
SM
41292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4132 parens around the arg list (bug#11499).
4133
a0a79cde
JL
41342012-05-17 Juri Linkov <juri@jurta.org>
4135
4136 * isearch.el (word-search-regexp, word-search-backward)
4137 (word-search-forward, word-search-backward-lax)
4138 (word-search-forward-lax): Move functions from search.c
4139 (bug#10145, bug#11381).
4140
65034a51
AM
41412012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4142
090bd7cb
JB
4143 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4144 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4145 Delay for otherchars as for normal word components.
65034a51 4146
1a72a195
SM
41472012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * minibuffer.el (completion--sifn-requote): Fix last change.
4150 (minibuffer-local-must-match-filename-map):
4151 Move define-obsolete-variable-alias before its var.
4152
fdb058c2
SM
41532012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4154
c41045e6
SM
4155 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4156
036dfb8b
SM
4157 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4158 behavior.
4159 (completion--string-equal-p): New function.
4160 (completion--twq-all): Use it to get better assertion failure data.
4161
2473256d
SM
4162 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4163 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4164 (shell--requote-argument): New functions.
4165 (shell-completion-vars): Use them.
4166 (shell--parse-pcomplete-arguments): Rename from
4167 shell-parse-pcomplete-arguments.
4168 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4169 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4170 Obey comint-file-name-quote-list.
4171
fdb058c2
SM
4172 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4173 (smie-indent-keyword): Use it.
4174
51fa99f1
SM
41752012-05-14 Stefan Merten <smerten@oekonux.de>
4176
4177 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4178
e18afed7 41792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4180
4181 * net/rlogin.el (rlogin-mode-map): Fix last change.
4182
e18afed7 41832012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4184
4185 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4186 the following \r\n using a single `process-send-string', since the
4187 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4188 with two `process-send-string's (Bug#11444).
8633b1f4 4189
e18afed7 41902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4191
fdb058c2
SM
4192 * shell.el (shell-parse-pcomplete-arguments):
4193 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4194
2d21d7f6
WJ
41952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4196
e18afed7 4197 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4198 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4199 (image-transform-width, image-transform-fit-width): New functions.
4200 (image-transform-properties): Use them.
4201 (image-transform-check-size): New function.
4202 (image-toggle-display-image): Use it (for testing).
4203 (image-transform-set-rotation): Reduce angle mod 360.
4204 Delete obsolete comment.
4205
7102e6d0
WJ
42062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4207
4208 * image-mode.el: Fix scaling (bug#11399).
4209 (image-transform-resize): Doc fix.
4210 (image-transform-properties): Default scale is 1 and height should
4211 be an integer.
4212
06bc5e6e
SM
42132012-05-13 Johan Bockgård <bojohan@gnu.org>
4214
4215 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4216 than hard-coding `car', to fix misbehavior when moving forward.
4217
0ae03b6a
CY
42182012-05-13 Chong Yidong <cyd@gnu.org>
4219
4220 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4221 (tabulated-list-entries, tabulated-list-padding)
4222 (tabulated-list-sort-key): Make permanent-local.
4223
4224 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4225 (electric-buffer-list): Put electric buffer menu
4226 command descriptions in this docstring, instead of the docstring
4227 of electric-buffer-menu-mode. Code cleanups.
4228 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4229 Electric-buffer-menu-mode.
4230 (electric-buffer-update-highlight): Minor code cleanup.
4231
205a7391
MA
42322012-05-13 Michael Albinus <michael.albinus@gmx.de>
4233
4234 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4235 (Bug#11447)
4236
e5bd0a28
SM
42372012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 Move define-obsolete-variable-alias before the var's definition.
4240 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4241 * tooltip.el (tooltip-hook):
4242 * textmodes/reftex-toc.el (reftex-toc-map):
4243 * textmodes/reftex-sel.el (reftex-select-label-map)
4244 (reftex-select-bib-map):
4245 * textmodes/reftex-index.el (reftex-index-map)
4246 (reftex-index-phrases-map):
4247 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4248 * progmodes/meta-mode.el (meta-mode-map):
4249 * novice.el (disabled-command-hook):
4250 * loadhist.el (unload-hook-features-list):
4251 * frame.el (blink-cursor):
4252 * files.el (find-file-not-found-hooks, write-file-hooks)
4253 (write-contents-hooks):
4254 * emulation/tpu-edt.el (GOLD-map):
4255 * emacs-lock.el (emacs-lock-from-exiting):
4256 * emacs-lisp/generic.el (generic-font-lock-defaults):
4257 * emacs-lisp/chart.el (chart-map):
4258 * dos-fns.el (register-name-alist):
4259 * dired-x.el (dired-omit-files-p):
4260 * desktop.el (desktop-enable):
4261 * cus-edit.el (custom-mode-hook):
4262 * buff-menu.el (buffer-menu-mode-hook):
4263 * bookmark.el (bookmark-read-annotation-text-func)
4264 (bookmark-exit-hooks):
4265 * allout.el (allout-mode-deactivate-hook)
4266 (allout-exposure-change-hook, allout-structure-added-hook)
4267 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4268 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4269 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4270 comes before the corresponding variable's definition.
4271
ac59c2f6
CY
42722012-05-12 Chong Yidong <cyd@gnu.org>
4273
4274 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4275 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4276 (Buffer-menu-mode-map): Bind it.
4277 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4278
dee6c9a3
SM
42792012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4280
2171cea5
SM
4281 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4282 (prolog-upper-case-string, prolog-lower-case-string)
4283 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4284 (prolog-use-smie, prolog-smie-grammar): New vars.
4285 (prolog-smie-forward-token, prolog-smie-backward-token)
4286 (prolog-smie-rules): New funs.
4287 (prolog-comment-indent): Remove.
4288 (prolog-mode-variables): Use default comment indentation instead.
4289 Setup SMIE.
4290 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4291 (prolog-mode): Don't call them any more.
4292 (prolog-electric-colon, prolog-electric-dash)
4293 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4294
aa0382bd
SM
4295 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4296
dbacb4bd
SM
4297 * minibuffer.el (completion--twq-all): Again, allow case differences.
4298
13bdd94c
SM
4299 * term.el: Move keymap initialization code to be more idiomatic.
4300 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4301 (term-terminal-menu): Move initialization into declaration.
4302 (term-escape-char): Let the user set it in her .emacs.
4303
ff46c759
SM
4304 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4305 Provide SMIE-based indentation (not enabled by default yet).
4306 (sh-mode-map): Don't bind electric keys.
4307 Use electric-pair-mode instead of skeleton-pair.
4308 (sh-assignment-regexp): Fit within 80 columns.
4309 (sh-indent-supported): Specify actual shell name instead of boolean.
4310 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4311 (sh-maybe-here-document): Use it. Make obsolete.
4312 (sh-electric-here-document-mode) New minor mode.
4313 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4314 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4315 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4316 (sh-smie-rc-grammar, sh-use-smie): New vars.
4317 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4318 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4319 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4320 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4321 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4322 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4323 (sh-set-shell): Use smie-setup if requested.
4324
dee6c9a3
SM
4325 * term.el (term-set-escape-char): Properly set term-escape-char.
4326 See http://stackoverflow.com/questions/10524656.
4327
9f9aa044
CY
43282012-05-10 Chong Yidong <cyd@gnu.org>
4329
4330 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4331 Use url-generic-parse-url, and handle host names and Windows
4332 filenames properly.
4333 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4334 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4335 URL schemes to work on.
4336 (ffap--toggle-read-only): New function.
4337 (ffap-read-only, ffap-read-only-other-window)
4338 (ffap-read-only-other-frame): Use it.
4339 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4340 necessary for ffap-url-unwrap-remote.
4341
836d29b3
DA
43422012-05-10 Dave Abrahams <dave@boostpro.com>
4343
4344 * cus-start.el (create-lockfiles): Add it.
4345
00fd78ed
CY
43462012-05-09 Chong Yidong <cyd@gnu.org>
4347
4348 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4349 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4350
666b903b 43512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4352
4353 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4354
666b903b 43552012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4356
4357 * ansi-color.el (ansi-color-process-output): Check for validity of
4358 comint-last-output-start before using it. This avoids a bad
4359 interaction with gdb-mi's input/output buffer.
4360
666b903b 43612012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4362
4363 * files.el (dir-locals-read-from-file):
4364 Mention dir-locals in any error message.
4365
666b903b 43662012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4367
4368 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4369 package (Bug#11410).
4370
f677562b
CY
4371 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4372 variables into description.
4373
666b903b 43742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4375
4376 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4377 shell-delimiter-argument-list (bug#11348).
4378 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4379
b499d8d0
JB
43802012-05-09 Juanma Barranquero <lekktu@gmail.com>
4381
8f6b6da8
JB
4382 * textmodes/rst.el: Silence byte-compiler warnings.
4383 (rst-re-alist, rst-reset-section-caches): Move around.
4384 (rst-re): Use `characterp', not `char-valid-p'.
4385 (font-lock-beg, font-lock-end): Declare.
4386
4824146a
JB
4387 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4388 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4389
b499d8d0
JB
4390 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4391
ad89bb83
GM
43922012-05-08 Glenn Morris <rgm@gnu.org>
4393
4394 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4395
8bba5a75
SM
43962012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4397
49ed9c8e
SM
4398 * vc/log-edit.el: Add GNU coding standards highlighting.
4399 (log-edit-font-lock-gnu-style)
4400 (log-edit-font-lock-gnu-keywords): New vars.
4401 (log-edit-font-lock-keywords): New fun.
4402 (log-edit-mode): Don't fold case in font-lock.
4403 (log-edit-font-lock-keywords): Do not assume case-folding.
4404
07d00b56
SM
4405 * imenu.el: Misc cleanup. Make docstrings out of comments.
4406 Use lexical-binding.
4407 (imenu--index-alist, imenu--last-menubar-index-alist)
4408 (imenu-menubar-modified-tick): Use defvar-local.
4409 (imenu--split-menu): Remove unused var.
4410 (imenu--cleanup-seen): Declare as global.
4411 (imenu--cleanup): Use dolist.
4412
8bba5a75
SM
4413 * subr.el (defvar-local): Add debug spec and doc-string position.
4414
5075bdb5
GM
44152012-05-08 Glenn Morris <rgm@gnu.org>
4416
090bd7cb 4417 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4418 * language/english.el, language/georgian.el, language/greek.el:
4419 * language/japanese.el, language/khmer.el, language/korean.el:
4420 * language/lao.el, language/misc-lang.el, language/romanian.el:
4421 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4422 * language/thai.el, language/utf-8-lang.el:
4423 Remove no-byte-compile setting.
4424
5075bdb5
GM
4425 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4426
06f679a7
AH
44272012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4428
4429 * progmodes/make-mode.el (makefile-browse):
4430 Remove unnecessary interactive. (Bug#11324)
4431
03794570
GM
44322012-05-07 Glenn Morris <rgm@gnu.org>
4433
af8630f4
GM
4434 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4435
03794570
GM
4436 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4437
f0809a9d
SM
44382012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4439
28be5ce7
SM
4440 * loadup.el: Preload newcomment.el.
4441 * newcomment.el: Move autoload-only code to toplevel.
4442
f0809a9d
SM
4443 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4444 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4445 Handle new :right-align column property.
4446 (tabulated-list-print-col): Idem, plus use `display' text-property to
4447 try and preserve alignment for variable pitch fonts.
4448
1241b724
CY
44492012-05-07 Chong Yidong <cyd@gnu.org>
4450
4451 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4452 (tabulated-list-use-header-line): New var.
4453 (tabulated-list-init-header): Use it.
4454 (tabulated-list-print-fake-header): New function.
4455 (tabulated-list-print): Use it.
4456 (tabulated-list-sort-button-map): Add non-header-line commands.
4457 (tabulated-list-init-header): Add column name property to basic
4458 labels as well.
4459 (tabulated-list-col-sort): Handle non-header-line button case.
4460 (tabulated-list--sort-by-column-name): Fix a corner case.
4461
f0809a9d
SM
4462 * buff-menu.el (list-buffers--refresh):
4463 Handle Buffer-menu-use-header-line.
1241b724 4464
e5f9458f
CY
44652012-05-06 Chong Yidong <cyd@gnu.org>
4466
4467 * buff-menu.el: Convert to Tabulated List mode.
4468 (Buffer-menu-buffer+size-width): Make obsolete.
4469 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4470 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4471 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4472 documentation into docstring of buffer-menu.
4473 (Buffer-menu-toggle-files-only): Add an informative message.
4474 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4475 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4476 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4477 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4478 (Buffer-menu-execute, Buffer-menu-select)
4479 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4480 (Buffer-menu-bury): Use Tabulated List machinery.
4481 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4482 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4483 Delete.
e5f9458f
CY
4484 (list-buffers--refresh): New function.
4485 (list-buffers-noselect): Use it.
4486 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4487 (Buffer-menu--pretty-file-name): New helper functions.
4488
4489 * loadup.el: Preload tabulated-list.
4490
4491 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4492 tabulated-list-sort-column.
4493 (tabulated-list-init-header): Add the initial aligning space even
4494 if tabulated-list-padding is zero.
4495
e129292c
CS
44962012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4497
4498 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4499 whose cdr is not a cons cell correctly (bug#11038).
4500
6632d361
CY
45012012-05-06 Chong Yidong <cyd@gnu.org>
4502
e129292c
CS
4503 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4504 Accept additional plist in column descriptors.
6632d361
CY
4505 (tabulated-list-init-header): Obey it.
4506 (tabulated-list-get-entry): New function.
4507 (tabulated-list-put-tag): Use it. Use string-width instead of
4508 length.
4509 (tabulated-list--column-number): New function.
4510 (tabulated-list-print): Use it.
e129292c
CS
4511 (tabulated-list-print-col): New function.
4512 Set `tabulated-list-column-name' property on each column's text.
6632d361 4513 (tabulated-list-print-entry): Use it.
e129292c
CS
4514 (tabulated-list-delete-entry, tabulated-list-set-col):
4515 New functions.
6632d361
CY
4516 (tabulated-list-sort-column): New command (Bug#11337).
4517
3cc99f68
CY
4518 * buff-menu.el (list-buffers): Move C-x C-b binding from
4519 buff-menu.el to bindings.el.
4520
4521 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4522 :advertised-binding feature.
4523
52b61776
TN
45242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4525
4526 * progmodes/compile.el (compilation-internal-error-properties):
4527 Calculate start position correctly when end-col is set but
4528 end-line is not (Bug#11382).
4529
ebfe2597
WJ
45302012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4531
4532 * man.el (Man-unindent): Use text-property-default-nonsticky to
4533 prevent untabify from inheriting face properties (Bug#11408).
4534
6d3f7c2f
SM
45352012-05-05 Stefan Merten <smerten@oekonux.de>
4536
4537 * textmodes/rst.el: Major merge with upstream development up to
4538 Docutils SVN r7399 / rst.el V1.2.1.
4539
4540 Clarify maintainership and authors.
4541
4542 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4543 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4544 (rst-official-version, rst-official-cvs-rev, rst-version)
4545 (rst-package-emacs-version-alist): New functions and variables
4546 for version information.
4547
4548 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4549 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4550 (rst-mode-syntax-table, rst-mode): New and corrected functions
4551 and variables representing reStructuredText features.
4552
4553 (rst-re): New function for reStructuredText regexes. Use in
4554 many places.
4555
4556 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4557 (rst-mode-map): Rebind keys.
4558
4559 (rst-mode-lazy, rst-font-lock-keywords)
4560 (rst-font-lock-extend-region)
4561 (rst-font-lock-extend-region-internal)
4562 (rst-font-lock-extend-region-extend)
4563 (rst-font-lock-find-unindented-line-limit)
4564 (rst-font-lock-find-unindented-line-match)
4565 (rst-adornment-level, rst-font-lock-adornment-level)
4566 (rst-font-lock-adornment-match)
4567 (rst-font-lock-handle-adornment-pre-match-form)
4568 (rst-font-lock-handle-adornment-matcher): Major revision of
4569 font-locking. Integrate with other code. Use `jit-lock-mode'.
4570
4571 (rst-preferred-adornments, rst-adjust-hook)
4572 (rst-new-adornment-down, rst-preferred-bullets)
4573 (rst-preferred-bullets, rst-indent, rst-indent-width)
4574 (rst-indent-field, rst-indent-literal-normal)
4575 (rst-indent-literal-minimized, rst-indent-comment): Change,
4576 extend and improve customization.
4577
4578 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4579 (rst-normalize-cursor-position, rst-get-decoration)
4580 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4581 (rst-rstrip, rst-toc-insert-find-delete-contents)
4582 (rst-shift-fill-region, rst-compute-bullet-tabs)
4583 (rst-debug-print-tabs, rst-debug-mark-found)
4584 (rst-shift-region-guts, rst-shift-region-right)
4585 (rst-shift-region-left, rst-use-char-classes)
4586 (rst-font-lock-keywords-function)
4587 (rst-font-lock-indentation-point)
4588 (rst-font-lock-find-unindented-line-begin)
4589 (rst-font-lock-find-unindented-line-end)
4590 (rst-font-lock-find-unindented-line)
4591 (rst-font-lock-adornment-point, rst-font-lock-level)
4592 (rst-adornment-level-alist): Remove functions and variables.
4593
4594 (rst-compare-adornments, rst-get-adornment-match)
4595 (rst-suggest-new-adornment, rst-get-adornments-around)
4596 (rst-adornment-complete-p, rst-get-next-adornment)
4597 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4598 (rst-straighten-adornments): Standardize function names to
4599 use "adornment" instead of "decoration". Correct callers.
4600 Similar standardizing in many places.
4601
4602 (rst-update-section, rst-adjust, rst-promote-region)
4603 (rst-enumerate-region, rst-bullet-list-region)
4604 (rst-repeat-last-character): Correct use of `interactive'.
4605
4606 (rst-classify-adornment, rst-find-all-adornments)
4607 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4608 (rst-find-leftmost-column, rst-repeat-last-character):
4609 Refactor functions.
4610
4611 (rst-find-title-line, rst-reset-section-caches)
4612 (rst-get-adornments-around, rst-adjust-adornment-work)
4613 (rst-arabic-to-roman, rst-roman-to-arabic)
4614 (rst-insert-list-pos, rst-insert-list-new-item)
4615 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4616 New functions.
4617
4618 (rst-all-sections, rst-section-hierarchy)
4619 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4620 New variables.
4621
4622 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4623 configuration instead of only buffer. Change where necessary.
4624
4625 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4626 (rst-shift-region, rst-adaptive-fill): New functions for
4627 indentation and filling.
4628
4629 (rst-comment-line-break, rst-comment-indent)
4630 (rst-comment-insert-comment, rst-comment-region)
4631 (rst-uncomment-region): New functions for handling comments.
4632
4633 (rst-compile): Quote shell arguments.
4634
4635 (rst-compile-pdf-preview, rst-compile-slides-preview):
4636 Delete temporary files after use.
4637
a43f98b3
GM
46382012-05-05 Glenn Morris <rgm@gnu.org>
4639
48176e8b
GM
4640 * calendar/cal-html.el: Optionally include holidays in the output.
4641 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4642 (cal-html-holidays): New option.
4643 (cal-html-css-default): Add holiday entry.
4644 (holiday-in-range): Autoload it.
4645 (cal-html-htmlify-entry): Add optional class argument.
4646 (cal-html-htmlify-list): Add optional holidays argument.
4647 (cal-html-insert-agenda-days): Include holidays in the output.
4648 (cal-html-one-month): Maybe include holidays.
4649
a43f98b3
GM
4650 * calendar/holidays.el (holiday-in-range):
4651 Move here from cal-tex-list-holidays.
4652 * calendar/cal-tex.el (cal-tex-list-holidays):
4653 Make it an obsolete alias for holiday-in-range. Update all callers.
4654
fef9d149 46552012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4656
4657 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4658 Nextstep.
4659
248da2f4
RW
46602012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4661
4662 * files.el (file-auto-mode-skip): New var.
4663 (set-auto-mode-1): Use it.
4664
f95e9344
SM
46652012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4666
df96ab1e
SM
4667 * repeat.el: Use lexical-binding.
4668 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4669 (repeat-undo-count): Remove.
4670 (repeat):
4671 * progmodes/octave-mod.el (octave-abbrev-start):
4672 * progmodes/f90.el (f90-abbrev-start):
4673 * face-remap.el (text-scale-adjust):
4674 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4675
5342bb06
SM
4676 * emacs-lisp/pcase.el (pcase--let*): New function.
4677 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4678 a bit more.
4679 (pcase--split-pred): Be more clever about ruling out overlap between
4680 a predicate and some constant pattern.
4681 (pcase--q1): Use `null' instead of (eq foo nil).
4682
f95e9344
SM
4683 * subr.el (setq-local, defvar-local): New macros.
4684 (kbd): Redefine as an alias.
4685 (with-selected-window): Leave unrelated frames alone.
4686 (set-temporary-overlay-map): New function.
4687
71873e2b
SM
46882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * subr.el (user-error): New function.
4691 * window.el (switch-to-buffer):
4692 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4693 (smerge-match-conflict):
4694 * simple.el (previous-matching-history-element)
4695 (next-matching-history-element, goto-history-element, undo-more)
4696 (undo-start):
4697 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4698 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4699 (next-file, tags-loop-scan, list-tags, complete-tag):
4700 * progmodes/compile.el (compilation-loop):
4701 * mouse.el (mouse-minibuffer-check):
4702 * man.el (Man-bgproc-sentinel, Man-goto-page):
4703 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4704 (Info-history-forward, Info-follow-reference, Info-menu)
4705 (Info-extract-menu-item, Info-extract-menu-counting)
4706 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4707 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4708 (Info-next-reference, Info-prev-reference, Info-index)
4709 (Info-index-next, Info-follow-nearest-node)
4710 (Info-copy-current-node-name):
4711 * imenu.el (imenu--make-index-alist)
4712 (imenu-default-create-index-function, imenu-add-to-menubar):
4713 * files.el (basic-save-buffer, recover-file):
4714 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4715 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4716 (checkdoc-message-text, checkdoc-defun):
4717 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4718 * cus-edit.el (customize-changed-options, customize-rogue)
4719 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4720 (custom-variable-mark-to-reset-standard)
4721 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4722 (custom-file):
4723 * completion.el (check-completion-length):
4724 * comint.el (comint-search-arg)
4725 (comint-previous-matching-input-string-position)
4726 (comint-previous-matching-input)
4727 (comint-replace-by-expanded-history-before-point, comint-send-input)
4728 (comint-copy-old-input, comint-backward-matching-input)
4729 (comint-goto-process-mark, comint-set-process-mark):
4730 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4731 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4732
8a61ee22
SM
47332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4734
66408d1e
SM
4735 * dabbrev.el (dabbrev--ignore-case-p): New function.
4736 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4737 Use it.
4738
8a61ee22
SM
4739 * files.el (automount-dir-prefix): Mark as obsolete.
4740
3c74813a
GM
47412012-05-04 Glenn Morris <rgm@gnu.org>
4742
4743 * patcomp.el, play/bruce.el: Move to obsolete/.
4744
0bfcf5c5
PE
47452012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4746
4747 Fix minor Y10k bugs.
4748 * arc-mode.el (archive-unixdate):
4749 * autoinsert.el (auto-insert-alist):
4750 * calc/calc-forms.el (math-this-year):
4751 * emacs-lisp/copyright.el (copyright-current-year)
4752 (copyright-update-year, copyright):
4753 * tar-mode.el (tar-clip-time-string):
4754 * time.el (display-time-update):
4755 Don't assume years have 4 digits.
4756
78f3273a
CY
47572012-05-04 Chong Yidong <cyd@gnu.org>
4758
4759 * dos-w32.el (file-name-buffer-file-type-alist)
4760 (direct-print-region-use-command-dot-com):
4761 * ffap.el (ffap-menu-regexp):
4762 * find-file.el (ff-special-constructs):
4763 * follow.el (follow-debug):
4764 * forms.el (forms--debug):
4765 * iswitchb.el (iswitchb-all-frames):
4766 * ido.el (ido-all-frames):
4767 * emacs-lisp/timer.el (timer-max-repeats):
4768 * mail/feedmail.el (feedmail-mail-send-hook)
4769 (feedmail-mail-send-hook-queued):
4770 * mail/footnote.el (footnote-signature-separator):
4771 * mail/mailabbrev.el (mail-alias-separator-string)
4772 (mail-abbrev-mode-regexp):
4773 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4774 * progmodes/idlwave.el (idlwave-libinfo-file)
4775 (idlwave-default-completion-case-is-down)
4776 (idlwave-library-routines): Convert defvars to defcustoms.
4777
4778 * mail/rmail.el (rmail-decode-mime-charset):
4779 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4780 (idlwave-shell-fix-inserted-breaks)
4781 (idlwave-shell-activate-alt-keybindings)
4782 (idlwave-shell-use-breakpoint-glyph):
4783 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4784
f7ae6719
SM
47852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4788
47086495
WS
47892012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4790
4791 * progmodes/verilog-mode.el (font-lock-keywords):
4792 Fix mis-highligting auto. Reported by Craig Barner.
4793 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4794 defines from global name space. Reported by Dan Dever.
4795 (verilog-auto-reset, verilog-auto-reset-widths)
4796 (verilog-auto-tieoff): Support using unbased numbers for
4797 AUTORESET and AUTOTIEOFF.
4798 (verilog-submit-bug-report): Update variable list.
4799 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4800 parenthesis from not matching. Reported by Michael Rytting.
4801 (verilog-auto-template-lint): Fix hash error when linting modules
4802 with no used templates.
4803 (verilog-warn, verilog-warn-error)
4804 (verilog-warn-fatal): When non-interactive report multiple
4805 warnings before exiting. Suggested by Brad Dobbie.
4806 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4807 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4808 to report unused template errors. Reported by Brad Dobbie.
4809 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4810 nets, bug438. Reported by Vns Blore.
4811 (verilog-auto-inout-module, verilog-auto-reg)
4812 (verilog-read-decls, verilog-read-sub-decls-sig)
4813 (verilog-signals-edit-wire-reg, verilog-signals-with):
4814 Fix passing of Verilog data types in ANSI input/output ports
4815 such as "output logic" into the AUTOs. Special case "wire" and
4816 "reg" for backwards compatibility presuming Verilog 2001.
4817 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4818 (verilog-preprocess): Fix replication of preprocess output.
4819 Reported by Brad Dobbie.
4820 (verilog-auto-inst-interfaced-ports):
4821 Create verilog-auto-inst-interfaced-ports, bug429.
4822 Reported by Julian Gorfajn.
4823 (verilog-after-save-font-hook)
4824 (verilog-before-save-font-hook): New variable.
4825 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4826 (verilog-save-font-mods): Wrap disabling fontification, reported
4827 by David Rogoff.
4828 (verilog-do-indent, verilog-pretty-declarations-auto)
4829 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4830 Reported by Pierre-David Pfister.
4831 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4832 of class declarations, bug292. Reported by Kevin Heilman.
4833 (verilog-read-decls): Fix 'parameter type' not appearing in
4834 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4835 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4836 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4837 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4838 Reported by David Kravitz.
4839
48402012-05-03 Michael McNamara <mac@mail.brushroad.com>
4841
4842 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4843 assignment with tests in ifs and for loops.
4844 (verilog-extended-complete-re, verilog-complete-reg): Change so
4845 that DPI inport functions don't look like fuction declarations.
4846 (verilog-pretty-expr): Don't line up assignment
4847 operations to the test and increment in if and for loops
4848 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4849 that DPI inport functions don't look like fuction declarations.
47086495 4850
2e51d4b5
KH
48512012-05-03 Kenichi Handa <handa@m17n.org>
4852
4853 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4854 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4855 (Bug#11282).
4856
2bd785a2
SM
48572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * emacs-lisp/bytecomp.el
4860 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4861 since cconv.el might have introduced :fun-body, internal-make-closure,
4862 and friends for bytecomp to handle (bug#11391).
4863 * custom.el (defcustom): Avoid ((λ ..) ..).
4864
99d27583
SM
48652012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4868
55a71479
JB
48692012-05-02 Juanma Barranquero <lekktu@gmail.com>
4870
4871 * notifications.el (dbus-debug):
4872 * term/linux.el (gpm-mouse-enable):
4873 * term/screen.el (xterm-register-default-colors): Declare.
4874
7b97c764
CY
48752012-05-02 Chong Yidong <cyd@gnu.org>
4876
2bc356d7
CY
4877 * cus-start.el (gc-cons-percentage, exec-suffixes)
4878 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4879 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4880 (make-cursor-line-fully-visible, void-text-area-pointer)
4881 (font-list-limit): Add customization data.
4882
7b97c764
CY
4883 * allout.el (allout-exposure-change-functions)
4884 (allout-structure-added-functions)
4885 (allout-structure-deleted-functions)
4886 (allout-structure-shifted-functions): Rename abnormal hooks from
4887 *-hook, and convert to defcustoms.
5d3385a0
JB
4888 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4889 Convert to defcustoms.
7b97c764
CY
4890 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4891
4892 * allout-widgets.el: Hook callers changed.
4893
90207a15 48942012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4895
4896 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4897 the yanked message in preference to the default value of
4898 buffer-file-coding-system.
4899
90207a15 49002012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4901
5d3385a0
JB
4902 * window.el (display-buffer--action-function-custom-type):
4903 Fix entry.
d9558cad 4904
90207a15 49052012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4906
4907 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4908
d80ac57b
GM
49092012-05-01 Glenn Morris <rgm@gnu.org>
4910
976f7668
GM
4911 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4912
beb83b5a
GM
4913 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4914
d80ac57b
GM
4915 * cus-edit.el (custom-variable-documentation): Simplify with format.
4916
b593d6a9 49172012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4918 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4919
4920 * simple.el (suggest-key-bindings, execute-extended-command):
4921 Move from keyboard.c.
4922
782fbf2a
CY
49232012-05-01 Chong Yidong <cyd@gnu.org>
4924
4925 * follow.el: Eliminate advice.
4926 (set-process-filter, process-filter, sit-for): Advice deleted.
4927 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4928 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4929 Vars deleted.
782fbf2a
CY
4930 (follow-auto): Use a :set function.
4931 (follow-mode): Rewritten. Don't advise process filters.
4932 (follow-switch-to-current-buffer-all, follow-scroll-up)
4933 (follow-scroll-down): Assume follow-mode is bound.
4934 (follow-comint-scroll-to-bottom)
4935 (follow-align-compilation-windows): New functions.
4936 (follow--window-sorter): New function.
4937 (follow-all-followers): Use it to explicitly sort windows by their
4938 positions; don't make assumptions about next-window order.
4939 (follow-windows-start-end, follow-delete-other-windows-and-split)
4940 (follow-calc-win-start): Doc fix.
4941 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4942 vertical-motion unnecessarily.
4943 (follow-adjust-window): New function.
4944 (follow-post-command-hook): Use it.
4945 (follow-call-set-process-filter, follow-call-process-filter)
4946 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4947 (follow-stop-intercept-process-output, follow-generic-filter):
4948 Functions deleted.
4949 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4950 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4951 New functions, replacing advice on scroll-bar-* commands.
87233a14 4952 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4953
4954 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4955 (comint-postoutput-scroll-to-bottom): Use it.
4956 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4957
290af740
GM
49582012-05-01 Glenn Morris <rgm@gnu.org>
4959
4960 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4961 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4962 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4963 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4964 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4965 Remove no-byte-compile setting.
4966
6eac8dc9
SM
49672012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4970 all-completions code to not return a number in the last cdr.
4971
9cc7819c
LL
49722012-04-30 Leo Liu <sdl.web@gmail.com>
4973
4974 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4975 read-only error.
4976
c93b886f
CY
49772012-04-29 Chong Yidong <cyd@gnu.org>
4978
4979 * follow.el (follow-calc-win-end): Rewrite to handle partial
4980 screen lines correctly (Bug#8390).
4981 (follow-avoid-tail-recenter): Minor cleanup.
4982
8b6c19f4
SM
49832012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 Avoid the obsolete `assoc' package.
4986 * speedbar.el (speedbar-refresh): Avoid adelete.
4987 (speedbar-file-lists): Simplify and avoid aput.
4988 * man.el (Man--sections, Man--refpages): New vars, replacing
4989 Man-sections-alist and Man-refpages-alist.
4990 (Man-build-section-alist, Man-build-references-alist):
4991 Use them; avoid aput.
4992 (Man--last-section, Man--last-refpage): New vars.
4993 (Man-follow-manual-reference): Use them.
4994 Use the `default' arg of completing-read.
4995 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4996
c5bb7569
CY
49972012-04-27 Chong Yidong <cyd@gnu.org>
4998
d1d2e2e8
CY
4999 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5000
15cd8efd
CY
5001 * startup.el (x-apply-session-resources): New function.
5002
5003 * term/ns-win.el (ns-initialize-window-system):
5004 * term/w32-win.el (w32-initialize-window-system):
5005 * term/x-win.el (x-initialize-window-system): Use it to properly
5006 set menu-bar-mode and other vars from X resources, even if the
5007 initial frame is not a window-system frame (Bug#2299).
5008
c5bb7569
CY
5009 * subr.el (read-key): Avoid running filter function when setting
5010 up temporary tool bar entries (Bug#9922).
5011
a8e7d6d7 50122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5013
5014 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5015 (Bug#11344)
5016
a8e7d6d7 50172012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5018
5019 * select.el (xselect--encode-string): New function, split from
5020 xselect-convert-to-string.
5021 (xselect-convert-to-string): Use it.
5022 (xselect-convert-to-filename, xselect-convert-to-os)
5023 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5024 returned strings are properly encoded (Bug#11315).
5025
a8e7d6d7 50262012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5027
5028 * simple.el (delete-active-region): Move to killing custom group.
5029
a8e7d6d7 50302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5031
5032 * progmodes/which-func.el (which-func-current): Quote %
5033 characters for mode-line processing.
5034
578c1d4b 50352012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5036
5037 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5038 reaching eob (Bug#11286).
5039
a8e7d6d7 50402012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5041
5042 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5043 (gdb): Make it buffer-local and init to zero.
5044 (gdb-control-commands-regexp): New variable.
5045 (gdb-send): Don't wrap in "-interpreter-exec console" if
5046 gdb-control-level is positive. Increment gdb-control-level
5047 whenever the command matches gdb-control-commands-regexp, and
5048 decrement it each time the command is "end". (Bug#11279)
5049
a8e7d6d7 50502012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5051
5052 * window.el (adjust-window-trailing-edge, enlarge-window)
5053 (shrink-window, window-resize):
5054 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5055 windows (Bug#11276).
5056
b3608390
CY
50572012-04-27 Chong Yidong <cyd@gnu.org>
5058
5059 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5060 fix "missing prefix" warning. All callers changed.
b3608390 5061
797e6e88
SM
50622012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * emacs-lisp/assoc.el: Move to obsolete/.
5065
e95a67dc
SM
50662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5067
657c21e4 5068 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5069
5070 * term/ns-win.el (ns-define-service):
5071 * progmodes/pascal.el (pascal-goto-defun):
5072 * progmodes/js.el (js--read-tab):
5073 * progmodes/etags.el (tags-lazy-completion-table):
5074 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5075 * emacs-lisp/ewoc.el (ewoc--wrap):
5076 * emacs-lisp/assoc.el (aput, adelete, amake):
5077 * doc-view.el (doc-view-convert-current-doc):
5078 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5079
cb3e7ae0
CY
50802012-04-26 Chong Yidong <cyd@gnu.org>
5081
dce04f7f
CY
5082 * image.el (image-type-from-buffer): Only return supported image
5083 type (Bug#9045).
5084
cb3e7ae0
CY
5085 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5086 value, for symmetry with diff-end-of-hunk.
5087 (diff-split-hunk, diff-find-source-location)
5088 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5089 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5090 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5091 compute the relevant hunk or file properly (Bug#6005).
5092 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5093
0d42eb3e
SM
50942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * vc/vc-mtn.el:
5097 * vc/vc-hg.el:
5098 * vc/vc-git.el:
5099 * vc/vc-dir.el:
5100 * vc/vc-cvs.el:
5101 * vc/vc-bzr.el:
5102 * vc/vc-arch.el:
5103 * vc/vc.el: Replace lexical-let by lexical-binding.
5104 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5105 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5106 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5107
f08ae1c9
CY
51082012-04-26 Chong Yidong <cyd@gnu.org>
5109
8b71081d
CY
5110 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5111 (diff-mode-shared-map): Bind it to / and [remap undo].
5112
f08ae1c9
CY
5113 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5114 (ediff-window-setup-function): Use it as the default, to set up
5115 windows based on whether the current frame is graphical (Bug#2138).
5116 (ediff-choose-window-setup-function-automatically): Make obsolete.
5117
5118 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5119
ef24141c
SM
51202012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5121
cc356a5d
SM
5122 * ffap.el: Remove old code for obsolete package.
5123 (ffap-complete-as-file-p): Remove.
5124
b4ff4f1f
SM
5125 Use completion-table-with-quoting for comint and pcomplete.
5126 * comint.el (comint--unquote&requote-argument)
5127 (comint--unquote-argument, comint--requote-argument): New functions.
5128 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5129 (comint-quote-filename): Use regexp-opt-charset.
5130 (comint--common-suffix, comint--common-quoted-suffix)
5131 (comint--table-subvert): Remove.
5132 (comint-unquote-function, comint-requote-function): New vars.
5133 (comint--complete-file-name-data): Use them with
5134 completion-table-with-quoting.
5135 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5136 * pcomplete.el (pcomplete-arg-quote-list)
5137 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5138 (pcomplete-unquote-argument-function): Default to non-nil.
5139 (pcomplete-unquote-argument): Simplify.
5140 (pcomplete--common-quoted-suffix): Remove.
5141 (pcomplete-requote-argument-function): New var.
5142 (pcomplete--common-suffix): New function.
5143 (pcomplete-completions-at-point): Use completion-table-with-quoting
5144 and completion-table-subvert.
5145
79c4eeb4
SM
5146 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5147 (minibuffer--double-dollars): Preserve properties.
5148 (completion--sifn-requote): New function.
5149 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5150
ef24141c
SM
5151 * minibuffer.el: Add support for completion of quoted/escaped data.
5152 (completion-table-with-quoting, completion-table-subvert): New funs.
5153 (completion--twq-try, completion--twq-all): New functions.
5154 (completion--nth-completion): New function.
5155 (completion-try-completion, completion-all-completions): Use it.
5156
784e7d6e
LL
51572012-04-25 Leo Liu <sdl.web@gmail.com>
5158
dd2ac746
SM
5159 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5160 Use compilation-message if available to find real filename.
784e7d6e 5161
07875ee7
CY
51622012-04-25 Chong Yidong <cyd@gnu.org>
5163
5164 * vc/diff-mode.el (diff-setup-whitespace): New function.
5165 (diff-mode): Use it.
5166
5167 * vc/diff.el (diff-sentinel):
5168 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5169 Whitespace mode variables based on diff style (Bug#8612).
5170
5055880d
LL
51712012-04-25 Leo Liu <sdl.web@gmail.com>
5172
daf75653
LL
5173 * progmodes/python.el (python-send-region): Add suffix .py to the
5174 temp file.
5175
5055880d
LL
5176 * files.el (auto-mode-alist): Use javascript-mode instead.
5177
db9b177b
AH
51782012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5179
ef24141c 5180 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5181
090bd7cb 5182 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5183 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5184 references, see Bug#9.
ef24141c 5185 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5186 when receiving a fault reply.
ef24141c 5187 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5188
090bd7cb 5189 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5190 (soap-inspect-simple-type): New function.
db9b177b 5191
090bd7cb 5192 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5193 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5194 (soap-decode-basic-type, soap-encode-basic-type):
5195 support unsignedInt and double basic types.
db9b177b 5196 (soap-resolve-references-for-simple-type)
ef24141c
SM
5197 (soap-parse-simple-type, soap-encode-simple-type): New function.
5198 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5199
090bd7cb 5200 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5201 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5202 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5203 the local name of "soapenc:Array".
5204 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5205 decoding integer, byte and anyURI xsd types.
5206
1fc6097b
CY
52072012-04-25 Chong Yidong <cyd@gnu.org>
5208
5209 * cus-edit.el (custom-buffer-create-internal): Update header text.
5210
afc6df87
EZ
52112012-04-25 Eli Zaretskii <eliz@gnu.org>
5212
5213 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5214 settings on 'system-type', not on 'window-system'. On MS-Windows,
5215 set interactive-mode on in GDB.
5216
dfbd787f
SM
52172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5220 (ruby-syntax-propertize-regexp): Remove.
5221 (ruby-syntax-propertize-function): Split regexp into chunks.
5222 Match following code directly.
5223
85222d44
DG
52242012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5225
51a8ea2a
DG
5226 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5227 (ruby-syntax-propertize-regexp): New function.
5228 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5229 by a special keyword.
5230
85222d44
DG
5231 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5232 (ruby-syntax-general-delimiters-goto-beg)
5233 (ruby-syntax-propertize-general-delimiters): New functions.
5234 (ruby-syntax-propertize-function): Use them to handle GDL.
5235 (ruby-font-lock-keywords): Move old handling of GDL...
5236 (ruby-font-lock-syntactic-keywords): .. to here.
5237 (ruby-calculate-indent): Adjust indentation for GDL.
5238
b613912b
MA
52392012-04-24 Michael Albinus <michael.albinus@gmx.de>
5240
b5380639
MA
5241 * notifications.el (top): Remove unneeded declarations.
5242 (notifications-specification-version): Change to "1.2".
e43042fe 5243 (notifications-interface, notifications-notify-method)
b613912b
MA
5244 (notifications-close-notification-method): Fix docstring.
5245 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5246 (notifications-notify): Add :action-items, :resident and
5247 :transient hints. Change "image_data" to "image-data" and
5248 "image_path" to "image-path".
b613912b
MA
5249 (notifications-get-capabilities): New defun.
5250
257440aa
LL
52512012-04-24 Leo Liu <sdl.web@gmail.com>
5252
5253 * progmodes/python.el: Move hideshow setup to the end.
5254
b1bac16e
MR
52552012-04-24 Martin Rudalics <rudalics@gmx.at>
5256
5257 * window.el (handle-select-window): Clear echo area since this is
5258 no more done by read_char (Bug#11304).
5259
d81bd059
SM
52602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5263 and `/ M' to filter-derived-mode.
5264 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5265 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5266 (ibuffer-mark-by-mode): Use default rather than initial-input.
5267 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5268
c4cf6d91
IA
52692012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5270
5271 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5272 (ibuffer-filter-by-derived-mode): New filter.
5273 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5274
7511ded8
CY
52752012-04-23 Andreas Politz <politza@fh-trier.de>
5276
5277 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5278
775c916b
CY
52792012-04-23 Chong Yidong <cyd@gnu.org>
5280
5281 * cus-edit.el (customize-apropos, customize-apropos-options):
5282 Disable matching of non-option variables (Bug#11176).
5283 (customize-option, customize-option-other-window)
5284 (customize-changed-options): Doc fix.
5285 (customize-apropos-options, customize-apropos-faces)
5286 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5287
5288 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5289 Fix word list splitting (Bug#11132).
46c71e23
CY
5290 (apropos-symbol, apropos-keybinding, apropos-label)
5291 (apropos-property, apropos-function-button)
5292 (apropos-variable-button, apropos-misc-button): New faces.
5293 (apropos-symbol-face, apropos-keybinding-face)
5294 (apropos-label-face, apropos-property-face, apropos-match-face):
5295 Variables removed (Bug#8396).
5296 (apropos-library-button, apropos-format-plist, apropos-print)
5297 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5298
2df41f9c
MA
52992012-04-23 Michael Albinus <michael.albinus@gmx.de>
5300
5301 * net/xesam.el (xesam-mode-map): Use let-bound map in
5302 initialization. (Bug#11292)
5303
da00640a
AM
53042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5305
5306 Preserve ispell session localwords when switching back to
5307 original buffer.
5308
090bd7cb
JB
5309 * textmodes/ispell.el (ispell-buffer-session-localwords):
5310 New buffer-local variable to hold buffer session localwords.
ed9265fc 5311 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5312 localwords.
5313 (ispell-command-loop, ispell-change-dictionary)
5314 (ispell-buffer-local-words): Preserve session localwords when
5315 needed.
5316
090bd7cb
JB
5317 * textmodes/flyspell.el (flyspell-process-localwords)
5318 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5319
f621ccf5
AM
53202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5321
090bd7cb
JB
5322 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5323 using obsolete `translation-table-for-input'.
ef24141c
SM
5324 (ispell-word, ispell-process-line, ispell-complete-word):
5325 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5326
c2d1019e
CY
53272012-04-22 Chong Yidong <cyd@gnu.org>
5328
5329 * cus-edit.el (custom-variable-menu)
5330 (custom-variable-reset-saved, custom-face-menu)
5331 (custom-face-reset-saved): If there is no saved value, make the
5332 "reset-saved" operation bring back the default (Bug#9509).
5333 (custom-face-state): Properly detect themed faces.
5334
eeddc531
CY
5335 * faces.el (face-spec-set): Stop supporting deprecated form of
5336 third arg.
5337
dcbf5805
MA
53382012-04-22 Michael Albinus <michael.albinus@gmx.de>
5339
5340 Move functions from C to Lisp. Make non-blocking method calls
5341 the default. Implement further D-Bus standard interfaces.
5342
ef24141c
SM
5343 * net/dbus.el (dbus-message-internal): Declare function.
5344 Remove unneeded function declarations.
dcbf5805
MA
5345 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5346 (dbus-message-type-method-return, dbus-message-type-error)
5347 (dbus-message-type-signal): Declare variables. Remove local
5348 definitions.
5349 (dbus-interface-dbus, dbus-interface-peer)
5350 (dbus-interface-introspectable, dbus-interface-properties)
5351 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5352 Adapt docstring.
5353 (dbus-interface-objectmanager): New defconst.
5354 (dbus-call-method, dbus-call-method-asynchronously)
5355 (dbus-send-signal, dbus-method-return-internal)
5356 (dbus-method-error-internal, dbus-register-service)
5357 (dbus-register-signal, dbus-register-method): New defuns, moved
5358 from dbusbind.c
5359 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5360 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5361 New defuns.
dcbf5805
MA
5362 (dbus-call-method-non-blocking): Make it an obsolete function.
5363 (dbus-unregister-object, dbus-unregister-service)
5364 (dbus-handle-event, dbus-register-property)
5365 (dbus-property-handler): Obey the new structure of
5366 `bus-registered-objects'.
5367 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5368 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5369 Use `dbus-call-method'.
5370
cf20dee0
CY
53712012-04-22 Chong Yidong <cyd@gnu.org>
5372
5373 * cus-edit.el (custom-commands, custom-reset-menu)
5374 (Custom-reset-standard): Tweak labels.
5375 (custom-reset-button-menu): Change default to t.
5376 (custom-buffer-create-internal): For the custom-reset-button-menu
5377 case, put the revert button first.
5378 (custom-group-subtitle): New face.
5379 (custom-group-value-create): Align docstring to a specific column.
5380
5381 * wid-edit.el (widget-documentation-link-add): Don't handle
5382 indentation in this function.
5383 (widget-documentation-string-indent-to): New function.
5384 (widget-documentation-string-value-create): Use it.
5385
5386 * autorevert.el (auto-revert):
5387 * epg-config.el (epg):
5388 * ibuffer.el (ibuffer):
5389 * mpc.el (mpc):
5390 * ses.el (ses):
5391 * eshell/eshell.el (eshell):
5392 * net/ange-ftp.el (ange-ftp):
5393 * progmodes/ebnf2ps.el (postscript):
5394 * progmodes/flymake.el (flymake):
5395 * progmodes/prolog.el (prolog):
5396 * progmodes/verilog-mode.el (verilog-mode):
5397 * progmodes/which-func.el (which-func):
5398 * term/xterm.el (xterm):
5399 * textmodes/picture.el (picture):
5400 * textmodes/tildify.el (tildify):
5401 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5402 customization buffers.
5403
583e23bd
AM
54042012-04-22 Alan Mackenzie <acm@muc.de>
5405
5406 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5407 Adding a ) can hide the resulting (..) from searches. Fix it.
5408 Bound the backward search to the position of the existing (.
5409
7dd51bf1
JB
54102012-04-21 Juanma Barranquero <lekktu@gmail.com>
5411
5412 * progmodes/verilog-mode.el (verilog-mode): Check whether
5413 which-func-modes is t before adding verilog-mode.
5414 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5415
d64a438f
LL
54162012-04-21 Leo Liu <sdl.web@gmail.com>
5417
7dd51bf1 5418 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5419
081e8d65
MV
54202012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5421
5422 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5423 filling of the last column of a table (Bug#5635).
5424 (woman-find-next-control-line): New arg, specifying an additional
5425 regexp component for the control line.
5426 (woman2-roff-buffer): Use it.
5427 (woman-break-table): New function.
5428 (woman2-TS): Use it.
5429
54302012-04-21 Chong Yidong <cyd@gnu.org>
5431
5432 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5433 (woman-horizontal-escapes, woman-negative-vertical-space)
5434 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5435 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5436
ed571ccb
SM
54372012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * minibuffer.el (completion-file-name-table): Complete user names.
5440
39773899
LL
54412012-04-20 Leo Liu <sdl.web@gmail.com>
5442
5443 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5444 and pcase-let*.
5445
de6ff46d
CY
54462012-04-20 Chong Yidong <cyd@gnu.org>
5447
5448 * server.el (server-execute): Respect initial-buffer-choice if it
5449 is a string and there are no files to open (Bug#2825).
5450 (server-create-window-system-frame, server-create-tty-frame):
5451 Don't switch buffers here.
2d0e8e61
CY
5452 (server-process-filter): Only try to open a window system frame if
5453 compiled with graphical support (Bug#8314).
de6ff46d 5454
54071013
DN
54552012-04-20 Dan Nicolaescu <dann@gnu.org>
5456
5457 * battery.el (battery-echo-area-format): Display remaining time
5458 for sysfs backend too (Bug#11269).
5459 (battery-linux-sysfs): Fix conditional for the charge.
5460
f30d612a
CY
54612012-04-20 Chong Yidong <cyd@gnu.org>
5462
c07a4c0b 5463 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5464 (gdb-inferior-io--init-proc): New function.
5465 (gdb-init-1): Use it.
5466 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5467 responsible for allocating a new pty and hooking it to gdb when
5468 the old pty gets an EIO due to process exit.
5469 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5470 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5471 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5472
2116e93c
EZ
54732012-04-20 Eli Zaretskii <eliz@gnu.org>
5474
5475 * window.el (window-min-size, window-sizable, window-min-delta)
5476 (window-max-delta, window--resizable, window-resizable)
5477 (window-total-size, window-full-height-p, window-full-width-p)
5478 (window-in-direction, window--resize-mini-window, window-resize)
5479 (window--resize-child-windows-normal)
5480 (window--resize-child-windows, window--resize-siblings)
5481 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5482 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5483
c07a4c0b 54842012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5485
ef24141c
SM
5486 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5487 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5488 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5489 pty process (Bug#11273).
5490 (gdb-update): New arg to suppress talking to the gdb process.
5491 (gdb-done-or-error): Use it.
5492 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5493 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5494 sentinel not being called.
5495
5496 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5497
d02766ab
CY
5498 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5499
c07a4c0b 55002012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5501
5502 * net/network-stream.el (open-network-stream): Doc fix.
5503
c07a4c0b 55042012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5505
5506 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5507
c07a4c0b 55082012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5509
5510 Ensure searching for keywords is case sensitive.
5511
5512 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5513 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5514 (c-defun-name, c-mark-function, c-cpp-define-name)
5515 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5516 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5517
ef24141c
SM
5518 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5519 Bind case-fold-search to nil.
f0f6bc35 5520
c07a4c0b 55212012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5522
5523 * mail/sendmail.el (mail-bury): Call return action with the right
5524 Rmail buffer (Bug#11242).
5525
9a864fa2
CY
5526 * server.el (server-process-filter): Handle corner case where both
5527 tty and nowait options are present (Bug#11102).
5528
539aa513
EZ
55292012-04-20 Eli Zaretskii <eliz@gnu.org>
5530
5531 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5532 (top level): Put into the executable the ident-style '$Id:' tag on
5533 windows-nt as well.
539aa513 5534
cfc7d5da
SM
55352012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * electric.el (electric-indent-post-self-insert-function): Check that
5538 electric-indent-mode is enabled in current buffer.
5539
5b01685c
JB
55402012-04-19 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * imenu.el (imenu-progress-message): Restore; it is "used" in
5543 erc/erc-imenu.el and net/snmp-mode.el.
5544
4d6769e1
JB
55452012-04-19 Juanma Barranquero <lekktu@gmail.com>
5546
5547 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5548 (mouse-avoidance-nudge-mouse): Remove unused binding.
5549
5550 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5551
5552 * descr-text.el (describe-char):
5553 * progmodes/python.el (python-describe-symbol):
5554 Don't call `toggle-read-only', set `buffer-read-only'.
5555
5556 * imenu.el (imenu-default-goto-function): Mark unused args.
5557 (imenu-progress-message): Remove obsolete macro; all callers changed.
5558
5559 * subr.el (keymap-canonicalize): Remove unused binding.
5560 (read-passwd): Mark unused arg.
5561
5562 * tutorial.el (tutorial--display-changes): Remove unused binding.
5563 (tutorial--save-tutorial-to): Remove unused variable.
5564
5565 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5566 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5567 (package-generate-autoloads, package-menu--generate)
5568 (package-menu--find-upgrades): Remove unused bindings.
5569
5570 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5571 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5572 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5573 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5574 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5575 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5576 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5577 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5578 (cua-delete-char-rectangle): Mark unused args.
5579 (cua-align-rectangle): Remove unused binding.
5580
5581 * mail/rmail.el (compilation--message->loc)
5582 (epa--find-coding-system-for-mime-charset): Declare.
5583
5584 * net/dbus.el (dbus-register-service): Declare.
5585 (dbus-name-owner-changed-handler): Remove unused binding.
5586
5587 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5588 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5589 (nxml-scan-backward-within): Mark unused arg.
5590 (nxml-dynamic-markup-word): Remove unused binding.
5591
5592 * mouse.el (mouse-menu-major-mode-map):
5593 * emacs-lisp/authors.el (authors-scan-change-log)
5594 (authors-add-to-author-list):
5595 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5596 * emacs-lisp/smie.el (smie-auto-fill):
5597 * mail/sendmail.el (mail-bury):
5598 * mail/unrmail.el (unrmail):
5599 * net/tls.el (open-tls-stream):
5600 * textmodes/picture.el (picture-mouse-set-point):
5601 Remove unused bindings.
5602
8c8fc5df
MA
56032012-04-19 Michael Albinus <michael.albinus@gmx.de>
5604
5605 * net/tramp.el (tramp-action-password): Let-bind
5606 `enable-recursive-minibuffers' to t.
5607
a77b0ac9
SS
56082012-04-18 Sam Steingold <sds@gnu.org>
5609
5610 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5611 instead of 'string to accommodate values like [f11].
5612 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5613 * progmodes/gdb-mi.el: Likewise.
5614
12a106a9
LL
56152012-04-18 Leo Liu <sdl.web@gmail.com>
5616
5617 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5618 current buffer.
5619 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5620 LOCAL is nil.
5621
bc6494ef
CY
56222012-04-18 Chong Yidong <cyd@gnu.org>
5623
5624 * simple.el (line-move): Use forward-line if in batch mode
5625 (Bug#11053).
5626
c09c46b2
CS
56272012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5628
5629 * files.el (after-find-file): Do not try to add a final newline if
5630 the buffer is read-only (Bug#11156).
5631
5f6530ea
RS
56322012-04-17 Richard Stallman <rms@gnu.org>
5633
5634 * mail/rmail.el (rmail-start-mail):
5635 Pass (rmail-mail-return...) for the return-action.
5636 Pass (rmail-yank-current-message...) for the yank-action.
5637 (rmail-yank-current-message): New function.
5638 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5639 (rmail-reply): Likewise.
5640 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5641
5642 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5643 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5644 buffer, not newbuf.
5645
197b6f3c
JB
56462012-04-17 Juanma Barranquero <lekktu@gmail.com>
5647
5648 * server.el (server-ensure-safe-dir): Simplify.
5649
2311d8e5 56502012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5651
2311d8e5
GM
5652 * emacs-lisp/smie.el: Provide smarter auto-filling.
5653 (smie-auto-fill): New function.
5654 (smie-setup): Use it.
98fb480e 5655
2311d8e5
GM
5656 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5657
56582012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5659
5660 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5661 (comment-indent): Use it.
5662
2311d8e5 56632012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5664
5665 * ses.el: The overall change is to add cell renaming, that is
5666 setting fancy names for cell symbols other than name matching
5667 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5668 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5669 (ses-create-cell-variable): New defun.
2311d8e5 5670 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5671 (ses-relocate-formula): Relocate formulas only for cells the
5672 symbols of which are not renamed, i.e. symbols whose names do not
5673 match regexp "\\`[A-Z]+[0-9]+\\'".
5674 (ses-relocate-all): Relocate values only for cells the symbols of
5675 which are not renamed.
5676 (ses-load): Create cells variables as the (ses-cell ...) are read,
5677 in order to check row col consistency with cell symbol name only
5678 for cells that are not renamed.
5679 (ses-replace-name-in-formula): New defun.
5680 (ses-rename-cell): New defun.
4bdf2ad2 5681
fc72b15c
PO
56822012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5683
5684 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5685 New option (bug#11118).
5686 (perl-calculate-indent): Respect it.
5687
12e10e61
GM
56882012-04-17 Glenn Morris <rgm@gnu.org>
5689
5690 * dired-aux.el (dired-mark-read-string): Doc fix.
5691
30009afd
DA
56922012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5693
5694 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5695 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5696
41f03f4d
GM
56972012-04-17 Glenn Morris <rgm@gnu.org>
5698
5699 * mouse.el (mouse-drag-track):
5700 * speedbar.el (speedbar-frame-mode):
5701 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5702
f45f90f3
LL
57032012-04-16 Leo Liu <sdl.web@gmail.com>
5704
5705 * progmodes/python.el: Trivial cleanup.
5706
94ee8db5
GM
57072012-04-16 Glenn Morris <rgm@gnu.org>
5708
121b8917
GM
5709 * vc/vc.el (vc-string-prefix-p):
5710 * vc/pcvs-util.el (cvs-string-prefix-p):
5711 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5712 * mpc.el (mpc-string-prefix-p):
5713 Make all of these into obsolete aliases for string-prefix-p.
5714 Update callers.
5715 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5716
1197ecfa
GM
5717 * textmodes/two-column.el: Move custom options to the start.
5718 (frame-width): Remove compat definition.
5719 (2C-associate-buffer, 2C-dissociate):
5720 Use with-current-buffer rather than save-excursion.
5721 (2C-dissociate): Force a mode-line update.
5722 (2C-autoscroll): Use ignore-errors.
5723
099e7202
GM
5724 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5725 Autoload trivia.
5726
bf350d6a
GM
5727 * emacs-lisp/cl-extra.el (*random-state*):
5728 Remove unnecessary declaration.
5729
0e829eab
GM
5730 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5731
e3ad7552
GM
5732 * play/cookie1.el (cookie-snarf):
5733 Give an explicit error if input file cannot be read.
5734
68892d27
GM
5735 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5736
20f0c46d
GM
5737 * progmodes/perl-mode.el (c-macro-expand):
5738 Remove unnecessary autoload (it is in loaddefs.el).
5739
5a0978ce
GM
5740 * textmodes/picture.el (picture-desired-column)
5741 (picture-update-desired-column): Convert comments to doc-strings.
5742 (picture-substitute): Remove function.
5743 (picture-mode-map): Initialize in the defvar.
5744
6b955486
GM
5745 * woman.el: Remove eval-after-load for tar-mode.
5746 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5747 (woman-tar-extract-file): Autoload it.
5748
94ee8db5
GM
5749 * frame.el (automatic-hscrolling): Make this alias obsolete.
5750
177eca34
AM
57512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5752
090bd7cb 5753 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5754 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5755 (ispell-dictionary-base-alist): Revert to original XEmacs
5756 friendly version for default. [:alpha:] will be added in
090bd7cb 5757 `ispell-set-spellchecker-params' if needed.
177eca34 5758
c505aaeb
CY
57592012-04-16 Chong Yidong <cyd@gnu.org>
5760
b19dd9d1 5761 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5762 (imagemagick-register-types): Use it.
5763 (imagemagick-types-inhibit): Add :set function. Allow new value
5764 of t to inhibit all types.
5765
5766 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5767 so we can preload it.
5768
5769 * loadup.el (fboundp): Preload regexp-opt, needed by
5770 imagemagick-register-types.
5771
60efac0f
CY
57722012-04-15 Chong Yidong <cyd@gnu.org>
5773
5774 * frame.el (scrolling): Remove nearly unused customization group.
5775
5776 * scroll-all.el (scroll-all-mode): Move to windows group.
5777
5dd1713e
CY
57782012-04-15 Chong Yidong <cyd@gnu.org>
5779
5780 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5781
e6fd457e
CY
57822012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5785 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5786
e153c136
GM
57872012-04-15 Glenn Morris <rgm@gnu.org>
5788
5789 * simple.el (process-file-side-effects): Doc fix.
5790
e6fd457e 57912012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5792
5793 * international/mule-cmds.el (set-language-environment): Doc fix.
5794
3603c3b1
JB
57952012-04-14 Juanma Barranquero <lekktu@gmail.com>
5796
5797 * server.el (server-auth-key, server-generate-key): Doc fixes.
5798 (server-get-auth-key): Doc fix. Use `string-match-p'.
5799 (server-start): Reflow docstring.
5800
e6de100c
LI
58012012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5802
5803 * server.el (server-generate-key): `called-interactively-p'
5804 requires a parameter.
5805
29734c21
MN
58062012-04-14 Michal Nazarewicz <mina86@mina86.com>
5807
5808 * server.el (server-auth-key): New variable.
75f1671a 5809 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5810 (server-start): Use the new variable and functions to allow
5811 setting a permanent server key (bug#9423).
5812
d65c9521
LL
58132012-04-14 Leo Liu <sdl.web@gmail.com>
5814
5815 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5816
5ae255c7
PE
58172012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5818
5819 Spelling fixes.
5820 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5821 Emacs uses American spelling.
5822
d5e6342e
JB
58232012-04-14 Juanma Barranquero <lekktu@gmail.com>
5824
5825 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5826 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5827 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5828 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5829
ab036cd7
SM
58302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * progmodes/which-func.el (which-func-modes): Change default.
5833
35dc09a1 58342012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5835
5836 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5837 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5838
35dc09a1 58392012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5840
5841 * custom.el (custom-theme-set-variables): Doc fix.
5842
35dc09a1 58432012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5844
5845 * international/mule.el (set-auto-coding-for-load): Doc fix.
5846
35dc09a1 58472012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5848
35dc09a1
GM
5849 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5850 imenu work again for Objective C Mode. Correct the *-index values,
5851 these having been disturbed by a previous change in 2011-08.
57f845ee 5852
0de3da9f
AM
5853 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5854 Correct two search limits.
5855
35dc09a1 58562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5857
5858 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5859
35dc09a1 58602012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5861
5862 * international/characters.el: Fix sorting.
5863
35dc09a1 58642012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5865
5866 * international/characters.el: Add more missing Latin case pairs.
5867
35dc09a1 58682012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5869
5870 * files.el (dir-locals-set-class-variables): Doc fix.
5871
35dc09a1 58722012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5873
3f1b5bf8
EZ
5874 * international/characters.el: Add set-case-syntax-pair call for
5875 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5876 counterpart. (Bug#11209)
5877
9f847f41
EZ
5878 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5879
35dc09a1 58802012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5881
5882 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5883
35dc09a1 58842012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5885
35dc09a1
GM
5886 * textmodes/ispell.el (ispell-dictionary-base-alist):
5887 Add data for Hebrew.
e2627d21 5888
35dc09a1 58892012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5890
35dc09a1
GM
5891 * net/rcirc.el (rcirc-cmd-quit):
5892 Revert 2012-03-18 change (Bug#11192).
5c14e333 5893
35dc09a1 58942012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5895
5896 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5897
35dc09a1 58982012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5899
4517fe3a
SM
5900 * minibuffer.el (completion-in-region-mode-map):
5901 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5902
b472a594
VD
59032012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5904
5905 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5906
09b95ce3
MY
59072012-04-13 Masatake YAMATO <yamato@redhat.com>
5908
5909 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5910 to allow `C-M-f' and `C-M-b' to move to the nearest path
5911 separator (bug#9511).
5912
4b63a9ca
LI
59132012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5914
5915 * avoid.el: Require cl when compiling. And also move the
5916 `provide' to the end.
5917
7b55b8bf
TV
59182012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5919
5920 * avoid.el (mouse-avoidance-banish-position): New variable.
5921 (mouse-avoidance-banish-destination): Use it (bug#10165).
5922
adedaa1f
LL
59232012-04-13 Leo Liu <sdl.web@gmail.com>
5924
5925 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5926
70e74021
KB
59272012-04-13 Ken Brown <kbrown@cornell.edu>
5928
5929 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5930 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5931 (browse-url-filename-alist): For the same reason, don't modify
5932 file:// URLs on Cygwin.
5933
e75e89ba
SM
59342012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5937 the region on shift if the binding is already shifted (bug#11221).
5938
82f289a4
GM
59392012-04-12 Glenn Morris <rgm@gnu.org>
5940
5941 * mail/mailpost.el: Move to obsolete/.
5942
d333dc4c
DA
59432012-04-12 Drew Adams <drew.adams@oracle.com>
5944
5945 * imenu.el (imenu--generic-function): Ignore invisible definitions
5946 (bug#10123).
5947
0d15b5ba
VD
59482012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5949
5950 * hexl.el (hexl-bits): New variable.
5951 (hexl-options): Mention the variable in the doc string.
75f1671a 5952 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5953 (hexl-mode): Mention the new variable.
75f1671a
JB
5954 (hexl-mode, hexl-current-address, hexl-current-address):
5955 Use the displen.
0d15b5ba
VD
5956 (hexl-ascii-start-column): New function.
5957 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5958 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5959
64a440db
AM
59602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5961
5962 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5963 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5964 the encoding, as expected by hunspell.
5965
6decb6c2
SM
59662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * battery.el (battery--linux-sysfs-regexp): New const.
5969 (battery-status-function): Use it. Remove yeeloong special case.
5970 (battery-yeeloong-sysfs): Remove.
5971 (battery-echo-area-format): Remove yeeloong special case.
5972
088be6fb
SM
59732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5974
6622e416
SM
5975 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5976 Reported by Noah Friedman.
5977
088be6fb
SM
5978 * subr.el (read-passwd): Use read-string.
5979
b49f886e
LMI
59802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5981
5982 * vcursor.el (vcursor-move): Increase the priority of the overlay
5983 (bug#9663).
5984
a63067fc
DD
59852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5986
5987 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5988 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5989
ac3cf14a
WS
59902012-04-11 William Stevenson <yhvh2000@gmail.com>
5991
5992 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5993 define-minor-mode (bug#10760).
5994
c4fc691b 59952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5996
4d6769e1 5997 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5998 that directories matching `grep-find-ignored-files' won't be
5999 pruned (bug#10351).
6000
af23e2e5
CY
60012012-04-11 Chong Yidong <cyd@gnu.org>
6002
6003 * startup.el (command-line): Remove support for long-obsolete
6004 variable font-lock-face-attributes.
6005
ab7ce8c1
GM
60062012-04-11 Glenn Morris <rgm@gnu.org>
6007
6008 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6009
de8c03dc
SM
60102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * window.el (window--state-get-1): Obey window-point-insertion-type.
6013
050cc68b
LB
60142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6015
6016 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6017 to previous function when point is on the first character of a
75f1671a 6018 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6019
a38c310c
GM
60202012-04-11 Glenn Morris <rgm@gnu.org>
6021
effed0c2
GM
6022 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6023 not just file-errors.
6024
a38c310c
GM
6025 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6026 (vc-bzr-sha1): Use internal sha1.
6027
0221e323
SM
60282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6031
43956923
SG
60322012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6033
6034 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6035 that start in the middle of the line (bug#10496).
6036
6a8c9eaf
DN
60372012-04-10 Dan Nicolaescu <dann@gnu.org>
6038
6039 * battery.el (battery-linux-proc-acpi): Only one battery is
6040 discharged at a time, but that seems to confuse battery.el when
6041 computing `rate-type' for the battery not being discharged
6042 (bug#10332).
6043
1930bf5d
SM
60442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6045
2a718f6f
SM
6046 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6047
599430d0
SM
6048 * international/quail.el: Use dolist and simplify.
6049 (quail-define-package, quail-update-keyboard-layout)
6050 (quail-define-rules): Use dolist.
6051 (quail-insert-kbd-layout, quail-get-translation): CSE.
6052
a2754b6c
SM
6053 * tmm.el: Use dolist, remove left over hook.
6054 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6055 Use dolist.
6056 (calendar-load-hook): Don't mess with it.
6057
1930bf5d
SM
6058 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6059 Use derived-mode-p. Run the diff asynchronously.
6060
9f67961c
LMI
60612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6062
6063 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6064
2a8ce227
JB
60652012-04-10 Juanma Barranquero <lekktu@gmail.com>
6066
6067 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6068 (list-dynamic-libraries--loaded): New function.
6069 (list-dynamic-libraries--refresh): Use it.
6070
8f33b5f8
NW
60712012-04-10 Nathan Weizenbaum <nweiz@google.com>
6072
1930bf5d
SM
6073 * progmodes/python.el (python-fill-paragraph):
6074 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6075 disabled (bug#7018).
6076
b12f0439
L
60772012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6078
1930bf5d 6079 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6080 DOS/MS Windows for the Baltic languages. There are still plenty
6081 of texts written in this encoding/codepage (bug#6519).
b12f0439 6082
57c3bd01
GM
60832012-04-10 Glenn Morris <rgm@gnu.org>
6084
6085 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6086 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6087
6c3eab30
FA
60882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6089
1930bf5d 6090 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6091 next-line "n" and previous-line "p" in order to make recentf more
6092 consistent with ibuffer, dired or org-mode (bug#9387).
6093
24d78a88
LMI
60942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
bc72b5d9
LMI
6096 * image.el (put-image): Return the overlay created instead of the
6097 optional input string (bug#7834). Note that this may break code
6098 that is (for some reason or other) depending on `put-image'
6099 returning the string.
6100
bd2dba5a
LMI
6101 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6102
74beb59f
LMI
6103 * simple.el (zap-to-char): Allow zapping using input methods
6104 (bug#1580).
6105
24d78a88
LMI
6106 * textmodes/fill.el (fill-region): Leave point and mark where they
6107 were before filling (bug#5399).
6108
263f20cd
GM
61092012-04-09 Glenn Morris <rgm@gnu.org>
6110
6111 * version.el (emacs-bzr-get-version):
6112 Handle lightweight checkouts of local branches.
6113
58d1f797
AS
61142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6115
263f20cd 6116 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6117
b4d3bc10
CY
61182012-04-09 Chong Yidong <cyd@gnu.org>
6119
6120 * custom.el (custom-variable-p): Return nil for non-symbol
6121 arguments instead of signaling an error.
6122 (user-variable-p): Obsolete alias for custom-variable-p.
6123
6124 * apropos.el (apropos-variable):
6125 * files-x.el (read-file-local-variable):
6126 * simple.el (set-variable):
6127 * woman.el (woman-mini-help):
6128 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6129
fd06db5d
GM
61302012-04-09 Glenn Morris <rgm@gnu.org>
6131
e5fcdb5e
GM
6132 * startup.el (normal-top-level): Don't look for leim-list.el
6133 in places where it will not be found. (Bug#910)
6134
fd06db5d
GM
6135 * international/mule-cmds.el (set-default-coding-systems):
6136 * files.el (normal-mode):
6137 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6138 This function was removed with ucs-tables.el in 2008.
6139
b39bb7e1
EZ
61402012-04-08 Eli Zaretskii <eliz@gnu.org>
6141
6142 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6143 ispell-encoding8-command to "-i", without a trailing space.
6144 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6145 separate command-line arguments, to specify the encoding, since
6146 that's how hunspell expects it.
6147
5c5b8e23
GM
61482012-04-08 Glenn Morris <rgm@gnu.org>
6149
6150 * loadup.el: Load bindings before cus-start.
6151 This reduces somewhat the number of "rogue" settings in emacs -Q.
6152
a1ed8b05
GM
61532012-04-07 Glenn Morris <rgm@gnu.org>
6154
6155 * version.el (emacs-bzr-get-version): New function.
dfae128a 6156 (emacs-bzr-version): New variable.
a1ed8b05
GM
6157 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6158 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6159
b142f158
EZ
61602012-04-07 Eli Zaretskii <eliz@gnu.org>
6161
dfae128a
GM
6162 * international/uni-bidi.el, international/uni-category.el:
6163 * international/uni-combining.el, international/uni-decimal.el:
6164 * international/uni-decomposition.el, international/uni-digit.el:
6165 * international/uni-lowercase.el, international/uni-mirrored.el:
6166 * international/uni-name.el, international/uni-numeric.el:
6167 * international/uni-titlecase.el, international/uni-uppercase.el:
6168 Update for Unicode 6.1.
b142f158 6169
9078ead6
EZ
61702012-04-07 Eli Zaretskii <eliz@gnu.org>
6171
6172 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6173
f23d2c7d
LMI
61742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6175
6176 * window.el (shrink-window): Mention the `window-min-height'
6177 variable in the doc string.
6178
0a0a3573
BG
61792012-04-05 Bastien Guerry <bzg@altern.org>
6180
6181 * color.el (color-lighten-name): Fix typo.
6182
e5248ac9
SM
61832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * server.el (server--on-display-p): New function.
6186 (server--on-display-p): Use it.
6187
b4243e22
GV
61882012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6189
6190 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6191 (bug#11145).
6192
305d9f44
SM
61932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * comint.el (comint--common-quoted-suffix): Check string boundary
6196 before comparing (bug#11158).
6197 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6198
3d439cd1
CY
61992012-04-04 Chong Yidong <cyd@gnu.org>
6200
321cc491
CY
6201 * minibuffer.el (completion-extra-properties): Doc fix.
6202
3d439cd1
CY
6203 * subr.el (delayed-warnings-hook): Doc fix.
6204
2d562c0f
DU
62052012-04-04 Daiki Ueno <ueno@unixuser.org>
6206
6207 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6208 selection (Bug#11159).
6209 (epa-insert-keys): Inform that the default public key will be
6210 exported if no key is selected.
6211
4443f204
RS
62122012-04-04 Richard Stallman <rms@gnu.org>
6213
6214 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6215
529c06b6
CY
62162012-04-03 Chong Yidong <cyd@gnu.org>
6217
6218 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6219 mail-insert-file, not its obsolete alias mail-attach-file.
6220
66b907dc
MA
62212012-04-03 Michael Albinus <michael.albinus@gmx.de>
6222
6223 * notifications.el (notifications-notify): Fix docstring.
6224
c0ea195d
GM
62252012-04-02 Glenn Morris <rgm@gnu.org>
6226
6227 * emacs-lisp/authors.el (authors-aliases): Another addition.
6228
5ca64e00
MA
62292012-04-02 Michael Albinus <michael.albinus@gmx.de>
6230
6231 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6232 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6233 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6234
42ee526b
CY
62352012-04-01 Chong Yidong <cyd@gnu.org>
6236
6237 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6238 Handle root directory properly.
6239 (copy-directory): Caller changed.
6240
6241 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6242 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6243
0b021094
GM
62442012-03-31 Glenn Morris <rgm@gnu.org>
6245
40f86458
GM
6246 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6247
7019c177
GM
6248 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6249
a1daddd6
GM
6250 * calendar/calendar.el (calendar-window-list)
6251 (calendar-hide-window): Restore. (Bug#11140)
6252 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6253
0b021094
GM
6254 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6255
40311efc
TV
62562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6257
6258 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6259 Check if file is a symlink (Bug#10489).
6260
6261 * files.el (copy-directory): Likewise.
6262
5319014e
CY
62632012-03-30 Chong Yidong <cyd@gnu.org>
6264
6265 * image.el (imagemagick-types-inhibit)
6266 (imagemagick-register-types): Doc fix.
6267
935d1290
AM
62682012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6269
090bd7cb 6270 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6271 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6272 and treats ~word as ordinary words in pipe mode.
935d1290 6273
61c6e8fd
GM
62742012-03-30 Glenn Morris <rgm@gnu.org>
6275
6276 * tutorial.el (help-with-tutorial): Ensure local variables don't
6277 happen to make the buffer read-only. (Bug#11127)
6278
81fdff00
SM
62792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6282 (perl-calculate-indent): Return `noindent' in strings.
6283
6e7a6ec0
SS
62842012-03-28 Sam Steingold <sds@gnu.org>
6285
6286 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6287 instead of the broken adhockery which does not prevent calendar
6288 buffers from being displayed at random after exit.
6289 (calendar-window-list, calendar-hide-window): Remove the broken
6290 adhockery.
6291
fee88ca0
GM
62922012-03-28 Glenn Morris <rgm@gnu.org>
6293
6294 * replace.el (query-replace-map): Doc fix.
6295
38de3354
AS
62962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6297
6298 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6299 contents. (Bug#11109)
6300
b973155e
SM
63012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6304 (bug#11077).
6305 (avl-tree--check, avl-tree--check-node): New funs.
6306
dcb6e7b3
MR
63072012-03-27 Martin Rudalics <rudalics@gmx.at>
6308
6309 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6310 (switch-to-prev-buffer, switch-to-next-buffer):
6311 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6312 showing a buffer already is done on the same frame.
6313
b4fa35fa
GM
63142012-03-27 Glenn Morris <rgm@gnu.org>
6315
6316 * startup.el (mail-host-address): Doc fix.
6317
f9210e18
SM
63182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6321 than 197 variables.
6322
c0bf7753
AF
63232012-03-26 Ami Fischman <ami@fischman.org>
6324
6325 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6326
33da7b16
GM
63272012-03-26 Glenn Morris <rgm@gnu.org>
6328
02243d9d
GM
6329 * files.el (save-buffers-kill-emacs): Doc fix.
6330
33da7b16
GM
6331 * startup.el (normal-top-level, command-line, command-line-1):
6332 Give them doc strings.
6333
e5a69fd0
EZ
63342012-03-25 Eli Zaretskii <eliz@gnu.org>
6335
6336 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6337 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6338
9a69676a
CY
63392012-03-25 Chong Yidong <cyd@gnu.org>
6340
4125cb8b
CY
6341 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6342 theme if it was previously enabled before (Bug#11031).
6343
dd470960
CY
6344 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6345 spec with custom-face-get-current-spec if its :shown-value is not
6346 determined yet (Bug#9337).
4125cb8b 6347 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6348
9a69676a
CY
6349 * button.el (button-at): Minor addition to docstring.
6350
6e7e90fa
SL
63512012-03-24 Simon Leinen <simon.leinen@gmail.com>
6352
6353 * vc/vc.el (vc-merge): Fix a prompt.
6354
f06e2758
CY
63552012-03-24 Chong Yidong <cyd@gnu.org>
6356
6357 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6358 point (Bug#9623).
6359
6e7e90fa
SL
6360 * button.el (button-at): Minor addition to docstring.
6361
b9d0879b
SM
63622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * newcomment.el (comment-choose-indent): No space after BOL.
6365
e71cebb3
SS
63662012-03-22 Sam Steingold <sds@gnu.org>
6367
6368 * window.el (switch-to-prev-buffer): Revert last patch because the
6369 bug turned out to be an advertised feature (Elisp manual 28.14).
6370
335aff35
GM
63712012-03-22 Glenn Morris <rgm@gnu.org>
6372
6373 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6374 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6375
c676576a
LMI
63762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6377
6378 * net/network-stream.el (network-stream-open-starttls): Make error
6379 message under Windows be less misleading.
6380
126f3d39
LW
63812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6382
6383 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6384 understands (bug#9942).
6385
64fee311
CY
63862012-03-22 Chong Yidong <cyd@gnu.org>
6387
6388 * simple.el (end-of-visible-line): Handle return value of
6389 next-single-property-change properly (Bug#9371).
6390
a640d29a
KH
63912012-03-22 Kenichi Handa <handa@m17n.org>
6392
6393 * international/quail.el (quail-insert-kbd-layout): Fix previous
6394 change. To avoid unwanted bidi reordering, use
6395 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6396
39675016
DG
63972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6398
6399 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6400 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6401 (ruby-beginning-of-indent): Be more careful with the difference
6402 between word-boundary and symbol boundary.
6403 (ruby-mode-syntax-table): Make : a symbol constituent.
6404
0a6934fc 64052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6406
3d008e4f
SM
6407 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6408
0a6934fc
SM
64092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6410
af67c9d7
SM
6411 * progmodes/etags.el (tags-completion-at-point-function):
6412 Improve last fix.
6413
1acad97c
SM
6414 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6415
e298b5da
SS
64162012-03-21 Sam Steingold <sds@gnu.org>
6417
6418 * progmodes/etags.el (tags-completion-at-point-function):
6419 Avoid the error when point is inside the pattern.
6420
91d82a70
JY
64212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6422
6423 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6424 line (Bug#10855).
6425
69188b79
CY
64262012-03-21 Drew Adams <drew.adams@oracle.com>
6427
6428 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6429
99fc91fe
AK
64302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6431
6432 * ido.el (ido-set-current-directory, ido-read-internal)
6433 (ido-choose-completion-string, ido-completion-help): Handle nil
6434 value of ido-completion-buffer (Bug#11008).
6435
087bbb4c
SS
64362012-03-21 Sam Steingold <sds@gnu.org>
6437
6438 * window.el (switch-to-prev-buffer): Do not switch to a visible
6439 window previous buffer, just like with the frame previous buffers.
6440
fb5b8aca
CY
64412012-03-21 Chong Yidong <cyd@gnu.org>
6442
6443 * faces.el (make-face, make-empty-face, copy-face):
6444 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6445 Doc fixes.
6446
dc9924b8
SM
64472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6448
6449 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6450 (widget-complete): Remove broken use of it.
6451
f0bcceb9
CY
64522012-03-20 Chong Yidong <cyd@gnu.org>
6453
dc9924b8
SM
6454 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6455 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6456 characters.
6457
ee52ebf3
TH
64582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6459
6460 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6461 to draw rectangles, not squares. (Regression introduced by revno
6462 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6463
4c5779ab
CY
64642012-03-18 Chong Yidong <cyd@gnu.org>
6465
6466 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6467 it is not yet defined (for temacs).
6468
15360934
LL
64692012-03-18 Leo Liu <sdl.web@gmail.com>
6470
dc9924b8 6471 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6472
d9a8eb66
EZ
64732012-03-17 Eli Zaretskii <eliz@gnu.org>
6474
6475 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6476 (ispell-choices-win-default-height, ispell-silently-savep)
6477 (ispell-dictionary-alist, ispell-encoding8-command)
6478 (ispell-check-version, ispell-aspell-find-dictionary)
6479 (ispell-valid-dictionary-list, ispell-words-keyword)
6480 (ispell-get-word, ispell-internal-change-dictionary)
6481 (ispell-region, ispell-skip-region-list)
6482 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6483 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6484 (ispell-message-text-end, ispell-message)
6485 (ispell-buffer-local-parsing): Doc fix.
6486
f02ff80d
J
64872012-03-13 Jambunathan K <kjambunathan@gmail.com>
6488
6489 * htmlfontify.el: Add support for code block fontification for ODT
6490 export (Bug #9914).
6491 (hfy-optimisations): Define new option
6492 `body-text-only'
6493 (hfy-fontify-buffer): Honor above setting.
6494 (hfy-begin-span, hfy-end-span): New routines factored out form
6495 `hfy-fontify-buffer'.
6496 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6497 that permit insertion of custom tags.
6498 (hfy-fontify-buffer): Use above handlers.
6499 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6500 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6501 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6502 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6503 bind a special variable `hfy-user-sheet-assoc'.
6504 (htmlfontify-string): New defun.
6505 (hfy-compile-face-map): Make sure that the last char in the
6506 buffer is correctly fontified.
6507 (hfy-face-resolve-face): Whitespace only change.
6508
9ac7a13f
EZ
65092012-03-17 Eli Zaretskii <eliz@gnu.org>
6510
6511 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6512 message more clear.
6513
e2b5bdd7
LL
65142012-03-16 Leo Liu <sdl.web@gmail.com>
6515
6516 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6517
2e492df3
AM
65182012-03-16 Alan Mackenzie <acm@muc.de>
6519
6520 Further optimise the handling of large macros.
6521
6522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6523 limit to a call of `c-literal-limits'.
6524 (c-determine-+ve-limit): New function.
dc9924b8
SM
6525 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6526 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6527 In CASE 5B, restrict a search limit to 500.
6528 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6529
6530 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6531 Restrict macro bounds to +-500 from after-change's BEG END.
6532
50e94f0c
LL
65332012-03-16 Leo Liu <sdl.web@gmail.com>
6534
6535 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6536
6f09f6ed
AH
65372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6538
6539 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6540 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6541
c7e73d51
GM
65422012-03-16 Glenn Morris <rgm@gnu.org>
6543
da986230
GM
6544 * view.el (view-buffer, view-buffer-other-window)
6545 (view-buffer-other-frame): Doc fixes re special mode-class.
6546
0835f01e
GM
6547 * subr.el (eval-after-load): If named feature is provided not from
6548 a file, run after-load forms. (Bug#10946)
6549
c7e73d51
GM
6550 * calendar/calendar.el (calendar-insert-at-column):
6551 Handle non-unit-width characters a bit better. (Bug#10978)
6552
3f2eafd1
CY
65532012-03-15 Chong Yidong <cyd@gnu.org>
6554
6555 * emacs-lisp/ring.el (ring-extend): New function.
6556 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6557
6558 * comint.el (comint-read-input-ring)
6559 (comint-add-to-input-history): Grow comint-input-ring lazily.
6560
103af3fe
SM
65612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6562
663b1677
SM
6563 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6564 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6565
103af3fe
SM
6566 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6567 (imenu-add-to-menubar): Don't add a redundant index.
6568 (imenu-update-menubar): Handle a dynamically composed keymap.
6569
899cb7cb
KY
65702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6571
6572 * mail/sendmail.el (mail-encode-header):
6573 Bind rfc2047-encode-encoded-words to nil.
6574
3809f91d
GM
65752012-03-13 Glenn Morris <rgm@gnu.org>
6576
6577 * calendar/calendar.el (calendar-string-spread):
6578 Handle non-unit-width characters a bit better. (Bug#10978)
6579
9e345a01
LL
65802012-03-13 Leo Liu <sdl.web@gmail.com>
6581
6582 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6583 directory and file as argument (Bug#10822).
6584
4a07df36
KS
65852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6586
6587 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6588 For dynamically generated code, follow $PC.
6589 (gdb-disassembly-handler-custom): Handle no function name case.
6590
4aaa9356
TL
65912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6592
6593 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6594 * emulation/ws-mode.el (ws-query-replace):
6595 * sort.el (sort-regexp-fields):
6596 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6597
225979da
SM
65982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * dabbrev.el: Fix cycle completion order (bug#10963).
6601 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6602 (dabbrev-completion): Don't use an obarray; provide
6603 a cycle-sort-function.
6604
e2f1fdab
LL
66052012-03-12 Leo Liu <sdl.web@gmail.com>
6606
dc9924b8 6607 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6608 (kill-do-not-save-duplicates): Doc fix.
6609
b19490ed
SM
66102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * dabbrev.el: Fix cycle completion (bug#10963).
6613 Use lexical binding and wrap to 80 columns.
6614 (dabbrev-completion): Delay computing the list of completions.
6615
4b05d722
KH
66162012-03-12 Kenichi Handa <handa@m17n.org>
6617
6618 * international/quail.el (quail-insert-kbd-layout): Surround each
6619 row by LRO and PDF instead of inserting many LRMs. Pad the left
6620 and right of each non-spacing marks. Insert invisible space
6621 between lower and upper characters to prevent composition.
6622
dbbc2e69
SM
66232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * minibuffer.el (minibuffer-complete): Don't get confused when the
6626 function is run twice via different commands (bug#10958).
6627 (complete-with-action): Fix docstring.
6628
292112ed
CY
66292012-03-12 Chong Yidong <cyd@gnu.org>
6630
5d1ac394
CY
6631 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6632 (nxml-completion-at-point-function): New function.
6633 (nxml-mode): Use it.
6634 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6635
292112ed
CY
6636 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6637 Load generated autoloads file before byte compiling (Bug#10970).
6638 (package--make-autoloads-and-compile): New helper fun.
6639
4098f8f7
CS
66402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6641
6642 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6643
8f754691
MA
66442012-03-11 Michael Albinus <michael.albinus@gmx.de>
6645
6646 * autorevert.el (auto-revert-handler): Ensure, that
6647 file-readable-p is applied only for local files or in
6648 auto-revert-tail-mode.
6649
e29ab36b
AS
66502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6651
dbbc2e69
SM
6652 * server.el (server-eval-at): Handle non-tcp connections.
6653 Decode result string.
ad0bf5b6 6654
e29ab36b
AS
6655 * server.el (server-msg-size): New constant.
6656 (server-reply-print): New function.
6657 (server-eval-and-print): Use it.
6658 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6659 Handle -print-nonl.
6660
de5939ba
CS
66612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6662
6663 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6664 (Bug#10987).
6665
0c93eabf
CY
66662012-03-11 Chong Yidong <cyd@gnu.org>
6667
397a688f
CY
6668 * simple.el (goto-line): Doc fix (Bug#9938).
6669
2cc775f9
CY
6670 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6671
0c93eabf
CY
6672 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6673 when finished (Bug#10963).
6674
c491fa41
MR
66752012-03-11 Martin Rudalics <rudalics@gmx.at>
6676
6677 * window.el (split-window-below): Fix bug in case where
6678 split-window-keep-point is nil (Bug#10971).
6679
300e8fa5
JL
66802012-03-11 Juri Linkov <juri@jurta.org>
6681
6682 * replace.el (replace-highlight): Set isearch-word to nil
6683 unconditionally. (Bug#10887)
6684
dbf6c5a1
EZ
66852012-03-10 Eli Zaretskii <eliz@gnu.org>
6686
6687 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6688 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6689 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6690 (mairix-widget-create-query): Add usage information about mairix
6691 search forms: negating words, searching for substrings, etc.
6692
b9e501de
JP
66932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6694
6695 * international/fontset.el (font-encoding-alist): Add an entry for
6696 ksx1001 (Bug#5667).
6697
92795c91
RS
66982012-03-10 Richard Stallman <rms@gnu.org>
6699
1694e6c1
RS
6700 * mail/sendmail.el (mail-encode-header):
6701 Set rfc2047-encode-encoded-words.
6702
607e8555
RS
6703 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6704
de3bc99a
RS
6705 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6706 view buffer means not swapped.
6707 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6708 (rmail-write-region-annotate): Error if real text has disappeared.
6709
92795c91
RS
6710 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6711
699bd04e
CY
67122012-03-10 Chong Yidong <cyd@gnu.org>
6713
6714 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6715 * emulation/cua-base.el (cua--init-keymaps):
6716 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6717
570a1714
MR
67182012-03-10 Martin Rudalics <rudalics@gmx.at>
6719
dbbc2e69
SM
6720 * speedbar.el (speedbar-unhighlight-one-tag-line):
6721 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6722
82dcf4e4
CY
67232012-03-10 Chong Yidong <cyd@gnu.org>
6724
7a2c7ca7
CY
6725 * minibuffer.el (completion-in-region, completion-help-at-point):
6726 Give the completion field overlay a high priority (Bug#6830).
6727
82dcf4e4
CY
6728 * dired.el (dired-goto-file): Recognize absolute file name
6729 listings (Bug#7126).
6730 (dired-goto-file-1): New helper function.
6731 (dired-toggle-read-only): Inhibit warnings.
6732
052e28ac
MA
67332012-03-09 Michael Albinus <michael.albinus@gmx.de>
6734
75f1671a 6735 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6736 there are no properties.
6737
95d5e396
LL
67382012-03-09 Leo Liu <sdl.web@gmail.com>
6739
6740 * savehist.el (savehist-printable): Stricter check for string
6741 value (Bug#10937).
6742
3f018d6d
EZ
67432012-03-09 Eli Zaretskii <eliz@gnu.org>
6744
dbbc2e69
SM
6745 * mail/smtpmail.el (smtpmail-send-it):
6746 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6747 valid mbox format.
6748
f7fd3d79
GM
67492012-03-09 Glenn Morris <rgm@gnu.org>
6750
6751 * files.el (dir-locals-find-file):
6752 Don't check result is regular, readable.
6753 (dir-locals-read-from-file): Demote errors.
6754
6ff6e72f
EZ
67552012-03-08 Eli Zaretskii <eliz@gnu.org>
6756
dbbc2e69
SM
6757 * international/quail.el (quail-insert-kbd-layout):
6758 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6759 layout cell, to prevent their reordering by bidi display engine.
6760 For details, see the discussion in
6761 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6762
9cec7834
AM
67632012-03-08 Alan Mackenzie <acm@muc.de>
6764
6765 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6766 the starting position; make it extend the marked region when
6767 invoked repeatedly - all under appropriate circumstances.
6768 Fixes bugs #5525, #10906.
6769
9a40b8d4
GM
67702012-03-08 Glenn Morris <rgm@gnu.org>
6771
6772 * files.el (locate-dominating-file, dir-locals-find-file):
6773 Undo 2012-03-06 change.
6774
7a08ed35
EZ
67752012-03-07 Eli Zaretskii <eliz@gnu.org>
6776
dbbc2e69
SM
6777 * international/quail.el (quail-help):
6778 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6779 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6780 for the reason.
6781
5aca4f71 67822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6783
6784 Avoid superfluous registering of signals. (Bug#10807)
6785
6786 * notifications.el (notifications-on-action-object)
6787 (notifications-on-close-object): New defvars.
6788 (notifications-on-action-signal, notifications-on-closed-signal):
6789 Unregister the signal if not needed any longer.
6790 (notifications-notify): Register `notifications-action-signal' or
6791 `notifications-closed-signal', if :on-action or :on-close has been
6792 passed as argument.
6793
78e8b10a
CY
67942012-03-07 Chong Yidong <cyd@gnu.org>
6795
6796 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6797 non-X platforms.
6798
69481eb8
GM
67992012-03-06 Glenn Morris <rgm@gnu.org>
6800
6801 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6802 (x-disown-selection-internal, x-get-selection-internal):
6803 Doc fix (add arglist signatures). (Bug#10783)
6804
133b8e11
KS
68052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6806
6807 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6808 Handle breakpoints with no "type".
6809
99a83064
GM
68102012-03-06 Glenn Morris <rgm@gnu.org>
6811
6812 * files.el (locate-dominating-file): Add optional predicate argument.
6813 (dir-locals-find-file): Make use of above change.
6814
17798e78
TTN
68152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6816
6817 * info.el (Info-insert-dir): Also try "dir.gz".
6818
eb182446
GM
68192012-03-06 Glenn Morris <rgm@gnu.org>
6820
8f2114ee
GM
6821 * files.el (dir-locals-find-file):
6822 Ignore non-readable or non-regular files. (Bug#10928)
6823
eb182446
GM
6824 * files.el (locate-dominating-file): Doc fix.
6825
24679323
AS
68262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6827
6828 * calendar/calendar.el (calendar-set-mode-line):
6829 `getenv' returns a string. (Bug#10951)
6830
01d972a9
LL
68312012-03-05 Leo Liu <sdl.web@gmail.com>
6832
109aa8a9
LL
6833 * simple.el (backward-delete-char-untabify): Constrain point to
6834 field (Bug#10939).
6835
01d972a9
LL
6836 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6837
10607bea
CY
68382012-03-05 Chong Yidong <cyd@gnu.org>
6839
6840 * simple.el (count-words): If called from Lisp, return the word
6841 count, for symmetry with `count-lines'. Arglist changed.
6842 (count-words--message): Args changed. Consolidate counting code
6843 from count-words and count-words-region.
6844 (count-words-region): Caller changed.
6845 (count-lines-region): Make it an obsolete alias.
6846
5dd11cfe
TH
68472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6848
6849 * saveplace.el (save-place-to-alist)
6850 (save-place-ignore-files-regexp): Allow value nil to disable this
6851 feature.
6852
c349f4e6
CY
68532012-03-04 Chong Yidong <cyd@gnu.org>
6854
6855 * faces.el (face-spec-reset-face): For the default face, reset the
6856 attributes to default values (Bug#10748).
6857
e627be4c
LMI
68582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
6860 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6861 previous patch: Check `message-send-mail-function', and not the
6862 default function (bug#10897).
6863
ebeabff4
MA
68642012-03-04 Michael Albinus <michael.albinus@gmx.de>
6865
a41a6cf4
MA
6866 * notifications.el (notifications-on-action-signal)
6867 (notifications-on-closed-signal): Check for unique service name of
6868 incoming event. Fix error in removing entry.
ebeabff4 6869 (top): Register for signals with wildcard service name.
a41a6cf4 6870 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6871
c1ca42b4
CY
68722012-03-04 Chong Yidong <cyd@gnu.org>
6873
dc9924b8 6874 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6875
ea16568d
GM
68762012-03-04 Glenn Morris <rgm@gnu.org>
6877
6878 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6879 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6880 (expand-abbrev, define-abbrev-table): Doc fixes.
6881
fbae4637
LMI
68822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883
6884 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6885 `message-default-send-mail-function' and not `send-mail-function'
6886 when doing the prompting for `sendmail-query-once' before sending
6887 in Message buffers (bug#10897).
6888
a1e7225c
LMI
6889 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6890 This is inconsistent with all the other stream functions, which leave
6891 the setting up to the higher levels (if so wanted) (bug#10931).
6892
56d093a9
AM
68932012-03-02 Alan Mackenzie <acm@muc.de>
6894
6895 Depessimize the handling of very large macros.
6896
6897 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6898 (c-macro-cache-syntactic): New variables to implement a one
6899 element macro cache.
6900 (c-invalidate-macro-cache): New function.
6901 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6902 Adapt to use the new cache.
6903 (c-state-safe-place): Use better the cache of safe positions.
6904 (c-state-semi-nonlit-pos-cache)
6905 (c-state-semi-nonlit-pos-cache-limit):
6906 New variables for...
6907 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6908 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6909 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6910 Use c-state-semi-safe-place.
56d093a9 6911
dbbc2e69
SM
6912 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6913 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6914
817e5c3d
MA
69152012-03-02 Michael Albinus <michael.albinus@gmx.de>
6916
dbbc2e69
SM
6917 * jka-compr.el (jka-compr-call-process):
6918 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6919 not remote.
6920
a032a702
MA
69212012-03-01 Michael Albinus <michael.albinus@gmx.de>
6922
6923 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6924 access of FILE2, if FILE1 does not exist.
6925
99a54f21
MA
6926 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6927 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6928
6929 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6930 Add "PAGER=" to `process-environment'.
6931
f6561e1f
MM
69322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6933
6934 * progmodes/sql.el: Bug fix
6935 (sql-get-login-ext): Save login values in globals.
6936 (sql-get-login): Use new version of `sql-get-login-ext'.
6937 (sql-interactive-mode): Set global `sql-connection' to nil.
6938 (sql-connect): Set global values for connection.
6939 (sql-product-interactive): Save global values as buffer local.
6940
2d44d9cc
LL
69412012-02-29 Leo Liu <sdl.web@gmail.com>
6942
6943 * abbrev.el (define-abbrevs): Reset sys to nil.
6944
96b49301 69452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6946
bf7f9bc5
JB
6947 * files.el (file-equal-p): Rename from `files-equal-p'.
6948 Return nil when one or both files don't exist.
96b49301 6949 (file-subdir-of-p): Now only top directory must exists,
6950 return nil if it doesn't.
bf7f9bc5
JB
6951 (copy-directory): No need to test with `file-subdir-of-p' after
6952 creating dir.
6953 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6954 to `file-equal-p'.
96b49301 6955
44e97401
GM
69562012-02-28 Glenn Morris <rgm@gnu.org>
6957
6958 * shell.el (shell-mode):
6959 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6960 * play/landmark.el (landmark-font-lock-face-O):
6961 * play/handwrite.el (handwrite):
6962 * play/gomoku.el (gomoku-O):
6963 * net/browse-url.el (browse-url-browser-display):
6964 * international/mule.el (define-charset):
6965 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6966 * filesets.el (filesets-find-file-delay):
6967 * eshell/em-xtra.el (eshell-xtra):
6968 * eshell/em-unix.el (eshell-grep):
6969 * emulation/viper.el (viper-mode):
6970 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6971 * emacs-lisp/easymenu.el (easy-menu-define):
6972 * calendar/timeclock.el (timeclock-use-display-time):
6973 * bs.el (bs-mode):
6974 * bookmark.el (bookmark-save-flag):
6975 Doc fix (standardize possessive apostrophe usage).
6976
c98c6276
CY
69772012-02-27 Chong Yidong <cyd@gnu.org>
6978
bf7f9bc5
JB
6979 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6980 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6981
c98c6276
CY
6982 * font-lock.el (font-lock-specified-p): Rename from
6983 font-lock-spec-present. Callers changed.
6984
9c62cd04 69852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6986
bf7f9bc5
JB
6987 * emacs-lisp/package.el (package-compute-transaction):
6988 Handle holding a package version to t in package-load-list.
8ac9e529 6989
530739c9
MA
69902012-02-26 Michael Albinus <michael.albinus@gmx.de>
6991
6992 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6993 (tramp-get-inode, tramp-get-device): Use cached values.
6994
487915d7
AM
69952012-02-26 Alan Mackenzie <acm@muc.de>
6996
6997 Check there is a font-lock specification before doing initial
6998 fontification.
6999
7000 * font-core.el (font-lock-mode): Move the conditional from
7001 :after-hook to font-lock-initial-fontify.
7002 (font-lock-default-function): Move the check for a specification
7003 to font-lock-spec-present.
7004
dc9924b8 7005 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7006 (font-lock-spec-present): New function.
7007
4fd96557
JB
70082012-02-26 Jim Blandy <jimb@red-bean.com>
7009
7010 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7011 (gdb-send): Apply it to the operand of the '-interpreter-exec
7012 console' command, so that we can pass arguments with (say) quotes
7013 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7014
9a4888c0
CY
70152012-02-26 Chong Yidong <cyd@gnu.org>
7016
07498861
CY
7017 * help-fns.el (describe-function-1): Clarify description of
7018 remapping (Bug#10844).
7019
9a4888c0
CY
7020 * files.el (files-equal-p): Doc fix.
7021 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7022 and quit the loop once a mismatch is found.
7023
ea8fb88d
JB
70242012-02-25 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * bs.el (bs--show-with-configuration): Don't throw an error
7027 if the window cannot be split; otherwise, subsequent calls to
7028 bs-show fail, restoring a stale window config. (Bug#10882)
7029
525795c1
JD
70302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7031
7032 * term/ns-win.el (global-map): Bind ns-drag-file to
7033 ns-find-file (Bug#5855, Bug#10050).
7034
f008086f
AS
70352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7036
7037 * calendar/parse-time.el (parse-time-string): Allow extractor to
7038 return nil.
7039
a3fcfa99
MA
70402012-02-25 Michael Albinus <michael.albinus@gmx.de>
7041
91027d08
JB
7042 * net/tramp.el (tramp-file-name-for-operation):
7043 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7044
7045 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7046 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7047 Add COPY-CONTENTS argument.
a3fcfa99 7048
67b0de11
CY
70492012-02-25 Chong Yidong <cyd@gnu.org>
7050
7051 Add custom groups for VC backends, for consistency with vc-bzr.
7052
7053 * vc/vc-arch.el (vc-arch):
7054 * vc/vc-cvs.el (vc-cvs):
7055 * vc/vc-git.el (vc-git):
7056 * vc/vc-hg.el (vc-hg):
7057 * vc/vc-mtn.el (vc-mtn):
7058 * vc/vc-rcs.el (vc-rcs):
7059 * vc/vc-sccs.el (vc-sccs):
7060 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7061 All relevant defcustoms reassigned.
7062
3c9dfce6
CY
70632012-02-25 Chong Yidong <cyd@gnu.org>
7064
1339bf43
CY
7065 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7066
3c9dfce6
CY
7067 * term/x-win.el (x-initialize-window-system): Reduce default for
7068 x-selection-timeout to 5 seconds (Bug#8869).
7069
25b2e303 70702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7071
ec70a47d
GM
7072 * files.el (files-equal-p, file-subdir-of-p): New functions.
7073 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7074 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7075 * dired-aux.el (dired-copy-file-recursive): Same.
7076 (dired-create-files): Modify destination when source is equal to
7077 dest when copying files.
53a46cd0 7078 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7079
914260cd
MA
70802012-02-24 Michael Albinus <michael.albinus@gmx.de>
7081
7082 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7083 (Bug#10874)
7084
2cb228f7
AM
70852012-02-23 Alan Mackenzie <acm@muc.de>
7086
7087 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7088 parameter "after-hook:" to allow the expansion to run code after
7089 the execution of the mode hooks.
7090
7091 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7092 from font-lock-mode-internal.
2cb228f7 7093
91027d08 7094 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7095 :after-hook.
7096
8f0fde21
SM
70972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7098
3e88618b
SM
7099 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7100 (completion--cache-all-sorted-completions): New function.
7101 (completion-all-sorted-completions): Use it.
7102 (completion--do-completion, minibuffer-force-complete):
7103 Use it to re-instate the flush hook.
7104
8f0fde21
SM
7105 * icomplete.el (icomplete-completions): Replace last fix with a better
7106 one (bug#10850).
7107
8e911f6f
DG
71082012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7109
7110 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7111 when it might call us back infinitely (bug#10797).
7112
49fe4321
GM
71132012-02-23 Glenn Morris <rgm@gnu.org>
7114
7115 * minibuffer.el (completion-category-overrides): Doc fix.
7116
b291b572
SM
71172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7120 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7121
31a9ef2e
GM
71222012-02-23 Glenn Morris <rgm@gnu.org>
7123
5e6e6794 7124 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7125 (authors-obsolete-files-regexps, authors-ignored-files)
7126 (authors-ambiguous-files, authors-renamed-files-alist):
7127 Add more entries.
7128
0bd1e074
JL
71292012-02-23 Juri Linkov <juri@jurta.org>
7130
7131 * isearch.el (isearch-occur): Sync interactive spec with occur's
7132 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7133
b617673c
JL
7134 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7135
19e9789e
JL
71362012-02-22 Juri Linkov <juri@jurta.org>
7137
7138 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7139 (ucs-insert): Doc fix. Check for hex digits in the string.
7140 Don't display `nil' in the error message. (Bug#10857)
7141
f41ce09d
AM
71422012-02-22 Alan Mackenzie <acm@muc.de>
7143
7a71b18d 7144 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7145
ac2eceee
GM
71462012-02-22 Glenn Morris <rgm@gnu.org>
7147
7148 * ffap.el (ffap-c-path):
7149 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7150
abd1f678
CY
71512012-02-22 Chong Yidong <cyd@gnu.org>
7152
7153 * custom.el (load-theme): Doc fix.
7154
f25aef2e
GM
71552012-02-22 Glenn Morris <rgm@gnu.org>
7156
7157 * dired-x.el (dired-guess-shell-alist-default):
7158 Remove escape sequences from nroff output. (Bug#172)
7159
5f8dc2ca
GM
71602012-02-21 Glenn Morris <rgm@gnu.org>
7161
6ff86ec4
GM
7162 * vc/emerge.el (emerge-defvar-local):
7163 Set `permanent-local' property rather than unused `preserved'.
7164
be3223a3 7165 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7166 (picture-mode-map): Use it. (Bug#10860)
7167 (picture-mode): Doc fix.
7168
3fe58f4f
JB
71692012-02-21 Juanma Barranquero <lekktu@gmail.com>
7170
7171 * newcomment.el (uncomment-region-default): Remove unused binding.
7172
f9a998c3
GM
71732012-02-21 Glenn Morris <rgm@gnu.org>
7174
7175 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7176 (picture-self-insert, picture-tab-chars): Doc fix.
7177 (picture-mode-map): Fix C-a, C-e.
7178
c6029348
GM
71792012-02-20 Glenn Morris <rgm@gnu.org>
7180
7181 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7182
ab1ce9d7
LL
71832012-02-20 Leo Liu <sdl.web@gmail.com>
7184
7185 * icomplete.el (icomplete-completions): Check FROM arg before
7186 passing to substring (Bug#10850).
7187
0fd40f89
CY
71882012-02-19 Chong Yidong <cyd@gnu.org>
7189
7190 * comint.el: Require ansi-color.
7191 (comint-output-filter-functions): Add ansi-color-process-output.
7192
7193 * ansi-color.el: Don't set comint-output-filter-functions; it is
7194 now in the initial value defined in comint.el.
7195 (ansi-color-apply-face-function): New variable.
7196 (ansi-color-apply-on-region): Use it.
7197 (ansi-color-apply-overlay-face): New function.
7198
7199 * shell.el (shell): No need to require ansi-color.
7200 (shell-mode): Use ansi-color-apply-face-function to highlight
7201 color escapes using font-lock-face property (Bug#10835).
7202
20af2394
CY
72032012-02-19 Chong Yidong <cyd@gnu.org>
7204
7205 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7206 mode-line formats (Bug#10839).
7207
e23a3fbe
GM
72082012-02-18 Glenn Morris <rgm@gnu.org>
7209
b474519e
GM
7210 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7211
7212 * mail/undigest.el (unforward-rmail-message): Doc fix.
7213
e23a3fbe
GM
7214 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7215
57939ff4
EZ
72162012-02-18 Eli Zaretskii <eliz@gnu.org>
7217
7218 * international/characters.el (script-list): Sync with the latest
7219 Unicode Character Database.
7220
0c23686e
AS
72212012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7222
7223 * international/titdic-cnv.el: Remove duplicate coding tag.
7224 * language/cham.el: Likewise.
7225 * language/tai-viet.el: Likewise.
7226
6818b449
GM
72272012-02-18 Glenn Morris <rgm@gnu.org>
7228
7229 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7230 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7231 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7232 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7233 * calendar/holidays.el (holiday-bahai-holidays)
7234 (calendar-holidays, list-holidays):
7235 Use utf-8 Bahá'í in doc-strings, menus, etc.
7236
0311a3fc
TH
72372012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7238
7239 * saveplace.el (save-place-ignore-files-regexp): New variable
7240 allowing for excluding files from saving their location of point.
7241 The default value matches the temporary commit message editing
7242 files from Git, SVN, Bazaar, and Mercurial.
7243 (save-place-to-alist): Use it.
7244
d209e2fb 72452012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7246 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7247
7248 * newcomment.el (uncomment-region-default): Don't leave extra space
7249 when an arg is provided (bug#8150).
7250
ee0ce425
TZ
72512012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7252
eb864a71 7253 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7254
95ddf442
GM
72552012-02-17 Glenn Morris <rgm@gnu.org>
7256
7257 * net/socks.el: Require network-stream. (Bug#10599)
7258
48dd1e39 72592012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7260
7261 * international/charprop.el:
7262 * international/uni-name.el:
7263 * international/uni-old-name.el:
7264 * international/uni-comment.el: Regenerate.
7265
d68cd087
GM
72662012-02-16 Glenn Morris <rgm@gnu.org>
7267
7268 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7269 Interactively in calendar buffer, give an error if not on a date.
7270
13932042
GM
72712012-02-15 Glenn Morris <rgm@gnu.org>
7272
7273 * shell.el (shell-delimiter-argument-list):
7274 Revert 2011-02-17 change. (Bug#8027)
7275
c3a70e2b
CY
72762012-02-15 Chong Yidong <cyd@gnu.org>
7277
60236b0d
CY
7278 * minibuffer.el (completion-at-point-functions): Doc fix.
7279
c3a70e2b
CY
7280 * custom.el (defcustom): Doc fix; note use of defvar.
7281
9f26dc24
GM
72822012-02-15 Glenn Morris <rgm@gnu.org>
7283
7284 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7285 Doc fixes.
7286
6546b134
GM
72872012-02-14 Glenn Morris <rgm@gnu.org>
7288
7289 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7290
d29b2b4c
LI
72912012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7292
7293 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7294 way the ports list is computed.
835bdcba
LI
7295 (smtpmail-query-smtp-server): Prompt the user for a port number if
7296 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7297
08dcdbc9
TZ
72982012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7299
7300 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7301
2605051a
GM
73022012-02-13 Glenn Morris <rgm@gnu.org>
7303
7304 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7305
7ee99f32
TZ
73062012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7307
7308 * net/gnutls.el (gnutls-trustfiles): New variable.
7309 (gnutls-negotiate): Use it.
7310
5f0af64f
LI
73112012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7312
7313 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7314 does its stuff if Gnus is running.
7315
c14fcc95
AM
73162012-02-13 Alan Mackenzie <acm@muc.de>
7317
7318 Fix a loop in c-set-fl-decl-start.
7319
7a71b18d 7320 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7321 c-backward-syntactic-ws actually moves backwards.
7322
142b4d90
LL
73232012-02-13 Leo Liu <sdl.web@gmail.com>
7324
7325 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7326 beginning so that all \C-o chars are removed.
7327
fa9958a6
TZ
73282012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7329
dc9924b8 7330 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7331
0bc5886a
AM
73322012-02-12 Alan Mackenzie <acm@muc.de>
7333
7334 Fix infinite loop with long macros.
4d6769e1 7335 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7336
d4bd55e7
CY
73372012-02-12 Chong Yidong <cyd@gnu.org>
7338
7339 * window.el (display-buffer): Doc fix (Bug#10785).
7340
66f3fe22
GM
73412012-02-12 Glenn Morris <rgm@gnu.org>
7342
bd7da63e
GM
7343 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7344 (x-disown-selection-internal, x-get-selection-internal):
7345 Sync docs with the xselect.c versions.
7346
66f3fe22
GM
7347 * allout-widgets.el: Add missing license notice.
7348
3e0d2fa7
GM
73492012-02-11 Glenn Morris <rgm@gnu.org>
7350
cfecdf09
GM
7351 * select.el (x-get-selection-internal, x-own-selection-internal)
7352 (x-disown-selection-internal):
7353 * x-dnd.el (x-get-selection-internal): Update declarations.
7354
6d216d7f
GM
7355 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7356
2bed3f04
GM
7357 * window.el (window-sides-slots):
7358 * tool-bar.el (tool-bar-position):
7359 * term/xterm.el (xterm-extra-capabilities):
7360 * ses.el (ses-self-reference-early-detection):
7361 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7362 (verilog-auto-wire-type)
7363 (verilog-auto-delete-trailing-whitespace)
7364 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7365 (verilog-auto-tieoff-declaration):
7366 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7367 (sql-oracle-statement-starters, sql-oracle-scan-on):
7368 * progmodes/prolog.el (prolog-align-comments-flag)
7369 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7370 (prolog-left-indent-regexp, prolog-paren-indent-p)
7371 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7372 (prolog-types, prolog-mode-specificators)
7373 (prolog-determinism-specificators, prolog-directives)
7374 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7375 (prolog-electric-dot-flag)
7376 (prolog-electric-dot-full-predicate-template)
7377 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7378 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7379 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7380 (prolog-program-switches, prolog-prompt-regexp)
7381 (prolog-debug-on-string, prolog-debug-off-string)
7382 (prolog-trace-on-string, prolog-trace-off-string)
7383 (prolog-zip-on-string, prolog-zip-off-string)
7384 (prolog-use-standard-consult-compile-method-flag)
7385 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7386 (prolog-imenu-max-lines, prolog-info-predicate-index)
7387 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7388 (prolog-char-quote-workaround):
7389 * progmodes/cc-vars.el (c-defun-tactic):
7390 * net/tramp.el (tramp-encoding-command-interactive)
7391 (tramp-local-end-of-line):
7392 * net/soap-client.el (soap-client):
7393 * net/netrc.el (netrc-file):
7394 * net/gnutls.el (gnutls):
7395 * minibuffer.el (completion-category-overrides)
7396 (completion-cycle-threshold)
7397 (completion-pcm-complete-word-inserts-delimiters):
7398 * man.el (Man-name-local-regexp):
7399 * mail/feedmail.el (feedmail-display-full-frame):
7400 * international/characters.el (glyphless-char-display-control):
7401 * eshell/em-ls.el (eshell-ls-date-format):
7402 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7403 (lisp-lambda-list-keyword-parameter-indentation)
7404 (lisp-lambda-list-keyword-parameter-alignment):
7405 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7406 * dired-x.el (dired-omit-verbose):
7407 * cus-theme.el (custom-theme-allow-multiple-selections):
7408 * calc/calc.el (calc-highlight-selections-with-faces)
7409 (calc-lu-field-reference, calc-lu-power-reference)
7410 (calc-note-threshold):
7411 * battery.el (battery-mode-line-limit):
7412 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7413 (archive-7z-update):
7414 * allout.el (allout-prefixed-keybindings)
7415 (allout-unprefixed-keybindings)
7416 (allout-inhibit-auto-fill-on-headline)
7417 (allout-flattened-numbering-abbreviation):
7418 * allout-widgets.el (allout-widgets-auto-activation)
7419 (allout-widgets-icons-dark-subdir)
7420 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7421 (allout-widgets-theme-dark-background)
7422 (allout-widgets-theme-light-background)
7423 (allout-widgets-item-image-properties-emacs)
7424 (allout-widgets-item-image-properties-xemacs)
7425 (allout-widgets-run-unit-tests-on-load)
7426 (allout-widgets-time-decoration-activity)
7427 (allout-widgets-hook-error-post-time)
7428 (allout-widgets-track-decoration):
7429 Add missing :version tags to new defcustoms and defgroups.
7430
5fec1b8e
GM
7431 * progmodes/sql.el (sql-ansi-statement-starters)
7432 (sql-oracle-statement-starters): Add custom type.
7433
3e0d2fa7
GM
7434 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7435 (prolog-system-version): Give it a type.
7436
90b671e2
EZ
74372012-02-11 Eli Zaretskii <eliz@gnu.org>
7438
7439 * term/pc-win.el (x-select-text, x-selection-owner-p)
7440 (x-own-selection-internal, x-disown-selection-internal)
7441 (x-get-selection-internal): Sync doc strings and argument lists
7442 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7443
5eac0c02
LL
74442012-02-11 Leo Liu <sdl.web@gmail.com>
7445
7446 * progmodes/python.el (python-end-of-statement): Fix infinite
7447 loop. (Bug#10788)
7448
f82cb659
GM
74492012-02-10 Glenn Morris <rgm@gnu.org>
7450
7451 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7452 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7453
cc26d239
LI
74542012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7455
7456 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7457 about SMTP before checking the From header.
7458
91027d08 7459 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7460 into own function for reuse by emacsbug.el.
7461
1be3ca5a
LL
74622012-02-10 Leo Liu <sdl.web@gmail.com>
7463
7464 * subr.el (condition-case-unless-debug): Rename from
7465 condition-case-no-debug. All callers changed.
7466 (with-demoted-errors): Fix caller.
7467
7468 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7469 * nxml/rng-valid.el (rng-do-some-validation):
7470 * emacs-lisp/package.el (package-refresh-contents)
7471 (package-menu-execute):
7472 * desktop.el (desktop-create-buffer):
91027d08 7473 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7474
b011fbfe
GM
74752012-02-10 Glenn Morris <rgm@gnu.org>
7476
b2096d72
GM
7477 * textmodes/bibtex.el:
7478 Add missing :version tags for new/changed defcustoms.
7479
b011fbfe
GM
7480 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7481
4c7e65bf
LI
74822012-02-09 Lars Ingebrigtsen <larsi@rusty>
7483
7484 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7485 (smtpmail-via-smtp): Use it, or fall back on the From address.
7486 (smtpmail-send-it): Ditto.
7487
f3934f6f
SM
74882012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7491 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7492 (byte-compile-tmp-var): New const.
7493 (byte-compile-defvar): Use it to minimize .elc size.
7494 Just use `defvar' rather than simulate it (bug#10761).
7495
a075a2c5
GM
74962012-02-09 Glenn Morris <rgm@gnu.org>
7497
cf3aa21b
GM
7498 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7499
354998cd
GM
7500 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7501 Add :version tags.
7502
dc9924b8
SM
7503 * progmodes/compile.el (compilation-error-screen-columns)
7504 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7505
dab3703d
GM
7506 * vc/log-view.el (log-view-toggle-entry-display):
7507 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7508
3f88cd72
GM
7509 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7510 (report-emacs-bug-can-use-xdg-email):
7511 (report-emacs-bug-insert-to-mailer): Doc fixes.
7512 (report-emacs-bug): Message fix.
7513
d95b247d
GM
7514 * net/browse-url.el (browse-url-can-use-xdg-open)
7515 (browse-url-xdg-open): Doc fixes.
7516
a075a2c5
GM
7517 * electric.el (electric-indent-mode, electric-pair-mode)
7518 (electric-layout-rules, electric-layout-mode): Doc fixes.
7519 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7520
ffb6157e
MR
75212012-02-08 Martin Rudalics <rudalics@gmx.at>
7522
7523 * server.el (server-unselect-display): Don't inadvertently kill
7524 the current buffer. (Bug#10729)
7525
e1ac4066
GM
75262012-02-08 Glenn Morris <rgm@gnu.org>
7527
34e8a2da
GM
7528 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7529 (sql-list-table): Doc fixes.
7530
b4ac6e8c
GM
7531 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7532 Comment out (does nothing).
7533
e1ac4066
GM
7534 * completion.el (dynamic-completion-mode):
7535 * dirtrack.el (dirtrack-debug-mode):
7536 * electric.el (electric-layout-mode):
7537 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7538 * face-remap.el (text-scale-mode, buffer-face-mode):
7539 * iimage.el (iimage-mode):
7540 * image-mode.el (image-transform-mode):
7541 * minibuffer.el (completion-in-region-mode):
7542 * scroll-lock.el (scroll-lock-mode):
7543 * simple.el (next-error-follow-minor-mode):
7544 * tar-mode.el (tar-subfile-mode):
7545 * tooltip.el (tooltip-mode):
7546 * vcursor.el (vcursor-use-vcursor-map):
7547 * wid-browse.el (widget-minor-mode):
7548 * emulation/tpu-edt.el (tpu-edt-mode):
7549 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7550 * international/iso-ascii.el (iso-ascii-mode):
7551 * language/thai-util.el (thai-word-mode):
7552 * mail/supercite.el (sc-minor-mode):
7553 * net/goto-addr.el (goto-address-mode):
7554 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7555 * progmodes/cwarn.el (cwarn-mode):
7556 * progmodes/flymake.el (flymake-mode):
7557 * progmodes/glasses.el (glasses-mode):
7558 * progmodes/hideshow.el (hs-minor-mode):
7559 * progmodes/pascal.el (pascal-outline-mode):
7560 * textmodes/enriched.el (enriched-mode):
7561 * vc/smerge-mode.el (smerge-mode):
7562 Doc fixes (minor mode argument).
7563
5e0d957f
EZ
75642012-02-07 Eli Zaretskii <eliz@gnu.org>
7565
7566 * ls-lisp.el (ls-lisp-sanitize): New function.
7567 (ls-lisp-insert-directory): Use it to fix or remove any elements
7568 in file-alist with missing attributes. (Bug#4673)
7569
98d7371e
AM
75702012-02-07 Alan Mackenzie <acm@muc.de>
7571
7572 Fix spurious recognition of c-in-knr-argdecl.
7573
7574 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7575 putative K&R region.
7576
667ced3a
AM
75772012-02-07 Alan Mackenzie <acm@muc.de>
7578
eb864a71
LM
7579 * progmodes/cc-engine.el (c-forward-objc-directive):
7580 Prevent looping in "#pragma mark @implementation".
667ced3a 7581
5b77774d
MA
75822012-02-07 Michael Albinus <michael.albinus@gmx.de>
7583
7584 * notifications.el (notifications-on-closed-signal): Make `reason'
7585 optional. (Bug#10744)
7586
af008560
GM
75872012-02-07 Glenn Morris <rgm@gnu.org>
7588
60d47423
GM
7589 * emacs-lisp/easy-mmode.el (define-minor-mode):
7590 Doc fixes for the macro and the mode it defines.
7591
dd605cc4
GM
7592 * image.el (imagemagick-types-inhibit): Doc fix.
7593
af008560
GM
7594 * cus-start.el (imagemagick-render-type): Add it.
7595
5cc59a37
LI
75962012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7597
4d6769e1
JB
7598 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7599 Set the default at load time, too, so that `font-lock-fontify-buffer'
7600 can be called without setting up the entire mode first. This fixes
7601 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7602
9a6dd747
CY
76032012-02-06 Chong Yidong <cyd@gnu.org>
7604
2d16b285
CY
7605 * simple.el (list-processes--refresh): Delete exited processes
7606 (Bug#8094).
7607
171e9b6e
CY
7608 * comint.el (comint-next-prompt): next-single-char-property-change
7609 and prev-single-char-property-change never return nil (Bug#8657).
7610
9a6dd747
CY
7611 * custom.el (defcustom): Doc fix (Bug#9711).
7612
aa4589a7
CY
76132012-02-05 Chong Yidong <cyd@gnu.org>
7614
5c2a252f
CY
7615 * cus-edit.el (custom-variable-reset-backup): Quote the value
7616 before storing it in the customized-value property (Bug#6712).
4aab9006 7617 (custom-display): Add a customization type tag.
983b9602 7618 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7619
aa4589a7
CY
7620 * wid-edit.el (widget-field-value-get): New optional arg to
7621 suppress trailing whitespace truncation.
7622 (character): Use it (Bug#2689).
7623
1ff980ae
AS
76242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7625
7626 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7627 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7628
03988c98
CY
76292012-02-05 Chong Yidong <cyd@gnu.org>
7630
eeb6cc88
CY
7631 * cus-edit.el (custom-variable-value-create): For mismatched
7632 types, show the current value (Bug#7600).
7633
03988c98
CY
7634 * custom.el (defcustom): Doc fix.
7635
f8cdeef0
GM
76362012-02-05 Glenn Morris <rgm@gnu.org>
7637
7638 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7639
0696d255
JB
76402012-02-05 Juanma Barranquero <lekktu@gmail.com>
7641
7642 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7643 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7644 (pp-last-sexp): Use `looking-at-p'.
7645
34c99998
GM
76462012-02-04 Glenn Morris <rgm@gnu.org>
7647
8f05da42
GM
7648 * files.el (revert-buffer):
7649 Doc fix (mention revert-buffer-in-progress-p).
7650
f160676e
GM
7651 * emacs-lisp/ert-x.el (ert-simulate-command):
7652 Check deferred-action-list (which is obsolete) is bound.
7653
c7291ad9
GM
7654 * subr.el (with-wrapper-hook): Doc fixes.
7655
34c99998
GM
7656 * simple.el (filter-buffer-substring-functions)
7657 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7658
6283a7d3
LL
76592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7660
7661 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7662 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7663
e96e3013
LL
76642012-02-04 Leo Liu <sdl.web@gmail.com>
7665
7666 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7667
8ded50f2
GM
76682012-02-04 Glenn Morris <rgm@gnu.org>
7669
82ff1d13
GM
7670 * image.el (image-extension-data): Add obsolete alias.
7671
987a0a16
GM
7672 * isearch.el (isearch-update): Doc fix.
7673
ea32ef46
GM
7674 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7675
8ded50f2
GM
7676 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7677
eea14f31
GM
76782012-02-03 Glenn Morris <rgm@gnu.org>
7679
7680 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7681 (image-animate-timeout): Doc fix.
7682
7683 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7684
12f381b7
GM
76852012-02-02 Glenn Morris <rgm@gnu.org>
7686
953cebf5
GM
7687 * server.el (server-auth-dir): Doc fix.
7688 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7689
12f381b7
GM
7690 * subr.el (run-mode-hooks): Doc fix.
7691
953a8c3b
JL
76922012-02-02 Juri Linkov <juri@jurta.org>
7693
7694 * image-mode.el (image-toggle-display-image): Remove tautological
7695 `major-mode' from the `derived-mode-p' test.
7696
c5d3843c
KH
76972012-02-02 Kenichi Handa <handa@m17n.org>
7698
9f6e692e 7699 * composite.el (compose-region): Cancel previous change.
c5d3843c 7700
159462d4 77012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7702
7703 * composite.el (compose-region, compose-string): Signal error for
7704 a null string component (Bug#6988).
7705
9f562668
CY
77062012-02-01 Chong Yidong <cyd@gnu.org>
7707
e2cef717
CY
7708 * view.el (view-buffer-other-window, view-buffer-other-frame):
7709 Handle special modes like view-buffer (Bug#10650).
7710 (view-buffer): Simplify.
7711
9f562668
CY
7712 * frame.el (set-frame-font): Tweak meaning of third argument.
7713
9f6e692e
JB
7714 * dynamic-setting.el (font-setting-change-default-font):
7715 Use set-frame-font (Bug#9982).
9f562668 7716
781acb9f
GM
77172012-02-01 Glenn Morris <rgm@gnu.org>
7718
6035be52
GM
7719 * progmodes/compile.el (compilation-internal-error-properties):
7720 Respect compilation-first-column in the "*compilation*" buffer.
7721
781acb9f
GM
7722 * emacs-lisp/easy-mmode.el (define-minor-mode):
7723 Relax :variable's test for a named function.
7724
abbceb00
AM
77252012-01-31 Alan Mackenzie <acm@muc.de>
7726
7727 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7728 off by one error.
7729
fce3fdeb
CY
77302012-01-31 Chong Yidong <cyd@gnu.org>
7731
7732 * frame.el (set-frame-font): New arg ALL-FRAMES.
7733
7734 * menu-bar.el (menu-set-font): Use set-frame-font.
7735
7736 * faces.el (face-spec-reset-face): Don't apply unspecified
7737 attribute values to the default face.
7738
47893581
JB
77392012-01-31 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * progmodes/cwarn.el (cwarn): Remove dead link.
7742 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7743 Remove * from defcustom docstrings.
7744 (turn-on-cwarn-mode): Make obsolete.
7745 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7746 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7747
e58e988a
GM
77482012-01-31 Glenn Morris <rgm@gnu.org>
7749
60dc2671 7750 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7751 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7752 Allow named functions to be used as the cdr of :variable.
e58e988a 7753
7a3f511d
GM
77542012-01-30 Glenn Morris <rgm@gnu.org>
7755
7756 * emacs-lisp/authors.el (authors-fixed-entries):
7757 Remove reference to deleted file rnewspost.el.
7758
cb882333
JB
77592012-01-29 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * window.el (window-with-parameter): Remove unused variable `windows'.
7762 (window--side-check): Remove unused variable `code'.
7763 (window--resize-siblings): Remove unused variable `first'.
7764 (adjust-window-trailing-edge): Remove unused variable `failed'.
7765 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7766 Use `let', not `let*'.
7767 (balance-windows-2): Remove unused variable `found'.
7768 (window--state-put-2): Remove unused variable `splits'.
7769 (window-state-put): Remove unused variable `selected'.
7770 (same-window-p): Use `string-match-p'.
7771 (display-buffer-assq-regexp): Remove unused variable `value'.
7772 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7773 Mark argument ALIST as ignored.
7774 (pop-to-buffer): Remove unused variable `old-window'.
7775
907201af
EZ
77762012-01-29 Eli Zaretskii <eliz@gnu.org>
7777
7778 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7779 and .lzma compressed files.
7780
ea162670
CY
77812012-01-29 Chong Yidong <cyd@gnu.org>
7782
5b95ee8a
CY
7783 * frame.el (window-system-default-frame-alist): Doc fix.
7784
ea162670
CY
7785 * dynamic-setting.el (font-setting-change-default-font): Don't
7786 change the default face if SET-FONT argument is non-nil (Bug#9982).
7787
d6e6f4b1
SB
77882012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7789
7790 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7791
0f29fa41 77922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7793
7794 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7795 breakpoints in files outside current directory (Bug#6098).
7796
db174434
CY
77972012-01-29 Chong Yidong <cyd@gnu.org>
7798
6b25e4e2
SE
7799 * progmodes/python.el: Require ansi-color at top-level.
7800
6df6ae42
JB
7801 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7802 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7803 (lisp-mode-abbrev-table): Add doc.
7804 (lisp-mode-variables): Don't set local-abbrev-table.
7805 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7806
e70ee681
RW
78072012-01-28 Roland Winkler <winkler@gnu.org>
7808
7809 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7810
ace88aa2
RW
78112012-01-28 Roland Winkler <winkler@gnu.org>
7812
7813 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7814 (bibtex-set-dialect): Use it. Either set global values of
7815 dialect-dependent variables or bind these variables buffer-locally
7816 (Bug#10254).
7817 (bibtex-mode): Call bibtex-set-dialect via
7818 hack-local-variables-hook.
eb864a71
LM
7819 (bibtex-dialect): Update docstring.
7820 Add safe-local-variable predicate.
ace88aa2
RW
7821 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7822 bibtex-set-dialect.
7823 (bibtex-mode-map): Define menu for each dialect.
7824 (bibtex-entry): Fix docstring.
7825
93376c5b
CY
78262012-01-28 Chong Yidong <cyd@gnu.org>
7827
7828 * eshell/esh-arg.el (eshell-quote-argument): New function.
7829
7830 * eshell/esh-ext.el (eshell-invoke-batch-file):
7831 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7832 first arg to eshell-parse-command (Bug#10523).
7833
4372494f
DA
78342012-01-28 Drew Adams <drew.adams@oracle.com>
7835
7836 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7837 `default-directory' is non-nil.
7838
4d4ec1f8
EZ
78392012-01-28 Eli Zaretskii <eliz@gnu.org>
7840
7841 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7842 line that displays system-configuration-options. (Bug#9924)
7843
7c188927
DA
78442012-01-28 Drew Adams <drew.adams@oracle.com>
7845
7846 * descr-text.el (describe-char): Show information about POS, in
7847 addition to information about the character at POS. Improve and
7848 update the doc string. Change "code point" to "code point in
7849 charset", to avoid confusion with the character's Unicode code
7850 point shown above that. (Bug#10129)
7851
e0da685a
EZ
78522012-01-28 Eli Zaretskii <eliz@gnu.org>
7853
7854 * descr-text.el (describe-char): Show the raw character, not only
7855 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7856 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7857 for the reasons.
7858
70550acf
PH
78592012-01-28 Phil Hagelberg <phil@hagelb.org>
7860
eb864a71
LM
7861 * emacs-lisp/package.el (package-install):
7862 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7863
0ce8e868
CY
78642012-01-28 Chong Yidong <cyd@gnu.org>
7865
cb882333
JB
7866 * emacs-lisp/package.el (package-maybe-load-descriptor):
7867 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7868 (package-maybe-load-descriptor): Use it.
7869 (package-download-transaction): Fully load required packages
7870 inside the loop, so that `require' calls work (Bug#10593).
7871 (package-install): No need to call package-initialize now.
7872
2e7f3bea
CY
78732012-01-28 Chong Yidong <cyd@gnu.org>
7874
6e9bad14
CY
7875 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7876
f823b8ca
CY
7877 * tooltip.el (tooltip-mode): Doc fix.
7878 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7879
2680c309
CY
7880 * frame.el (set-cursor-color): Doc fix (Bug#352).
7881
d7a9e63b
CY
7882 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7883 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7884
2e7f3bea
CY
7885 * cus-edit.el (custom-buffer-create-internal): Fix search button
7886 action (Bug#10542).
2ae01800 7887 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7888
fc4f7a23
EW
78892012-01-27 Eduard Wiebe <usenet@pusto.de>
7890
7891 * dired.el (dired-mark-files-regexp):
7892 Include any subdirectory components. (Bug#10445)
7893
7dd37071
ML
78942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7895
7896 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7897 Handle [host]:port syntax. (Bug#10533)
7898
a268160b
AH
78992012-01-27 Alex Harsanyi <harsanyi@mac.com>
7900
7901 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7902
e43273ef
GM
79032012-01-26 Glenn Morris <rgm@gnu.org>
7904
7905 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7906 * term.el (term-raw-escape-map): Use Control-X-prefix.
7907 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7908
1edf595d
MR
79092012-01-25 Martin Rudalics <rudalics@gmx.at>
7910
7911 * window.el (window-state-get, window--state-get-1): Don't deal
7912 with fixed-sizeness of windows. Simplify code.
7913
fa8eafef
JC
79142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7915
6df6ae42
JB
7916 * window.el (window--state-get-1, window--state-put-2):
7917 Don't save and restore the mark.
fa8eafef 7918
0b21c100
CY
79192012-01-25 Chong Yidong <cyd@gnu.org>
7920
7921 * custom.el (custom-variable-p): Doc fix.
7922
5ae1a6c8
GM
79232012-01-25 Glenn Morris <rgm@gnu.org>
7924
40047858
GM
7925 * dired.el (dired-goto-file): Handle some of the more common
7926 characters that `ls -b' escapes. (Bug#10596)
7927
5ddce96c
GM
7928 * progmodes/compile.el (compilation-next-error-function):
7929 Respect compilation-first-column in the "*compilation*" buffer.
7930 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7931
5ae1a6c8
GM
7932 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7933
b559f1a9
GM
79342012-01-24 Glenn Morris <rgm@gnu.org>
7935
7936 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7937
6725d21a
JD
79382012-01-24 Julien Danjou <julien@danjou.info>
7939
7940 * color.el (color-rgb-to-hsl): Fix value computing.
7941 (color-hue-to-rgb): New function.
7942 (color-hsl-to-rgb): New function.
7943 (color-clamp, color-saturate-hsl, color-saturate-name)
7944 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7945 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7946
70df4bbe
GM
79472012-01-24 Glenn Morris <rgm@gnu.org>
7948
7949 * vc/vc-rcs.el (vc-rcs-create-tag):
7950 * vc/vc-sccs.el (vc-sccs-create-tag):
7951 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7952
802a2ae2
ML
79532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7954
7955 * eshell/esh-util.el (eshell-read-hosts-file):
7956 Skip comment lines. (Bug#10549)
7957
d7128bb1
ML
7958 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7959
d1a5c3b4
JB
79602012-01-23 Juanma Barranquero <lekktu@gmail.com>
7961
2724d9c7
JB
7962 * subr.el (display-delayed-warnings): Doc fix.
7963 (collapse-delayed-warnings): New function to collapse identical
7964 adjacent warnings.
7965 (delayed-warnings-hook): Add it.
d1a5c3b4 7966
a5509865
MA
79672012-01-22 Michael Albinus <michael.albinus@gmx.de>
7968
7969 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7970
a5509865
MA
7971 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7972 (tramp-default-user-alist): Don't add "pscp".
7973 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7974 property "login-as", if set. (Bug#10530)
7975
cc6d5805
MA
79762012-01-21 Michael Albinus <michael.albinus@gmx.de>
7977
7978 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7979 "plink1" and "psftp". (Bug#10530)
7980
79812012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7982
7983 * international/mule-cmds.el (prefer-coding-system): Show a
7984 warning message if the default value of file-name-coding-system
7985 was not changed.
7986
f0960428
JC
79872012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7988
cb882333
JB
7989 * windmove.el (windmove-reference-loc):
7990 Fix windmove-reference-loc miscalculation.
f0960428 7991
dd6f2a63
JB
79922012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7993
7994 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7995 default unit.
7996
7b447e9b
GM
79972012-01-21 Glenn Morris <rgm@gnu.org>
7998
117a9ea1
GM
7999 * international/mule.el (auto-coding-alist): Add .tbz.
8000
7b447e9b
GM
8001 * files.el (local-enable-local-variables): Doc fix.
8002 (inhibit-local-variables-regexps): Rename from
8003 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8004 Doc fix. Add some extensions from auto-coding-alist.
8005 (inhibit-local-variables-suffixes):
8006 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8007 (inhibit-local-variables-p):
8008 New function, extracted from set-auto-mode-1.
8009 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8010 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8011 (hack-local-variables): Doc fix. Make the mode-only case
8012 respect enable-local-variables and friends.
8013 Respect inhibit-local-variables-regexps for file-locals, but
8014 not for directory-locals.
8015 (set-visited-file-name):
8016 Take account of inhibit-local-variables-regexps.
8017 Whether it applies may change as the file name is changed.
8018 * jka-cmpr-hook.el (jka-compr-install):
8019 * jka-compr.el (jka-compr-uninstall):
8020 Update for inhibit-first-line-modes-suffixes name change.
8021
dd6e3cdd
MR
80222012-01-20 Martin Rudalics <rudalics@gmx.at>
8023
8024 * help-macro.el (make-help-screen): Temporarily restore original
8025 binding for minor-mode-map-alist (Bug#10454).
8026
0d0deb38
JD
80272012-01-19 Julien Danjou <julien@danjou.info>
8028
8029 * color.el (color-name-to-rgb): Use the white color to find the max
8030 color component value and return correctly computed values.
8031 (color-name-to-rgb): Add missing float conversion for max value.
8032
34a02f46
MR
80332012-01-19 Martin Rudalics <rudalics@gmx.at>
8034
8035 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8036 special state value for window-persistent-parameters.
8037 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8038 (window--state-put-2): Reset all window parameters to nil before
8039 assigning values of persistent parameters.
8040
606c44c4
AM
80412012-01-18 Alan Mackenzie <acm@muc.de>
8042
8043 Eliminate sluggishness and hangs in fontification of "semicolon
8044 deserts".
8045
cb882333
JB
8046 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8047 Change value 10000 -> 3000.
606c44c4
AM
8048 (c-state-safe-place): Reformulate so it doesn't stack up an
8049 infinite number of wrong entries in c-state-nonlit-pos-cache.
8050 (c-determine-limit-get-base, c-determine-limit): New functions to
8051 determine backward search limits disregarding literals.
8052 (c-find-decl-spots): Amend commenting.
8053 (c-cheap-inside-bracelist-p): New function which detects "={".
8054
8055 * progmodes/cc-fonts.el
8056 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8057 backward search.
8058 (c-font-lock-declarations): Fix an occurrence of point being
8059 undefined. Check additionally for point being in a bracelist or
8060 near a macro invocation without a semicolon so as to avoid a
8061 fruitless time consuming search for a declarator. Give a more
8062 precise search limit for declarators using the new
8063 c-determine-limit.
8064
f3860cea
GM
80652012-01-18 Glenn Morris <rgm@gnu.org>
8066
8067 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8068 (set-auto-mode): Doc fixes.
8069
1db03b16
GM
80702012-01-17 Glenn Morris <rgm@gnu.org>
8071
0e6038be
GM
8072 * isearch.el (search-nonincremental-instead): Fix doc typo.
8073
1db03b16
GM
8074 * dired.el (dired-insert-directory): Handle newlines in directory name.
8075 (dired-build-subdir-alist): Unescape newlines in directory name.
8076
4cb0aa75
MA
80772012-01-17 Michael Albinus <michael.albinus@gmx.de>
8078
8079 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8080 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8081 (tramp-action-terminal): Use it. (Bug#10530)
8082
1d00653d
SM
80832012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8086
6a6ee00d
MR
80872012-01-16 Martin Rudalics <rudalics@gmx.at>
8088
8089 * window.el (window-state-ignored-parameters): Remove variable.
8090 (window--state-get-1): Rename argument MARKERS to IGNORE.
8091 Handle persistent window parameters. Make copy of clone-of
8092 parameter only if requested. (Bug#10348)
8093 (window--state-put-2): Install a window parameter only if it has
8094 a non-nil value or an existing parameter shall be overwritten.
8095
97912def
MA
80962012-01-15 Michael Albinus <michael.albinus@gmx.de>
8097
8098 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8099
688070a5
EZ
81002012-01-14 Eli Zaretskii <eliz@gnu.org>
8101
8102 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8103 don't pass the (nil) value of `upnode' to string-match.
8104
301afadc
CY
81052012-01-14 Chong Yidong <cyd@gnu.org>
8106
8107 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8108 Fix values recognized by the cursorBlink resource.
301afadc 8109
9e5788aa
PE
81102012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8111
8112 * epg.el (epg--make-temp-file): Avoid permission race condition
8113 when running on old Emacs versions (bug#10403).
8114
3cdb7f5a
GM
81152012-01-14 Glenn Morris <rgm@gnu.org>
8116
8117 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8118
8c82b1b4
AM
81192012-01-13 Alan Mackenzie <acm@muc.de>
8120
8121 Fix filling for when filladapt mode is enabled.
8122
8123 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8124 c-mask-paragraph, pass in `fill-paragraph' rather than
8125 `fill-region-as-paragraph'. (This is a reversion of a previous
8126 change.)
eb864a71
LM
8127 * progmodes/cc-mode.el (c-basic-common-init):
8128 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8129
e517eda4
GM
81302012-01-13 Glenn Morris <rgm@gnu.org>
8131
1498536e
GM
8132 * dired.el (dired-switches-escape-p): New function.
8133 (dired-insert-directory): Use dired-switches-escape-p.
8134 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8135
e517eda4
GM
8136 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8137
328f984d
GM
81382012-01-12 Glenn Morris <rgm@gnu.org>
8139
8140 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8141 changes in adaptive-fill-regexp. (Bug#10276)
8142
2cc769a8
AM
81432012-01-11 Alan Mackenzie <acm@muc.de>
8144
8145 Fix Emacs bug #10463 - put `widen's around the critical spots.
8146
1d00653d 8147 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8148 widen around each invocation of c-state-pp-to-literal. Remove an
8149 unused let variable.
8150
e52c37fa
GM
81512012-01-11 Glenn Morris <rgm@gnu.org>
8152
8153 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8154 Doc fix.
e52c37fa 8155
96f8741e
CY
81562012-01-10 Chong Yidong <cyd@gnu.org>
8157
1d00653d
SM
8158 * net/network-stream.el (network-stream-open-starttls):
8159 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8160 response to the capability command.
8161
b09a806e
GM
81622012-01-10 Glenn Morris <rgm@gnu.org>
8163
8164 * mail/unrmail.el (unrmail): Tweak previous change.
8165
7655cb66
CY
81662012-01-09 Chong Yidong <cyd@gnu.org>
8167
8168 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8169
9d5a8f0b
AM
81702012-01-08 Alan Mackenzie <acm@muc.de>
8171
8172 Optimise font locking in long enum definitions.
8173
8174 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8175 arm to a cond form to handle enums.
8176 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8177 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8178
9a0115ab 81792012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8180
8181 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8182 (Bug#10401)
6bb72cbd 8183
f186bb95
LMI
81842012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8185
29232a68
LMI
8186 * faces.el (set-face-attribute): Clarify the meaning of the nil
8187 frame (bug#10294).
8188
4e5d086d
LMI
8189 * subr.el (with-selected-frame): Mention that the selected frame
8190 is restored (bug#9980).
8191
8e66aebe
LMI
8192 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8193 (bug#9759).
8194
cd394be1 8195 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8196 (password-read): Don't autoload unused function.
8197
adf4e762
JB
81982012-01-07 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * progmodes/which-func.el (which-func-mode): Turn into a
8201 non-interactive function and mark as obsolete (bug#10428).
8202
89bd9ccd
CY
82032012-01-06 Chong Yidong <cyd@gnu.org>
8204
8205 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8206 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8207 functions, along with 1 and -1.
8208
4afee9d5
EZ
82092012-01-06 Eli Zaretskii <eliz@gnu.org>
8210
8211 * time.el (display-time-load-average)
8212 (display-time-default-load-average): Doc fixes. See the thread
8213 starting at
8214 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8215 for the details.
8216
536aea70
GM
82172012-01-06 Glenn Morris <rgm@gnu.org>
8218
665ae865
GM
8219 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8220 has no messages. (Bug#10377)
8221
c869783d
GM
8222 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8223 than Info-edit. (Bug#10385)
8224
2bb4227e
GM
8225 * time.el (display-time-load-average, display-time-next-load-average):
8226 Doc fixes.
8227
7d5944b9
GM
8228 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8229 local setting of buffer-read-only to the input buffer. (Bug#10419)
8230
536aea70
GM
8231 * calendar/calendar.el (calendar-mode):
8232 Locally set scroll-margin to 0. (Bug#10379)
8233
7dccca16
UM
82342012-01-06 Ulrich Mueller <ulm@gentoo.org>
8235
8236 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8237
afbb7930
GM
82382012-01-05 Glenn Morris <rgm@gnu.org>
8239
8240 * eshell/em-unix.el (diff-no-select): Autoload it.
8241 (eshell/diff): Use diff-no-select. (Bug#10420)
8242
04482335
CY
82432012-01-05 Chong Yidong <cyd@gnu.org>
8244
7baca3bc
CY
8245 * shell.el (shell-dynamic-complete-functions): Revert last change.
8246 (shell-command-completion-function): New function.
8247 (shell-completion-vars): Use it to implement
8248 shell-completion-execonly (Bug#10417).
8249
04482335
CY
8250 * custom.el (enable-theme): Don't set custom-safe-themes.
8251
1d00653d
SM
8252 * cus-theme.el (custom-theme-merge-theme):
8253 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8254
bb5aa5d6
MM
82552012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8256
8257 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8258 first prompt in `sql-interacive-mode'.
8259 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8260 keywords.
6df6ae42 8261 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8262 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8263 context of original buffer. Invoke `sql-login-hook'.
8264
a7183d7c
EZ
82652012-01-04 Eli Zaretskii <eliz@gnu.org>
8266
8267 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8268 letters in cite-prefix.
8269
a1eacd1e
LMI
82702012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8271
8272 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8273
787cdb34
CY
82742012-01-03 Chong Yidong <cyd@gnu.org>
8275
1d00653d
SM
8276 * shell.el (shell-dynamic-complete-functions):
8277 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8278 comint-filename-completion first (Bug#10417).
8279
30710442
RS
82802012-01-02 Richard Stallman <rms@gnu.org>
8281
8282 * battery.el (battery-status-function):
8283 Detect when to use battery-yeeloong-sysfs.
8284 (battery-echo-area-format): Add string for Yeeloong.
8285 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8286 (battery-yeeloong-sysfs): New function.
8287
f75bfc33
CY
82882012-01-02 Chong Yidong <cyd@gnu.org>
8289
8290 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8291 (dirtrack): Merge code for handling relative filenames in prompt
8292 from shell-dir-cookie-watcher.
8293 (dirtrack-debug-message): New arg to avoid excess format calls.
8294
8295 * shell.el (shell-dir-cookie-re): Variable deleted.
8296 (shell-dir-cookie-watcher): Function deleted.
8297 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8298 with dirtrack-mode.
8299
651e947e
EZ
83002012-01-01 Eli Zaretskii <eliz@gnu.org>
8301
1d00653d
SM
8302 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8303 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8304 libgnutls-26.dll.
8305
94d4c7dc
AS
83062011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8307
8308 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8309
8d43f3cd
EZ
83102011-12-31 Eli Zaretskii <eliz@gnu.org>
8311
8312 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8313 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8314
98c8795a
MA
83152011-12-29 Michael Albinus <michael.albinus@gmx.de>
8316
8317 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8318 also for alternative shells.
8319 (tramp-open-connection-setup-interactive-shell): Check, whether
8320 the shell is a busybox.
8321 (tramp-send-command): Don't suppress multiple prompts for
8322 busyboxes, it hurts.
8323
51281b32
CY
83242011-12-28 Chong Yidong <cyd@gnu.org>
8325
8326 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8327 (gdb-get-source-file): Move mode line update to
8328 gdb-get-source-file (Bug#10087).
8329
2170cb53
CY
83302011-12-25 Chong Yidong <cyd@gnu.org>
8331
8332 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8333 gud-gdb-marker-filter without taking it as an argument.
8334 (gud-gdb-run-command-fetch-lines): Caller changed.
8335 (gud-gdb-completion-function): New variable.
8336 (gud-gdb-completion-at-point): Use it.
8337 (gud-gdb-completions-1): Split from gud-gdb-completions.
8338
8339 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8340 function as separate arguments.
8341 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8342 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8343 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8344 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8345 (gdb-stopped, def-gdb-auto-update-trigger)
8346 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8347 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8348 Callers changed.
2170cb53
CY
8349 (gud-gdbmi-completions): New function.
8350 (gdb): Use it for generating the completion table.
8351
be8b11bb
AM
83522011-12-24 Alan Mackenzie <acm@muc.de>
8353
8354 Introduce a mechanism to widen the region used in context font
1d00653d 8355 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8356
1d00653d
SM
8357 * progmodes/cc-langs.el (c-before-font-lock-functions):
8358 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8359 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8360 functions to be run just before context (etc.) font locking.
8361
8362 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8363 New, functionality extracted from
be8b11bb 8364 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8365 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8366 (c-after-change): Set c-in-after-change-fontification.
8367 (c-set-fl-decl-start): Rejig its interface, so it can be called
8368 from both after-change and context fontifying.
b81d40f0
JB
8369 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8370 New functions.
8371 (c-standard-font-lock-fontify-region-function): New variable.
8372 (c-font-lock-fontify-region): New function.
be8b11bb 8373
341cf6ac
JL
83742011-12-24 Juri Linkov <juri@jurta.org>
8375
8376 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8377 (Bug#10348)
8378
bffcee0a
MA
83792011-12-23 Michael Albinus <michael.albinus@gmx.de>
8380
8381 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8382 existence of source file. (Bug#10325)
8383
cb5e207c
AM
83842011-12-23 Alan Mackenzie <acm@muc.de>
8385
8386 Fix unstable fontification inside templates.
8387
b81d40f0
JB
8388 * progmodes/cc-langs.el (c-before-font-lock-functions):
8389 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8390 additionally has c-set-fl-decl-start. The other languages (apart
8391 from AWK) have that as a single entry.
8392
b81d40f0
JB
8393 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8394 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8395 c-set-fl-decl-start.
8396
b81d40f0
JB
8397 * progmodes/cc-mode.el (c-common-init, c-after-change):
8398 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8399 (c-set-fl-decl-start): New function, extracted from
8400 c-font-lock-enclosing-decls and enhanced.
8401
60ff536c
JB
84022011-12-23 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8405
1c4757d6
JL
84062011-12-22 Juri Linkov <juri@jurta.org>
8407
8408 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8409
d031f2c7
CY
84102011-12-22 Chong Yidong <cyd@gnu.org>
8411
8412 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8413
bace743a
DA
84142011-12-21 Drew Adams <drew.adams@oracle.com>
8415
8416 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8417
728a1f2b
JC
84182011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8419
8420 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8421
0d373f73
TZ
84222011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8423
fec0aaa4
TZ
8424 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8425 highlighting and support. Fix up comments for capitalization.
8426 (cfengine-mode-debug): New var.
8427 (cfengine3-mode): Change the modeline indicator to "CFE3".
8428 (cfengine3-font-lock-keywords): Improve defun highlighting.
8429 (cfengine2-actions): Rename from `cfengine-actions'.
8430 (cfengine2-font-lock-keywords): Rename from
8431 `cfengine-font-lock-keywords'.
8432 (cfengine2-imenu-expression): Rename from
8433 `cfengine-imenu-expression'.
8434 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8435 (cfengine2-beginning-of-defun): Rename from
8436 `cfengine-beginning-of-defun'.
8437 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8438 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8439 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8440 modeline indicator to "CFE2".
8441 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8442 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8443
bc86f573
CY
84442011-12-21 Chong Yidong <cyd@gnu.org>
8445
8446 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8447 filename argument.
8448
d45ba96b
MR
84492011-12-20 Martin Rudalics <rudalics@gmx.at>
8450
8451 * window.el (window-normalize-buffer-to-display): Remove.
8452 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8453
a6198c90
CY
84542011-12-19 Chong Yidong <cyd@gnu.org>
8455
8456 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8457 Don't signal an error in a predicate function; return non-nil.
8458 (vc-dir-mark-file): Move the error here.
8459 (vc-dir-mark-unmark): If acting on the region, keep going if one
8460 of the entries cannot be marked/unmarked.
8461 (vc-dir-mark-all-files): If current entry is a directory, mark
8462 only child files, as documented.
8463
34c5fb55
VB
84642011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8465
8466 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8467 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8468 addition.
8469
c803b2b7
JD
84702011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8471
8472 * term/ns-win.el (ns-get-selection-internal)
8473 (ns-store-selection-internal): Declare.
1154d12e
JB
8474 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8475 Declare as obsolete.
8476 (ns-get-pasteboard, ns-paste-secondary):
8477 Use ns-get-selection-internal.
8478 (ns-set-pasteboard, ns-copy-including-secondary):
8479 Use ns-store-selection-internal.
c803b2b7 8480
9cff91f8 84812011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8482
8483 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8484 (vc-deduce-fileset): Doc fix.
99a289d9 8485
f16c898a
AS
84862011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8487
8488 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8489
763237c4
SS
84902011-12-13 Sam Steingold <sds@gnu.org>
8491
8492 * man.el (Man-getpage-in-background): When running under a
8493 window-system, ignore $MANWIDTH and $COLUMNS.
8494
5fc1c122
KH
84952011-12-15 Kenichi Handa <handa@m17n.org>
8496
8497 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8498 (setup-ethiopic-environment-internal): Comment out key-binding for
8499 ethio-toggle-punctuation.
8500
13d49cbb
AM
85012011-12-13 Alan Mackenzie <acm@muc.de>
8502
898169a2
AM
8503 Add the switch statement to AWK Mode.
8504
7a71b18d 8505 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8506 "default" to the keywords regexp.
8507
7a71b18d 8508 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8509 expression as the rest.
1d00653d
SM
8510 (c-nonlabel-token-key): Allow string literals for AWK.
8511 Refactor for the other modes.
898169a2 8512
13d49cbb 8513 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8514 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8515 routines. Limit backward searching in c-font-lock-enclosing.decl.
8516
8517 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8518 pp-state and literal type in addition to the limits.
1d00653d 8519 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8520 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8521 (c-slow-in-literal, c-fast-in-literal): Remove.
8522 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8523
8524 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8525 being in a literal. Add a limit for backward searching.
8526
8527 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8528 c-slow-in-literal.
8529
15e0efc7
SM
85302011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8533
454592a6
MR
85342011-12-13 Martin Rudalics <rudalics@gmx.at>
8535
8536 * window.el (delete-other-windows): Use correct frame in call to
8537 window-with-parameter.
8538
87393f26
DP
85392011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8540
8541 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8542 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8543 (makefile-gmake-statements, makefile-makepp-statements):
8544 Use it and add new makepp keywords.
8545 (makefile-makepp-font-lock-keywords): Add new patterns.
8546 (makefile-match-function-end): Match new [...] and [[...]].
8547
11636b22
JB
85482011-12-11 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * ses.el (ses-call-printer-return, ses-cell-property-get)
8551 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8552 (ses-create-cell-variable, ses-reset-header-string)
8553 (ses-cell-set-formula, ses-repair-cell-reference-all)
8554 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8555 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8556 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8557 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8558 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8559 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8560 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8561 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8562 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8563 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8564 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8565 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8566
cf018193
VB
85672011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8568
8569 * ses.el: The overall change is to add cell renaming, that is
8570 setting fancy names for cell symbols other than name matching
8571 "\\`[A-Z]+[0-9]+\\'" regexp .
8572 (ses-create-cell-variable): New defun.
8573 (ses-relocate-formula): Relocate formulas only for cells the
8574 symbols of which are not renamed, i.e. symbols whose names do not
8575 match regexp "\\`[A-Z]+[0-9]+\\'".
8576 (ses-relocate-all): Relocate values only for cells the symbols of
8577 which are not renamed.
8578 (ses-load): Create cells variables as the (ses-cell ...) are read,
8579 in order to check row col consistency with cell symbol name only
8580 for cells that are not renamed.
8581 (ses-replace-name-in-formula): New defun.
8582 (ses-rename-cell): New defun.
8583
ee957461
CY
85842011-12-11 Chong Yidong <cyd@gnu.org>
8585
8586 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8587 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8588
9a9e9ef0
MR
85892011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8590
8591 * window.el (other-window): Fix docstring.
8592
92a8eba5
EZ
85932011-12-10 Eli Zaretskii <eliz@gnu.org>
8594
8595 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8596 `from' or `to' address before taking its substring.
8597 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8598 encoded name is chopped in the middle of the encoded string, and
8599 thus displayed encoded.
8600
e152e577
JB
86012011-12-10 Juanma Barranquero <lekktu@gmail.com>
8602
8603 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8604
e5d84bfe
EZ
86052011-12-10 Eli Zaretskii <eliz@gnu.org>
8606
8607 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8608 to use texinfo-update-node and commands that call it if the
8609 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8610 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8611 (texinfo-all-menus-update, texinfo-master-menu)
8612 (texinfo-update-node, texinfo-every-node-update)
8613 (texinfo-multiple-files-update): Doc fix. Warn against updating
8614 all the @node lines.
8615 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8616 argument is numeric. Explain better in the doc string what the
8617 function really does.
8618 (texinfo-insert-master-menu-list): Improve the error message
8619 displayed if there's no menu in the Top node.
8620 (Bug#2975) See also this thread:
e5d84bfe
EZ
8621 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8622
1d84e9bb
MG
86232011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8624
8625 * speedbar.el (speedbar-supported-extension-expressions):
8626 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8627
382c953b
JB
86282011-12-09 Juanma Barranquero <lekktu@gmail.com>
8629
8630 * printing.el (pr-mode-alist):
8631 * simple.el (filter-buffer-substring-functions)
8632 (completion-list-insert-choice-function):
8633 * window.el (window-with-parameter, window-atom-root)
8634 (window-sides-slots, window-size-fixed, window-min-delta)
8635 (window-max-delta, window--resize-mini-window)
8636 (window--resize-child-windows-normal, window-tree)
8637 (delete-other-windows, quit-window, split-window)
8638 (display-buffer-record-window, special-display-buffer-names)
8639 (special-display-regexps, special-display-popup-frame)
8640 (same-window-p, split-window-sensibly)
8641 (display-buffer-overriding-action, display-buffer-alist)
8642 (display-buffer-base-action, display-buffer, switch-to-buffer)
8643 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8644 (fit-window-to-buffer, recenter-positions)
8645 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8646 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8647 and remove unneeded backslashes in docstrings.
8648
39c9faef
SM
86492011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8650
98449af8
SM
8651 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8652
39c9faef
SM
8653 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8654 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8655 end in ".mk".
8656 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8657 when reading the makefile (bug#10116).
8658
86ed9fdc
SM
86592011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8662 (bug#10116).
8663
5580f89d
GM
86642011-12-06 Glenn Morris <rgm@gnu.org>
8665
8666 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8667
28d3917c
CY
86682011-12-06 Chong Yidong <cyd@gnu.org>
8669
8670 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8671
a98edce9
JB
86722011-12-06 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * textmodes/table.el (table-shorten-cell): Fix typo.
8675
e65adfac
CG
86762011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8677
8678 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8679
71cc0b74
EZ
86802011-12-05 Eli Zaretskii <eliz@gnu.org>
8681
8682 * descr-text.el (describe-char): Fix display of strong
8683 right-to-left characters and directional embeddings and overrides.
8684
8685 * simple.el (what-cursor-position): Fix display of codepoints of
8686 strong right-to-left characters.
8687
315bc30d
CY
86882011-12-05 Chong Yidong <cyd@gnu.org>
8689
8690 * faces.el (read-color): Doc fix.
8691
58a70b94
GM
86922011-12-05 Glenn Morris <rgm@gnu.org>
8693
8694 * align.el (align--set-marker): Add doc-string.
8695 Don't try to move something that is not a marker. (Bug#10216)
8696
5158face
GM
86972011-12-04 Glenn Morris <rgm@gnu.org>
8698
8699 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8700 overly zealous deletion of trailing whitespace.
8701
520fca41
JB
87022011-12-04 Juanma Barranquero <lekktu@gmail.com>
8703
8704 * server.el (server-delete-client): On Windows, do not try to delete
8705 the only terminal.
8706 (server-process-filter): On Windows, treat requests for a tty frame as
8707 if they were for a GUI frame if the running server is in GUI mode.
8708
5e605a2e
GM
87092011-12-03 Glenn Morris <rgm@gnu.org>
8710
8711 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8712
5c3fe83f
SM
87132011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8714
6f5e57e7
SM
8715 * electric.el: Streamline electric-indent's hook.
8716 (electric-indent-chars): Revert to simple list.
8717 (electric-indent-functions): New var.
8718 (electric-indent-post-self-insert-function): Use it.
8719
5c3fe83f
SM
8720 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8721 there's no inferior buffer (bug#10196).
8722 (prolog-consult-compile): Don't use toggle-read-only.
8723
6bdac736
MA
87242011-12-02 Michael Albinus <michael.albinus@gmx.de>
8725
8726 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8727 interrupt. (Bug#10187)
8728
6131ba7f
SM
87292011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8730
99c79fee
SM
8731 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8732 (bug#9160).
8733
6131ba7f
SM
8734 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8735 (bug#10191).
8736
cb0a02ea
JL
87372011-12-02 Juri Linkov <juri@jurta.org>
8738
8739 * info.el (Info-search): Display "end of manual" when Isearch
8740 reaches the end of single-file Info manual. (Bug#9918)
8741
66e0570c
EZ
87422011-12-02 Eli Zaretskii <eliz@gnu.org>
8743
8744 * isearch.el (isearch-message-prefix): Run the input method part
8745 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8746
02b16839
JL
87472011-12-02 Juri Linkov <juri@jurta.org>
8748
8749 * isearch.el (isearch-occur): Use `word-search-regexp' for
8750 `isearch-word'.
8751 (isearch-search-and-update): Add condition for `isearch-word' and
8752 call `word-search-regexp'. (Bug#10145)
8753
0b950688
GM
87542011-12-01 Glenn Morris <rgm@gnu.org>
8755
8756 * eshell/em-hist.el (eshell-hist-initialize):
8757 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8758 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8759
9505c3c7
SM
87602011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8763
1bbe96b2 87642011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8765
a1beca85
SM
8766 * progmodes/verilog-mode.el (verilog-pretty-expr):
8767 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8768 verilog, such as += *= and the like.
8769 (verilog-assignment-operator-re): Regular expression to find the
8770 assigment operator in a verilog assignment.
8771 (verilog-assignment-operation-re): Regular expression to find an
8772 assignment statement for pretty-expr.
8773 (verilog-in-attribute-p): Query returns true if point is in an
8774 attribute context; used to skip these for expression line up from
8775 pretty-expr.
8776 (verilog-in-parameter-p): Query returns true if point is in an
8777 parameter definition context; used to skip these for expression
8778 line up from pretty-expr.
8779 (verilog-in-parenthesis-p): Query returns true if point is in a
8780 parenthetical expression, specifically ( ) but not [ ] or { };
8781 used by pretty-expr.
8782 (verilog-just-one-space): If there is no space, don't add one.
8783 (verilog-get-lineup-indent-2): Specifically skip just attribute
8784 contexts for expression lineup, rather than skipping all
8785 parenthetical expressions.
8786 (verilog-calculate-indent): Fix comment, and fix indent.
8787 (verilog-do-indent): Indent declarations in lists (suggested by
8788 Joachim Lechner).
8789 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8790 skeleton items.
8791 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8792 by Alain Mellan).
8793
1bbe96b2 87942011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8795
8796 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8797 parameters with embedded comments. Reported by Ray Stevens.
8798 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8799 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8800 Reported by Tim Holt.
8801 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8802 instantiated by upper module causing wrong expansion until AUTOed a
8803 second time. Reported by K C Buckenmaier.
8804 (verilog-diff-auto): Fix showing .* as a difference when
8805 `verilog-auto-star-save' off. Reported by Dan Dever.
8806 (verilog-auto-reset, verilog-read-always-signals)
8807 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8808 temporary signals in reset list if
8809 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8810 style to each signal's assignment type, bug381.
8811 Reported by Thomas Esposito.
6288f0ca
WS
8812 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8813 (verilog-uvm-statement-re): Support UVM indentation and
8814 highlighting, with old OVM keywords only.
a1beca85 8815 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8816 Support AUTOTIEOFF creating non-wire data types.
8817 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8818 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8819 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8820 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8821 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8822 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8823 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8824 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8825 non-numeric vector width. Reported by Alex Reed.
8826 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8827 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8828 (verilog-auto-delete-trailing-whitespace):
8829 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8830 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8831 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8832 Fix verilog-scan-cache corruption when running user AUTO expansion
8833 hooks that call indentation routines.
8834 (verilog-simplify-range-expression): Fix typo ignoring lower case
8835 identifiers.
8836 (verilog-delete-auto): Fix delete-autos to also remove user created
8837 automatics, as long as they start with AUTO.
8838 (verilog-batch-diff-auto, verilog-diff-auto)
8839 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8840 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8841 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8842 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8843 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8844 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8845 is disabled and its cache will get corrupt, causing AUTOS not to
8846 expand. Instead use only -quick functions.
8847 (verilog-scan-region): Fix scanning over escaped quotes.
8848 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8849 (verilog-re-search-backward-quick)
8850 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8851 related functions now ignore strings, to fix misparsing of strings
8852 with magic comments embedded in them.
a1beca85
SM
8853 (verilog-read-auto-template):
8854 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8855 Reported by Brad Dobbie.
8856 (verilog-read-auto-template):
8857 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8858 Reported by Brad Dobbie.
6288f0ca
WS
8859 (verilog-auto-inst, verilog-auto-inst-param)
8860 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8861 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8862 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8863 debugging templates without merge conflicts, bug357.
8864 Reported by Brad Dobbie.
8865 (verilog-read-auto-template):
8866 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8867 Reported by Brad Dobbie.
8868 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8869 abbrevs so user won't be asked to save.
8870 (verilog-read-auto-lisp-present): Fix to start at beginning of
8871 buffer in case called outside of verilog-auto.
8872 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8873 to "X-2". Reported by Matthew Myers.
8874 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8875 all inputs from module templates. Reported by Leith Johnson.
8876 (verilog-module-inside-filename-p): Fix locating programs as with
8877 modules.
8878 (verilog-auto-inst-port): Fix vl-width expressions when using
8879 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8880 (verilog-decls-get-regs, verilog-decls-get-signals,
8881 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8882 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8883 verilog-read-decls): Combine reg and wire structures into one var
8884 structure to represent SystemVerilog concepts.
8885 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8886 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8887 (verilog-auto-wire-type, verilog-insert-definition):
8888 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8889 SystemVerilog "logic" keyword instead of "wire"/"reg".
8890 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8891 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8892 ifdef or generate if so there's not a driver conflict).
8893 Reported by Matthew Myers.
8894 (verilog-auto-declare-nettype, verilog-insert-definition):
8895 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8896 `default_nettype none. Reported by Julian Gorfajn.
8897 (verilog-read-always-signals-recurse, verilog-read-decls)
8898 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8899 malformed end statement, bug325. Reported by Joshua Wise and
8900 Andrew Drake.
8901 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8902 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8903 when expanding .* in interfaces, bug320.
8904 Reported by Pierre-David Pfister.
6288f0ca 8905 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8906 name and open parenthesis, bug317.
8907 Reported by Pierre-David Pfister.
6288f0ca
WS
8908 (verilog-simplify-range-expression): Fix simplification of
8909 multiplications inside AUTOWIRE connections, bug303.
8910 (verilog-auto-inst-port): Support parameter expansion in
8911 multidimensional arrays.
8912 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8913 after "assert property". Reported by Julian Gorfajn.
8914 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8915 with multiplication, bug303.
8916 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8917 Reported by Jan Frode Lonnum.
8918
1bbe96b2
GM
89192011-11-30 Juanma Barranquero <lekktu@gmail.com>
8920
8921 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8922 (hfy-shell-file-name, hfy-shell):
8923 * international/fontset.el (x-decompose-font-name): Fix typos.
8924
89252011-11-29 Ken Brown <kbrown@cornell.edu>
8926
8927 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8928 (gdb-version): Remove defvar.
8929 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8930 (gdb-gud-context-command, gdb-non-stop-handler)
8931 (gdb-current-context-command, gdb-stopped): Use it.
8932 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8933 (gdb-non-stop-handler): Don't enable pretty-printing here.
8934 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8935 non-stop mode. Use the following.
8936 (gdb-check-target-async): New defun.
8937 (gud-watch, gdb-stopped): Fix whitespace.
8938 (gdb-get-source-file): Don't try to display the source file if
8939 `gdb-main-file' is nil.
8940
89412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * align.el: Try to generate fewer markers (bug#10047).
8944 (align--set-marker): New macro.
8945 (align-region): Use it.
8946
c935221f
SM
89472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8950
e70b5064
CY
89512011-11-29 Chong Yidong <cyd@gnu.org>
8952
8953 * indent.el (indent-for-tab-command, indent-according-to-mode):
8954 Doc fix.
8955 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8956
f3af92b7
MA
89572011-11-29 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8960 aware of remote file names. (Bug#10124)
8961
ed472be9
CY
89622011-11-29 Chong Yidong <cyd@gnu.org>
8963
8964 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8965
24510c22
SM
89662011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * files.el (find-file): Don't use force-same-window (bug#10144).
8969 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8970 use pop-to-buffer if the selected window can't be used.
8971 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8972
c60c3703
EZ
89732011-11-28 Eli Zaretskii <eliz@gnu.org>
8974
8975 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8976 special-mode-map.
8977
e95def75
CY
89782011-11-28 Chong Yidong <cyd@gnu.org>
8979
8980 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8981
c3f1c606
NR
89822011-11-27 Nick Roberts <nickrob@snap.net.nz>
8983
8984 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8985 gdb-get-source-file-list on gdb-create-source-file-list.
8986
00db469c
EZ
89872011-11-26 Eli Zaretskii <eliz@gnu.org>
8988
8989 * whitespace.el (whitespace-newline): Use a different foreground
8990 color for 16-color light-background displays.
8991
4ad3bc2a
CY
89922011-11-24 Chong Yidong <cyd@gnu.org>
8993
8994 * window.el (display-buffer--special-action): Doc fix.
8995
e9fce1ac
JB
89962011-11-25 Juanma Barranquero <lekktu@gmail.com>
8997
8998 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8999 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9000 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9001 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9002 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9003 (avl-tree-stack-first):
9004 * emacs-lisp/cconv.el (cconv--analyse-use):
9005 * net/gnutls.el (gnutls-negotiate): Fix typos.
9006
cb825e5d
GM
90072011-11-24 Glenn Morris <rgm@gnu.org>
9008
3adbe224
GM
9009 * lpr.el (lpr-windows-system, lpr-lp-system):
9010 * mail/binhex.el (binhex-begin-line):
9011 * progmodes/grep.el (grep-history, grep-find-history):
9012 * textmodes/flyspell.el:
9013 * vc/pcvs-defs.el (cvs-global-menu):
9014 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9015 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9016 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9017
321decc8
GM
9018 * net/tls.el: Fix case of "GnuTLS".
9019
420b63ad
GM
9020 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9021
cb825e5d
GM
9022 * version.el (emacs-build-system): Give it a doc-string.
9023
a0649f08
JL
90242011-11-24 Juri Linkov <juri@jurta.org>
9025
9026 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9027
c0bc0fd4
GM
90282011-11-24 Glenn Morris <rgm@gnu.org>
9029
9030 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9031 if called on a non-mime message just toggle the headers. (Bug#8006)
9032
20db1522
JB
90332011-11-24 Juanma Barranquero <lekktu@gmail.com>
9034
9035 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9036 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9037 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9038 (allout-rebullet-heading, allout-open-sibtopic)
9039 (allout-toggle-current-subtree-encryption)
9040 (allout-toggle-subtree-encryption, allout-encrypt-string)
9041 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9042 (allout-distinctive-bullets-string, allout-auto-activation):
9043 * window.el (window-normalize-buffer-to-display):
9044 * progmodes/verilog-mode.el (verilog-batch-indent):
9045 * textmodes/bibtex.el (bibtex-field-braces-opt)
9046 (bibtex-field-strings-opt):
9047 * vc/cvs-status.el (cvs-tree-merge):
9048 Fix typos.
9049
7262a87c
MA
90502011-11-23 Michael Albinus <michael.albinus@gmx.de>
9051
9052 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9053 `non-essential' to t, in order to avoid remote connections.
9054
283430a1
EZ
90552011-11-23 Eli Zaretskii <eliz@gnu.org>
9056
a1beca85
SM
9057 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9058 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9059 case-insensitively.
9060
d2992a38
ML
90612011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9062
9063 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9064
50419064
GM
90652011-11-23 Glenn Morris <rgm@gnu.org>
9066
da94eca1
GM
9067 * paths.el (rmail-file-name): Reformat the doc-string so that it
9068 is picked up.
9069
9aac4de2
GM
9070 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9071 (rmail-auto-file): Ignore case in the "special" field names,
9072 as mail-fetch-field does for all others.
9073
8038d2d2
GM
9074 * mail/rmail.el (rmail-forward):
9075 * mail/rmailkwd.el (rmail-set-label):
9076 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9077 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9078
f3fe222a
GM
9079 * mail/rmail.el (rmail-current-message): Doc fix.
9080
50419064
GM
9081 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9082
28109f49
SM
90832011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9086
394c65f1
GM
90872011-11-22 Glenn Morris <rgm@gnu.org>
9088
9089 * mail/rmailmm.el (test-rmail-mime-handler)
9090 (test-rmail-mime-bulk-handler)
9091 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9092
f2a0aa3a
JL
90932011-11-21 Juri Linkov <juri@jurta.org>
9094
1154d12e
JB
9095 * calc/calc.el (calc-read-key-sequence):
9096 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9097
9c34a344
LMI
90982011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9101 Tell the caller that the next line needs recomputation, even
9102 though it doesn't start a sexp (bug#10094).
9103
f04a3be9
SM
91042011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9107
7978747f
SM
91082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9109
f04a3be9
SM
9110 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9111 Use force-same-window.
7978747f 9112
fe7a3057
JB
91132011-11-20 Juanma Barranquero <lekktu@gmail.com>
9114
9115 * descr-text.el (describe-char-unicode-data):
9116 * json.el (json-string-escape):
9117 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9118 (Footnote-unicode, Footnote-style-p):
9119 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9120
24901d61
CY
91212011-11-20 Chong Yidong <cyd@gnu.org>
9122
9123 * window.el (replace-buffer-in-windows): Restore interactive spec.
9124
bac7ff22
SM
91252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9126
24f3d7b9
SM
9127 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9128
bac7ff22
SM
9129 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9130 (byte-compile-global-not-obsolete-vars): New var.
9131 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9132 Use it.
9133 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9134
cd1181db
JB
91352011-11-20 Juanma Barranquero <lekktu@gmail.com>
9136
9137 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9138 * progmodes/pascal.el (electric-pascal-equal):
9139 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9140 * xml.el (xml-substitute-special): Fix typos.
9141
7fb18e9e
GM
91422011-11-20 Glenn Morris <rgm@gnu.org>
9143
9144 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9145 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9146 Doc fixes.
9147 (rmail-decode-mime-charset): Mark as obsolete.
9148
9149 * mail/rmailsum.el (rmail-message-regexp-p-1):
9150 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9151 Before using mime functions, check they are set. (Bug#10077)
9152
d5a6b3ba
JL
91532011-11-19 Juri Linkov <juri@jurta.org>
9154
9155 * info.el (Info-finder-find-node): Use `package--builtins' instead
9156 of `package-alist'. Use node names formed by the pattern "Keyword "
9157 and the keyword name.
9158
e981b61f
AS
91592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9160
1d00653d 9161 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9162
3ffbc301
JL
91632011-11-19 Juri Linkov <juri@jurta.org>
9164
9165 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9166 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9167 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9168 `old-history', `old-history-forward'. Add let-binding
9169 `window-selected'. Remove calls to `kill-buffer',
9170 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9171 before calling `Info-find-node', so `Info-find-node-2' will reread
9172 the Info file. Restore window positions only when `window-selected'
9173 is non-nil.
9174
30c62133
JL
91752011-11-19 Juri Linkov <juri@jurta.org>
9176
9177 * isearch.el (isearch-lazy-highlight-new-loop):
9178 Remove condition `(not isearch-error)'. (Bug#9918)
9179
9180 * misearch.el (multi-isearch-search-fun): Add condition
9181 `(not bound)' to ignore lazy-highlighting search.
9182 Add the search-failed message "end of multi" when the end of
9183 multi-sequence is reached. Uncapitalize the search-failed
9184 message "Repeat for next buffer".
9185
9186 * info.el (Info-search): Add the search-failed message
9187 "end of the manual" when the end of the manual is reached
9188 in Isearch mode.
9189
645ca9cf
JL
91902011-11-19 Juri Linkov <juri@jurta.org>
9191
9192 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9193 Use non-destructive `remove' instead of `delete' because
9194 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9195 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9196
df754f66
JL
91972011-11-19 Juri Linkov <juri@jurta.org>
9198
9199 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9200 to nil instead of binding `search-ring' and `regexp-search-ring'.
9201 (Bug#9185)
9202
0e23d96a
EZ
92032011-11-19 Eli Zaretskii <eliz@gnu.org>
9204
9205 * simple.el (line-move): Force movement by logical lines for any
9206 hscrolled window, not only when auto-hscroll-mode is on.
9207 (line-move-visual): Update doc string to that effect. (Bug#10076)
9208
8a6ccb66
AS
92092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * language/european.el (macintosh): Define as alias for mac-roman.
9212
49ae5b39
EZ
92132011-11-19 Eli Zaretskii <eliz@gnu.org>
9214
9215 * mail/rmailmm.el (rmail-mime-display-header)
9216 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9217 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9218 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9219 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9220 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9221 of a raw aref.
9222 (rmail-mime-entity-segment): To get past the tagline, move forward
9223 2 more lines, to account for the 2 empty lines that precede and
9224 follow the line with the buttons.
9225 (rmail-mime-update-tagline): Move one more line, to get past the
9226 empty line that follows the buttons in the tagline. (Bug#9520)
9227
c56cad4a
MR
92282011-11-19 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (window-max-delta-1, window-min-delta-1)
9231 (window-min-size-1, window-state-get-1, window-state-put-1)
9232 (window-state-put-2): Use "window--" prefix.
9233
cbe71af3
SM
92342011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9235
2ad52c60
SM
9236 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9237 (smie-warning-count): New var.
9238 (smie-set-prec2tab): Use it.
9239 (smie-bnf->prec2): Improve warnings. Add docstring.
9240 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9241 (smie-bnf--set-class): New function.
9242 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9243 corner case.
9244
6944dbc1
SM
9245 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9246 (compilation-error-properties, compilation-move-to-column):
9247 Handle compilation-first-column while in the target buffer.
9248
c400c4d7
SM
9249 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9250 Don't hardcode point-min==1.
9251
6dbe3e96
SM
9252 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9253 (eshell-rewrite-for-command): Remove workaround.
9254 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9255 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9256 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9257
cbe71af3
SM
9258 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9259
a8e1496d
GM
92602011-11-17 Glenn Morris <rgm@gnu.org>
9261
9262 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9263 Ignore buffer-local generated-autoload-file if it is the same
9264 as the global value. (Bug#10049)
9265
df85d315
JB
92662011-11-17 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9269 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9270 (reftex-toc-previous-heading, reftex-toc-max-level)
9271 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9272 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9273 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9274 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9275 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9276 (reftex-toc-rename-label, reftex-toc-visit-location)
9277 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9278 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9279 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9280 leaving "*toc*" only for references to the buffer.
9281
a0c2d0ae
MR
92822011-11-17 Martin Rudalics <rudalics@gmx.at>
9283
9284 * window.el (window-resize, delete-window, split-window):
9285 Replace window-splits by window-combination-resize.
1d00653d 9286 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9287
35c0bac8
GM
92882011-11-17 Glenn Morris <rgm@gnu.org>
9289
9290 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9291 Make bash entry derive from sh entry, not shell entry.
9292
d0c8fc8a
MA
92932011-11-16 Michael Albinus <michael.albinus@gmx.de>
9294
7262a87c
MA
9295 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9296 local file name.
9297
7877f373
JB
92982011-11-16 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * menu-bar.el (menu-bar-file-menu):
9301 * printing.el (pr-ps-utility):
9302 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9303 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9304 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9305 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9306 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9307 (icalendar--convert-cyclic-to-ical)
9308 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9309 (icalendar--convert-ical-to-diary)
9310 (icalendar--convert-recurring-to-diary)
9311 (icalendar--convert-non-recurring-all-day-to-diary)
9312 (icalendar-import-format-sample):
9313 * progmodes/idlw-shell.el (idlwave-shell-mode):
9314 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9315 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9316 (vhdl-ps-print-init): Fix typos.
9317
10649b82
KM
93182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9319
9d0cfcd6
GM
9320 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9321 FSF and collapse date sequence, obscure author/maintainer email address
9322 better, remove extra version line, track relocation of author's webpage.
10649b82 9323
9d0cfcd6
GM
9324 * progmodes/python.el (python-pdbtrack-input-prompt)
9325 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9326 regular python pdb prompts. Adjustments shamelessly taken exactly as
9327 suggested in EmacsWiki page (tiny change):
9328 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9329
58179cce
JB
93302011-11-16 Juanma Barranquero <lekktu@gmail.com>
9331
9332 * expand.el (expand-pos, expand-index, expand-point):
9333 Remove redundant info from docstring.
9334 (expand-add-abbrevs): Doc fix.
9335 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9336 (expand-sample-perl-mode-expand-list): Fix typos.
9337
9338 * net/dbus.el (dbus-event-member-name):
9339 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9340 * term/pc-win.el (msdos-create-frame-with-faces):
9341 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9342
b6f67890
MR
93432011-11-16 Martin Rudalics <rudalics@gmx.at>
9344
9345 * window.el (split-window, window-state-get-1)
9346 (window-state-put-1, window-state-put-2): Rename occurrences of
9347 window-nest to window-combination-limit.
1d00653d 9348 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9349
ce7ddba0
CY
93502011-11-16 Chong Yidong <cyd@gnu.org>
9351
9352 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9353 regexp (Bug#10033).
9354
3ae704f4
SM
93552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9358 `completing-read' will remove *Completions* and will preserve
9359 current-buffer for us.
9360 (tmm-add-prompt): Users of *Completions* will always (re)set its
9361 major mode.
9362 (tmm-old-comp-map): Remove.
9363
6ad1cdde
GM
93642011-11-16 Glenn Morris <rgm@gnu.org>
9365
9366 * mail/rmailedit.el: Require rmailmm when compiling.
9367 (rmail-old-mime-state): New declaration.
9368 (rmail-edit-current-message): If editing a mime message,
9369 edit the "raw" message from the mbox buffer.
9370 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9371
d20faa20
GM
93722011-11-15 Glenn Morris <rgm@gnu.org>
9373
9374 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9375 which wasn't being used. Add optional arg to force given state.
9376 (rmail-mime): Add optional arg to force given state.
9377
c7015153
JB
93782011-11-15 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9381 * frame.el (display-mm-dimensions-alist):
9382 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9383 (outline-move-subtree-down):
9384 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9385 (newsticker--treeview-do-get-node):
9386 * net/quickurl.el (quickurl-list-buffer-name):
9387 * progmodes/dcl-mode.el (dcl-mode):
9388 * progmodes/gdb-mi.el (gdb-mapcar*):
9389 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9390
45261b50
GM
93912011-11-15 Glenn Morris <rgm@gnu.org>
9392
9393 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9394 in a boolean sense, so just make it a boolean, and fix the doc.
9395 (rmail-show-mime-function, rmail-mime-feature)
9396 (rmail-require-mime-maybe): Doc fixes.
9397 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9398
9399 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9400
0d26e0b6
JB
94012011-11-15 Juanma Barranquero <lekktu@gmail.com>
9402
9403 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9404 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9405 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9406 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9407
447f30f6
GM
94082011-11-15 Glenn Morris <rgm@gnu.org>
9409
672b871d
GM
9410 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9411 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9412 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9413 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9414 (rmail-mime, rmail-show-mime): Doc fixes.
9415
f6aa5bb1
GM
9416 * term/ns-win.el (mode-line-frame-identification):
9417 Leave it alone. (Bug#10051)
9418
947cd66b
GM
9419 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9420
447f30f6
GM
9421 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9422 Handle empty buffers. (Bug#9978)
9423
0b381c7e
JB
94242011-11-14 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * international/mule.el (define-charset):
9427 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9428 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9429 * progmodes/verilog-mode.el (verilog-backward-token):
9430 * textmodes/ispell.el (lookup-words):
9431 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9432
71e027ac
GM
94332011-11-14 Glenn Morris <rgm@gnu.org>
9434
56632ce4
GM
9435 * progmodes/executable.el
9436 (executable-make-buffer-file-executable-if-script-p):
9437 Handle file-modes returning nil.
9438
40500957
GM
9439 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9440 message - not necessary, and causes problems. (Bug#9831)
9441
071c2340
GM
9442 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9443
d3cfca60
GM
9444 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9445
71e027ac
GM
9446 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9447 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9448 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9449
89d61221
MR
94502011-11-12 Martin Rudalics <rudalics@gmx.at>
9451
9452 * window.el (window-resize, delete-window): Use window-splits
9453 variable instead of function.
9454 (window-state-get-1, window-state-put-2, window-state-put):
9455 Don't deal with windows' splits status.
9456
98282f6f
GM
94572011-11-12 Glenn Morris <rgm@gnu.org>
9458
9459 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9460 (apropos-documentation): Doc fixes.
9461
40a8bdf6
JB
94622011-11-11 Juanma Barranquero <lekktu@gmail.com>
9463
9464 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9465 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9466
65bd19ff
SM
94672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * electric.el (electric-indent-post-self-insert-function): Make it
9470 possible for a char to only indent in some circumstances.
9471 (electric-indent-mode): Simplify.
9472
54f9154c
MR
94732011-11-11 Martin Rudalics <rudalics@gmx.at>
9474
9475 * window.el (windows-with-parameter): Remove unused function.
9476 (windows-at-side): Rename to window-at-side-list.
9477 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9478 (window-side-check, window-size-ignore, window-size-fixed-1)
9479 (window-in-direction-2): Prefix with "window--".
9480 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9481
68cbc58b
GM
94822011-11-11 Glenn Morris <rgm@gnu.org>
9483
9484 * subr.el (eval-after-load): If FILE is already loaded,
9485 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9486
b2621720
GM
94872011-11-10 Glenn Morris <rgm@gnu.org>
9488
9a4de110
GM
9489 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9490 Call svn via vc-svn-command rather than vc-do-command.
9491 (vc-svn-command): Add --non-interactive. (Bug#9993)
9492 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9493
b2621720
GM
9494 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9495 Add toggle-read-only. (Bug#7292)
9496 * files.el (toggle-read-only): Mention that it should only
9497 be used interactively. (Bug#10006)
9498
1dce7193
SM
94992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9500
d9ac1a1e
SM
9501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9502 Adjust regexp for OCaml warnings.
9503
0c325082
SM
9504 * electric.el (electric-pair-post-self-insert-function): Let user
9505 turn it off buffer-locally (bug#9932).
9506
90132c14
SM
9507 * progmodes/python.el (python-beginning-of-statement):
9508 Rewrite (bug#2703).
9509
1dce7193
SM
9510 * progmodes/compile.el: Better handle TABs (bug#9749).
9511 (compilation-internal-error-properties)
9512 (compilation-next-error-function): Obey the target buffer's
9513 compilation-error-screen-columns.
9514
c4e7c63a
JB
95152011-11-09 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * progmodes/meta-mode.el: Remove obsolete comments.
9518 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9519 Fix typos in docstrings.
9520
2cffd681
MR
95212011-11-09 Martin Rudalics <rudalics@gmx.at>
9522
9523 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9524 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9525 (window--resizable): New function. Make all callers of
9526 window-resizable call window--resizable instead.
9527 (window-resizable): Rewrite in terms of window--resizable.
9528
0edcba87
GM
95292011-11-08 Glenn Morris <rgm@gnu.org>
9530
9531 * progmodes/delphi.el (delphi-mode-syntax-table):
9532 Let define-derived-mode define a proper syntax table. (Bug#9994)
9533
4b0d61e3
SM
95342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * window.el: Stay away from defsubst.
9537 (window-list-no-nils): Remove.
9538 (window-state-get-1, window-state-get): Use backquote instead.
9539
cd394be1 95402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9541
4b0d61e3 9542 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9543 Fix incorrect use of default argument in `completing-read'.
9544
e1c2c6f2
MR
95452011-11-08 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (display-buffer-function, special-display-function):
9548 Mention display-buffer-record-window but do not mention
9549 help-setup parameter in doc-strings.
b3f4a882 9550 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9551
105216ed
CY
95522011-11-08 Chong Yidong <cyd@gnu.org>
9553
9554 * window.el (window-total-height, window-total-width): Doc fix.
9555 (window-body-size): Move from C.
9556 (window-body-height, window-body-width): Move to C.
9557
0a9f9ab5
SM
95582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * window.el: Make special-display like display-buffer-alist (bug#9532).
9561 (display-buffer--special-action): New function, morphed
9562 from display-buffer--special.
9563 (display-buffer): Use it to handle special-display-buffers at higher
9564 priority (just after display-buffer-alist).
9565 (display-buffer-fallback-action, display-buffer--other-frame-action)
9566 (pop-to-buffer-same-window): Remove display-buffer--special.
9567
a769dd15
GM
95682011-11-07 Glenn Morris <rgm@gnu.org>
9569
9570 * calendar/cal-menu.el (cal-menu-set-date-title):
9571 Do nothing if not in a calendar. (Bug#9976)
9572
05a61ee3
SM
95732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * files.el (find-file): Always use selected-window.
9576
be7f5545
MR
95772011-11-07 Martin Rudalics <rudalics@gmx.at>
9578
9579 * window.el (window-combinations): Make WINDOW argument
9580 mandatory. Rewrite doc-string.
9581 (walk-window-subtree, window-atom-check, window-min-delta)
9582 (window-max-delta, window--resize-this-window)
9583 (window--resize-root-window-vertically, window-tree)
9584 (balance-windows, window-state-put): Rewrite doc-strings as to
9585 not mention the term "subwindow".
9586 (window--resize-subwindows-skip-p): Rename to
9587 window--resize-child-windows-skip-p.
9588 (window--resize-subwindows-normal): Rename to
9589 window--resize-child-windows-normal.
9590 (window--resize-subwindows): Rename to
9591 window--resize-child-windows.
9592 (window-or-subwindow-p): Rename to window--in-subtree-p.
9593
3c6702ef
ML
95942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9595
9596 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9597 Ensure that mbox format messages end in two newlines (Bug#9974).
9598
49745b39
CY
95992011-11-06 Chong Yidong <cyd@gnu.org>
9600
9601 * window.el (window-combination-p): Function deleted; its
9602 side-effect is not used in any existing code.
9603 (window-combinations, window-combined-p): Call window-*-child
9604 directly.
9605
24300f5f
CY
96062011-11-05 Chong Yidong <cyd@gnu.org>
9607
9608 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9609 (window-size-ignore, window-state-get): Callers changed.
9610 (window-normalize-window): Rename from window-normalize-any-window.
9611 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9612 (window-normalize-live-window): Delete.
447f16b8
CY
9613 (window-combination-p, window-combined-p, window-combinations)
9614 (walk-window-subtree, window-atom-root, window-min-size)
9615 (window-sizable, window-sizable-p, window-size-fixed-p)
9616 (window-min-delta, window-max-delta, window-resizable)
9617 (window-resizable-p, window-full-height-p, window-full-width-p)
9618 (window-current-scroll-bars, window-point-1, set-window-point-1)
9619 (window-at-side-p, window-in-direction, window-resize)
9620 (adjust-window-trailing-edge, maximize-window, minimize-window)
9621 (window-deletable-p, delete-window, delete-other-windows)
9622 (record-window-buffer, unrecord-window-buffer)
9623 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9624 (quit-window, split-window, window-state-put)
9625 (set-window-text-height, fit-window-to-buffer)
9626 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9627
89bd5ee1
EZ
96282011-11-04 Eli Zaretskii <eliz@gnu.org>
9629
53479029
EZ
9630 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9631 rfc2047-decode-string.
9632 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9633 warnings.
9634
89bd5ee1
EZ
9635 * window.el (window-body-height, window-body-width): Mention in
9636 the doc string that the return values are in frame's canonical
9637 units. (Bug#9949)
9638
bd17fdee
AM
96392011-11-03 Alan Mackenzie <acm@muc.de>
9640
9641 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9642 change in cc-engine.el.
9643
acc825c5
SM
96442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9647
1885e5b8
MR
96482011-11-02 Martin Rudalics <rudalics@gmx.at>
9649
9650 * window.el (quit-window): Call unrecord-window-buffer after
9651 showing another buffer in the window. (Bug#9937)
acc825c5 9652 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9653
ebe06da9
JB
96542011-11-02 Juanma Barranquero <lekktu@gmail.com>
9655
9656 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9657 Accept status with more than 9 shelves. (Bug#9935)
9658 Reported by Colin D Bennett <colin@gibibit.com>.
9659
4ee88440
MR
96602011-11-01 Martin Rudalics <rudalics@gmx.at>
9661
9662 * help.el (with-help-window): Don't reference
9663 temp-buffer-show-specifiers in doc-string.
9664
08e1d82c
AS
96652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9666
9667 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9668 menu-item.
9669
84bd6e9e
VJL
96702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9671
9672 * whitespace.el: New version 13.2.2.
9673 (whitespace-newline-mode): Disable properly. Reported by Sarah
9674 <EmacsWiki>.
9675
dba0634a
UJ
96762011-10-30 Ulf Jasper <ulf.jasper@web.de>
9677
9678 * net/newst-treeview.el: Remove "Time-stamp".
9679 (newsticker--group-manage-orphan-feeds): Do not call
9680 newsticker--treeview-tree-update.
db22a3c2
JB
9681 (newsticker-treeview-update, newsticker-treeview):
9682 Call newsticker--treeview-tree-update if necessary.
dba0634a 9683
3d8daefe
MR
96842011-10-30 Martin Rudalics <rudalics@gmx.at>
9685
9686 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9687 (window-iso-combinations): Remove "iso-" infix.
9688 Suggested by Chong Yidong.
3d8daefe
MR
9689 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9690 (window-max-delta-1, window-resize, window--resize-siblings)
9691 (window--resize-this-window, adjust-window-trailing-edge)
9692 (split-window, balance-windows-1)
9693 (shrink-window-if-larger-than-buffer):
9694 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9695 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9696
1bc4c3ae
SM
96972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9700 in place (bug#9907).
9701 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9702 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9703 (eshell-structure-basic-command, eshell-rewrite-while-command)
9704 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9705 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9706 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9707 (eshell-do-pipelines-synchronously, eshell-eval-command):
9708 Use backquotes and prefer setq to set.
9709 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9710 (eshell-macrop): Use functionp.
c1e2f5fa 9711 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9712
30b65d9c
CY
97132011-10-30 Chong Yidong <cyd@gnu.org>
9714
9715 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9716 instead of set-mark (Bug#9810).
9717
2d197ffb
CY
97182011-10-30 Chong Yidong <cyd@gnu.org>
9719
9720 * window.el (split-window-below, split-window-right): Rename from
9721 split-window-above-each-other and split-window-side-by-side
9722 respectively. All callers changed.
9723 (split-window-sensibly, split-window-sensibly): Use them.
9724 (split-window-keep-point): Doc fix.
9725
9726 * isearch.el: Add isearch-scroll property to split-window-below
9727 and split-window-right.
9728
9729 * follow.el (follow-mode):
9730 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9731 * progmodes/ada-xref.el (ada-gdb-application):
9732 * emulation/vip.el (vip-buffer-in-two-windows):
9733 * image-dired.el (image-dired-dired-with-window-configuration):
9734 * dired-x.el (dired-do-find-marked-files):
9735 * dired.el (dired-pop-to-buffer):
9736 * bs.el (bs--show-with-configuration):
9737 * vc/emerge.el (emerge-setup-windows):
9738 * textmodes/two-column.el (2C-two-columns):
9739 * textmodes/reftex-toc.el (reftex-toc):
9740 * progmodes/gdb-mi.el (gdb-setup-windows):
9741 * progmodes/fortran.el (fortran-window-create):
9742 * net/newst-treeview.el (newsticker--treeview-window-init):
9743 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9744 * emulation/tpu-edt.el (tpu-gold-map):
9745 * emulation/crisp.el (crisp-mode-map):
9746 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9747
38bb2ca8
CY
97482011-10-29 Chong Yidong <cyd@gnu.org>
9749
aa4de341
CY
9750 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9751
e1eb5385
CY
9752 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9753
5d2ece3c
CY
9754 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9755 forged Ispell output (Bug#7904).
9756
38bb2ca8
CY
9757 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9758
d0af9f77
SM
97592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * doc-view.el: Avoid ugly errors about not finding nil.
9762 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9763 (doc-view-dvipdf-program, doc-view-unoconv-program)
9764 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9765 Avoid nil or absolute file name as default value.
9766 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9767
52bedd34
AM
97682011-10-28 Alan Mackenzie <acm@muc.de>
9769
db22a3c2 9770 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9771
7e43cfa5
AM
97722011-10-28 Alan Mackenzie <acm@muc.de>
9773
9774 Amend the handling of c-beginning/end-of-defun in nested declaration
9775 scopes.
9776
52bedd34
AM
9777 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9778 cc-langs.el. Change it to a defcustom.
7e43cfa5 9779
52bedd34
AM
9780 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9781 cc-vars.el.
7e43cfa5 9782
d0af9f77
SM
9783 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9784 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9785
52bedd34 9786 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9787 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9788 (c-widen-to-enclosing-decl-scope): New function.
9789 (c-while-widening-to-decl-block): New macro.
9790 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9791 outward for defun boundaries, and correspondingly change symbol
9792 `respect-enclosure' to `go-outward'.
9793 (c-declaration-limits): Change algorithm to report only the "innermost"
9794 defun's boundaries.
9795
1a2ce9ee
DD
97962011-10-28 Deniz Dogan <deniz@dogan.se>
9797
9798 * net/rcirc.el (rcirc-mode): Use hard newlines.
9799
bc97a826
AM
98002011-10-28 Alan Mackenzie <acm@muc.de>
9801
9802 Amend to indent and fontify macros "which include their own semicolon"
9803 correctly, using the "virtual semicolon" mechanism.
9804
52bedd34 9805 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9806
d0af9f77 9807 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9808 Recode to scan one line at a time rather than having \n and \r
58179cce 9809 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9810 (c-forward-label): Amend for virtual semicolons.
58179cce 9811 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9812
52bedd34
AM
9813 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9814 of the new C macros.
bc97a826 9815
52bedd34 9816 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9817 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9818 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9819 (c-opt-cpp-macro-define): Make into a full language variable.
9820 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9821 AWK Mode (including \n, \r) removed, no longer needed.
9822
d0af9f77
SM
9823 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9824 Invoke c-make-macro-with-semi-re.
bc97a826 9825
52bedd34
AM
9826 * progmodes/cc-vars.el (c-macro-with-semi-re):
9827 (c-macro-names-with-semicolon): New variables.
58179cce 9828 (c-make-macro-with-semi-re): New function.
bc97a826 9829
7a6c0941
SM
98302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * vc/log-edit.el: Fill empty field rather than adding new one.
9833 (log-edit-add-field): New function.
9834 (log-edit-insert-changelog): Use it.
9835
b0c4cdcf
ML
98362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9837
9838 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9839
ee1f1da9
SM
98402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9843 (gdb--check-interpreter): New function.
9844 (gdb): Use it.
9845
51bc5f8b
GM
98462011-10-27 Glenn Morris <rgm@gnu.org>
9847
416a2c45
GM
9848 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9849 (least-positive-float, least-negative-float)
9850 (least-positive-normalized-float, least-negative-normalized-float)
9851 (float-epsilon, float-negative-epsilon):
9852 Remove unnecessary declarations.
9853
9854 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9855 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9856 (least-positive-float, least-negative-float)
9857 (least-positive-normalized-float, least-negative-normalized-float)
9858 (float-epsilon, float-negative-epsilon): Add doc-strings,
9859 based on those in cl.texi.
9860
51bc5f8b
GM
9861 * files.el (set-visited-file-name): If the major-mode changed,
9862 reload the local variables. (Bug#9796)
9863
15de15c6
CY
98642011-10-27 Chong Yidong <cyd@gnu.org>
9865
9866 * subr.el (change-major-mode-after-body-hook): New hook.
9867 (run-mode-hooks): Run it.
9868
ee1f1da9
SM
9869 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9870 Use change-major-mode-before-body-hook.
15de15c6
CY
9871
9872 * simple.el (fundamental-mode):
9873 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9874 change introducing fundamental-mode-hook.
9875
5430d399
JB
98762011-10-26 Juanma Barranquero <lekktu@gmail.com>
9877
acc825c5 9878 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9879
ad74a69e
MA
98802011-10-26 Michael Albinus <michael.albinus@gmx.de>
9881
9882 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9883 tramp.el explicitly. (Bug#7583)
ad74a69e 9884
71d4c2a5
SM
98852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * progmodes/octave-mod.el:
9888 * progmodes/octave-inf.el: Update maintainer.
9889
b1f6fa26
CY
98902011-10-26 Chong Yidong <cyd@gnu.org>
9891
9892 * subr.el (with-wrapper-hook): Rewrite doc.
9893
3f04efd6
MA
98942011-10-25 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9897 filenames "/method:foo:". (Bug#9793)
3f04efd6 9898
410488d3
SM
98992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9902 (bug#9865).
9903
c1ebb47e
GM
99042011-10-24 Glenn Morris <rgm@gnu.org>
9905
9906 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9907
7f5c46c7
MA
99082011-10-24 Michael Albinus <michael.albinus@gmx.de>
9909
9910 * notifications.el: Add the requirement of a running D-Bus session
9911 bus to the Commentary.
9912
db2440b6
JL
99132011-10-24 Juri Linkov <juri@jurta.org>
9914
9915 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9916 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9917 (Bug#9364)
9918
feecf435
JL
99192011-10-24 Juri Linkov <juri@jurta.org>
9920
9921 * info.el (Info-following-node-name-re): Add newline to the list
9922 of allowed characters for leading space. (Bug#9824)
9923
a3839de2
SM
99242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9925
acc825c5
SM
9926 * progmodes/octave-inf.el (inferior-octave-mode-map):
9927 Fix C-c C-h binding.
a3839de2
SM
9928 * progmodes/octave-mod.el (octave-help): Remove.
9929
09388e76
MA
99302011-10-23 Michael Albinus <michael.albinus@gmx.de>
9931
9932 Sync with Tramp 2.2.3.
9933
9934 * net/tramp-cache.el (top): Pacify byte-compiler using
9935 `init-file-user' and `site-run-file'.
9936
9937 * net/trampver.el: Update release number.
9938
86c60681
CY
99392011-10-23 Chong Yidong <cyd@gnu.org>
9940
9941 * files.el (toggle-read-only): Remove obsolete comment about
9942 version control.
9943
9944 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9945 for toggle-read-only. Note that this hasn't called vc-next-action
9946 since 2008-05-02, though it wasn't documented at the time.
9947
a3839de2
SM
9948 * vc/ediff-init.el (ediff-toggle-read-only-function):
9949 Use toggle-read-only.
86c60681 9950
cd5495ff
AM
99512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9952
9953 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9954 of c-parse-state.
9955
00b77525 9956 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9957 correct faulty logical expression.
cd5495ff
AM
9958 (c-parse-state-state, c-record-parse-state-state):
9959 (c-replay-parse-state-state): New defvar/defuns.
9960 (c-debug-parse-state): Use new functions.
9961
42ee24ed
MR
99622011-10-22 Martin Rudalics <rudalics@gmx.at>
9963
9964 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9965 last fix. Use window-in-direction correctly.
42ee24ed 9966
a7dee7e7
CY
99672011-10-21 Chong Yidong <cyd@gnu.org>
9968
9969 * progmodes/idlwave.el (idlwave-mode):
9970 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9971 require-final-newline; that's done in prog-mode.
9972 Suggested by Stefan Monnier.
a7dee7e7 9973
e07b9a6d
MR
99742011-10-21 Martin Rudalics <rudalics@gmx.at>
9975
9976 * mouse.el (mouse-drag-window-above)
9977 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9978 (mouse-drag-mode-line-1, mouse-drag-header-line)
9979 (mouse-drag-vertical-line-rightward-window): Remove.
9980 (mouse-drag-line): New function.
9981 (mouse-drag-mode-line, mouse-drag-header-line)
9982 (mouse-drag-vertical-line): Call mouse-drag-line.
9983 * window.el (window-at-side-p, windows-at-side): New functions.
9984
7e1361d9
UM
99852011-10-21 Ulrich Mueller <ulm@gentoo.org>
9986
9987 * tar-mode.el (tar-grind-file-mode):
9988 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9989
30fcaf3a
CY
99902011-10-21 Chong Yidong <cyd@gnu.org>
9991
9992 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9993 * progmodes/vera-mode.el (vera-mode):
9994 Use mode-require-final-newline.
30fcaf3a 9995
516eddb0
GM
99962011-10-20 Glenn Morris <rgm@gnu.org>
9997
db22a3c2 9998 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9999
10d5f513
CS
100002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10001
10002 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10003
ac6c8639
CY
100042011-10-20 Chong Yidong <cyd@gnu.org>
10005
10006 * emulation/cua-base.el (cua-mode):
10007 * mail/footnote.el (footnote-mode):
10008 * mail/mailabbrev.el (mail-abbrevs-mode):
10009 * net/xesam.el (xesam-minor-mode):
10010 * progmodes/bug-reference.el (bug-reference-mode):
10011 * progmodes/cap-words.el (capitalized-words-mode):
10012 * progmodes/compile.el (compilation-minor-mode)
10013 (compilation-shell-minor-mode):
10014 * progmodes/gud.el (gud-tooltip-mode):
10015 * progmodes/hideif.el (hide-ifdef-mode):
10016 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10017 * progmodes/subword.el (subword-mode):
10018 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10019 * progmodes/which-func.el (which-function-mode):
10020 * term/tvi970.el (tvi970-set-keypad-mode):
10021 * term/vt100.el (vt100-wide-mode):
10022 * textmodes/flyspell.el (flyspell-mode):
10023 * textmodes/ispell.el (ispell-minor-mode):
10024 * textmodes/nroff-mode.el (nroff-electric-mode):
10025 * textmodes/paragraphs.el (use-hard-newlines):
10026 * textmodes/refill.el (refill-mode):
10027 * textmodes/reftex.el (reftex-mode):
10028 * textmodes/rst.el (rst-minor-mode):
10029 * textmodes/sgml-mode.el (html-autoview-mode)
10030 (sgml-electric-tag-pair-mode):
10031 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10032 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10033 * emulation/crisp.el (crisp-mode):
10034 * emacs-lisp/eldoc.el (eldoc-mode):
10035 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10036 minor mode behavior.
10037
aa42ab43
JL
100382011-10-19 Juri Linkov <juri@jurta.org>
10039
10040 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10041 the list of hard-coded chars with escape-glyph face.
10042
89400f1d
SM
100432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10046
305c07f6
MA
100472011-10-19 Michael Albinus <michael.albinus@gmx.de>
10048
10049 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10050 running process.
10051
13754b54
GM
100522011-10-19 Glenn Morris <rgm@gnu.org>
10053
10054 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10055 Ignore ignored files. (Bug#9726)
10056
06e21633
CY
100572011-10-19 Chong Yidong <cyd@gnu.org>
10058
10059 Doc fix for minor modes, stating that an omitted argument enables
10060 the mode unconditionally when called from Lisp.
10061
10062 * abbrev.el (abbrev-mode):
10063 * allout.el (allout-mode):
10064 * autoinsert.el (auto-insert-mode):
10065 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10066 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10067 (global-auto-revert-mode):
10068 * battery.el (display-battery-mode):
10069 * composite.el (global-auto-composition-mode)
10070 (auto-composition-mode):
10071 * delsel.el (delete-selection-mode):
10072 * desktop.el (desktop-save-mode):
10073 * dired-x.el (dired-omit-mode):
10074 * dirtrack.el (dirtrack-mode):
10075 * doc-view.el (doc-view-minor-mode):
10076 * double.el (double-mode):
10077 * electric.el (electric-indent-mode, electric-pair-mode):
10078 * emacs-lock.el (emacs-lock-mode):
10079 * epa-hook.el (auto-encryption-mode):
10080 * follow.el (follow-mode):
10081 * font-core.el (font-lock-mode):
10082 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10083 * help.el (temp-buffer-resize-mode):
10084 * hilit-chg.el (highlight-changes-mode)
10085 (highlight-changes-visible-mode):
10086 * hi-lock.el (hi-lock-mode):
10087 * hl-line.el (hl-line-mode, global-hl-line-mode):
10088 * icomplete.el (icomplete-mode):
10089 * ido.el (ido-everywhere):
10090 * image-file.el (auto-image-file-mode):
10091 * image-mode.el (image-minor-mode):
10092 * iswitchb.el (iswitchb-mode):
10093 * jka-cmpr-hook.el (auto-compression-mode):
10094 * linum.el (linum-mode):
10095 * longlines.el (longlines-mode):
10096 * master.el (master-mode):
10097 * mb-depth.el (minibuffer-depth-indicate-mode):
10098 * menu-bar.el (menu-bar-mode):
10099 * minibuf-eldef.el (minibuffer-electric-default-mode):
10100 * mouse-sel.el (mouse-sel-mode):
10101 * msb.el (msb-mode):
10102 * mwheel.el (mouse-wheel-mode):
10103 * outline.el (outline-minor-mode):
10104 * paren.el (show-paren-mode):
10105 * recentf.el (recentf-mode):
10106 * reveal.el (reveal-mode, global-reveal-mode):
10107 * rfn-eshadow.el (file-name-shadow-mode):
10108 * ruler-mode.el (ruler-mode):
10109 * savehist.el (savehist-mode):
10110 * scroll-all.el (scroll-all-mode):
10111 * scroll-bar.el (scroll-bar-mode):
10112 * server.el (server-mode):
10113 * shell.el (shell-dirtrack-mode):
10114 * simple.el (auto-fill-mode, transient-mark-mode)
10115 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10116 (line-number-mode, column-number-mode, size-indication-mode)
10117 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10118 * strokes.el (strokes-mode):
10119 * time.el (display-time-mode):
10120 * t-mouse.el (gpm-mouse-mode):
10121 * tool-bar.el (tool-bar-mode):
10122 * tooltip.el (tooltip-mode):
10123 * type-break.el (type-break-mode-line-message-mode)
10124 (type-break-query-mode):
10125 * view.el (view-mode):
10126 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10127 (global-whitespace-mode, global-whitespace-newline-mode):
10128 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10129
a3839de2
SM
10130 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10131 Fix autogenerated docstring.
06e21633 10132
5214e501
JL
101332011-10-19 Juri Linkov <juri@jurta.org>
10134
10135 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10136 by checking environment variables "DESKTOP_SESSION" and
10137 "XDG_CURRENT_DESKTOP". (Bug#9779)
10138
195f8db9
JL
101392011-10-19 Juri Linkov <juri@jurta.org>
10140
10141 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10142 (browse-url-chromium-program, browse-url-chromium-arguments):
10143 New defcustoms.
10144 (browse-url-default-browser): Check for `browse-url-chromium' and
10145 call `browse-url-chromium-program'.
10146 (browse-url-chromium): New command. (Bug#9779)
10147
343a34ff
JB
101482011-10-18 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * facemenu.el (list-colors-duplicates): On Windows, detect more
10151 duplicates by assuming that only colors matching "^System" are
10152 special "system colors". (Bug#9722)
10153
6978a151
SM
101542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10157 to distinguish the author from the committer.
10158
6a80b297
MA
101592011-10-18 Michael Albinus <michael.albinus@gmx.de>
10160
10161 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10162
b31a5677
JK
101632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10164
10165 * international/mule.el (sgml-html-meta-auto-coding-function):
10166 Add support for detecting encoding in HTML5 specified only as
10167 <meta charset="UTF-8">. Implementation just makes http-equiv and
10168 content-type parts from HTML4 encoding string optional. (Bug#9716)
10169
80c6d77f
GM
101702011-10-18 Glenn Morris <rgm@gnu.org>
10171
10172 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10173
08b0fee8
CY
101742011-10-18 Chong Yidong <cyd@gnu.org>
10175
10176 * faces.el (cursor): Doc fix.
10177
67e729a5
CY
101782011-10-17 Chong Yidong <cyd@gnu.org>
10179
10180 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10181
343a34ff 101822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10183
10184 * dirtrack.el (dirtrack): Support shell buffers with path
10185 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10186
0bc06380
TZ
101872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10188
10189 * json.el: Bump version to 1.3 and note change in History.
10190 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10191
8b79f3e0
SM
101922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10193
5a7c536b
SM
10194 * comint.el (comint-insert-input, comint-send-input)
10195 (comint-get-old-input-default, comint-backward-matching-input)
10196 (comint-next-prompt): Use nil instead of `input' for field property of
10197 past user input (bug#114).
10198
96a8a0df
SM
10199 * minibuffer.el (completion--replace): Inherit surrounding properties
10200 (bug#114).
10201 (minibuffer-complete-and-exit): Use it.
10202
8b79f3e0
SM
10203 * comint.el (comint--table-subvert): Quote the all-completions output
10204 (bug#9160).
10205
b8f7ff0d
MR
102062011-10-17 Martin Rudalics <rudalics@gmx.at>
10207
8b79f3e0 10208 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10209
b8f7ff0d 10210 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10211 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10212 entries and separate them from frame entries.
10213
c235b555
GM
102142011-10-15 Glenn Morris <rgm@gnu.org>
10215
10216 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10217 Doc fixes.
10218
6bbfa6e1
CY
102192011-10-15 Chong Yidong <cyd@stupidchicken.com>
10220
8b79f3e0
SM
10221 * net/network-stream.el (network-stream-open-starttls):
10222 Improve detection of failure due to lack of TLS support.
ec5c990d 10223
6bbfa6e1
CY
10224 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10225 putting the input text in front and in bold.
10226
98488977
SM
102272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10228
3d1337be
SM
10229 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10230
ee0b45e4
SM
10231 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10232 empty buffer.
10233
98488977
SM
10234 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10235 unread-command-events rather than pushing yet-another event.
10236
186f4720
EZ
102372011-10-14 Eli Zaretskii <eliz@gnu.org>
10238
10239 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10240 the explanation of the possible choices. Make the options passed
10241 to completing-read shorter.
10242
8b7a997c
AM
102432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10244
10245 * textmodes/flyspell.el (flyspell-large-region): Make sure
10246 extended character mode is used if defined (Bug#1339).
10247
12587bbb
EZ
102482011-10-13 Eli Zaretskii <eliz@gnu.org>
10249
10250 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10251 character info for LRE, LRO, RLE, and RLO characters by appending
10252 an invisible PDF.
12587bbb 10253
bad41229
SM
102542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10257 even in case of error; add debug spec; simplify data flow.
10258 (with-timeout-handler): Remove.
10259
28dbc92f
MA
102602011-10-12 Michael Albinus <michael.albinus@gmx.de>
10261
10262 Fix Bug#6019, Bug#9315.
10263
10264 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10265 complete `buffer-file-name', the local file name part could look
10266 remotely (for example on VMS).
10267
10268 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10269 `tramp-run-real-handler'.
10270 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10271 already quoted by '"'.
10272
10273 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10274 Let `file-name-handler-alist' be nil, the local file name part
10275 could look remotely (for example on VMS).
10276
e1b0b23a
SM
102772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10280 from here...
10281 (flyspell-post-command-hook): ...to here.
10282
a120bde9
SM
102832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10286 if not needed.
10287 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10288 using completion. Protect against "slow" callers.
10289 Remove the "message hack".
10290
7ce7717b
JL
102912011-10-11 Juri Linkov <juri@jurta.org>
10292
10293 * isearch.el (isearch-lazy-highlight-word): New variable.
10294 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10295 Use it. (Bug#9727)
10296
c02ee9d6
GM
102972011-10-11 Glenn Morris <rgm@gnu.org>
10298
10299 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10300 like f90-previous-statement does.
10301
93e616fd 103022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10303
1f190e73 10304 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10305 only in interactive use, to avoid error.
10306
af7b6078
SM
103072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * minibuffer.el (completion-file-name-table): Fix last change,
10310 i.e. ignore normal errors but not the other ones.
10311
0563dae9
MR
103122011-10-10 Martin Rudalics <rudalics@gmx.at>
10313
10314 * window.el (special-display-buffer-names)
10315 (special-display-regexps): Remove some remnants of earlier
10316 changes from doc-strings.
366ca7f3
MR
10317 (quit-windows-on): New function.
10318
10319 * vc/vc.el (vc-revert, vc-rollback):
10320 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10321 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10322 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10323
49677495
MR
103242011-10-09 Martin Rudalics <rudalics@gmx.at>
10325
10326 * window.el (frame-auto-hide-function): Add version tag.
10327 (Bug#9699)
10328
56f2d1e1
MA
103292011-10-09 Michael Albinus <michael.albinus@gmx.de>
10330
10331 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10332 condition.
10333
112a6592
LL
103342011-10-09 Leo Liu <sdl.web@gmail.com>
10335
10336 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10337 (Bug#9701)
10338
0812589b
GM
103392011-10-08 Glenn Morris <rgm@gnu.org>
10340
10341 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10342 before the first code statement zero indent. (Bug#9690)
10343
b2b0776e
CY
103442011-10-08 Chong Yidong <cyd@stupidchicken.com>
10345
10346 * simple.el (count-words-region): Always count in the region.
10347 Report the number of lines and characters too.
10348 (count-words): New command, which counts in the buffer if the
10349 region is inactive, as count-words-region used to.
10350 (count-words--message): New function. Handle plurals.
10351 (count-lines-region): Make it an alias for count-words-region.
10352
10353 * bindings.el (esc-map): Replace count-lines-region with
10354 count-words-region.
10355
c557cd6b
MR
103562011-10-08 Martin Rudalics <rudalics@gmx.at>
10357
10358 * window.el (window--delete): Delete dedicated frame
10359 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10360 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10361
61a57ef4 103622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10363
3a7d293b 10364 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10365
c3833279
CY
103662011-10-07 Chong Yidong <cyd@stupidchicken.com>
10367
10368 * bindings.el ([M-left],[M-right]): Bind to left-word and
10369 right-word respectively.
10370
21ce8245
GM
103712011-10-07 Glenn Morris <rgm@gnu.org>
10372
10373 * cus-start.el (debug-on-quit): Fix custom type.
10374
6d823bb2
LMI
103752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10376
0181e193
LMI
10377 * subr.el (define-key-after): Clarify that the function is not
10378 useful for non-menu keymaps.
10379
6d823bb2
LMI
10380 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10381
8e3459ce 103822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10383
21ce8245 10384 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10385 in current minibuffer (Fix bug with recursive minibuffers).
10386
a1c2d21e
CY
103872011-10-06 Chong Yidong <cyd@stupidchicken.com>
10388
10389 * progmodes/gdb-mi.el (gdb): Doc fix.
10390
5a4cf282
MR
103912011-10-05 Martin Rudalics <rudalics@gmx.at>
10392
10393 * window.el (frame-auto-hide-function): New option replacing
10394 frame-auto-delete. Suggested by Stefan Monnier.
10395 (window--delete): Call frame-auto-hide-function instead of
10396 investigating frame-auto-delete.
c96111ea
MR
10397 (window-point-1, set-window-point-1): New functions.
10398 (window-in-direction, record-window-buffer, window-state-get-1)
10399 (display-buffer-record-window): Use window-point-1 instead of
10400 window-point.
10401 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10402
9854542e
SM
104032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10406
8943cfb0
GM
104072011-10-05 Glenn Morris <rgm@gnu.org>
10408
10409 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10410 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10411
647ab967
LL
104122011-10-05 Leo Liu <sdl.web@gmail.com>
10413
10414 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10415 works with buffer object.
10416
3ddfbced
SM
104172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 * mpc.el (mpc-tool-bar-map): Add labels.
10420
bdfa5dd2
GM
104212011-10-04 Glenn Morris <rgm@gnu.org>
10422
10423 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10424
0e2070b5
MR
104252011-10-04 Martin Rudalics <rudalics@gmx.at>
10426
10427 * window.el (window--delete): New function.
10428 (frame-auto-delete): Resuscitate option.
10429 (bury-buffer, replace-buffer-in-windows)
10430 (quit-window): Rewrite using window--delete.
10431 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10432 Pass display-buffer-mark-dedicated to window--display-buffer-2
10433 (Bug#9639).
10434
3dc61a09
SM
104352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10436
915a9b64
SM
10437 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10438 returns a list (bug#9554). Add remote file name completion.
10439 * comint.el (comint--table-subvert): Curry and get quote&unquote
10440 functions as arguments.
10441 (comint--complete-file-name-data): Adjust call accordingly.
10442 * pcomplete.el (pcomplete--table-subvert): Remove.
10443 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10444
3dc61a09
SM
10445 * minibuffer.el (completion-table-case-fold): Use currying.
10446 (completion--styles-type, completion--cycling-threshold-type):
10447 New constants.
10448 (completion-styles, completion-category-overrides)
10449 (completion-cycle-threshold): Use them.
10450 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10451 completion-table-case-fold.
10452
8ea0a993
SB
104532011-10-03 Stephen Berman <stephen.berman@gmx.net>
10454
10455 * minibuffer.el (completion-category-overrides): Fix type of styles
10456 and add more user friendly tags (bug#9660).
10457
8c24b7f6
SM
104582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10461 (mule-input-method-string): New widget.
10462 (default-input-method, language-info-custom-alist): Use it.
10463
428fe61a
SM
104642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10465
32c1fffd
SM
10466 * pcomplete.el: Require comint.
10467 (pcomplete--common-suffix): Remove.
10468 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10469 (pcomplete--table-subvert): Sync with comint--table-subvert.
10470 (pcomplete--entries): Use comint-completion-file-name-table.
10471 * comint.el (comint-unquote-filename): Simplify.
10472 (comint-completion-file-name-table): New function (bug#9616).
10473 (comint--complete-file-name-data): Use it.
10474
428fe61a
SM
10475 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10476 (pcmpl-gnu-tar-buffer): Remove.
10477 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10478 around. Make sure pcomplete-suffix-list is only changed temporarily.
10479 Don't look inside the tar's file if it's too large.
428fe61a 10480
04c52e2f
CY
104812011-10-01 Chong Yidong <cyd@stupidchicken.com>
10482
ce3cefcc
CY
10483 * cus-edit.el (custom-mode-map):
10484 * epa.el (epa-key-list-mode-map):
10485 * man.el (Man-mode-map):
10486 * startup.el (splash-screen-keymap):
10487 * simple.el (special-mode-map): Use scroll-up-command and
10488 scroll-down-command.
10489
10490 * progmodes/idlw-help.el (idlwave-help-mode-map):
10491 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10492 * net/newst-plainview.el (newsticker-mode-map):
10493 * emulation/ws-mode.el (wordstar-mode-map):
10494 * emulation/vi.el (vi-com-map):
10495 * calc/calc-graph.el (calc-graph-show-dumb):
10496 * term/sun.el (terminal-init-sun):
10497 * term/ns-win.el (global-map):
10498 * progmodes/grep.el (grep-mode-map):
10499 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10500 * mail/rmail.el (rmail-mode-map):
10501 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10502
04c52e2f
CY
10503 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10504 custom-safe-themes as special.
10505
79adf8c8
JD
105062011-10-01 Julien Danjou <julien@danjou.info>
10507
10508 * notifications.el (notifications-notify): Fix docstring.
10509
63bd50d3
PS
105102011-10-01 Per Starbäck <per@starback.se>
10511
10512 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10513
199e4c7e
MR
105142011-09-30 Martin Rudalics <rudalics@gmx.at>
10515
10516 * startup.el (command-line-1): Fix last fix by inserting
10517 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10518 (Bug#9605) and (Bug#9636)
199e4c7e 10519
fe5f08dd
EZ
105202011-09-29 Eli Zaretskii <eliz@gnu.org>
10521
10522 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10523 window is hscrolled, move by logical lines. (Bug#9607)
10524 (line-move-visual): Update the doc string to the above effect.
10525
b5516bbd
MR
105262011-09-29 Martin Rudalics <rudalics@gmx.at>
10527
ccee00c0
MR
10528 * window.el (display-buffer-record-window): When WINDOW is the
10529 selected window use `point' instead of `window-point'. (Bug#9626)
10530
b5516bbd
MR
10531 * startup.el (command-line-1): Use insert-before-markers when
10532 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10533
b5516bbd
MR
10534 * help.el (help-window): Remove variable.
10535
52aa0014
GM
105362011-09-29 Glenn Morris <rgm@gnu.org>
10537
10538 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10539
df9a7357
JB
105402011-09-29 Juanma Barranquero <lekktu@gmail.com>
10541
10542 * descr-text.el (describe-char-categories): Accept category
10543 descriptions more than one line long.
10544
a8406c20
SM
105452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10546
88d9610c
SM
10547 * simple.el (delete-trailing-whitespace): Fix last change.
10548
a5daf810
SM
10549 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10550 Don't confuse "y => 3" as the beginning of a `y' operation.
10551
a8406c20
SM
10552 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10553 object has more than 4 slots (bug#9613).
10554
a239d4e9
JB
105552011-09-28 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * subr.el (with-output-to-temp-buffer):
10558 * net/quickurl.el (quickurl, quickurl-browse-url):
10559 Fix typos in docstrings.
10560
693fbdb6
EZ
105612011-09-27 Eli Zaretskii <eliz@gnu.org>
10562
10563 * minibuffer.el (completion-styles)
10564 (completion-category-overrides): Cross reference each other in doc
10565 strings.
10566
8b457e28
GM
105672011-09-27 Glenn Morris <rgm@gnu.org>
10568
10569 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10570 to split-string. (Bug#9606)
10571
85a16208
LMI
105722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
10574 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10575 (bug#9615).
10576
502f9ebd
CY
105772011-09-27 Chong Yidong <cyd@stupidchicken.com>
10578
10579 * emacs-lisp/package.el (list-packages): Fix echo area message.
10580
7690bdea
LL
105812011-09-27 Leo Liu <sdl.web@gmail.com>
10582
10583 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10584
e2ee6f30
MA
105852011-09-25 Michael Albinus <michael.albinus@gmx.de>
10586
10587 * net/dbus.el (dbus-unregister-object): Don't release services for
10588 registered signals. (Bug#9581)
10589
f3f98342
TZ
105902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10591
10592 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10593 function that picks between cfengine 2 and 3 support
10594 automatically. Update docs accordingly.
10595
dd7aa8dd
KH
105962011-09-22 Kenichi Handa <handa@m17n.org>
10597
10598 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10599 ZERO.
10600 (indian-itrans-v5-table-for-tamil): New variable.
10601 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10602
3f2b07f8
KM
106032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10604
10605 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10606 that's true if the current command involved collapsing of text.
10607 It's reset to false at the beginning of the next command.
10608 (allout-post-command-business): Move the cursor to the beginning
10609 of entry if the cursor is hidden and collapsing activity just
10610 happened.
10611
371d6a61
CY
106122011-09-24 Chong Yidong <cyd@stupidchicken.com>
10613
10614 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10615 tracking (Bug#9541).
10616
2ac2721a
UJ
106172011-09-24 Ulf Jasper <ulf.jasper@web.de>
10618
10619 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10620 (newsticker-show-news): Automatically load html rendering package
10621 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10622 because w3m-fill-column is let-bound" and the error "Symbol's value
10623 as variable is void: w3m-fill-column".
2ac2721a 10624
fac7ae53
MA
106252011-09-24 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10628 Release services only if they are defined. (Bug#9581)
10629
e08b633b
RS
106302011-09-23 Richard Stallman <rms@gnu.org>
10631
e488d29c
RS
10632 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10633 distinguish start of paragraph from start of its text.
10634
19c38752
RS
10635 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10636
e08b633b
RS
10637 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10638 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10639 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10640
0a39f27e
AS
106412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * international/mule-diag.el (mule-diag): Insert a newline after
10644 each fontset description.
10645
db4e950d
SM
106462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * simple.el (delete-trailing-whitespace):
10649 Document last change; simplify.
10650
eca3f3ea
PW
106512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10652
d68e189a
PW
10653 * simple.el (delete-trailing-whitespace): Also delete
10654 extra newlines at the end of the buffer.
10655
eca3f3ea
PW
10656 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10657 (picture-newline): Use forward-line so as to ignore fields.
10658
01c157cc
SM
106592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * subr.el (with-wrapper-hook): Fix edebug spec.
10662
022de23e
LMI
106632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664
10665 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10666 (bug#4538).
10667
91683089
MA
106682011-09-23 Michael Albinus <michael.albinus@gmx.de>
10669
eca3f3ea
PW
10670 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10671 Fix nasty bug using wrong cached values.
91683089 10672
5bdd6fa4
AM
106732011-09-23 Alan Mackenzie <acm@muc.de>
10674
10675 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10676
97adfb97
CY
106772011-09-23 Chong Yidong <cyd@stupidchicken.com>
10678
10679 * window.el (pop-to-buffer): Ensure right window is selected if we
10680 chose another frame.
10681
d4ef2b50
EZ
106822011-09-22 Eli Zaretskii <eliz@gnu.org>
10683
10684 * simple.el (what-cursor-position): Use get-char-property-change
10685 and next-single-char-property-change, to be able to show display
10686 properties that come from overlays as well as text properties.
10687
72258fe5
CY
106882011-09-22 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10691
10692 * cmuscheme.el (run-scheme, switch-to-scheme):
10693 * cus-edit.el (customize-group, custom-buffer-create)
10694 (customize-browse):
10695 * info.el (info):
10696 * shell.el (shell):
10697 * mail/sendmail.el (mail):
10698 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10699
8f098516
RS
107002011-09-22 Richard Stallman <rms@gnu.org>
10701
10702 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10703 move back only to line beg, don't move back over blank lines.
10704
e74f1bb6
MA
107052011-09-22 Michael Albinus <michael.albinus@gmx.de>
10706
10707 * files.el (copy-directory): Set directory attributes only in case
10708 they could be retrieved from the source directory. (Bug#9565)
10709
bfeef8b6
DK
107102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10711
10712 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10713 (hs-find-block-beginning, hs-hide-level-recursive):
10714 Ignore strings as well as comments. (Bug#9502)
10715
7e423bb8
AS
107162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10717
10718 * progmodes/sql.el (sql-comint-postgres):
10719 Convert port number to a string. (Bug#9566)
10720
b4d72fcf
MR
107212011-09-22 Martin Rudalics <rudalics@gmx.at>
10722
10723 * window.el (quit-window): Undedicate window when switching to
10724 previous buffer. Reported by Thierry Volpiatto
10725 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10726 (special-display-popup-frame): When popping up a new frame reset
10727 its previous buffers to nil. Simplify code.
b4d72fcf 10728
a7b88dc6
MA
107292011-09-21 Michael Albinus <michael.albinus@gmx.de>
10730
10731 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10732 and process filter, as done also in `shell-command'.
10733
cf4eacfd
MR
107342011-09-21 Martin Rudalics <rudalics@gmx.at>
10735
eca3f3ea 10736 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10737 Call set-window-start with NOFORCE argument t.
10738 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10739 (quit-window): Reword doc-string. Handle new format of
10740 quit-restore parameter. Don't delete window if it has a
10741 previous buffer we can show instead of the present one.
10742 (display-buffer-record-window): Rewrite using a new format for
10743 the quit-restore window parameter
10744 (special-display-popup-frame, display-buffer-same-window)
10745 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10746 (display-buffer-pop-up-window, display-buffer-use-some-window):
10747 Adapt symbol passed to display-buffer-record-window.
10748 * help.el (help-window-setup): Handle new format of quit-restore
10749 parameter.
10750
8d28cb95
SM
107512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10752
94ab793f
SM
10753 * faces.el (face-list): Fix docstring (bug#9564).
10754
8d28cb95
SM
10755 * window.el (display-buffer--action-function-custom-type):
10756 Don't include internal functions in the Custom interface.
10757
3820edeb
JL
107582011-09-20 Juri Linkov <juri@jurta.org>
10759
10760 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10761 (Info-forward-node, Info-backward-node, Info-next-preorder)
10762 (Info-last-preorder): Use it. (Bug#9528)
10763
5147931d
JL
107642011-09-20 Juri Linkov <juri@jurta.org>
10765
10766 * info.el (Info-last-preorder): Visit last menu item only when
10767 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10768
cf499a1a
JD
107692011-09-20 Julien Danjou <julien@danjou.info>
10770
10771 * password-cache.el (password-cache-remove): Remove entries even if the
10772 value is nil, so that password with a nil value (negative caching) is
10773 possible to invalidate.
10774
f84e2fe2
LM
107752011-09-20 Lawrence Mitchell <wence@gmx.li>
10776
10777 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10778 all whitespace around breakpoint. (Bug#9553)
10779 (f90-find-breakpoint): Only break at whitespace inside a comment.
10780
78054a46
SM
107812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * minibuffer.el (completion-file-name-table): Keep track of errors.
10784 (completion-table-with-predicate): Handle the case where pred1 is nil.
10785 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10786
345083b2
SM
107872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10788
e24e27be
SM
10789 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10790 (debugger-return-value): Signal an error if the debugging context does
10791 not await any return value.
10792
345083b2
SM
10793 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10794 * image-mode.el (image-toggle-display-text)
10795 (image-toggle-display-image): Stay away from evil `intangible'.
10796
08d355e3
LL
107972011-09-19 Leo Liu <sdl.web@gmail.com>
10798
10799 * replace.el (occur-revert-arguments): Make it permanent-local.
10800 (occur-mode): Don't call font-lock-defontify.
10801
f01da43f
CY
108022011-09-19 Chong Yidong <cyd@stupidchicken.com>
10803
10804 * net/ldap.el (ldap-search-internal): Don't push empty search
10805 result (Bug#9508).
10806
b6072fa6
SM
108072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10810
443d6696
MA
108112011-09-19 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10814 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10815
7cc6e154
JL
108162011-09-18 Juri Linkov <juri@jurta.org>
10817
10818 * buff-menu.el (Buffer-menu-mode-map):
10819 * dired.el (dired-mode-map):
10820 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10821 (lisp-interaction-mode-map):
10822 * emacs-lisp/package.el (package-menu-mode-map):
10823 * epa.el (epa-key-list-mode-map):
10824 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10825 (menu-bar-options-menu):
10826 * outline.el (outline-mode-menu-bar-map):
10827 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10828 * vc/vc-dir.el (vc-dir-menu-map):
10829 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10830 Capitalize non-function content words in menu item strings.
10831
10832 * dired.el (dired-mode-map): Add menu item for
10833 `image-dired-dired-toggle-marked-thumbs'.
10834
80302a81
JL
108352011-09-18 Juri Linkov <juri@jurta.org>
10836
10837 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10838 to `isearch-case-fold-search' and restore its original value
10839 after the `isearch-mode' call.
10840
46c5cf66
JL
108412011-09-18 Juri Linkov <juri@jurta.org>
10842
10843 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10844 because `zgrep' returns 1 for successful matches (bug#9226).
10845
d18b513b
JL
108462011-09-18 Juri Linkov <juri@jurta.org>
10847
10848 * info.el (Info-extract-menu-node-name): Check the second match
10849 for empty string (second test-case of bug#9528).
10850 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10851 intermediate nodes to the history (first test-case of bug#9528).
10852
72753f87
JL
108532011-09-18 Juri Linkov <juri@jurta.org>
10854
10855 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10856 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10857
c9384295
JL
108582011-09-18 Juri Linkov <juri@jurta.org>
10859
1154d12e
JB
10860 * info.el (Info-file-supports-index-cookies):
10861 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10862 outputs one more line for long file names (bug#4142).
c9384295 10863
d473dce8
CY
108642011-09-18 Chong Yidong <cyd@stupidchicken.com>
10865
10866 * newcomment.el (comment-normalize-vars): If prompting for
10867 comment-start, set comment-start-skip too (Bug#8424).
10868
2176854d
JB
108692011-09-18 Johan Bockgård <bojohan@gnu.org>
10870
10871 * icomplete.el: Fix previous fix of Bug#5849.
10872 (icomplete-mode): Don't set completion-show-inline-help.
10873 (icomplete-minibuffer-setup): Set completion-show-inline-help
10874 locally during icompletion.
10875
3aace4e4
CY
108762011-09-18 Chong Yidong <cyd@stupidchicken.com>
10877
c940224f
CY
10878 * woman.el (woman2-process-escapes): Don't delete unrecognized
10879 escapes (Bug#7843).
10880
3aace4e4
CY
10881 * files.el (inhibit-first-line-modes-regexps): Add image files.
10882 (hack-local-variables-prop-line): Return nil for malformed
10883 prop-lines (Bug#9044).
10884
710dec63
MA
108852011-09-18 Michael Albinus <michael.albinus@gmx.de>
10886
10887 * net/tramp.el (top): Don't require 'shell.
10888 (tramp-methods): Fix docstring.
10889 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10890 Return complete remote file name. Handle "smb" case.
10891 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10892 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10893
10894 * net/tramp-compat.el (top): Require 'shell.
10895
10896 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10897 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10898 `tramp-current-host'.
10899 (tramp-get-remote-tmpdir): Remove.
10900
10901 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10902 `tramp-tmpdir' entries.
10903 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10904 (tramp-smb-handle-file-attributes): Ignore errors.
10905 (tramp-smb-wait-for-output): Check also for process end.
10906
5d5ac8ec
LMI
109072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908
10909 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10910 when sending QUIT (bug#9312).
10911
8c0f49f0
CY
109122011-09-17 Chong Yidong <cyd@stupidchicken.com>
10913
10914 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10915 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10916 occur-mode-display-occurrence.
10917 (occur-edit-mode): Add usage message.
10918 (occur-cease-edit): New command.
10919 (occur-after-change-function): Use text properties to find the
10920 position of the prefix text.
10921 (occur-engine): Set stickiness of prefix text properties.
10922
8f1383f7
GM
109232011-09-17 Glenn Morris <rgm@gnu.org>
10924
10925 * progmodes/etags.el (complete-tag):
10926 Fix call to completion-in-region. (Bug#9526)
10927
744ba0e3
JL
109282011-09-17 Juri Linkov <juri@jurta.org>
10929
10930 * textmodes/ispell.el (ispell-word): Add to the error message
10931 the word, ispell program name and current dictionary (bug#9121).
10932 (ispell-tex-arg-end): Capitalize "error" in the error message.
10933
d9bbf400
AS
109342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10935
10936 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10937 check. (Bug#4251)
10938
8da11505
JL
109392011-09-17 Juri Linkov <juri@jurta.org>
10940
10941 * window.el (window-safe-min-height, window-safe-min-width):
10942 Fix typos (followup to bug#9522).
10943
a91adc7e
SJ
109442011-09-17 Sven Joachim <svenjoac@gmx.de>
10945
10946 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10947
064f328a
EZ
109482011-09-16 Eli Zaretskii <eliz@gnu.org>
10949
10950 * simple.el (line-move): If goal-column is set, move by logical
10951 lines, not by display lines. (Bug#971)
10952 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10953 to reflect the above change.
10954
e69df516
SM
109552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * image.el (imagemagick-register-types): Use regexp-opt.
10958
cbb0f9ab
CY
109592011-09-15 Chong Yidong <cyd@stupidchicken.com>
10960
10961 * window.el (display-buffer-base-action): Rename from
10962 display-buffer-default-action. Make default value empty.
10963 (display-buffer-overriding-action): Convert to defvar.
10964 (display-buffer-fallback-action): New var.
10965
25322144
CY
109662011-09-15 Chong Yidong <cyd@stupidchicken.com>
10967
10968 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10969 declaration.
10970 (package--add-to-archive-contents): If there is a duplicate entry
10971 with an older version, remove it.
10972 (package-menu-mark-delete, package-menu-mark-install)
10973 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10974 (package-menu-mark-obsolete-for-deletion):
10975 Use package-menu-get-status instead of a regexp search.
25322144
CY
10976 (package-menu-get-status): Use tabulated-list-entry.
10977 (package-menu-mark-upgrades): New command.
d770725a 10978 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10979 (package-menu-execute): Do installation before deletion.
10980 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10981 instead of checking major-mode.
10982 (package-menu--find-upgrades): New function.
10983
7520339c
LMI
109842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985
10986 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10987 passwords in the log buffer.
65a046c4
LMI
10988 (smtpmail-process-filter): Update the process marker so that the
10989 "broken by peer" status message is inserted in the right place.
7520339c 10990
d3c30954
SM
109912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10992
3fe48822
SM
10993 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10994 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10995 bibtex-completion-at-point-function.
10996 (bibtex-completion-at-point-function): Use them.
10997
1b8b3954
SM
10998 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10999
d3c30954
SM
11000 * mpc.el (mpc-constraints-tag-lookup): New function.
11001 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11002 also to browser "album|playlist".
11003
72779976
JL
110042011-09-14 Juri Linkov <juri@jurta.org>
11005
11006 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11007 (isearch-edit-string): Use length of `isearch-string' when
11008 `isearch-fail-pos' returns nil.
11009 (isearch-message): Remove duplicate code and call
11010 `isearch-fail-pos' with arg `t'.
11011
a0bf2bcd
CY
110122011-09-14 Chong Yidong <cyd@stupidchicken.com>
11013
17bb0a2d
CY
11014 * replace.el (occur-mode-goto-occurrence): Don't force using other
11015 window (Bug#9499).
11016
a0bf2bcd
CY
11017 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11018
f678e0b6
MR
110192011-09-14 Martin Rudalics <rudalics@gmx.at>
11020
11021 * window.el (display-buffer-window): Remove.
11022 (display-buffer-record-window): Use help-setup window parameter
11023 instead of variable display-buffer-window.
11024 (display-buffer-function, special-display-buffer-names)
11025 (special-display-function): Mention help-setup parameter instead
11026 of display-buffer-window in doc-string.
d3c30954
SM
11027 * help.el (help-window-setup): New argument help-window.
11028 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11029 Reword some messages.
11030 (with-help-window): Pass window used for displaying the buffer
11031 to help-window-setup. Don't set display-buffer-window.
11032
8e39b2e8
GM
110332011-09-13 Glenn Morris <rgm@gnu.org>
11034
11035 * emacs-lisp/debug.el (debugger-make-xrefs):
11036 Preserve point. (Bug#9462)
11037
85e9c04b
CY
110382011-09-13 Chong Yidong <cyd@stupidchicken.com>
11039
11040 * window.el (window-deletable-p): Use next-frame.
11041
1b36ed6a
MR
110422011-09-13 Martin Rudalics <rudalics@gmx.at>
11043
11044 * window.el (window-auto-delete): Remove.
11045 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11046 dedication and previous buffers.
1b36ed6a
MR
11047 (switch-to-prev-buffer): Don't delete window.
11048 (delete-windows-on): Delete a window's frame if and only if the
11049 window is dedicated.
11050 (replace-buffer-in-windows): Delete buffer's window or frame if
11051 and only if window is dedicated.
11052 (quit-window): Handle quit-restore as before last change.
4d61f28d 11053 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11054
ef8ef9fb
CY
110552011-09-13 Chong Yidong <cyd@stupidchicken.com>
11056
11057 * window.el (window-deletable-p): Never delete the last frame on a
11058 given terminal.
11059
b2cba41e
GM
110602011-09-13 Glenn Morris <rgm@gnu.org>
11061
11062 * help.el (describe-key-briefly): Copy previous standard-output change.
11063
51553db6 110642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11065
11066 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11067
b7556719
GM
110682011-09-13 Glenn Morris <rgm@gnu.org>
11069
11070 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11071 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11072
64b51947
CY
110732011-09-12 Chong Yidong <cyd@stupidchicken.com>
11074
11075 * dired-aux.el (dired-mark-read-string): Don't return default
11076 value on empty input (Bug#9361).
11077 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11078 Omit initial minibuffer contents.
11079 (dired-do-chmod): Signal an error on empty input.
11080 (dired-mark-read-string): Don't return default on empty input.
11081
11082 * files.el (file-modes-symbolic-to-number): Doc fix.
11083
393a301e
SM
110842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * international/mule-cmds.el (ucs-completions): Remove.
11087 (read-char-by-name): Use complete-with-action instead; add metadata.
11088
fa5660f9
CY
110892011-09-11 Chong Yidong <cyd@stupidchicken.com>
11090
11091 * window.el (display-buffer--action-function-custom-type)
11092 (display-buffer--action-custom-type): New vars.
11093 (display-buffer-alist, display-buffer-default-action)
11094 (display-buffer-overriding-action): Add defcustom types.
11095
4a592f66
CY
11096 * frame.el (delete-other-frames): Doc fix (Bug#276).
11097
73d56dbd
LMI
110982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11099
11100 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11101
37ac18a3
CY
111022011-09-11 Chong Yidong <cyd@stupidchicken.com>
11103
11104 Change modes that used same-window-* vars to use switch-to-buffer.
11105
11106 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11107 Use switch-to-buffer.
11108
11109 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11110 (customize-browse, custom-buffer-create-other-window):
11111 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11112
11113 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11114 (Info-prev, Info-up, Info-speedbar-goto-node)
11115 (info-display-manual): Use switch-to-buffer.
11116 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11117
11118 * mail/sendmail.el (mail): Use switch-to-buffer.
11119 (mail-recover): Use switch-to-buffer-other-window.
11120
11121 * cmuscheme.el (run-scheme, switch-to-scheme):
11122 * ielm.el (ielm):
11123 * shell.el (shell):
11124 * net/rlogin.el (rlogin):
11125 * net/telnet.el (telnet, rsh):
11126 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11127
10195bd6
AS
111282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11129
11130 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11131
b322f63a
LMI
111322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11133
39d7fed6
LMI
11134 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11135 so don't mention it (bug#9301).
ba5a81f1 11136 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11137
ee0e9f11
LMI
11138 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11139 match `x', `w32' and `ns', like the manual says (bug#9029).
11140
0b1c89c1 11141 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11142 (process-kill-buffer-query-function): Mention the buffer name in
11143 the query.
0b1c89c1 11144
77549ea8
LMI
11145 * image-mode.el (image-next-line): The line parameter is mandatory
11146 (bug#9258).
11147
803ef892
LMI
11148 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11149 which can be useful (bug#9301).
11150
12980837
LMI
11151 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11152
91054f8f
LMI
11153 * subr.el (match-string): Mention that the current buffer should
11154 be the same as the search was done in (bug#9282).
11155
b322f63a
LMI
11156 * facemenu.el: Disable the remove-* commands if the mark isn't
11157 active (bug#9162).
11158
3199b96f
CY
111592011-09-10 Chong Yidong <cyd@stupidchicken.com>
11160
11161 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11162 of display-buffer.
11163 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11164
11165 * replace.el (occur-mode-goto-occurrence)
11166 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11167 and display-buffer.
11168
11169 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11170 display-buffer.
11171
11172 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11173 special-display and same-window variables.
11174 (mail-other-window): Use switch-to-buffer-other-window.
11175 (mail-other-frame): USe switch-to-buffer-other-frame.
11176
393a301e
SM
11177 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11178 Use display-buffer-other-frame.
3199b96f
CY
11179 (gdb-display-gdb-buffer): Use pop-to-buffer.
11180
11181 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11182
11183 * progmodes/python.el: Don't set same-window-buffer-names.
11184
11185 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11186
11187 * window.el (display-buffer-alist): Add *Python*.
11188
8319e0bf
CY
111892011-09-10 Chong Yidong <cyd@stupidchicken.com>
11190
11191 * window.el (display-buffer-alist): Add entry for buffers
11192 previously handled same-window-*.
11193 (display-buffer-alist, display-buffer-default-action)
11194 (display-buffer-overriding-action): Mark as risky.
11195 (display-buffer-alist): Document action function changes.
11196 (display-buffer--same-window-action)
11197 (display-buffer--other-frame-action): New variables.
11198 (switch-to-buffer, display-buffer-other-frame): Use them.
11199 (display-buffer): Rename reuse-frame entry to reusable-frames.
11200 (display-buffer-reuse-selected-window): Function deleted.
11201 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11202 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11203 (display-buffer-special): New function.
11204 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11205 display-buffer-reuse-or-pop-window. Split off special-display
11206 part into display-buffer-special.
11207 (display-buffer-use-some-window): Don't perform any special
11208 pop-up-frames handling.
11209 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11210 (display-buffer--maybe-same-window): Rename from
0d3ff375 11211 display-buffer-maybe-same-window.
8319e0bf 11212
919a69aa
CY
11213 * info.el: Don't set same-window-regexps.
11214 (info-setup): New function.
11215 (info-other-window, info): Call it.
11216
11217 * cus-edit.el: Don't set same-window-regexps.
11218 (customize-group): New argument.
11219 (customize-group-other-window): Use it.
11220 (customize-face, customize-face-other-window): Likewise.
11221 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11222
8319e0bf
CY
11223 * net/rlogin.el:
11224 * net/telnet.el:
11225 * progmodes/gud.el: Don't set same-window-regexps.
11226
11227 * cmuscheme.el:
11228 * ielm.el:
11229 * shell.el:
11230 * mail/sendmail.el:
11231 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11232
25173000
JL
112332011-09-10 Juri Linkov <juri@jurta.org>
11234
11235 * isearch.el (isearch-edit-string): Remove obsolete mention of
11236 `C-w' (`isearch-yank-word-or-char') from docstring.
11237 (isearch-query-replace): Fix typo in docstring (bug#9466).
11238
056e44ef
JL
112392011-09-10 Juri Linkov <juri@jurta.org>
11240
11241 * paren.el (show-paren-function): Don't show escaped parens.
11242 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11243
c3760c17
EZ
112442011-09-10 Eli Zaretskii <eliz@gnu.org>
11245
11246 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11247 (mm-default-file-encoding): Remove autoload forms, they are
11248 replaced with autoload cookies in mml.el and mm-encode.el.
11249 (mail-add-attachment): New command.
11250 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11251 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11252 the doc string.
11253 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11254
fece895e
RT
112552011-09-10 Reuben Thomas <rrt@sc3d.org>
11256
e69df516
SM
11257 * simple.el (count-words-region): Use buffer if there's no region
11258 (bug#9429).
fece895e 11259
5e68ce4a
JL
112602011-09-09 Juri Linkov <juri@jurta.org>
11261
11262 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11263 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11264 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11265
0a6b9622
AM
112662011-09-09 Alan Mackenzie <acm@muc.de>
11267
11268 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11269 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11270
14a29deb
EZ
112712011-09-09 Eli Zaretskii <eliz@gnu.org>
11272
11273 Fix for Savannah bug#9392.
11274 * simple.el (mail-encode-mml): New defvar.
11275
11276 * mail/rmail.el (mail-encode-mml): Add a defvar.
11277 (rmail-enable-mime-composing): Default to t.
11278 (rmail-forward): Use MIME method of forwarding only if both
11279 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11280 Set mail-encode-mml non-nil if the MIME method was used.
11281
11282 * mail/sendmail.el (mml-to-mime): Add autoload form.
11283 (mail-encode-mml): Add a defvar.
11284 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11285 to nil.
11286 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11287 message through mml-to-mime, and reset mail-encode-mml to nil.
11288
28c45130
GM
112892011-09-09 Glenn Morris <rgm@gnu.org>
11290
11291 * woman.el (woman-if-body): When processing an .el block,
11292 do not delete the next .el block as well. (Bug#9447)
69f4b618 11293 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11294
9b1c252e
MR
112952011-09-08 Martin Rudalics <rudalics@gmx.at>
11296
11297 * window.el (window-deletable-p): Make sure window is live before
11298 invoking window-prev-buffers.
11299
567457e3
LL
113002011-09-08 Leo Liu <sdl.web@gmail.com>
11301
11302 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11303
97f05794
JL
113042011-09-08 Juri Linkov <juri@jurta.org>
11305
11306 * progmodes/compile.el (compilation-environment): Make it
11307 a defcustom (bug#8340).
11308
8b0874b5
MR
113092011-09-08 Martin Rudalics <rudalics@gmx.at>
11310
11311 * window.el (frame-auto-delete): Rename to window-auto-delete.
11312 Make it control auto-deletion of windows and/or frames.
11313 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11314 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11315 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11316 Rewrite handling of case when window/frame can be deleted.
11317 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11318 argument t. (Bug#9456)
8b0874b5 11319
4feb6e73
CY
113202011-09-07 Chong Yidong <cyd@stupidchicken.com>
11321
11322 * help-mode.el (help-mode): Restore autoload.
11323
91ab9c13
JL
113242011-09-07 Juri Linkov <juri@jurta.org>
11325
11326 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11327 `compilation-environment'. Set buffer-local
11328 `compilation-environment' to `thisenv' later after (funcall mode).
11329 (Bug#8340)
11330
11331 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11332 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11333 instead of replacing its value. (Bug#8340)
11334
0527e251
JL
113352011-09-07 Juri Linkov <juri@jurta.org>
11336
11337 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11338 based on text properties put by `grep-filter' instead of matching
11339 escape sequences.
11340 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11341 to the value of `grep-error-screen-columns' (bug#9438).
11342
249f792c
JL
113432011-09-07 Juri Linkov <juri@jurta.org>
11344
11345 * simple.el (next-error-highlight, next-error-highlight-no-select):
11346 Doc fix (bug#9432).
11347
ff7271b9
OT
113482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11349
11350 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11351 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11352
183fc730
LL
113532011-09-07 Leo Liu <sdl.web@gmail.com>
11354
11355 * net/rcirc.el (rcirc-mode): Conditionally initialize
11356 rcirc-input-ring.
11357
77694924
SM
113582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * emacs-lisp/find-func.el (find-function-C-source): Only set
11361 find-function-C-source-directory after checking that we found a source
11362 file there (bug#9440).
11363
d809b8eb
AM
113642011-09-06 Alan Mackenzie <acm@muc.de>
11365
11366 * isearch.el (isearch-other-meta-char): Wherever a key list is
11367 unread, "unread" the prefix arg, too. This fixes bug #8901.
11368
453de99f
OG
113692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11370
11371 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11372
90439906
JL
113732011-09-05 Juri Linkov <juri@jurta.org>
11374
11375 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11376
f62bd846
JL
113772011-09-05 Juri Linkov <juri@jurta.org>
11378
11379 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11380 keeping point where processing of grep matches begins, and
11381 continue to delete remaining escape sequences from the same point.
11382 (grep-filter): Make leading zero optional in "0?1;31m" because
11383 git-grep emits "\033[1;31m" escape sequences unlike expected
11384 "\033[01;31m" as GNU Grep does (bug#9408).
11385 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11386
045820ec
JL
113872011-09-05 Juri Linkov <juri@jurta.org>
11388
11389 * subr.el (y-or-n-p): Capitalize "yes".
11390
f5e29b9b
MA
113912011-09-04 Michael Albinus <michael.albinus@gmx.de>
11392
11393 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11394 `tramp-cache-unload-hook' where appropriate.
11395 (tramp-methods): Rename `tramp-remote-sh' to
11396 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11397 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11398
11399 * net/tramp-sh.el (top): Don't require 'shell.
11400 (tramp-methods): Add `tramp-remote-shell' and
11401 `tramp-remote-shell-args' entries.
11402 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11403 (tramp-sh-handle-shell-command): Remove.
11404 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11405 Use `tramp-remote-shell'.
11406
2784c434
CY
114072011-09-03 Chong Yidong <cyd@stupidchicken.com>
11408
393a301e 11409 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11410 (sendmail-query-once): Save directly to send-mail-function.
11411 Update message-send-mail-function too.
11412
11413 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11414
464cdf56
CS
114152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11416
11417 * progmodes/python.el (python-mode-map): Use correct function to
11418 start python interpreter from menu-bar (as reported by Geert
11419 Kloosterman).
11420 (inferior-python-mode-map): Fix typo.
393a301e 11421 (python-shell-map): Remove.
464cdf56 11422
d37e5c87
DD
114232011-09-03 Deniz Dogan <deniz@dogan.se>
11424
11425 * net/rcirc.el (rcirc-print): Simplify code for
11426 rcirc-scroll-show-maximum-output. There is no need to walk
11427 through all windows to find the right one.
11428
f3ada0ee
CS
114292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11430
11431 * help.el (help-return-method): Doc fix.
11432
1f3c99ca
MR
114332011-09-03 Martin Rudalics <rudalics@gmx.at>
11434
11435 * window.el (window-deletable-p): Don't return a non-nil value
11436 when there's a buffer that was shown in the window before.
11437 (Bug#9419)
393a301e
SM
11438 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11439 Set window's previous buffers to nil.
1f3c99ca 11440
a3cf097f
EZ
114412011-09-03 Eli Zaretskii <eliz@gnu.org>
11442
11443 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11444 newline before and after the tag line, so it doesn't interfere
11445 with determining the paragraph direction of bidirectional text.
11446
3d03de90
LL
114472011-09-03 Leo Liu <sdl.web@gmail.com>
11448
11449 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11450
c3313451
CY
114512011-09-02 Chong Yidong <cyd@stupidchicken.com>
11452
393a301e 11453 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11454 (pop-to-buffer): Change interactive spec. Pass second argument
11455 directly to display-buffer.
11456 (display-buffer): Fix interactive spec. Use functionp to
11457 distinguish between a function and a list of functions.
11458
11459 * abbrev.el (edit-abbrevs):
11460 * arc-mode.el (archive-extract):
11461 * autoinsert.el (auto-insert):
11462 * bookmark.el (bookmark-bmenu-list):
11463 * files.el (find-file):
11464 * view.el (view-buffer):
11465 * progmodes/compile.el (compilation-goto-locus):
11466 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11467
89894cd8
CY
114682011-09-02 Chong Yidong <cyd@stupidchicken.com>
11469
11470 * window.el (display-buffer-alist): Doc fix.
11471 (display-buffer): Add docstring. Don't treat
11472 display-buffer-default specially.
11473 (display-buffer-reuse-selected-window)
11474 (display-buffer-same-window, display-buffer-maybe-same-window)
11475 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11476 (display-buffer-pop-up-window)
11477 (display-buffer-reuse-or-pop-window)
11478 (display-buffer-use-some-window): New functions.
11479 (display-buffer-default-action): Use them.
393a301e 11480 (display-buffer-default): Delete.
89894cd8
CY
11481 (pop-to-buffer-1): Fix choice of actions.
11482
ae0bc9fb
SM
114832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * minibuffer.el (completion--insert-strings): Don't get confused by
11486 completion entries that end with an LF char.
11487
e9d90883
EZ
114882011-09-01 Eli Zaretskii <eliz@gnu.org>
11489
11490 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11491
437014c8
CY
114922011-09-01 Chong Yidong <cyd@stupidchicken.com>
11493
11494 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11495 (display-buffer-same-window, display-buffer-other-window):
11496 New functions.
437014c8
CY
11497 (pop-to-buffer-1): New function. Use the above.
11498 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11499 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11500
11501 * view.el (view-buffer-other-window, view-buffer-other-frame):
11502 Just use pop-to-buffer.
11503
a5e063d5
TV
115042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11505
11506 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11507
793d32bb
WH
115082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11509
11510 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11511
d65e4c15
RS
115122011-08-31 Richard Stallman <rms@gnu.org>
11513
11514 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11515 of the separation of rmail-view-buffer from rmail-buffer.
11516 If you say no to "replace original", the decrypt is in the
11517 view buffer. If you say yes, the decrypt goes into the
11518 rmail buffer also.
11519
f818cd2a
MR
115202011-08-31 Martin Rudalics <rudalics@gmx.at>
11521
11522 * window.el (display-buffer-window): Rewrite doc-string.
11523 (display-buffer-record-window): New function.
11524 (display-buffer-macro-specifiers)
11525 (display-buffer-even-window-sizes, display-buffer-set-height)
11526 (display-buffer-set-width, display-buffer-in-window)
11527 (display-buffer-reuse-window, display-buffer-split-specifiers)
11528 (display-buffer-side-specifiers, display-buffer-split-window-1)
11529 (display-buffer-split-window, display-buffer-split-atom-window)
11530 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11531 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11532 (display-buffer-other-window-means-other-frame)
11533 (display-buffer-normalize-special)
11534 (display-buffer-normalize-default)
11535 (display-buffer-normalize-argument)
11536 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11537 (display-buffer-normalize-specifiers, display-buffer-frame)
11538 (display-buffer-same-window, display-buffer-same-frame)
11539 (display-buffer-other-window)
11540 (display-buffer-same-frame-other-window)
11541 (display-buffer-other-frame, pop-to-buffer-same-window)
11542 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11543 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11544 (switch-to-buffer-same-frame)
11545 (switch-to-buffer-other-window-same-frame)
11546 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11547 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11548 (display-buffer-alist-set): Remove.
11549 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11550 (special-display-regexps, special-display-function):
11551 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11552 parameter.
11553 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11554 (special-display-frame-alist, special-display-popup-frame)
11555 (same-window-buffer-names, same-window-regexps, same-window-p)
11556 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11557 (split-window-preferred-function, split-height-threshold)
11558 (split-width-threshold, window-splittable-p)
11559 (split-window-sensibly, window--try-to-split-window)
11560 (window--frame-usable-p, even-window-heights)
11561 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11562 (window--display-buffer-2, display-buffer-other-frame):
11563 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11564 (display-buffer-default, display-buffer-assq-regexp): New functions.
11565 (display-buffer-alist): Rewrite doc-string.
11566 (display-buffer-default-action)
11567 (display-buffer-overriding-action): New variables.
11568 (display-buffer, switch-to-buffer): Rewrite.
11569 (pop-to-buffer): Restore Emacs 23 behavior but use
11570 window-normalize-buffer-to-display.
11571 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11572 Restore Emacs 23 behavior but use
11573 window-normalize-buffer-to-switch-to.
11574 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11575 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11576 Rewrite using Emacs 23 options.
f818cd2a 11577
5bc3b51d
MA
115782011-08-31 Michael Albinus <michael.albinus@gmx.de>
11579
11580 * net/tramp.el (tramp-root-regexp): Remove.
11581 (tramp-completion-file-name-regexp-unified)
11582 (tramp-completion-file-name-regexp-separate)
11583 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11584 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11585 (tramp-drop-volume-letter): Simplify definition.
11586 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11587
b1a4f8e1
SM
115882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11591 (bug#9356).
11592
5664fa7b
RT
115932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11594
b1a4f8e1 11595 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11596
9a45d6c3
JL
115972011-08-29 Juri Linkov <juri@jurta.org>
11598
11599 * isearch.el (isearch-done): Don't display message "Mark saved"
11600 when arg `edit' is non-nil to prevent its flicker in the echo area.
11601
fb87e0fb
CY
116022011-08-28 Chong Yidong <cyd@stupidchicken.com>
11603
11604 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11605 obsolete packages for deletion.
11606
09ac1c2a
CS
116072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11608
11609 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11610 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11611 view-mode from help-mode.
11612 (help-xref-override-view-map): Remove.
11613 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11614 view-mode is not used anymore.
11615
7a1ff57f
CY
116162011-08-28 Chong Yidong <cyd@stupidchicken.com>
11617
11618 * server.el (server-port): Doc fix.
11619
b9696605
CY
11620 * cus-theme.el (custom-theme-choose-mode): Inherit from
11621 special-mode (Bug#9124).
11622 (custom-theme-choose-mode-map): Add special-mode to parent.
11623
ef8cdf8c
AM
116242011-08-28 Alan Mackenzie <acm@muc.de>
11625
11626 * progmodes/cc-fonts.el
11627 (c-make-font-lock-BO-decl-search-function): New function.
11628 (c-basic-matchers-after - "Fontify the clauses after various
11629 keywords"): Extract the three keyword lists for the 3 erroneous
11630 constructs from the list of four, and use the new function above
11631 in place of an old one.
11632
27de4e20
DD
116332011-08-28 Deniz Dogan <deniz@dogan.se>
11634
11635 * net/rcirc.el (rcirc-insert-prev-input)
11636 (rcirc-insert-next-input): Remove unused argument.
11637
356a3681
SM
116382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11641
3fc9b218
AM
116422011-08-27 Alan Mackenzie <acm@muc.de>
11643
11644 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11645 handle function pointer parameters properly.
11646
538a061c
MR
116472011-08-27 Martin Rudalics <rudalics@gmx.at>
11648
11649 * window.el (display-buffer-reuse-window): Fix case where
11650 selected window was reused with non-nil OTHER-WINDOW argument.
11651 (Bug#9381)
11652
35b1c40c
DD
116532011-08-27 Deniz Dogan <deniz@dogan.se>
11654
11655 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11656 oftc's NickServ messages.
11657
2f6a3e79
GM
116582011-08-27 Glenn Morris <rgm@gnu.org>
11659
11660 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11661
7254299e
CY
116622011-08-26 Chong Yidong <cyd@stupidchicken.com>
11663
11664 * emacs-lisp/package.el (package-install): Call package-initialize
11665 if called interactively.
11666
f8ccf167
LL
116672011-08-26 Leo Liu <sdl.web@gmail.com>
11668
11669 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11670
3e8cd5ce
JL
116712011-08-25 Juri Linkov <juri@jurta.org>
11672
11673 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11674 `search-whitespace-regexp' (bug#9364).
11675
93eb7113
JL
116762011-08-25 Juri Linkov <juri@jurta.org>
11677
11678 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11679 `regexp-search-ring' to their global values to protect from
11680 updating by `read-from-minibuffer' (bug#9185).
11681
f65d1611
JL
116822011-08-25 Juri Linkov <juri@jurta.org>
11683
11684 * textmodes/ispell.el (ispell-command-loop): Add newline
11685 at the end of the "Use option `i'..." line.
11686
f1cf7a31
JL
116872011-08-25 Juri Linkov <juri@jurta.org>
11688
11689 * battery.el (display-battery-mode): If `battery-status-function'
11690 or `battery-mode-line-format' is nil, display the message and set
11691 `display-battery-mode' to nil (bug#9363).
11692
0c95fcf7
EZ
116932011-08-25 Eli Zaretskii <eliz@gnu.org>
11694
11695 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11696 bidi-string-mark-left-to-right; they are unnecessary now.
11697
a2ebe600
DD
116982011-08-25 Deniz Dogan <deniz@dogan.se>
11699
11700 * net/quickurl.el: Documentation typo fixes.
11701
e4ed06f1
CY
117022011-08-25 Chong Yidong <cyd@stupidchicken.com>
11703
11704 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11705
e5f1c99e
GM
117062011-08-25 Glenn Morris <rgm@gnu.org>
11707
b2948976
GM
11708 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11709
e5f1c99e
GM
11710 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11711 (smtpmail-via-smtp): Handle nil response from smtp.
11712
f22f4808
JL
117132011-08-24 Juri Linkov <juri@jurta.org>
11714
11715 * proced.el (proced-marked): Inherit from `error' instead of
11716 `font-lock-warning-face'.
11717
11718 * ibuffer.el (ibuffer-marked-face): Change default face from
11719 `font-lock-warning-face' to `warning'.
11720 (ibuffer-deletion-face): Change default face from
11721 `font-lock-type-face' to `error'.
11722
11723 * battery.el (battery-update): Use the face `error' instead of
11724 `font-lock-warning-face' (bug#6117).
11725
6a93965e
JL
117262011-08-24 Juri Linkov <juri@jurta.org>
11727
11728 * faces.el (success): Change face color from "Green3" to
11729 "ForestGreen" on light background (bug#9353).
11730
1ed43b09
CY
117312011-08-24 Chong Yidong <cyd@stupidchicken.com>
11732
5664fa7b
RT
11733 * window.el (quit-window): Rename from quit-restore-window.
11734 Use same arglist as old quit-window.
1ed43b09
CY
11735 (frame-auto-delete): Doc fix.
11736
11737 * view.el (view-mode-exit): Use quit-window.
11738
11dcdbb2
JL
117392011-08-24 Juri Linkov <juri@jurta.org>
11740
11741 * isearch.el (isearch-ring-adjust1): Start visiting previous
11742 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11743 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11744 for empty search string (when the last search string is reused
11745 automatically) to adjust the isearch ring to the last element and
11746 prepare the correct index for further M-p commands (bug#9185).
11747
de62b4df
KH
117482011-08-24 Kenichi Handa <handa@m17n.org>
11749
11750 * international/ucs-normalize.el: If decomposition property of
11751 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11752 nil.
11753 (nfd, nfkd): Likewise.
11754
963b492b
SM
117552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11758 from process filters aren't reliably transmitted to the surrounding
11759 accept-process-output.
11760 (mpc-proc-check): New function.
11761 (mpc-proc-sync): Use it (bug#8293)
11762
93b6b5e1
SM
117632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11766 Add compatibility functions (bug#9313).
11767
bca633fb
EZ
117682011-08-23 Eli Zaretskii <eliz@gnu.org>
11769
b177498a
EZ
11770 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11771
6df6ae42 11772 * international/uni-bidi.el: Regenerate.
bca633fb 11773
0902a04e
KH
117742011-08-23 Kenichi Handa <handa@m17n.org>
11775
11776 * international/charprop.el:
11777 * international/uni-bidi.el:
11778 * international/uni-category.el:
11779 * international/uni-combining.el:
11780 * international/uni-comment.el:
11781 * international/uni-decimal.el:
11782 * international/uni-decomposition.el:
11783 * international/uni-digit.el:
11784 * international/uni-lowercase.el:
11785 * international/uni-mirrored.el:
11786 * international/uni-name.el:
11787 * international/uni-numeric.el:
11788 * international/uni-old-name.el:
11789 * international/uni-titlecase.el:
11790 * international/uni-uppercase.el: Regenerate.
11791
3bbf23bc
MR
117922011-08-23 Martin Rudalics <rudalics@gmx.at>
11793
11794 * help.el (help-window-setup): Fix message displayed when other
11795 window is reused. (Bug#9341)
11796
b3fd59bd
SM
117972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11798
1802e444
SM
11799 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11800 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11801
b3fd59bd
SM
11802 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11803 Mark obsolete.
11804 * shell.el (shell-parse-pcomplete-arguments): New function.
11805 (shell-completion-vars): Use it instead (bug#9160).
11806
4eb61348
SM
118072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11808
867cab74
SM
11809 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11810 strings and comments (bug#9333).
11811
4eb61348
SM
11812 * emacs-lisp/debug.el (debug-arglist): New function.
11813 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11814 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11815
262a1439
JL
118162011-08-22 Juri Linkov <juri@jurta.org>
11817
56ee679c
JL
11818 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11819 Revert regexp that highlights output switches to its old
11820 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11821
262a1439
JL
11822 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11823 to check for empty output (bug#9226).
11824
f13f86fb
CY
118252011-08-22 Chong Yidong <cyd@stupidchicken.com>
11826
11827 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11828 symbol-constituent as the default, as that stops font-lock from
11829 working properly (Bug#8843).
11830
c65c9622
LMI
118312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11832
11833 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11834 `coding-system-for-*' around the process open call to avoid
11835 auth-source side effects.
e7f2c178 11836 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11837 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11838 probe hangs.
c65c9622 11839
23a8a5ab
CY
118402011-08-21 Chong Yidong <cyd@stupidchicken.com>
11841
ff98b2dd
CY
11842 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11843
23a8a5ab
CY
11844 * emacs-lisp/find-func.el (find-function-noselect): New arg
11845 lisp-only.
11846
11847 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11848 signal an error for built-in functions (Bug#6664).
11849
f5e3c598
LMI
118502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11851
11852 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11853 (smtpmail-try-auth-methods): Use it.
11854
a3f2468a
CY
118552011-08-21 Chong Yidong <cyd@stupidchicken.com>
11856
2c34e8da
CY
11857 * font-lock.el (font-lock-fontify-region)
11858 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11859 (font-lock-default-unfontify-buffer)
11860 (font-lock-default-fontify-region)
11861 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11862
b3fd59bd
SM
11863 * progmodes/compile.el (compilation-error-properties):
11864 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11865 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11866 `ant' regexp.
ee31aabc 11867
a3f2468a
CY
11868 * net/browse-url.el (browse-url-firefox): Don't call
11869 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11870
8e999f70
GM
118712011-08-20 Glenn Morris <rgm@gnu.org>
11872
c21a496a
GM
11873 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11874
59ee0542
GM
11875 * tutorial.el (tutorial--default-keys): Update some default bindings.
11876
8e999f70
GM
11877 * files.el (hack-local-variables): Fully ignore case for "mode:".
11878
e3715033
AM
118792011-08-20 Alan Mackenzie <acm@muc.de>
11880
11881 Resolve invalid use of a regexp in regexp-opt.
11882
4d61f28d
JB
11883 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11884 detection for a java annotation.
e3715033 11885
4d61f28d 11886 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11887 detection for a java annotation.
11888
4d61f28d
JB
11889 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11890 handling for java.
e3715033
AM
11891 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11892
04ed2e9c
CY
118932011-08-20 Chong Yidong <cyd@stupidchicken.com>
11894
11895 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11896 (Bug#9274).
11897
826cee64
AM
118982011-08-20 Alan Mackenzie <acm@muc.de>
11899
58179cce 11900 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11901 such a construct. Mainly for when jit-lock etc. starts a chunk
11902 here.
11903
58179cce 11904 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11905 variable.
58179cce 11906 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11907 c-make-font-lock-search-function.
11908 (c-make-font-lock-search-function): Use the above function.
11909 (c-make-font-lock-context-search-function): New function.
11910 (c-cpp-matchers): Enhance the preprocessor expression case with
11911 the above function
11912 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11913 which takes an expression.
11914
11915 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11916
13009bd8
MR
119172011-08-20 Martin Rudalics <rudalics@gmx.at>
11918
11919 * window.el (display-buffer-reuse-window)
11920 (display-buffer-pop-up-window): Don't reuse or split a side
11921 window.
11922
9234ff7f
GM
119232011-08-19 Glenn Morris <rgm@gnu.org>
11924
11925 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11926 Downcase "Mode:". (Bug#9331)
9234ff7f 11927
f635daa1
CY
119282011-08-18 Chong Yidong <cyd@stupidchicken.com>
11929
11930 * international/characters.el: Add L and R categories.
11931
11932 * subr.el (bidi-string-mark-left-to-right): Rename from
11933 string-mark-left-to-right. Use category search.
11934
11935 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11936
bc987f8b
JL
119372011-08-18 Juri Linkov <juri@jurta.org>
11938
11939 * faces.el (error, warning, success): New faces with definitions
11940 copied from old default values of `font-lock-warning-face',
11941 `compilation-warning', `compilation-info' (bug#6117).
11942
11943 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11944
11945 * progmodes/compile.el (compilation-error): Inherit from `error'.
11946 (compilation-warning): Inherit from `warning'.
11947 (compilation-info): Inherit from `success'.
11948
11949 * dired.el (dired-marked): Inherit from `warning'.
11950 (dired-flagged): Inherit from `error'.
11951
57173b96
LMI
119522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11953
3e79eb87
LMI
11954 * mail/smtpmail.el (auth-source): Require to avoid problems with
11955 binding variables (bug#9298). Also clean up some unused
11956 autoloads.
11957
b3fd59bd
SM
11958 * net/network-stream.el (network-stream-open-starttls):
11959 Support using starttls.el without using gnutls-cli.
57173b96 11960
02b404de
JL
119612011-08-17 Juri Linkov <juri@jurta.org>
11962
11963 * progmodes/grep.el (rgrep): Handle the case when
11964 `grep-find-command' is a cons cell (bug#9278).
11965
8c9177f2
MR
119662011-08-17 Martin Rudalics <rudalics@gmx.at>
11967
11968 * window.el (display-buffer-pop-up-frame): Run frame creation
11969 function with BUFFER current (as special-display-popup-frame
11970 does). Reported by Drew Adams.
11971
3644a0ab
DU
119722011-08-17 Daiki Ueno <ueno@unixuser.org>
11973
11974 * epa-mail.el: Simplify GnuPG group expansion using
11975 epg-expand-group.
11976 (epa-mail-group-alist, epa-mail-group-modtime)
11977 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11978 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11979 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11980 Remove.
11981
5e617bc2 119822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11983
11984 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11985
9c4aeabf
AM
119862011-08-16 Alan Mackenzie <acm@muc.de>
11987
11988 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11989 Correct, to avoid the inside of macros.
11990
3a99bf64
RS
119912011-08-16 Richard Stallman <rms@gnu.org>
11992
04963aa8
RS
11993 * epa-mail.el: Handle GnuPG group definitions.
11994 (epa-mail-group-alist, epa-mail-group-modtime)
11995 (epa-mail-gnupg-conf-file): New variables.
11996 (epa-mail-parse-groups, epa-mail-sync-groups)
11997 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11998 (epa-mail-expand-recipients): New functions.
11999 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12000
177549d0
RS
12001 * mail/rmail.el (rmail-epa-decrypt): New command.
12002
fe38beef
RS
12003 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12004 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12005 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12006 (epa-decrypt-armor-in-region): Make error message clearer.
12007
934eacb9
SM
120082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12011 and "a2b" to "ab" for `prefix'.
12012
d024fb4e
CY
120132011-08-14 Chong Yidong <cyd@stupidchicken.com>
12014
12015 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12016 filter groups.
de148fee
CY
12017 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12018 Fourquet (Bug#8804).
d024fb4e 12019
62f1ca49
JB
120202011-08-12 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * startup.el (argi): Declare as global variable (bug#9275).
12023
9ccaaa4b
CY
120242011-08-12 Chong Yidong <cyd@stupidchicken.com>
12025
12026 * subr.el (string-mark-left-to-right): Search the entire string
12027 for RTL script, not just the terminating character. Doc fix.
12028
a3dae87a
SM
120292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12030
6cd18349
SM
12031 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12032 New function.
12033 (js--regexp-literal, js-syntax-propertize-function): Remove.
12034 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12035 (js-mode-map): Don't rebind electric keys.
12036 (js-insert-and-indent): Remove.
12037 (js-mode): Setup electric-layout and electric-indent instead.
12038
a3dae87a
SM
12039 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12040
9d5cb631
DU
120412011-08-12 Daiki Ueno <ueno@unixuser.org>
12042
12043 * epa.el (epa-progress-callback-function): Fix the logic of
12044 displaying progress.
12045 * epa-file.el (epa-file-insert-file-contents): Make progress
12046 display more user-friendly.
12047 (epa-file-write-region): Ditto.
12048
3e26a4a2
CY
120492011-08-10 Chong Yidong <cyd@stupidchicken.com>
12050
12051 * subr.el (string-mark-left-to-right): New function.
12052
12053 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12054 Use string-mark-left-to-right.
12055 (list-buffers-noselect): Caller changed.
12056
a3dae87a
SM
12057 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12058 Use string-mark-left-to-right.
3e26a4a2
CY
12059 (tabulated-list-print): Recenter after moving point.
12060
ac8cf6e6
JL
120612011-08-10 Juri Linkov <juri@jurta.org>
12062
12063 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12064 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12065 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12066
8d96c9a4
CY
120672011-08-09 Chong Yidong <cyd@stupidchicken.com>
12068
12069 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12070 (Bug#7554).
12071
7be1c708 120722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12073
12074 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12075 character. (Bug#6594)
12076
37e11a63
CY
120772011-08-08 Chong Yidong <cyd@stupidchicken.com>
12078
839dde57
CY
12079 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12080 (image-dired--with-db-file): New macro.
12081 (image-dired-write-tags, image-dired-remove-tag)
12082 (image-dired-create-gallery-lists, image-dired-write-comments)
12083 (image-dired-get-comment, image-dired-mark-tagged-files)
12084 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12085 (image-dired-gallery-generate): Use insert-file-contents.
12086
37e11a63
CY
12087 * time.el (display-time-world-list, display-time-world-display):
12088 * time-stamp.el (time-stamp-string):
12089 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12090 set-time-zone-rule (Bug#7337).
12091
0b4946c4
DU
120922011-08-08 Daiki Ueno <ueno@unixuser.org>
12093
12094 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12095 (epg-error-to-string, epg-errors-to-string): New function.
12096 (epg-wait-for-completion): Reverse errors list.
12097 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12098 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12099 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12100 (epg-sign-keys, epg-generate-key-from-file)
12101 (epg-generate-key-from-string): Format errors by using
12102 epg-errors-to-string (bug#9255).
12103 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12104
75bfc667
JL
121052011-08-07 Juri Linkov <juri@jurta.org>
12106
12107 * faces.el (list-faces-display): Remove extra angle bracket
12108 from `help-mode-map'.
12109
12110 * info.el (Info-history-toc-nodes): Doc fix.
12111
12112 * longlines.el (longlines-mode): Doc fix.
12113
673e08bb
SM
121142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12115
4640dd88
SM
12116 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12117 of statements and in a few more cases (bug#9183).
12118
673e08bb
SM
12119 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12120 New functions.
12121 (cl-transform-lambda): Use them (bug#9239).
12122
89b3f019
MR
121232011-08-05 Martin Rudalics <rudalics@gmx.at>
12124
12125 * window.el (display-buffer-same-window)
12126 (display-buffer-same-frame, display-buffer-other-window)
12127 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12128 (pop-to-buffer-other-window)
12129 (pop-to-buffer-same-frame-other-window)
12130 (pop-to-buffer-other-frame): Make them defuns.
12131 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12132
640c8776
SM
121332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * subr.el (make-composed-keymap): Move from C. Change calling
12136 convention, and improve docstring to bring attention to a subtle point.
12137 * minibuffer.el (completing-read-default): Adjust accordingly.
12138
63648a95
MA
121392011-08-03 Michael Albinus <michael.albinus@gmx.de>
12140
12141 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12142 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12143
12144 * net/trampver.el: Update release number.
12145
b796c9b7
SM
121462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12149 "in" (bug#9190).
12150
2239d7d5
LMI
121512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12152
e07dd7c3
LMI
12153 * mail/sendmail.el (sendmail-query-once): Restore the current
12154 buffer after querying (bug#9074).
12155
0e6a2bd7
LMI
12156 * dired.el (dired-flagged): Use different faces for marked and
12157 flagged files (bug#6117).
12158
ce887515
LMI
12159 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12160 (bug#4433).
12161
92f2affc
LMI
12162 * ido.el (ido-mode): Switch off the message if called
12163 non-interactively.
12164
57d5aff0
LMI
12165 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12166 before 587, since it appears that that's more likely to work for
12167 more people.
12168
98cd6c18 12169 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12170 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12171 exist.
12172
b96dec83
LMI
12173 * info.el: Remove the `Info-beginning-of-buffer' function
12174 (bug#8325).
12175
b796c9b7
SM
12176 * net/network-stream.el (network-stream-open-starttls):
12177 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12178
d90e2ea0
MR
121792011-08-01 Martin Rudalics <rudalics@gmx.at>
12180
12181 * window.el (display-buffer-in-window): Don't set dedicated status
12182 of window here (Bug#9215).
12183 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12184 (display-buffer-pop-up-side-window)
b796c9b7 12185 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12186
cca09170
SM
121872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12190 before binding generated-autoload-file.
12191
027b979c
DD
121922011-08-01 Deniz Dogan <deniz@dogan.se>
12193
12194 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12195
3c7ee4f3
MA
121962011-07-30 Michael Albinus <michael.albinus@gmx.de>
12197
12198 Sync with Tramp 2.2.2.
12199
12200 * net/trampver.el: Update release number.
12201
2cc8e51a
JL
122022011-07-30 Juri Linkov <juri@jurta.org>
12203
12204 * dired-aux.el (dired-touch-initial): Remove function.
12205 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12206 current time, and `default' to the last modification time of the
12207 current marked file (bug#6887).
12208
a514d856
JM
122092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12210
12211 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12212 numeric argument to read-number (bug#9163).
a514d856 12213
8a7eddd7
MA
122142011-07-27 Michael Albinus <michael.albinus@gmx.de>
12215
12216 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12217 connection process, it could be nil.
12218
1ddd96f5
LL
122192011-07-27 Leo Liu <sdl.web@gmail.com>
12220
12221 Simplify url handling in rcirc-mode.
12222
12223 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12224 (rcirc-browse-url-at-mouse): Remove.
12225 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12226
b248a85d
AM
122272011-07-26 Alan Mackenzie <acm@muc.de>
12228
12229 Fontify bitfield declarations properly.
12230
12231 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12232 (c-symbol-chars): Now exported as a lang variable.
12233 (c-not-primitive-type-keywords): New lang variable.
12234
12235 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12236 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12237 parsed as a bitfield declaration.
b248a85d 12238
b796c9b7
SM
12239 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12240 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12241 (c-punctuation-in): New function.
12242 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12243 declarations properly.
12244
68575ab0
UJ
122452011-07-26 Ulf Jasper <ulf.jasper@web.de>
12246
12247 * calendar/icalendar.el (icalendar--all-events): Take care of
12248 multiple vcalendars in a single file.
b796c9b7 12249 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12250
0f0a88b9
DD
122512011-07-25 Deniz Dogan <deniz@dogan.se>
12252
12253 * image.el (insert-image): Clarifying docstring.
12254
0b3f36df
MA
122552011-07-24 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12258 `tramp-send-command-and-check' if there is no error.
12259 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12260
a9901f61
AM
122612011-07-22 Alan Mackenzie <acm@muc.de>
12262
12263 Prevent cc-langs.elc being loaded at run time.
12264
12265 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12266 cc-langs.
12267
4d61f28d 12268 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12269 "(require 'cc-langs)". Quote a form so it will evaluate at
12270 (cc-mode's) compilation time.
12271
11d074b2
MA
122722011-07-22 Michael Albinus <michael.albinus@gmx.de>
12273
12274 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12275 loading. (Bug#9114)
12276
938b94c8
MR
122772011-07-21 Martin Rudalics <rudalics@gmx.at>
12278
12279 * window.el (display-buffer-pop-up-window)
12280 (display-buffer-pop-up-side-window)
12281 (display-buffer-in-side-window): Call display-buffer-set-height
12282 and display-buffer-set-width after setting the new window's
b796c9b7 12283 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12284
bfa4f190
SS
122852011-07-20 Sam Steingold <sds@gnu.org>
12286
12287 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12288 (etags-tags-included-tables): Call `convert-standard-filename' on
12289 the file names contained in TAGS so that windows Emacs can handle
12290 TAGS files created by cygwin ctags.
12291
8ca42262
LMI
122922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12293
12294 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12295 which apparently didn't work.
12296
5db2afd2 122972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12298
5db2afd2
RW
12299 * proced.el (proced-send-signal): For *Marked Processes* buffer
12300 put point at beginning of buffer.
12301
92e15d10
SB
123022011-07-19 Stephen Berman <stephen.berman@gmx.net>
12303
12304 * proced.el (proced-format): Make header lines align with the text
12305 (bug#1779).
12306
1bfd59e5
LMI
123072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12308
12309 * view.el (view-buffer): Allow running in `special' modes if we're
12310 visiting a file (bug#8615).
12311
f5aae37c
MR
123122011-07-19 Martin Rudalics <rudalics@gmx.at>
12313
12314 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12315 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12316 New functions.
f5aae37c
MR
12317 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12318 more accurately.
12319
bf2c1571
AM
123202011-07-18 Alan Mackenzie <acm@muc.de>
12321
12322 Fontify declarators properly when, e.g., a jit-lock chunk begins
12323 inside a declaration.
12324
12325 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12326
b796c9b7
SM
12327 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12328 New function.
bf2c1571
AM
12329 (c-complex-decl-matchers): Insert reference to
12330 c-font-lock-enclosing-decls.
12331
12332 * progmodes/cc-engine.el (c-backward-single-comment):
12333 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12334 to nil around calls to (forward-comment -1).
12335
4e190b80
LMI
123362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12337
12dc863d
LMI
12338 * image.el (put-image): Doc typo fix.
12339
a762e966
LMI
12340 * progmodes/etags.el (tags-search): Doc typo fix.
12341
4e190b80
LMI
12342 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12343 password if we get errors 550 to 554.
12344
f019fb21
LMI
123452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12346
b796c9b7 12347 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12348
81746738
LMI
12349 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12350 indentation character (bug#6380).
12351
3ee3a1b5
LMI
12352 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12353
c82f64de
LMI
12354 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12355 to clarify what the problem is (bug#4291).
12356
f019fb21
LMI
12357 * simple.el (current-kill): Clarify what
12358 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12359 (auto-fill-mode): Document `auto-fill-function' in relation to
12360 `auto-fill-mode' (bug#2470).
f019fb21 12361
0794775d
LM
123622011-07-16 Lawrence Mitchell <wence@gmx.li>
12363
12364 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12365 method if slot is read-only (bug#9035).
12366
be39b8cc
MR
123672011-07-16 Martin Rudalics <rudalics@gmx.at>
12368
b796c9b7 12369 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12370 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12371 selected before, see discussion of (Bug#8615), (Bug#6954).
12372 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12373
6ccf7859
GM
123742011-07-15 Glenn Morris <rgm@gnu.org>
12375
12376 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12377 Respect help-form.
6ccf7859 12378
87e86684
LM
123792011-07-09 Lawrence Mitchell <wence@gmx.li>
12380
12381 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12382 (gnutls-negotiate): Use it.
12383
d6066239
LMI
123842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12385
b796c9b7
SM
12386 * net/gnutls.el (gnutls-negotiate):
12387 Upcase `gnutls-algorithm-priority'.
d6066239 12388
bd23ebc0
GM
123892011-07-15 Glenn Morris <rgm@gnu.org>
12390
c65bca65
GM
12391 * jka-compr.el (jka-compr-verbose): Move from here...
12392 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12393 Add missing :version tag.
12394 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12395
478615cc
LMI
123962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12397
7b41decb
LMI
12398 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12399 (gnutls-negotiate): Use it.
12400
dbc44fcd
LMI
12401 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12402
06789f97
LMI
12403 * info.el (Info-beginning-of-buffer): New command.
12404 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12405 announcing `b' as the key (bug#8325).
ab896c37 12406 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12407
c39da690
LMI
12408 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12409
3aa5f34b
LMI
12410 * international/mule-cmds.el
12411 (describe-specified-language-support): Make the error message
12412 clearer (bug#8905).
12413
4bf0979f
LMI
12414 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12415
478615cc
LMI
12416 * isearch.el (isearch-barrier): Add a doc string, since it's
12417 mentioned in a function doc string (bug#8678).
12418
75c68aa1
MR
124192011-07-15 Martin Rudalics <rudalics@gmx.at>
12420
12421 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12422 buffer argument (Bug#9083) and self-identifying label argument.
12423
a7c33da2
GM
124242011-07-15 Glenn Morris <rgm@gnu.org>
12425
12426 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12427
2f5c6024
LMI
124282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12429
12430 * man.el (Man-fontify-manpage): Fix message when formatting the
12431 man page (bug#7929).
12432
0bb23927 124332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12434
12435 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12436 argument LRM; if non-nil, append an invisible LRM character to the
12437 buffer name.
12438 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12439 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12440 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12441 paragraph direction.
cce4b0a7 12442
621ef9ab
LMI
124432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12444
d1583c48
LMI
12445 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12446 the man page name (bug#7929).
12447
6a57fb5f
LMI
12448 * image.el (put-image): Mention the `put-image' overlay property
12449 (bug#7834).
12450
d7956b14
LMI
12451 * scroll-bar.el (set-scroll-bar-mode): Mention that
12452 `scroll-bar-mode' lists the values (bug#7772).
12453
5b2d4a66
LMI
12454 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12455 command (bug#7729).
12456
7509a874
LMI
12457 * rect.el (apply-on-rectangle): Return the point after the last
12458 operation.
12459 (string-rectangle): Go to the point after the last operation
12460 (bug#7522).
12461
4fe74b19
LMI
12462 * printing.el (pr-toggle-region): Clarify the documentation
12463 slightly (bug#7493).
12464
b796c9b7
SM
12465 * time.el (display-time-update):
12466 Allow `display-time-mail-function' to return nil (bug#7158).
12467 Fix suggested by Detlev Zundel.
ab283561 12468
fc233c9d
LMI
12469 * vc/diff.el (diff): Clarify the order the file names are read
12470 (bug#7111).
12471
43f5740b
LMI
12472 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12473 the doc string (bug#7015).
12474
f2182a76
LMI
12475 * font-lock.el (font-lock-maximum-decoration): Mention what
12476 numeric levels mean (bug#6935).
12477
621ef9ab
LMI
12478 * startup.el (initial-buffer-choice): Don't mention the `none'
12479 selection, which is against policy.
12480
adc47434
MR
124812011-07-14 Martin Rudalics <rudalics@gmx.at>
12482
b796c9b7
SM
12483 * window.el (display-buffer-normalize-special):
12484 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12485
7e5bfb8f
EZ
124862011-07-14 Eli Zaretskii <eliz@gnu.org>
12487
12488 * subr.el (version<, version<=, version=): Mention "-CVS" and
12489 "-12345" alpha version numbers.
12490
27fa387a
CY
124912011-07-14 Chong Yidong <cyd@stupidchicken.com>
12492
12493 * bindings.el: Add advertised binding for set-mark-command
12494 (Bug#5772).
12495
8bdfa064
CY
124962011-07-14 Chong Yidong <cyd@stupidchicken.com>
12497
12498 * bindings.el (mode-line-other-buffer):
12499 * bookmark.el (bookmark-bmenu-2-window):
12500 * bs.el (bs-cycle-next, bs-cycle-previous):
12501 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12502 switch-to-buffer.
12503
12504 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12505 Delete.
8bdfa064 12506
5eba16a3
JB
125072011-07-14 Juanma Barranquero <lekktu@gmail.com>
12508
12509 * follow.el (follow-debug-message, follow-redisplay):
12510 * jka-cmpr-hook.el (with-auto-compression-mode):
12511 Fix typos in docstrings.
12512
15853710
LMI
125132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12514
a28e4607
LMI
12515 * subr.el (with-silent-modifications): Clarify somewhat what the
12516 macro inhibits (bug#6525).
12517
15853710
LMI
12518 * simple.el (eval-expression): Note what it does if called
12519 interactively (bug#6495).
12520
bee0fcef
CY
125212011-07-13 Chong Yidong <cyd@stupidchicken.com>
12522
b796c9b7
SM
12523 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12524 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12525
12526 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12527 Remove switch-to-buffer.
12528
58274504
LMI
125292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12530
bd2fcc8d
LMI
12531 * files.el (make-directory): Clarify that an error will be raised
12532 if there's an error (bug#6397).
12533
0f04b32c
LMI
12534 * startup.el (initial-buffer-choice): Add `none' as a choice
12535 (bug#6234).
12536
465c5fc8
LMI
12537 * subr.el (add-hook): Clarify section about buffer-local hooks
12538 (bug#6218).
12539
58274504
LMI
12540 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12541
bead9a43
JB
125422011-07-13 Juanma Barranquero <lekktu@gmail.com>
12543
12544 * tabify.el (untabify): Preserve the current column so that point
12545 doesn't move (bug#6032).
12546
3af98a7b
LMI
125472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12548
b796c9b7
SM
12549 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12550 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12551
6240145a
GM
125522011-07-13 Glenn Morris <rgm@gnu.org>
12553
12554 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12555 (dired-insert-directory): Give a message the first time
12556 if ls is found not to support --dired.
12557
1d8c2ccc
LMI
125582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12559
12560 * simple.el (toggle-truncate-lines): Clarify what is toggled
12561 (bug#5580). Text by Drew Adams.
12562
5fc4038e
CY
125632011-07-13 Chong Yidong <cyd@stupidchicken.com>
12564
12565 * simple.el (blink-matching-open): Make the error message from the
12566 last change less verbose.
12567
bf6012e5
DN
125682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12569
12570 * font-lock.el (font-lock-comment-face): Use the high contrast
12571 "yellow" color for font-lock-comment-face on low color terminals
12572 using a dark background color (bug#4221).
12573
343c3b5a
LMI
125742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575
7e9505c5
LMI
12576 * dired.el (dired-insert-set-properties): Make the doc string
12577 reflect what it does now (bug#5325).
12578
c26fdcf5
LMI
12579 * simple.el (blink-matching-open): Say that we were unable to find
12580 the match within the limit, if we're limited (bug#5122).
12581
bb388cc5
LMI
12582 * international/mule-cmds.el (prefer-coding-system): Add an
12583 example (bug#4869).
12584
343c3b5a
LMI
12585 * progmodes/etags.el (tags-search): Document `file-list-form'
12586 (bug#4731).
12587
2a517d45
LM
125882011-07-13 Lawrence Mitchell <wence@gmx.li>
12589
12590 * net/browse-url.el (browse-url-default-browser)
12591 (browse-url-browser-function): Make the default browser choice a
12592 bit more logical (bug#4300). Also clean up the doc string.
12593
b6c78ef2
JB
125942011-07-13 Juanma Barranquero <lekktu@gmail.com>
12595
12596 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12597 binary endings (bug#4440).
12598
1c4dd947
LMI
125992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12600
a2014063
LMI
12601 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12602 which can be pretty annoying (bug#8971).
12603
9c9c2d88
LMI
12604 * jka-compr.el (jka-compr-verbose): New variable, and use
12605 throughout (bug#8971).
12606
1c4dd947
LMI
12607 * info.el (Info-find-file): Fall back on the installation
12608 directory if we can't find the info node anywhere else.
12609
a1c9f41b
SO
126102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12611
12612 * vc/vc.el (vc-revert-file):
12613 Don't set file time-stamp in the past. (Bug#5181)
12614
536f3d36
LMI
126152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12616
7152b011
LMI
12617 * files.el (after-find-file): Give a better error message when
12618 trying to find a symlink that points to a file that doesn't exist
12619 (bug#4398).
12620
536f3d36
LMI
12621 * progmodes/cc-vars.el: Remove (probably) misleading comment
12622 (bug#4396).
12623
460c0fba
JB
126242011-07-12 Johan Bockgård <bojohan@gnu.org>
12625
12626 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12627
7a6bda45
CY
126282011-07-12 Chong Yidong <cyd@stupidchicken.com>
12629
12630 * mouse-sel.el: Hack restoring functionality, while keeping
12631 compatibility with 2010-07-03 changes to mouse selection.
12632 (mouse-sel-primary-overlay): New var.
12633 (mouse-sel-selection-alist): Use it.
12634 (mouse-sel-mode): Doc fix; remove points that are default features
12635 of mouse.el.
12636
c79598ef
JB
126372011-07-12 Johan Bockgård <bojohan@gnu.org>
12638
12639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12640 Fix previous fix (bug#2490).
12641
ff8be6ef
RW
126422011-07-12 Roland Winkler <winkler@gnu.org>
12643
b796c9b7
SM
12644 * textmodes/bibtex.el (bibtex-initialize):
12645 Use pop-to-buffer-same-window.
ff8be6ef
RW
12646 (bibtex-search-entries): Fix interactive call.
12647
296ba3ee
LMI
126482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
f5242a02 12650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12651 Fontise bytecomp Error lines more correctly (bug#2490).
12652 Fix suggested by Johan Bockgård.
f5242a02 12653
296ba3ee
LMI
12654 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12655
12656 * dired-x.el (dired-guess-default): Use `delete-dups'.
12657
f69fd0d2
CY
126582011-07-12 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * dired.el (dired-mark-prompt):
12661 * dired-aux.el (dired-read-shell-command): Doc fix.
12662
eab5dc07
LMI
126632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12664
b796c9b7
SM
12665 * mail/sendmail.el (sendmail-query-once):
12666 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12667 emacs -Q.
12668
12669 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12670
eab5dc07
LMI
12671 * cus-edit.el (custom-file): Take an optional no-error variable.
12672 (customize-save-variable): Set the variable, and give a warning if
12673 running under "emacs -q".
12674
a1e65d42
JB
126752011-07-11 Juanma Barranquero <lekktu@gmail.com>
12676
12677 * loadhist.el (unload-feature-special-hooks):
12678 Add `auto-coding-functions', `fill-nobreak-predicate' and
12679 `find-directory-functions' (bug#5327).
12680
1d52da10
LMI
126812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682
be958f1d
LMI
12683 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12684
5bedb26c
LMI
12685 * cus-edit.el (custom-guess-name-alist): -alist variables should
12686 use the `alist' type (bug#3120). Suggested by Drew Adams.
12687
1d52da10
LMI
12688 * printing.el: Add documentation to all the `pr-toggle-' commands.
12689
cd394be1 126902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12691
12692 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12693 backends where it makes sense (bug#2623).
12694
dcc88d8a
LMI
126952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12696
c3de9feb
LMI
12697 * dired-x.el (dired-guess-default): Remove duplicate shell command
12698 entries (bug#2028).
8a93078b 12699 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12700 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12701
dcc88d8a
LMI
12702 * subr.el (remove-duplicates): New conveniency function.
12703
505e3645
LMI
127042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12705
12706 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12707 (bug#1526).
12708
127092011-07-10 Martin Rudalics <rudalics@gmx.at>
12710
12711 * window.el (display-buffer-normalize-default): Don't invert
12712 meaning of even-window-heights. Reported by Eli Zaretskii
12713 <eliz@gnu.org>.
12714
455e4fa1
BR
127152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12716
12717 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12718
8e0bc3e9
CY
127192011-07-10 Chong Yidong <cyd@stupidchicken.com>
12720
12721 * window.el (display-buffer): Fix arguments to
12722 display-buffer-reuse-window in last change.
12723
fa7c3228
CY
12724 * faces.el (link): Use a less saturated blue on light backgrounds.
12725
12726 * startup.el (fancy-startup-text, fancy-about-text)
12727 (fancy-startup-tail): Use font-lock faces, for background safety.
12728
c0a7f300
BN
127292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12730
b796c9b7
SM
12731 * emulation/viper-cmd.el (viper-change-state-to-vi):
12732 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12733
4dc2a129
MR
127342011-07-09 Martin Rudalics <rudalics@gmx.at>
12735
12736 * window.el (display-buffer-default-specifiers): Remove.
12737 (display-buffer-macro-specifiers): Remove default specifiers.
12738 (display-buffer-alist): Default to nil.
b796c9b7 12739 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12740 (display-buffer-pop-up-window): Allow splitting internal
12741 windows. Check whether a live window was created.
12742 (display-buffer-other-window-means-other-frame)
12743 (display-buffer-normalize-arguments): Rename to
12744 display-buffer-normalize-argument and rewrite. Set the
12745 other-window specifier.
12746 (display-buffer-normalize-special): New function.
12747 (display-buffer-normalize-options): Rename to
12748 display-buffer-normalize-default and rewrite.
12749 (display-buffer-normalize-options-inhibit): Remove.
12750 (display-buffer-normalize-specifiers): Rewrite.
12751 (display-buffer): Process other-window specifier and call
12752 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12753 more faithfully.
b796c9b7 12754 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12755 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12756 (display-buffer-in-window, display-buffer-alist-set):
12757 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12758 <tassilo@member.fsf.org>.
12759
2d43b8c9
LL
127602011-07-09 Leo Liu <sdl.web@gmail.com>
12761
12762 * register.el (insert-register): Restore accidental change on
12763 2011-06-26. (Bug#9028)
12764
7f9b7c53
GM
127652011-07-09 Glenn Morris <rgm@gnu.org>
12766
12767 * subr.el (remq): Handle the empty list. (Bug#9024)
12768
f042cfd8
AS
127692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12770
12771 * mail/sendmail.el (send-mail-function): No longer delay custom
12772 initialization.
12773 * custom.el (custom-initialize-delay): Doc fix.
12774
856b2f11
SM
127752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12778
afae1d68
MA
127792011-07-08 Michael Albinus <michael.albinus@gmx.de>
12780
12781 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12782 human-friendly prompt.
12783
0757af94
SM
127842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12787 provided by a particular plugin.
12788
d760b731
LMI
127892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790
12791 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12792 save customizations (with "emacs -Q"), just set the variable
12793 instead of erroring out.
12794
12795 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12796
cd79ce90
JL
127972011-07-08 Juri Linkov <juri@jurta.org>
12798
12799 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12800 (archive-zip-update-case): Use 7z if found by `executable-find'.
12801 The order of searching the available programs is the same as in
12802 `archive-zip-extract' (bug#8968).
12803
14cc04aa
CY
128042011-07-07 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12807 (menu-bar-options-menu): Tweak descriptions.
12808
0a1848ec
LMI
128092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12810
12811 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12812 menu items into verb phrases (bug#1421). Also refill to fit under
12813 80 columns.
12814
f5bd0689
CY
128152011-07-07 Chong Yidong <cyd@stupidchicken.com>
12816
538e85c6
CY
12817 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12818 (Info-read-node-name): Doc fix (Bug#1084).
12819
f5bd0689
CY
12820 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12821 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12822 (end-of-sexp, beginning-of-sexp)
12823 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12824 (forward-symbol, forward-same-syntax, word-at-point)
12825 (sentence-at-point): Doc fix (Bug#1144).
12826
56ec5115
LMI
128272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828
f3f8e37f
LMI
12829 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12830 should cover it (bug#1281).
12831
0757af94 12832 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12833
e9fce1ac 12834 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12835 negotiation fails, then possibly try again with a non-encrypted
12836 connection (bug#9017).
12837
56ec5115
LMI
12838 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12839 be used.
12840
c2f9aec8
RS
128412011-07-07 Richard Stallman <rms@gnu.org>
12842
12843 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12844 property, and handle its changed format.
12845 Look for the correct line number.
12846 Use file's line contents (but not past first =) to find
12847 correct line in message.
12848
ef7b981d 128492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12850
12851 * international/characters.el (build-unicode-category-table):
12852 Delete it.
0757af94 12853 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12854
0757af94 12855 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12856 to src/chartab.c.
12857 (get-char-code-property): Call unicode-property-table-internal to
12858 load a file. Call get-unicode-property-internal where necessary.
12859 (put-char-code-property): Call unicode-property-table-internal to
12860 load a file. Call put-unicode-property-internal where necessary.
12861 put-unicode-property-internal where necessary.
0757af94
SM
12862 (char-code-property-description):
12863 Call unicode-property-table-internal to load a file.
c805dec0
KH
12864
12865 * international/charprop.el:
12866 * international/uni-bidi.el:
12867 * international/uni-category.el:
12868 * international/uni-combining.el:
12869 * international/uni-comment.el:
12870 * international/uni-decimal.el:
12871 * international/uni-decomposition.el:
12872 * international/uni-digit.el:
12873 * international/uni-lowercase.el:
12874 * international/uni-mirrored.el:
12875 * international/uni-name.el:
12876 * international/uni-numeric.el:
12877 * international/uni-old-name.el:
12878 * international/uni-titlecase.el:
12879 * international/uni-uppercase.el: Regenerate.
12880
12881 * loadup.el: Load international/charprop.el before
12882 international/characters.
12883
e14b388a
CY
128842011-07-07 Chong Yidong <cyd@stupidchicken.com>
12885
12886 * window.el (next-buffer, previous-buffer): Signal an error if
12887 called from a minibuffer window.
12888
12889 * bindings.el: Revert 2011-07-04 change.
12890
354cf0ba
RS
128912011-07-06 Richard Stallman <rms@gnu.org>
12892
12893 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12894 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12895 Treat markers like ints.
12896 (rmail-mime-entity): Doc fix.
12897
a48868a7
LMI
128982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12899
4906cd3d
LMI
12900 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12901 defcustom again for backwards compatibility.
12902
e0457abe
LMI
12903 * simple.el (shell-command-on-region): Fill.
12904
d67f7e1f
LMI
12905 * dired-aux.el (dired-kill-line): Add a doc string.
12906
fe204702
LMI
12907 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12908 to "\\sw\\|\\s_" (bug#358).
12909
a48868a7
LMI
12910 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12911 (dired-unmark-backward): Ditto.
12912 (dired-flag-backup-files): Ditto.
12913
12914 * dired-x.el (dired-mark-sexp): Ditto.
12915
aa8a705c
RS
129162011-07-06 Richard Stallman <rms@gnu.org>
12917
12918 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12919 (rmail-mime-entity): New arg TRUNCATED.
12920 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12921 New functions.
12922 (rmail-mime-save): Warn if entity is truncated.
12923 (rmail-mime-toggle-hidden): Likewise, for showing.
12924 (rmail-mime-process-multipart): Record when an entity is truncated.
12925
a9a936b9
RS
12926 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12927 if ENTITY is a string.
12928
1f2b92cb
LMI
129292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12930
f4f73198 12931 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12932 of faces when `M-C-x'-ing their definitions (bug#8378).
12933 Also clean up the code slightly.
f4f73198 12934
12b16734 12935 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12936 because that makes the colors go away.
12b16734 12937
f0691d22
LMI
12938 * mail/sendmail.el (send-mail-function): Change the default to
12939 `sendmail-query-once'.
9e87df06 12940 (sendmail-query-once): Add an autoload cookie.
f0691d22 12941
1f2b92cb
LMI
12942 * net/network-stream.el (network-stream-open-starttls): Try using
12943 a plain connection even if the server offered STARTTLS, and we
12944 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12945 capability. This should make smtpmail.el work in slightly more
12946 configurations.
12947
1cdd2a1b
MA
129482011-07-06 Michael Albinus <michael.albinus@gmx.de>
12949
12950 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12951 New defun.
12952 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12953
fbcc67e2
MM
129542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12955
12956 * progmodes/sql.el: Version 3.0
0757af94 12957 (sql-product-alist): Add product :completion-object,
fbcc67e2 12958 :completion-column, and :statement attributes.
0757af94 12959 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12960 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12961 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12962 ansi keywords.
12963 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12964 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12965 (sql-oracle-show-reserved-words): New function for development.
12966 (sql-product-font-lock): Simplify for source code buffers.
12967 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12968 New functions.
12969 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12970 (sql-mode-map): Add statement movement functions.
12971 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12972 New variable.
fbcc67e2
MM
12973 (sql-statement-regexp, sql-beginning-of-statement)
12974 (sql-end-of-statement, sql-signum): New functions.
0757af94 12975 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12976 (sql-show-sqli-buffer): Bug fix.
12977 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12978 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12979 with sql-interactive-mode.
12980 (sql-save-connection): Save buffer local settings.
0757af94 12981 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12982 (sql-product-interactive): Bug fix.
12983 (sql-preoutput-hold): New variable.
12984 (sql-interactive-remove-continuation-prompt): Bug fixes.
12985 (sql-debug-redirect): New variable.
12986 (sql-str-literal): New function.
12987 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12988 Redesign.
fbcc67e2
MM
12989 (sql-oracle-save-settings, sql-oracle-restore-settings)
12990 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12991 (sql-completion-object, sql-completion-column)
12992 (sql-completion-sqlbuf): New variables.
12993 (sql-build-completions-1, sql-build-completions)
12994 (sql-try-completion): New functions.
12995 (sql-read-table-name): Use them.
12996 (sql-contains-names): New buffer local variable.
12997 (sql-list-all, sql-list-table): Use it.
12998 (sql-oracle-completion-types): New variable.
12999 (sql-oracle-completion-object, sql-sqlite-completion-object)
13000 (sql-postgres-completion-object): New functions.
13001
d4eaeab1
GM
130022011-07-06 Glenn Morris <rgm@gnu.org>
13003
13004 * window.el (pop-to-buffer): Doc fix.
13005
322b7dab 130062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13007
13008 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13009
322b7dab 130102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13011
322b7dab 13012 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13013
322b7dab 13014 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13015
605dd5bf
CY
130162011-07-05 Chong Yidong <cyd@stupidchicken.com>
13017
13018 * button.el (button): Inherit from link face. Suggested by Dan
13019 Nicolaescu.
13020
7dbfa719
SM
130212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13022
3db614b0
SM
13023 * progmodes/gdb-mi.el: Fit in 80 columns.
13024 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13025 switch-to-buffer.
13026
7dbfa719
SM
13027 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13028 if imenu is simply not configured (bug#8941).
13029
919d884a
KM
130302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13031
13032 * allout.el (allout-post-undo-hook): New allout outline-change
13033 event hook to signal undo activity.
13034 (allout-post-command-business): Run allout-post-undo-hook if an
13035 undo just occurred.
7dbfa719
SM
13036 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13037 * allout-widgets.el (allout-widgets-after-undo-function):
13038 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13039 in the vicinity of an undo.
13040 (allout-widgets-mode): Include allout-widgets-after-undo-function
13041 on the new allout-post-undo-hook.
13042
450a0f09
SM
130432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13046 Let define-derived-mode define it.
13047 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13048 cycles of abbrev-table inheritance (bug#8998).
13049
2de69e00
RW
130502011-07-05 Roland Winkler <winkler@gnu.org>
13051
13052 * textmodes/bibtex.el: Add support for biblatex.
13053 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13054 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13055 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13056 (bibtex-entry-alist, bibtex-field-alist): New variables.
13057 (bibtex-entry-field-alist): Obsolete alias for
13058 bibtex-BibTeX-entry-alist.
13059 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13060 (bibtex-set-dialect): New command.
13061 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13062 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13063 Bind via bibtex-set-dialect.
2de69e00
RW
13064 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13065 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13066 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13067 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13068 Define via bibtex-set-dialect.
450a0f09
SM
13069 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13070 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13071 (bibtex-vec-push, bibtex-vec-incr): New functions.
13072 (bibtex-format-entry, bibtex-field-list)
13073 (bibtex-print-help-message, bibtex-validate)
13074 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13075
2dcdbdd9
SM
130762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * progmodes/compile.el (compilation-goto-locus):
13079 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13080 * bs.el (bs-cycle-next, bs-cycle-previous):
13081 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13082 * bindings.el (mode-line-other-buffer):
13083 * autoinsert.el (auto-insert):
13084 * arc-mode.el (archive-extract):
13085 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13086
b27640fe
JB
130872011-07-05 Juanma Barranquero <lekktu@gmail.com>
13088
13089 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13090 Fix check of `emacs-lock-unlockable-modes'.
13091 Coerce true values of `emacs-lock--try-unlocking' to t.
13092
53bbe3ad
JB
130932011-07-05 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13096 * emacs-lock.el: New file.
13097
1d3cdbc7
JD
130982011-07-05 Julien Danjou <julien@danjou.info>
13099
13100 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13101 than `boundp' to check if face is set.
13102
9173deec
JB
131032011-07-05 Juanma Barranquero <lekktu@gmail.com>
13104
13105 * register.el (registerv-make):
13106 * window.el (window-min-height): Fix typos in docstrings.
13107
869795d6
JD
131082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13109
9173deec 13110 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13111 Update doc string.
13112
b768cdcd
JB
131132011-07-04 Juanma Barranquero <lekktu@gmail.com>
13114
13115 * server.el (server-execute): Catch quit and call
13116 `server-return-error' to pass the error back to emacsclient and
13117 close the connection (bug#8942).
13118
13aa217b
KM
131192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13120
13121 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13122 insecure exception for current topic. Also note that auto-saves
13123 are handled differently.
13124
5d3385a0 13125 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13126 State variables for tracking auto-save inhibition situation.
13127
13128 (allout-write-contents-hook-handler): Rename from
13129 'allout-write-file-hook-handler', and describe how it depends on
13130 write-contents-functions sensitivity to non-nil value to prevent
13131 file write.
13132
13133 (allout-auto-save-hook-handler): Remove. auto-save does not check
13134 this in individual buffers, only in the starting buffer, so this
13135 is not the right way for us to inhibit auto-save in a buffer
13136 according to its condition.
13137
13138 (allout-mode): Use new allout-write-contents-hook-handler, and
13139 only with write-contents-functions. Remove auto-save provisions -
13140 they're implemented elsewhere.
13141
13142 (allout-before-change-handler): If undo is in progress, note that
13143 for attention of allout-post-command-business.
13144
13145 (allout-post-command-business): If the command we're following was
13146 an undo, check for change in the status of encrypted items and
13147 adjust auto-save inhibitions accordingly.
13148
13149 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13150 according to whether there are or aren't any plain-text topics
13151 pending encryption.
13152
2dcdbdd9 13153 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13154 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13155 if there are plain-text topics pending encryption.
13aa217b
KM
13156
13157 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13158 buffer-saved-size and some allout state to not inhibit auto-saves
13159 if there are no longer any plain-text topics pending encryption.
13160
0757af94
SM
13161 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13162 No longer provide for exemption of the current topic.
13aa217b 13163
ac89b32c
JL
131642011-07-04 Juri Linkov <juri@jurta.org>
13165
13166 Add 7z operations to delete and save changed members (bug#8968).
13167 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13168 New defcustoms.
13169 (archive-7z-write-file-member): New function.
13170 (archive-7z-summarize): Fix the number of dashes in the
13171 listing output.
13172
8fa39615
SM
131732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13174
13175 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13176 (bug#8958).
13177
2f11b3f1
CY
131782011-07-04 Chong Yidong <cyd@stupidchicken.com>
13179
d66fef2b
CY
13180 * bindings.el: Ignore next-buffer and previous-buffer in
13181 minibuffer-local-map.
13182
2f11b3f1
CY
13183 * font-lock.el (font-lock-builtin-face): Change light background
13184 color to dark slate blue (Bug#6693).
13185
f932a347
WD
131862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13187
13188 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13189
c8af70e1
SM
131902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13191
13192 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13193 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13194 Add switch-to-buffer.
13195
f158badc
LMI
131962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13197
13198 * isearch.el (isearch-search-fun-function): Clarify further the
13199 meaning of the function returned.
13200
6d95bd46
MA
132012011-07-04 Michael Albinus <michael.albinus@gmx.de>
13202
13203 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13204
13205 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13206 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13207 Use it.
13208 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13209 `tramp-default-remote-path' does not exist.
13210 (tramp-send-command-and-read): New optional argument NOERROR.
13211 (tramp-open-connection-setup-interactive-shell)
13212 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13213 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13214 (tramp-process-sentinel): Flush also process' connection property.
13215 (tramp-sh-handle-start-file-process): Do not set process
13216 sentinel. It is done now ...
13217 (tramp-maybe-open-connection): ... here. (Bug#8929)
13218
909e6b67
MK
132192011-07-04 MON KEY <monkey@sandpframing.com>
13220
13221 * play/animate.el (animate-string): Doc fixes and allow changing
13222 the buffer name (bug#5417).
13223
132242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13225
c8af70e1 13226 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13227
f34755dc
PE
132282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13229
396cec72
PE
13230 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13231 This is simpler and helps future-proof the code.
13232 (timer-until): Use time-subtract and float-time.
08235028 13233 (timer--time-less-p): Use time-less-p.
f34755dc 13234
56e6cc31
JB
132352011-07-04 Juanma Barranquero <lekktu@gmail.com>
13236
3abb79e5
JB
13237 * type-break.el (timep): Use the value of `float-time' to avoid a
13238 byte-compiler warning.
13239
56e6cc31
JB
13240 * server.el (server-eval-and-print): Return any result, even nil.
13241
7b9430b4
PE
132422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13243
13244 * type-break.el: Accept time formats that the builtins accept.
13245 (timep, type-break-time-difference): Accept any format that
13246 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13247 This is simpler and helps future-proof the code.
13248 (type-break-time-difference): Round rather than ignoring
13249 subseconds components.
13250
3034e9e7
LMI
132512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13252
13253 * info.el (Info-apropos-matches): Make non-interactive, since it
13254 doesn't seem to do anything useful as a command (bug#8829).
13255
1485f4c0
CY
132562011-07-03 Chong Yidong <cyd@stupidchicken.com>
13257
13258 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13259 Move from faces.el.
1485f4c0
CY
13260 (frame-default-terminal-background): New function.
13261
13262 * custom.el (custom-push-theme): Don't record faces in `changed'
13263 theme; this doesn't work correctly for per-frame face settings.
13264 (disable-theme): Use face-set-after-frame-default to reset faces.
13265 (custom--frame-color-default): New function.
13266
9fa3dd45
LMI
132672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13268
c8af70e1 13269 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13270 (bug#8769).
13271
6cbbc20c
KR
132722011-03-29 Kevin Ryde <user42@zip.com.au>
13273
13274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13275 `perl-Test2' extend to match possible "fail #N" rep count
13276 (bug#8377).
13277
c7f98048
LMI
132782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13279
65676592
LMI
13280 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13281 `smtpmail-via-smtp' now returns the error instead of nil.
13282
c7f98048
LMI
13283 * isearch.el (isearch-search-fun-function): Clarify the doc string
13284 (bug#8101).
13285
56e6cc31 132862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13287
13288 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13289 unnecessary spaces (bug#8987).
13290
2b216704
LMI
132912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13292
13293 * net/network-stream.el (open-network-stream): Use the
13294 :end-of-capability command thoughout.
13295
132962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13297
13298 * net/network-stream.el (open-network-stream): Add the
13299 :end-of-capability command parameter, used by pop3.el.
13300
36adf6ce
LMI
133012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13302
1ca0da0e
LMI
13303 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13304
fc00f69c
LMI
13305 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13306 for list)" (bug#6475).
13307
28fd8759 13308 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13309 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13310 an error (bug#6297).
13311
0dd8b6da
LMI
13312 * man.el (Man-reference-regexp): Allow matching possible
13313 word-wrapped references (bug#6289).
13314
ce1438d6
LMI
13315 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13316 for consistency with the other vc buffers (bug#6197).
13317 (vc-checkin): Ditto.
13318
13319 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13320
36adf6ce
LMI
13321 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13322
e83cc1f7
LMI
133232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13324
8a20ca4c
LMI
13325 * custom.el (defcustom): Clarify that :set is only used in the
13326 Customize user interface (bug#6089).
13327
83319045
LMI
13328 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13329 associated with a file, refuse to run instead of erroring out
13330 (bug#6084).
13331
a8392169
LMI
13332 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13333 the doc string, since it appears that using `fill-column' always
13334 controls the width (bug#7845).
13335
e83cc1f7
LMI
13336 * simple.el (shell-command-on-region): Say where the error output
13337 went if `shell-command-default-error-buffer' is set (bug#6857).
13338
e47ca23b
KM
133392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13340
13341 * allout.el (allout-yank-processing): Adjust cursor position for
13342 backwards-deleted space.
13343
13344 (allout-rebullet-heading): Register changes with
13345 allout-exposure-changed-hook, so the modified topic is properly
13346 decorated.
13347
5cf56143
LMI
133482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
08549772
LMI
13350 * minibuffer.el (completion-in-region): Document PREDICATE
13351 (bug#7136).
13352
48e96771
LMI
13353 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13354 of keyword/argument pairs (bug#6904).
13355
c8af70e1
SM
13356 * replace.el (multi-occur):
13357 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13358
e17d05e2
LMI
133592011-07-02 Drew Adams <drew.adams@oracle.com>
13360
13361 * dired.el (dired-mark-if): Make the message about whether it's
13362 marking or unmarking clearer (bug#8523).
13363
063b0e45
LMI
133642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13365
13366 * disp-table.el (display-table-print-array): New function.
13367 (describe-display-table): Use it to print the vectors more pretty
13368 (Bug#8859).
13369
28545e04
MR
133702011-07-02 Martin Rudalics <rudalics@gmx.at>
13371
13372 * window.el (window-state-get-1): Don't assign clone numbers.
13373 Add clone-of item to list of window parameters.
13374 (window-state-put-2): Don't process clone numbers.
13375 (display-buffer-alist): Fix doc-string.
13376
3349e122
SM
133772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13378
13379 * subr.el (remq): Don't allocate if it's not needed.
13380 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13381 (keymap--merge-bindings): New functions.
13382 (keymap-canonicalize): Use them to refine the canonicalization.
13383 * minibuffer.el (minibuffer-local-completion-map)
13384 (minibuffer-local-must-match-map): Move initialization from C.
13385 (minibuffer-local-filename-completion-map): Move initialization from C;
13386 don't inherit from anything here.
13387 (minibuffer-local-filename-must-match-map): Make obsolete.
13388 (completing-read-default): Use make-composed-keymap to combine
13389 minibuffer-local-filename-completion-map with either
13390 minibuffer-local-must-match-map or
13391 minibuffer-local-filename-completion-map.
13392
d224ac83
GM
133932011-07-01 Glenn Morris <rgm@gnu.org>
13394
3de63bf8
GM
13395 * type-break.el (type-break-time-sum): Use dolist.
13396
d224ac83
GM
13397 * textmodes/flyspell.el (flyspell-word-search-backward):
13398 Replace CL function.
13399
1a1e3f32
SM
134002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13401
fe3f64d5
SM
13402 * mouse.el (mouse--strip-first-event): New function.
13403 (function-key-map): Use it to map fringe clicks to normal clicks
13404 by default.
13405
eb604e34
SM
13406 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13407 (vc-bzr-revision-completion-table): Add support for annotate and date.
13408
1a1e3f32
SM
13409 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13410 inherit from parent.
13411
5bd35902
LMI
134122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13413
ace6c69c 13414 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13415 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13416
191e2bed
LMI
13417 * dired.el (dired-mode): Fix up the doc string as suggested by
13418 Drew Adams (bug#8817).
13419
5bd35902
LMI
13420 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13421 cookie, since the manual says that it should be possible to add
13422 this function to `find-file-hook' (bug#8709).
13423
eee8207a
TZ
134242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13425
13426 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13427 here. Noted Ted Zlatanov as the maintainer.
13428 (cfengine-common-settings, cfengine-common-syntax): New functions
13429 to set up common things between `cfengine-mode' and
13430 `cfengine3-mode'.
13431 (cfengine3-mode): New mode.
13432 (cfengine3-defuns cfengine3-defuns-regex
13433 (cfengine3-class-selector-regex cfengine3-category-regex)
13434 (cfengine3-vartypes cfengine3-font-lock-keywords)
13435 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13436 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13437
36b148cf
MA
134382011-07-01 Michael Albinus <michael.albinus@gmx.de>
13439
13440 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13441
13442 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13443
0bf4ba9a
MR
134442011-07-01 Martin Rudalics <rudalics@gmx.at>
13445
13446 * window.el (same-window-buffer-names, same-window-regexps)
13447 (same-window-p, special-display-frame-alist)
13448 (special-display-popup-frame, special-display-function)
13449 (special-display-buffer-names, special-display-regexps)
13450 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13451 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13452 (split-window-preferred-function, split-height-threshold)
13453 (split-width-threshold, even-window-heights)
13454 (display-buffer-mark-dedicated, window-splittable-p)
13455 (split-window-sensibly, window-safely-shrinkable-p):
13456 Un-obsolete.
13457 (display-buffer): Don't spread args with function specifier
13458 because special-display-popup-frame won't like it.
13459
35837f51
PE
134602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13461
d0672f86
PE
13462 Time-stamp simplifications and fixes.
13463 These improve accuracy slightly, and future-proof the code
13464 against some potential changes to current-time format.
13465
b9444d97
PE
13466 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13467 by using time-since and float-time.
13468
0ef923dc
PE
13469 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13470 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13471 + NNN microseconds".
13472
2f81380d
PE
13473 * type-break.el (type-break-time-sum): Rewrite using time-add.
13474
845b5c3e
PE
13475 * play/hanoi.el (hanoi-current-time-float): Remove.
13476 All uses replaced by float-time.
13477
ee6f1be0
PE
13478 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13479 This yields a more-accurate answer.
13480 (rng-time-to-float): Remove; no longer needed.
13481
fe955043
PE
13482 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13483
5777162a
PE
13484 * calendar/timeclock.el (timeclock-seconds-to-time):
13485 Defalias to seconds-to-time, since they're the same thing.
13486
3103f8b6 13487 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13488 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13489 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13490
0e61a35f
SM
134912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * window.el (bury-buffer): Don't iconify the only frame.
13494 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13495 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13496
ddd63a1e
CY
134972011-07-01 Chong Yidong <cyd@stupidchicken.com>
13498
0e61a35f
SM
13499 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13500 Add mouse-yank-primary.
ddd63a1e 13501
055f4923
TZ
135022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13503
13504 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13505
6a2fb145
SM
135062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13507
13508 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13509 (find-library-name): Use it to find relative load names when provided
13510 absolute file name (bug#8803).
13511
fd4983f2
LMI
135122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13513
887d14ad
LMI
13514 * textmodes/flyspell.el (flyspell-word): Consider words that
13515 differ only in case as potential doublons (bug#5687).
13516
c53dc7fc
LMI
13517 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13518 Remove two rather uninteresting debugging-like messages to make
13519 debbugs.el more silent.
13520
fd4983f2
LMI
13521 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13522 a password-like phrase.
13523
7a71b18d 135242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13525
13526 * progmodes/cc-guess.el: New file.
13527
6a2fb145 13528 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13529
13530 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13531 derived from `c-basic-common-init'.
13532
13533 * progmodes/cc-mode.el (top-level): Require cc-guess.
13534 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13535
1fa280a3
LM
135362011-06-30 Lawrence Mitchell <wence@gmx.li>
13537
13538 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13539
e6597158
AM
135402011-06-30 Alan Mackenzie <acm@muc.de>
13541
1fa280a3
LM
13542 * progmodes/cc-engine.el (c-guess-continued-construct):
13543 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13544 lock is disabled. Name this case as "CASE G".
13545
68ba37fb
KM
135462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13547
13548 * allout.el (allout-yank-processing): Fix injection of extra space
13549 between bullet and non-whitespace character in first topic when
13550 pasting, ensuring that the actual spacing in the pasted topic
13551 following the bullet char is preserved. This extra space was
13552 causing pasted encrypted topics to get a decrypted status even
13553 when the content was actually still encrypted. Now the decryption
13554 status from before the paste is preserved.
13555
13556 (allout-flag-region): Set all allout overlays so they evaporate
13557 when reduced to zero length (evanescent), to prevent overlay
13558 leakage.
13559
887a0b34
GM
135602011-06-30 Glenn Morris <rgm@gnu.org>
13561
94b9acce
GM
13562 * w32-fns.el (w32-charset-info-alist): Declare.
13563
1d9b46d4
GM
13564 * find-dired.el (find-grep-options): Simplify.
13565
cc232200
GM
13566 * term/ns-win.el (ns-set-resource): Declare.
13567
28e77c46
GM
13568 * ses.el (row, col): Declare dynamic variables honestly.
13569
887a0b34
GM
13570 * textmodes/reftex-parse.el (index-tags): Declare.
13571
658d8eb8
CY
135722011-06-30 Chong Yidong <cyd@stupidchicken.com>
13573
13574 * cus-edit.el (customize-push-and-save): New function.
13575
13576 * files.el (hack-local-variables-confirm): Use it.
13577
1fa280a3
LM
13578 * custom.el (load-theme): New arg NO-CONFIRM.
13579 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13580 (custom-enabled-themes): Doc fix.
13581
13582 * cus-theme.el (customize-create-theme)
13583 (custom-theme-merge-theme): Callers to load-theme changed.
13584
bb617717
LMI
135852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13586
d61bdd5d
LMI
13587 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13588 short URLs have at least one dot in them (bug #7614).
13589
bb617717
LMI
13590 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13591 nil, because using a pty is apparently too slow (bug #895).
13592
2f31f37a
LMI
135932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594
13595 * mail/sendmail.el (sendmail-query-once): New function.
13596 (sendmail-query-once-function): New variable.
13597
3076b24e
GM
135982011-06-29 Glenn Morris <rgm@gnu.org>
13599
faf2a174
GM
13600 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13601
3076b24e
GM
13602 * ses.el (top-level): Require cl when compiling.
13603 (ses-set-localvars): Fix error statement.
13604 Call it at compile time to silence a storm of warnings.
13605
5386012d
MR
136062011-06-29 Martin Rudalics <rudalics@gmx.at>
13607
13608 * window.el (normalize-live-buffer): Rename to
13609 window-normalize-buffer.
13610 (normalize-live-frame): Rename to window-normalize-frame.
13611 (normalize-any-window): Rename to window-normalize-any-window.
13612 (normalize-live-window): Rename to window-normalize-live-window.
13613 (make-window-atom): Rename to window-make-atom.
13614 (window-resize-reset): Rename to window--resize-reset.
13615 (window-resize-reset-1): Rename to window--resize-reset-1.
13616 (resize-mini-window): Rename to window--resize-mini-window.
13617 (resize-subwindows-skip-p): Rename to
13618 window--resize-subwindows-skip-p.
13619 (resize-subwindows-normal): Rename to
13620 window--resize-subwindows-normal.
13621 (resize-subwindows): Rename to window--resize-subwindows.
13622 (resize-other-windows): Rename to window--resize-siblings.
13623 (resize-this-window): Rename to window--resize-this-window.
13624 (resize-root-window): Rename to window--resize-root-window.
13625 (resize-root-window-vertically): Rename to
13626 window--resize-root-window-vertically.
13627 (normalize-buffer-to-display): Rename to
13628 window-normalize-buffer-to-display.
13629 (normalize-buffer-to-switch-to): Rename to
13630 window-normalize-buffer-to-switch-to.
13631 Correspondingly update all callers of the functions listed
13632 above.
13633 (display-buffer-alist, display-buffer-normalize-arguments)
13634 (display-buffer-normalize-options, display-buffer)
13635 (display-buffer-alist-set): Use "function" instead of
13636 "fun-with-args".
13637
1176868d
CY
136382011-06-28 Chong Yidong <cyd@stupidchicken.com>
13639
13640 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13641 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13642 debbugs.gnu.org. Mention acknowledgment email.
13643
20a7a65f
LMI
136442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13645
13646 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13647 buffer multibyteness, since it shouldn't matter.
13648
5f45cca5
MR
136492011-06-28 Martin Rudalics <rudalics@gmx.at>
13650
13651 * window.el (display-buffer-in-side-window): Handle dedicated
13652 windows as in display-buffer-reuse-window.
13653 (display-buffer-normalize-alist): Use value of override
13654 specifier.
13655 (display-buffer-normalize-specifiers): Use value of
13656 other-window-means-other-frame specifier.
13657 (display-buffer-alist): Rewrite some texts in widgets.
13658 (display-buffer): Spread arguments when calling function
13659 specified by fun-with-args.
13660
ad85fe1f
DD
136612011-06-28 Deniz Dogan <deniz@dogan.se>
13662
1fa280a3
LM
13663 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13664 Unnest `let'.
da68c4c8 13665
ad85fe1f
DD
13666 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13667 selectors (Bug#5732).
ec49bd31 13668 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13669
a08cc025
JA
136702011-06-27 Jari Aalto <jari.aalto@cante.net>
13671
13672 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13673 (eshell-ls-date-format): New defcustom.
13674 (eshell-ls-file): Use it.
13675
e2b551c5
SM
136762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13679
8982b231
KY
136802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13681
13682 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13683 (ange-ftp-make-tmp-name): New arg.
13684 (ange-ftp-file-local-copy): Use it.
13685
36c9fa27
J
136862011-06-27 Jambunathan K <kjambunathan@gmail.com>
13687
13688 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13689 no-conversion (Bug#8870).
13690
d68443dc
MR
136912011-06-27 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (window-right, window-left, window-child)
13694 (window-child-count, window-last-child)
13695 (window-iso-combination-p, walk-window-tree-1)
13696 (window-atom-check-1, window-tree-1, delete-window)
13697 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13698 new naming conventions - window-vchild, window-hchild,
13699 window-next and window-prev are now called window-top-child,
13700 window-left-child, window-next-sibling and window-prev-sibling
13701 respectively.
d615d6d2
MR
13702 (resize-window-reset): Rename to window-resize-reset.
13703 (resize-window-reset-1): Rename to window-resize-reset-1.
13704 (resize-window): Rename to window-resize.
13705 (window-min-height, window-min-width)
13706 (resize-mini-window, resize-this-window, resize-root-window)
13707 (resize-root-window-vertically, adjust-window-trailing-edge)
13708 (enlarge-window, shrink-window, maximize-window)
13709 (minimize-window, delete-window, quit-restore-window)
13710 (split-window, balance-windows, balance-windows-area-adjust)
13711 (balance-windows-area, window-state-put-2)
13712 (display-buffer-even-window-sizes, display-buffer-set-height)
13713 (display-buffer-set-width, set-window-text-height)
13714 (fit-window-to-buffer): Rename all "resize-window" prefixed
13715 calls to use the "window-resize" prefix convention.
13716 (display-buffer-alist): Fix symbol for label specifier.
13717 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13718 corresponding specifier.
13719 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13720
b6458526
VB
137212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13722
13723 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13724 convention.
13725 (ses-call-printer): Does not pass an empty string to formatter when the
13726 cell is empty to keep from barking printer Calc math-format-value.
13727
d31fd9ac
RS
137282011-06-27 Richard Stallman <rms@gnu.org>
13729
43d5bf84
RS
13730 * battery.el (battery-mode-line-limit): New variable.
13731 (battery-update): Handle it.
13732
d31fd9ac
RS
13733 * mail/rmailmm.el (rmail-mime-process-multipart):
13734 Handle truncated messages.
13735
819a6054
GM
137362011-06-27 Glenn Morris <rgm@gnu.org>
13737
13738 * progmodes/flymake.el (flymake-err-line-patterns):
13739 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13740
cedc73f2
VB
137412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13742
819a6054 13743 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13744 (ses--clean-!, ses--clean-_): New functions.
13745 (ses-range): Add configurability of readout order, and conversion
13746 to Calc vector.
13747
5e5d49b6
VB
13748 * ses.el (ses-repair-cell-reference-all): New function.
13749 (ses-cell-symbol): Set macro as safe, so that it can be used in
13750 formulas.
13751
56e6cc31 13752 * ses.el: Update cycle detection algorithm.
90ca8b49 13753 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13754 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13755 (ses-set-localvars): New function.
13756 (ses-make-cell): Add property-list as a cell element.
13757 (ses-cell-property-get-fun, ses-cell-property-get)
13758 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13759 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13760 New functions.
90ca8b49
VB
13761 (ses-cell-property-set, ses-cell-property-pop)
13762 (ses-cell-property-get-handle): New macro.
13763 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13764 New aliases, used for code readability.
13765 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13766 cycle detection.
13767 (ses-self-reference-early-detection): New defcustom.
fac916bf 13768 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13769 (ses-mode): Use ses-set-localvars.
13770 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13771 before lauching the update processing.
13772 (ses-initialize-Dijkstra-attempt): New function.
13773 (ses-recalculate-cell): Update for cycle detection based on
13774 Dijkstra algorithm.
13775
2bb63e81
VB
13776 * ses.el: Fix commenting and indenting convention.
13777
c9d29fb8
SM
137782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * bs.el (bs-cycle-next): Complete last change.
13781
d8e4b68b
JB
137822011-06-27 Drew Adams <drew.adams@oracle.com>
13783
13784 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13785
40098786
LMI
137862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13787
c9d29fb8
SM
13788 * net/network-stream.el (network-stream-open-starttls):
13789 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13790 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13791
40098786
LMI
13792 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13793 to binary to possibly avoid line encoding issues on Windows (among
13794 other things).
13795
468d09d4
LMI
137962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13797
13798 * net/network-stream.el (open-network-stream): Return an :error
13799 saying what the problem was, if possible.
13800
13801 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13802 server.
13803
13804 * net/network-stream.el (network-stream-open-starttls): If we
13805 wanted to use STARTTLS, and the server offered it, but we weren't
13806 able to because we had no STARTTLS support, then close the connection.
13807 (open-network-stream): Return an :error element, if present.
13808
16f07dd7
CY
138092011-06-26 Chong Yidong <cyd@stupidchicken.com>
13810
88821ca0
CY
13811 * hl-line.el (hl-line-sticky-flag): Doc fix.
13812 (global-hl-line-sticky-flag): New option (Bug#8323).
13813 (global-hl-line-highlight): Obey it.
13814
16f07dd7
CY
13815 * vc/vc.el (vc-revert-show-diff): Default to t.
13816
6b5ccddf
KM
138172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13818
c9d29fb8
SM
13819 * allout-widgets.el (allout-widgets-post-command-business):
13820 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13821 undecorated when an isearch is continued past, and isearch
13822 automatically collapses them. This leads to "widget leaks", where
13823 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13824 hidden widgets can slow down cursor travel, substantially.
13825 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13826 so we're doing without this nicety.
13827
13828 (allout-widgets-tally-string): Don't try to do a hash-table-count
13829 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13830 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13831 *Messages* when allout-widgets-maintain-tally is t.
13832
355f2e07
MR
138332011-06-26 Martin Rudalics <rudalics@gmx.at>
13834
13835 * window.el (display-buffer-normalize-argument): Rename to
13836 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13837 LABEL argument. Respect special-display-function when popping up
13838 a new frame. Fix code searching for a window showing the buffer
13839 on another frame.
c9d29fb8
SM
13840 (display-buffer-normalize-specifiers):
13841 Call display-buffer-normalize-arguments.
355f2e07
MR
13842 (display-buffer-in-window): Don't undedicate the window if its
13843 buffer remains the same.
13844 Reported by Drew Adams <drew.adams@oracle.com>.
13845 (display-buffer-alist): Add choice for same-window macro
13846 specfier.
13847 (display-buffer): Mention special meaning of LABEL argument in
13848 doc-string. Fix quoting. Don't pop up a new frame even as
13849 fallback.
13850
7ca8fc42
JB
138512011-06-26 Juanma Barranquero <lekktu@gmail.com>
13852
13853 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13854 avoid deleting the current window in some cases (bug#8911).
13855
bc312254
AS
138562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13857
13858 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13859 (Bug#8934)
13860
2db18f3f
LMI
138612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13862
c9d29fb8
SM
13863 * net/network-stream.el (network-stream-open-starttls):
13864 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13865 (network-stream-open-tls): Ditto.
13866
6302e0d3
LL
138672011-06-26 Leo Liu <sdl.web@gmail.com>
13868
13869 * register.el (registerv): New struct.
13870 (registerv-make): New function.
c9d29fb8
SM
13871 (jump-to-register, describe-register-1, insert-register):
13872 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13873 struct. (Bug#8415)
13874
5fdd4046
CY
138752011-06-26 Chong Yidong <cyd@stupidchicken.com>
13876
2afef60a
CY
13877 * vc/vc.el (vc-revert-show-diff): New defcustom.
13878 (vc-diff-internal): New arg specifying diff buffer.
13879 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13880 reuse an existing *vc-diff* buffer (Bug#8927).
13881
5fdd4046
CY
13882 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13883
e93db24a
GM
138842011-06-26 Glenn Morris <rgm@gnu.org>
13885
13886 * progmodes/f90.el (f90-critical-indent): New option.
13887 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13888 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13889 (f90-mode): Doc fix.
13890 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13891 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13892 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13893 (f90-match-end): Handle block, critical.
13894
eefff499
GM
138952011-06-25 Glenn Morris <rgm@gnu.org>
13896
f6ba4cc9
GM
13897 * calendar/diary-lib.el (diary-included-files): Doc fix.
13898 (diary-include-files): New function, extracted from
13899 diary-include-other-diary-files and diary-mark-included-diary-files.
13900 (diary-include-other-diary-files, diary-mark-included-diary-files):
13901 Just call diary-include-files.
13902 (diary-mark-entries): Reset diary-included-files on first call.
13903
16712304
GM
13904 * calendar/diary-lib.el (diary-mark-entries)
13905 (diary-mark-included-diary-files):
13906 Visit included diary-files in temp buffers.
13907
5d8e0d43
GM
13908 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13909 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13910 (f90-start-block-re, f90-imenu-generic-expression)
13911 (f90-looking-at-program-block-start, f90-no-block-limit):
13912 Add support for submodules.
13913
ccf7a5d5
GM
13914 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13915 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13916
11fdef7d 139172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13918
13919 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13920 buffer-file-type before setting its value, to avoid disastrous
eefff499 13921 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13922
74f53697
JB
139232011-06-25 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13926
13927 * ses.el (ses-unload-function):
13928 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13929
13930 * proced.el (proced-unload-function):
13931 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13932
18a4ce5e
AR
139332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13934
13935 * server.el (server-create-window-system-frame): Add parameters arg.
13936 (server-process-filter): Doc fix. Handle frame-parameters.
13937
519d22cc
JB
139382011-06-25 Juanma Barranquero <lekktu@gmail.com>
13939
13940 Fix bug#8730, bug#8781.
13941
13942 * loadhist.el (unload--set-major-mode): New function.
13943 (unload-feature): Use it.
13944
13945 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13946 (python-unload-function): New function.
13947
c206f5b0
SM
139482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13951
f9ad64f3
GS
139522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13953
13954 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13955 the candidates list.
13956
7d0da90e
JB
139572011-06-24 Juanma Barranquero <lekktu@gmail.com>
13958
13959 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13960
14b4e83d
RS
139612011-06-23 Richard Stallman <rms@gnu.org>
13962
13963 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13964 (rmail-variables): Set next-error-move-function.
13965 (rmail-what-message): Take argument POS.
13966 (rmail-next-error-move): New function.
13967
273d2baf
SM
139682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13971 messages for adjacent non-terminals.
13972
56c2cc9a
RS
139732011-06-23 Richard Stallman <rms@gnu.org>
13974
13975 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13976 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13977 (rmail-start-mail): Don't specify use of rmail-mail-return;
13978 that's done by mail-bury now.
13979 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13980
d59eb518
MA
139812011-06-23 Michael Albinus <michael.albinus@gmx.de>
13982
13983 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13984 SIZE is a number.
13985
02cfc6d6
MR
139862011-06-23 Martin Rudalics <rudalics@gmx.at>
13987
13988 * window.el (get-lru-window, get-mru-window)
13989 (get-largest-window): Never return a minibuffer window.
13990 (display-buffer-pop-up-window): Fix a bug that could lead to
13991 reusing the minibuffer window.
13992 (display-buffer): Pass original specifier argument to
13993 display-buffer-function instead of the normalized one.
13994 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13995
4e323265
LL
139962011-06-22 Leo Liu <sdl.web@gmail.com>
13997
13998 * minibuffer.el (completing-read-function)
13999 (completing-read-default): Move from minibuf.c
14000
7a70468f
RS
140012011-06-22 Richard Stallman <rms@gnu.org>
14002
50718fc2
RS
14003 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14004 to Rmail even if not started by a special Rmail command.
14005
7a70468f
RS
14006 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14007 Copy the buffer currently showing just one message.
14008
297dde5a
RW
140092011-06-22 Roland Winkler <winkler@gnu.org>
14010
14011 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14012 (bibtex-clean-entry): First delete the old key so that a
14013 customized algorithm for generating the new key does not get
14014 confused by the old key.
14015 (bibtex-url): Obey regexp of first step.
14016 (bibtex-search-entries): Do not use add-to-list with local
14017 list-var.
14018
97bb1093
LMI
140192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14020
14021 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14022 stored a user name, then query for the password first, instead of
14023 waiting for SMTP to give an error message and the trying again.
14024
1c0f1a19
JD
140252011-06-22 Lawrence Mitchell <wence@gmx.li>
14026
14027 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14028 BUFFER in call-process.
14029
396f7c9d
LMI
140302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14031
14032 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14033 QUIT twice.
ddb7ffee
LMI
14034 (smtpmail-try-auth-methods): Require user name and password from
14035 auth-source.
396f7c9d 14036
8998d1b3
MR
140372011-06-22 Martin Rudalics <rudalics@gmx.at>
14038
14039 * window.el (display-buffer-default-specifiers)
14040 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14041 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14042 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14043
14044 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14045 (special-display-frame-alist, special-display-popup-frame):
14046 Remove duplicate declarations. These are now in window.el.
14047
4ea31e07
LMI
140482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14049
c9d29fb8
SM
14050 * mail/smtpmail.el (smtpmail-via-smtp):
14051 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14052 server supports it. SMTP servers that support STARTTLS commonly
14053 require it.
14054
14055 * net/network-stream.el (network-stream-open-starttls): Support
14056 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14057 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14058
95f41d9a
LMI
14059 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14060 upgrades with `open-network-stream', and rely solely on
14061 auth-source for all credentials. Big changes throughout the file,
14062 but in particular:
c9d29fb8
SM
14063 (smtpmail-auth-credentials): Remove.
14064 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14065 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14066 MAIL FROM, too.
95f41d9a 14067
c9d29fb8
SM
14068 * net/network-stream.el (network-stream-open-starttls):
14069 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14070 STARTTLS.
14071 (auth-source): Require.
14072 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14073 (network-stream-certificate): Change cert-cert to cert and
14074 cert-key to key.
4ea31e07 14075
065ec2c7
MA
140762011-06-21 Michael Albinus <michael.albinus@gmx.de>
14077
14078 * net/tramp-cache.el (top): Don't load the persistency file when
14079 "emacs -Q" has been called.
14080
cd93b359
DR
140812011-06-21 Tim Harper <timcharper@gmail.com>
14082
d8e4b68b
JB
14083 * term/ns-win.el (ns-initialize-window-system):
14084 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14085 resource to NO as it is not yet supported by the NS port.
14086
ae9c0411
JB
140872011-06-21 Juanma Barranquero <lekktu@gmail.com>
14088
14089 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14090 (list-dynamic-libraries): ...not here.
14091
7f3f739f
LL
140922011-06-21 Leo Liu <sdl.web@gmail.com>
14093
14094 * subr.el (sha1): Implement sha1 using secure-hash.
14095
327c8fb1
MR
140962011-06-21 Martin Rudalics <rudalics@gmx.at>
14097
14098 * window.el (display-buffer-alist): In default value do not
14099 enforce searching a window on any but the selected frame.
14100 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14101 (display-buffer-select-window): Remove function.
14102 (display-buffer-in-window): When a window on another frame gets
14103 reused, do not select it any more but just raise its frame if
14104 necessary (Bug#8851) and (Bug#8856).
14105 (display-buffer-normalize-options): Handle pop-up-frames related
14106 options more faithfully.
14107 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14108 window if it is on another frame.
c9d29fb8
SM
14109 (display-buffer-alist, display-buffer-default-specifiers):
14110 Don't make new frame unsplittable by default.
9e9de014
MR
14111 (display-buffer-normalize-argument): Fix doc-string typo and use
14112 'same-frame-other-window instead of 'other-window when associating
14113 with display-buffer-macro-specifiers.
327c8fb1 14114
7cf3f556
VB
141152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14116
14117 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14118 New functions.
14119 (5x5-mode-map, 5x5-mode-menu): Bind them.
14120 (5x5-draw-grid): Tweak the solver's rendering.
14121
60a406cf
SM
141222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14125 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14126
d8e4b68b 141272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14128
14129 * menu-bar.el: Use function variable instead of switch-to-buffer.
14130 (menu-bar-select-buffer-function): New variable.
60a406cf 14131 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14132
478d6f95
SM
141332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14136 variable's status.
14137
ca530739
JD
141382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14139
14140 * x-dnd.el (x-dnd-version-from-flags)
14141 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14142 and long as number (Bug#8899).
14143 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14144
bcd70d97
SM
141452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14146
60a406cf 14147 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14148 (completion-try-completion, completion-all-completions): Compute the
14149 metadata argument if it's missing; make it optional (bug#8795).
14150
60a406cf 14151 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14152 (widget-complete): Use new :completion-function property.
14153 (widget-completions-at-point): New function.
14154 (default): Use :completion-function instead of :complete.
60a406cf
SM
14155 (widget-default-completions): Rename from widget-default-complete;
14156 Rewrite.
bcd70d97
SM
14157 (widget-string-complete, widget-file-complete, widget-color-complete):
14158 Remove functions.
14159 (file, symbol, function, variable, coding-system, color):
14160 * international/mule-cmds.el (default-input-method, charset)
14161 (language-info-custom-alist):
14162 * cus-edit.el (face): Use new property :completions.
14163
14164 * progmodes/pascal.el (pascal-completions-at-point): New function.
14165 (pascal-mode): Use it.
14166 (pascal-mode-map): Use completion-at-point.
14167 (pascal-toggle-completions): Make obsolete.
14168 (pascal-complete-word, pascal-show-completions):
14169 * progmodes/octave-mod.el (octave-complete-symbol):
14170 Redefine as obsolete alias.
14171 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14172 Signal absence of completion info for old Octave,
14173 (inferior-octave-complete): Redefine as obsolete alias.
14174 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14175 (meta-completions-at-point): Rename from meta-complete-symbol and
14176 adapt it for use on completion-at-point-functions.
14177 (meta-common-mode): Use it.
14178 (meta-looking-at-backward, meta-match-buffer): Remove.
14179 (meta-complete-symbol): Redefine as obsolete alias.
14180 (meta-common-mode-map): Use completion-at-point.
14181 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14182 (makefile-mode-map): Use completion-at-point.
14183 (makefile-completions-at-point): Rename from makefile-complete and
14184 adapt it for use on completion-at-point-functions.
14185 (makefile-mode): Use it.
14186 (makefile-complete): Redefine as obsolete alias.
14187
aebf69c8
DD
141882011-06-20 Deniz Dogan <deniz@dogan.se>
14189
14190 * net/rcirc.el: Delete trailing whitespaces once and for all.
14191
bfbbb27d
DC
141922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14193
14194 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14195
d264a46b
CY
141962011-06-19 Chong Yidong <cyd@stupidchicken.com>
14197
4ca009e5
CY
14198 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14199
d264a46b
CY
14200 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14201
fbf5b3ce
MR
142022011-06-19 Martin Rudalics <rudalics@gmx.at>
14203
14204 * window.el (display-buffer-other-window-means-other-frame):
14205 Call display-buffer-normalize-alist.
14206 (display-buffer-normalize-specifiers-1): Rename to
14207 display-buffer-normalize-argument. New argument other-frame.
14208 Rewrite.
14209 (display-buffer-normalize-specifiers-2): Rename to
14210 display-buffer-normalize-options.
14211 (display-buffer-normalize-alist-1): New function.
14212 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14213 display-buffer-normalize-alist.
14214 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14215 (display-buffer-normalize-options-inhibit): New variable.
14216 (display-buffer-normalize-specifiers): Rewrite calling
14217 display-buffer-normalize-alist,
14218 display-buffer-normalize-argument, and
14219 display-buffer-normalize-options. Don't call the latter if
14220 display-buffer-normalize-options-inhibit is non-nil.
14221 (frame-auto-delete): New option.
14222 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14223 (window-list-no-nils, window-state-ignored-parameters)
14224 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14225 (window-state-put-1, window-state-put-2, window-state-put):
14226 New functions.
9a028c23
MR
14227 (display-buffer-normalize-options): Move special-display-p group
14228 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14229
6d10d800
CY
142302011-06-18 Chong Yidong <cyd@stupidchicken.com>
14231
6420d28b
CY
14232 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14233 groups (Bug#8776).
14234 (rx-submatch-n): New function.
14235 (rx): Document it.
14236
ddb8b596
CY
14237 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14238 (Bug#8768).
14239
14240 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14241
77080289
CY
14242 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14243
61dfb316
CY
14244 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14245 anytime existing face settings are present (Bug#8889).
14246
6d10d800
CY
14247 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14248 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14249 Remove unused argument.
14250
be3fb2b8
MR
142512011-06-18 Martin Rudalics <rudalics@gmx.at>
14252
bcd70d97
SM
14253 * window.el (display-buffer-default-specifiers):
14254 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14255 pop-up-window-min-width, and another reuse-window specifier
14256 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14257 (display-buffer-normalize-specifiers-2):
14258 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14259 pop-up-windows is unset. Add a reuse-window specifier for the
14260 case popping up a new window fails.
14261 (special-display-popup-frame): Remove double quoting.
28dec25a 14262 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14263
1c6d8c76
SM
142642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14267 according to comint-completion-addsuffix.
14268
14269 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14270 (pcomplete-suffix-list): Mark as obsolete.
14271 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14272 pcomplete-seen in the closure.
14273 (pcomplete-comint-setup): Setup completion-at-point as well.
14274 (pcomplete--entries): New function.
14275 (pcomplete--env-regexp): New var.
14276 (pcomplete-entries): Rewrite to work with partial-completion and
14277 without relying on pcomplete-suffix-list.
14278 (pcomplete-pare-list): Remove, unused.
14279
25aef8b8
MR
142802011-06-17 Martin Rudalics <rudalics@gmx.at>
14281
14282 * window.el (display-buffer-alist): Set pop-up-window-min-height
14283 and pop-up-window-min-width in default value. Reported by
14284 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14285 other-window-means-other-frame.
14286 (display-buffer-macro-specifiers): Comment out entry for
14287 other-window specifier.
14288 (display-buffer-other-window-means-other-frame): New function.
14289 (display-buffer-normalize-specifiers-1): New arguments
14290 buffer-name and label. Treat other-window case specially.
14291 (display-buffer-normalize-specifiers-2): Treat other-window case
14292 specially.
14293 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14294 (display-buffer-normalize-specifiers):
14295 Call display-buffer-normalize-specifiers-3.
25aef8b8 14296
dbad4f69
MR
142972011-06-17 Martin Rudalics <rudalics@gmx.at>
14298
14299 * window.el (same-window-p): Fix two typos introduced when
14300 adding with-no-warnings.
d1067961
MR
14301 (display-buffer-normalize-specifiers-1): Don't check
14302 pop-up-frames for 'unset initialization.
14303 (display-buffer-normalize-specifiers-2): Major rewrite using
14304 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14305 (pop-up-frames, display-buffer-reuse-frames)
14306 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14307 Suggested by David Engster <deng@randomsample.de>.
14308 (even-window-heights): Initialize to 'unset.
14309 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14310 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14311 other window case.
dbad4f69 14312
9b9c9e3a
MR
143132011-06-16 Martin Rudalics <rudalics@gmx.at>
14314
bcd70d97
SM
14315 * window.el (display-buffer-normalize-specifiers-1):
14316 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14317 second argument of display-buffer (Bug#8865).
981d5c09
MR
14318 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14319 (switch-to-buffer-other-window-same-frame)
14320 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14321 Adams (Bug#8875).
9c2755e9
MR
14322 (display-buffer): Don't check noninteractive when calling
14323 display-buffer-pop-up-frame.
14324 (display-buffer-pop-up-frame): Never pop up a frame in
14325 noninteractive mode (Bug#8857).
67222e1d
MR
14326 (enlarge-window, shrink-window): Don't report an error when the
14327 window can't be resized as requested (Bug#8862).
9b9c9e3a 14328
2b75be67
SM
143292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14330
9ffdd3ba
SM
14331 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14332
cb581a67
SM
14333 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14334
2b75be67
SM
14335 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14336
8c0e3589
AM
143372011-06-15 Alan Mackenzie <acm@muc.de>
14338
cb581a67
SM
14339 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14340 for declarators, disable knr checking to speed up for normal files.
14341 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14342
b96e6cde
LMI
143432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14344
4bba86e6
LMI
14345 * net/network-stream.el (open-network-stream): Add the keyword
14346 :always-query-capabilities for the case where you want to force a
14347 `plain' network connection, but the protocol still requires the
14348 capabilitiy command (i.e., SMTP and EHLO).
14349
2b75be67 14350 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14351 consistency with other `-live-p' functions.
14352
efdcdbf8
SM
143532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * window.el (same-window-buffer-names, same-window-regexps)
14356 (special-display-frame-alist, special-display-popup-frame)
14357 (special-display-function, special-display-buffer-names)
14358 (special-display-regexps, pop-up-frame-alist)
14359 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14360 (pop-up-windows, split-window-preferred-function)
14361 (split-height-threshold, split-width-threshold, even-window-heights)
14362 (display-buffer-mark-dedicated): Don't encourage the use of
14363 display-buffer-alist from Elisp code.
14364
c5cde042
DN
143652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14366
14367 * progmodes/python.el (python-mode): Derive from prog-mode.
14368 * progmodes/ps-mode.el (ps-mode):
14369 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14370 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14371 * progmodes/ld-script.el (ld-script-mode): Likewise.
14372
baa1c9ab
MR
143732011-06-15 Martin Rudalics <rudalics@gmx.at>
14374
14375 * window.el (display-buffer-alist): Trim default value to avoid
14376 popping up a new frame (Bug#8857) or reusing an arbitrary window
14377 on another frame.
14378 (display-buffer): Do not fall back on popping up a new frame in
14379 batch mode (Bug#8857).
14380
c5dd5a51
CY
143812011-06-14 Chong Yidong <cyd@stupidchicken.com>
14382
14383 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14384 (custom-theme-summary): New function.
14385 (customize-themes): Use it.
14386
d647b7c4
GM
143872011-06-13 Glenn Morris <rgm@gnu.org>
14388
14389 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14390
9481c002
MR
143912011-06-13 Martin Rudalics <rudalics@gmx.at>
14392
357f93d2
MR
14393 * help.el (help-window): Remove variable.
14394 (help-window-point-marker, temp-buffer-max-height)
14395 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14396 (help-print-return-message): Don't set help-window.
14397 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14398 (help-window-setup-finish): Remove.
14399 (help-window-display-message, help-window-setup)
14400 (with-help-window): Major rewrite based on new
14401 display-buffer-window variable.
14402
14403 * help-mode.el (help-mode-finish): Remove help-window related
14404 code.
14405
14406 * view.el (view-exits-all-viewing-windows): Remove reference to
14407 view-return-to-alist in doc-string.
14408 (view-return-to-alist): Make obsolete.
14409 (view-buffer): Call pop-to-buffer-same-window and remove
14410 undo-window code.
14411 (view-buffer-other-window): Call pop-to-buffer-other-window and
14412 simplify code. Ignore second argument.
14413 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14414 simplify code. Ignore second argument.
14415 (view-return-to-alist-update): Make obsolete.
14416 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14417 Rewrite using quit-restore window parameters.
2b75be67
SM
14418 (view-mode-exit): Rename second argument to EXIT-ONLY.
14419 Rewrite using quit-restore-window.
357f93d2
MR
14420 (View-exit, View-exit-and-edit, View-leave, View-quit)
14421 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14422 appropriate arguments.
14423 (view-end-message): Use quit-restore window parameter.
14424
9481c002
MR
14425 * window.el (display-buffer-function): Rewrite doc-string.
14426 (display-buffer-window, display-buffer-alist): New variables.
14427 (display-buffer-split-specifiers)
14428 (display-buffer-side-specifiers)
14429 (display-buffer-macro-specifiers): New constants.
14430 (display-buffer-even-window-sizes, display-buffer-set-height)
14431 (display-buffer-set-width, display-buffer-select-window)
14432 (display-buffer-in-window, display-buffer-reuse-window)
14433 (display-buffer-split-window-1, display-buffer-split-window)
14434 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14435 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14436 (display-buffer-in-side-window, normalize-buffer-to-display)
14437 (display-buffer-normalize-specifiers-1)
14438 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14439 (display-buffer-normalize-specifiers, display-buffer-frame):
14440 New functions.
9481c002
MR
14441 (display-buffer): Major rewrite.
14442 (display-buffer-other-window, display-buffer-other-frame)
14443 (pop-to-buffer, switch-to-buffer-other-window)
14444 (switch-to-buffer-other-frame): Rewrite.
14445 (display-buffer-same-window, display-buffer-same-frame)
14446 (display-buffer-same-frame-other-window)
14447 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14448 (pop-to-buffer-other-window)
14449 (pop-to-buffer-same-frame-other-window)
14450 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14451 (switch-to-buffer-other-window-same-frame): New functions.
14452 (same-window-p, special-display-p): Rewrite disabling warnings.
14453 Make obsolete.
14454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14455 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14456 Make obsolete
14457 (same-window-buffer-names, same-window-regexps)
14458 (special-display-frame-alist, special-display-popup-frame)
14459 (special-display-function, special-display-buffer-names)
14460 (special-display-regexps, pop-up-frame-alist)
14461 (pop-up-frame-function, split-window-preferred-function)
14462 (split-height-threshold, split-width-threshold)
14463 (even-window-heights): Make obsolete.
14464
9db51aca
GM
144652011-06-12 Glenn Morris <rgm@gnu.org>
14466
14467 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14468 Misc simplifications.
9db51aca 14469
39cffb44
MR
144702011-06-12 Martin Rudalics <rudalics@gmx.at>
14471
14472 * window.el (window-safely-shrinkable-p): Restore function which
14473 was inadvertently removed in change from 2011-06-11. Declare as
14474 obsolete.
14475
2b75be67
SM
14476 * calendar/calendar.el (calendar-generate-window):
14477 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14478 window-safely-shrinkable-p.
14479
a8955be7
GM
144802011-06-12 Glenn Morris <rgm@gnu.org>
14481
14482 * progmodes/fortran.el (fortran-mode-syntax-table):
14483 * progmodes/f90.el (f90-mode-syntax-table):
14484 Set % to punctuation. (Bug#8820)
14485 (f90-find-tag-default): Remove, no longer needed.
14486
f0d4059d
DC
144872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14488
14489 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14490
1100a63c
CY
144912011-06-11 Chong Yidong <cyd@stupidchicken.com>
14492
14493 * image.el (image-animated-p): Return animation delay in seconds.
14494 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14495 (image-animate-timeout): Remove DELAY argument. Don't assume
14496 every subimage has the same delay; get it from image-animated-p.
14497 (image-animate): Caller changed.
14498
def722bf
MA
144992011-06-11 Michael Albinus <michael.albinus@gmx.de>
14500
14501 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14502 to ignored backtrace functions.
14503
0a2bb1a9
GM
145042011-06-11 Glenn Morris <rgm@gnu.org>
14505
14506 * calendar/appt.el (appt-disp-window-function): Doc fix.
14507 (appt-check): Handle overlapping appointments. (Bug#8337)
14508
6198ccd0
MR
145092011-06-11 Martin Rudalics <rudalics@gmx.at>
14510
14511 * window.el (window-tree-1, window-tree): New functions, moving
14512 the latter to window.el.
14513 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14514 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14515 (bw-refresh-edges): Remove.
14516 (balance-windows-1, balance-windows-2): New functions.
14517 (balance-windows): Rewrite in terms of window tree functions,
14518 balance-windows-1 and balance-windows-2.
14519 (bw-adjust-window): Remove.
14520 (balance-windows-area-adjust): New function with functionality of
14521 bw-adjust-window but using resize-window.
2b75be67
SM
14522 (set-window-text-height): Rewrite doc-string.
14523 Use normalize-live-window and resize-window.
14524 (enlarge-window-horizontally, shrink-window-horizontally):
14525 Rename argument to DELTA.
6198ccd0
MR
14526 (window-buffer-height): New function.
14527 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14528 Rewrite using new window resize routines.
2b75be67
SM
14529 (kill-buffer-and-window, mouse-autoselect-window-select):
14530 Use ignore-errors instead of condition-case.
6198ccd0
MR
14531 (quit-window): Call delete-frame instead of delete-windows-on
14532 for the only buffer on frame.
14533
9397e56f
MR
145342011-06-10 Martin Rudalics <rudalics@gmx.at>
14535
14536 * loadup.el (top-level): Load window before files for the sake
14537 of replace-buffer-in-windows.
14538
14539 * files.el (read-buffer-to-switch)
14540 (switch-to-buffer-other-window)
2b75be67
SM
14541 (switch-to-buffer-other-frame, display-buffer-other-frame):
14542 Move to window.el.
9397e56f
MR
14543
14544 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14545 (previous-buffer): Move to window.el.
14546
14547 * bindings.el (unbury-buffer): Move to window.el.
14548
14549 * window.el (delete-other-windows-vertically): Move after
14550 definition of delete-other-windows.
14551 (other-window, delete-windows-on, replace-buffer-in-windows):
14552 Move here from window.c.
14553 (record-window-buffer, unrecord-window-buffer)
14554 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14555 (switch-to-next-buffer): New functions.
14556 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14557 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14558 (previous-buffer): Move here from simple.el.
14559 Call switch-to-prev-buffer.
9397e56f
MR
14560 (bury-buffer): Move here from buffer.c. Switch to previous
14561 buffer when window cannot be deleted.
14562 (unbury-buffer): Move here from bindings.el.
14563 (ctl-x-map): Move binding for other-window from window.c to
14564 here.
14565 (read-buffer-to-switch, switch-to-buffer-other-window)
14566 (switch-to-buffer-other-frame): Move here from files.el.
14567 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14568 (switch-to-buffer): Move here from buffer.c.
14569 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14570
562dd5e9
MR
145712011-06-10 Martin Rudalics <rudalics@gmx.at>
14572
14573 * window.el (window-min-height, window-min-width): Move here
14574 from window.c. Add defcustoms and rewrite doc-strings.
14575 (resize-mini-window, resize-window): New functions.
14576 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14577 Move here from window.c.
14578 (maximize-window, minimize-window): New functions.
14579 (delete-window, delete-other-windows, split-window): Move here
14580 from window.c.
14581 (window-split-min-size): New function.
14582 (split-window-keep-point): Mention split-window-above-each-other
14583 instead of split-window-vertically.
2b75be67 14584 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14585 Rename split-window-vertically to split-window-above-each-other
14586 and provide defalias for old definition.
14587 (split-window-side-by-side, split-window-horizontally):
14588 Rename split-window-horizontally to split-window-side-by-side
14589 and provide defalias for the old definition.
562dd5e9
MR
14590 (ctl-x-map): Move bindings for delete-window,
14591 delete-other-windows and enlarge-window here from window.c.
14592 Replace bindings for split-window-vertically and
14593 split-window-horizontally by bindings for
14594 split-window-above-each-other and split-window-side-by-side.
14595
14596 * cus-start.el (all): Remove entries for window-min-height and
14597 window-min-width. Add entries for window-splits and
14598 window-nest.
14599
f0da764a
GM
146002011-06-09 Glenn Morris <rgm@gnu.org>
14601
80675c21
GM
14602 * calendar/appt.el (appt-mode-line): New function.
14603 (appt-check, appt-disp-window): Use it.
14604
f0da764a
GM
14605 * files.el (hack-one-local-variable-eval-safep):
14606 Allow minor-modes with explicit +/-1 arguments.
14607
59f623b7
TZ
146082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14609
14610 * term/xterm.el (xterm): Add defgroup.
14611 (xterm-extra-capabilities): Add defcustom to supply known xterm
14612 capabilities, skip querying them, or query them (default).
14613 (terminal-init-xterm): Use it.
14614 (terminal-init-xterm-modify-other-keys): New function to set up
14615 modifyOtherKeys support to simplify `terminal-init-xterm'.
14616
9aab8e0d
MR
146172011-06-09 Martin Rudalics <rudalics@gmx.at>
14618
14619 * window.el (resize-window-reset, resize-window-reset-1)
14620 (resize-subwindows-skip-p, resize-subwindows-normal)
14621 (resize-subwindows, resize-other-windows, resize-this-window)
14622 (resize-root-window, resize-root-window-vertically)
14623 (window-deletable-p, window-or-subwindow-p)
14624 (frame-root-window-p): New functions.
14625
e8b08aee
GM
146262011-06-09 Glenn Morris <rgm@gnu.org>
14627
14628 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14629 (ange-ftp-get-files): Use it.
14630
254c37a5
AK
146312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14632
14633 * mail/sendmail.el (mail-recover-1, mail-recover):
14634 * files.el (recover-file, recover-session):
14635 Handle dired-listing-switches not being just a single short option.
14636
35d7dbd3
GM
146372011-06-09 Glenn Morris <rgm@gnu.org>
14638
14639 * calendar/appt.el (appt-display-message, appt-disp-window):
14640 Handle lists of appointments.
14641
387522b2
MR
146422011-06-08 Martin Rudalics <rudalics@gmx.at>
14643
2b75be67
SM
14644 * window.el (one-window-p): Move down in code.
14645 Rewrite doc-string.
14646 (window-current-scroll-bars): Rewrite doc-string.
14647 Normalize live window argument.
387522b2
MR
14648 (walk-windows, get-window-with-predicate, count-windows):
14649 Rewrite doc-string. Use window-list-1.
14650 (window-in-direction-2, window-in-direction, get-mru-window):
14651 New functions.
14652
d8e4b68b 146532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14654
14655 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14656 Doc fix (Bug#8713).
14657
146582011-06-08 Chong Yidong <cyd@stupidchicken.com>
14659
14660 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14661
146622011-06-08 Juanma Barranquero <lekktu@gmail.com>
14663
14664 * loadhist.el (unload-feature-special-hooks):
14665 Add `comint-output-filter-functions'.
14666
0de12c52
IK
146672011-06-08 Ivan Kanis <gnu@kanis.fr>
14668
14669 * calendar/appt.el (appt-check): Move some initializations into the let.
14670
f3d1777e
MR
146712011-06-08 Martin Rudalics <rudalics@gmx.at>
14672
14673 * window.el (window-height): Defalias to window-total-height.
14674 (window-width): Defalias to window-body-width.
14675
18af70d0
CY
146762011-06-07 Chong Yidong <cyd@stupidchicken.com>
14677
14678 * image-mode.el (image-toggle-animation): New command.
14679 (image-mode-map): Bind it to RET.
14680 (image-mode): Update message.
14681 (image-toggle-display-image): Avoid a spurious cache flush.
14682 (image-transform-rotation): Doc fix.
14683 (image-transform-properties): Return quickly in the normal case.
14684 (image-animate-loop): Rename from image-animate-max-time.
14685
2b75be67 14686 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14687 (create-animated-image): Remove unnecessary function.
14688 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14689 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14690 (image-animate-timer): Use car-safe.
14691 (image-animate-timeout): Rename argument.
14692
190b47e6
MR
146932011-06-07 Martin Rudalics <rudalics@gmx.at>
14694
14695 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14696 window.c. Rename first argument to ALL-FRAMES.
14697 Rephrase doc-strings.
14698 (get-buffer-window-list): Rewrite using window-list-1.
14699 Rephrase doc-string.
a1511caf
MR
14700 (window-safe-min-height, window-safe-min-width): New constants.
14701 (window-size-ignore, window-min-size, window-min-size-1)
14702 (window-sizable, window-sizable-p, window-size-fixed-1)
14703 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14704 (window-max-delta-1, window-max-delta, window-resizable)
14705 (window-resizable-p, window-total-height, window-total-width)
14706 (window-body-width): New functions.
14707 (window-full-height-p, window-full-width-p): Rewrite using
14708 window-total-size.
14709 (window-body-height): Rewrite using window-body-size.
190b47e6 14710
85cc1f11
MR
147112011-06-06 Martin Rudalics <rudalics@gmx.at>
14712
14713 * window.el (window-right, window-left, window-child)
14714 (window-child-count, window-last-child, window-any-p)
14715 (normalize-live-buffer, normalize-live-frame)
14716 (normalize-any-window, normalize-live-window)
14717 (window-iso-combination-p, window-iso-combined-p)
14718 (window-iso-combinations)
14719 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14720 (windows-with-parameter, window-with-parameter)
14721 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14722 (window-atom-check, window-side-check, window-check):
14723 New functions.
85cc1f11
MR
14724 (ignore-window-parameters, window-sides, window-sides-vertical)
14725 (window-sides-slots): New variables.
14726 (window-size-fixed): Move down in code. Minor doc-string fix.
14727
e7156492
AS
147282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14729
14730 * comint.el (comint-dynamic-complete-as-filename)
14731 (comint-dynamic-complete-filename): Correctly call
14732 completion-in-region.
14733
7e821d0d
DD
147342011-06-05 Deniz Dogan <deniz@dogan.se>
14735
14736 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14737 in last change.
14738
ac09b8a1
DD
147392011-06-05 Deniz Dogan <deniz@dogan.se>
14740
14741 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14742 (rcirc): Use it to prompt for encryption.
14743
34699b85
RW
147442011-06-05 Roland Winkler <winkler@gnu.org>
14745
14746 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14747 (bibtex-search-entries): New command bound to C-c C-a.
14748 (bibtex-display-entries): New function.
14749
004dedd3
RW
147502011-06-05 Roland Winkler <winkler@gnu.org>
14751
14752 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14753 (bibtex-insert-kill): After yanking insert newline if necessary.
14754 (bibtex-initialize): Call bibtex-string-files-init only once.
14755 (bibtex-mode): Do not call easy-menu-add.
14756 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14757 (bibtex-yank): Set arg properly if nil.
14758
022fe7ce
RW
147592011-06-05 Roland Winkler <winkler@gnu.org>
14760
2b75be67
SM
14761 * textmodes/bibtex.el (bibtex-search-entry-globally):
14762 New variable.
022fe7ce
RW
14763 (bibtex-search-entry): Use it.
14764
b7c3692a
RW
147652011-06-05 Roland Winkler <winkler@gnu.org>
14766
14767 * textmodes/bibtex.el (bibtex-entry-format): New option
14768 sort-fields.
14769 (bibtex-format-entry, bibtex-reformat): Honor this option.
14770 (bibtex-parse-entry): Return fields in proper order.
14771
8eda563d
JB
147722011-06-05 Juanma Barranquero <lekktu@gmail.com>
14773
14774 * doc-view.el (doc-view-remove-if): Move computation of result out
14775 of `dolist' to silence misleading lexical-binding warning.
14776
7dbe3dbc
CY
147772011-06-04 Chong Yidong <cyd@stupidchicken.com>
14778
14779 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14780 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14781
0c33dd17
MA
147822011-06-04 Michael Albinus <michael.albinus@gmx.de>
14783
14784 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14785 "SunOS 5.10".
14786
f8f91c2b
MA
147872011-06-04 Michael Albinus <michael.albinus@gmx.de>
14788
14789 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14790 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14791 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14792 (tramp-parse-putty):
14793 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14794 (tramp-completion-function-alist-ssh)
14795 (tramp-completion-function-alist-telnet)
14796 (tramp-completion-function-alist-su)
14797 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14798 cookie.
14799
14800 * net/tramp-ftp.el:
14801 * net/tramp-sh.el:
14802 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14803 load "tramp.el" `tramp-set-completion-function'.
14804
e17d9003
SM
148052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14806
14807 * shell.el: Require and use pcomplete.
14808 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14809 (shell-completion-vars): Set pcomplete-default-completion-function.
14810
6c4cab03
DD
148112011-06-04 Deniz Dogan <deniz@dogan.se>
14812
14813 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14814 `memq' (Bug#8799).
14815
ea9fafe0
SM
148162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14819
b3e945d3
JB
148202011-06-02 Juanma Barranquero <lekktu@gmail.com>
14821
14822 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14823 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14824 * vc/log-view.el (log-view-beginning-of-defun):
14825 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14826 (smerge-refine-forward, smerge-refine-chopup-region):
14827 Silence warning for unused `dotimes' counter variables.
14828
7d520089
SM
148292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14830
14831 * net/tramp.el (tramp-with-progress-reporter): Rename from
14832 with-progress-reporter. Use `declare'.
14833 * net/tramp-smb.el:
14834 * net/tramp-sh.el:
14835 * net/tramp-gvfs.el: Update all uses.
14836
a1c2400f
JB
148372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14838
14839 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14840 buffer isn't killed before making it current.
14841
2403c841
SM
148422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14843
14844 Silence various byte-compiler warnings.
14845 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14846 `access-type' and new obsolescence format.
14847 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14848 new format.
14849 (byte-compile-check-variable): New `access-type' argument.
14850 Only warn if the access-type is obsolete.
14851 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14852 (byte-compile-variable-set): Adjust callers.
14853 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14854 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14855 setting it as obsolete.
14856 * simple.el (minibuffer-completing-symbol):
14857 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14858 access as obsolete.
14859 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14860 obsolete yet.
14861 * international/quail.el (quail-mouse-choose-completion): Remove unused
14862 code referring to obsolete var.
14863 (quail-choose-completion-string): Remove.
14864 * server.el (server-clients-with, server-kill-buffer-query-function)
14865 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14866 * proced.el (proced-send-signal):
14867 * emacs-lisp/lisp.el (lisp-complete-symbol):
14868 Replace completion-annotate-function with completion-extra-properties.
14869
2462470b
SM
148702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14871
fb5b2591
SM
14872 * simple.el (goto-line): Use read-number.
14873 (overriding-map-is-bound): Remove.
14874 (saved-overriding-map): Change default.
14875 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14876 Take the map as argument.
14877 (universal-argument, negative-argument, digit-argument): Use it.
14878 (restore-overriding-map): Adjust.
14879 (do-auto-fill): Use fill-forward-paragraph.
14880 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14881
fd6fa53f
SM
14882 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14883 (minibuffer-inactive-mode): New major mode.
14884 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14885 the *Messages* buffer" hack.
14886 (mouse-popup-menubar): Don't burp if the event is a normal key.
14887
2462470b
SM
14888 Miscellaneous tweaks.
14889 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14890 lexical scoping as in subr.el's dolist and dotimes.
14891 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14892 Silence compiler warning.
14893 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14894 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14895 * international/ccl.el (ccl-compile): Trivial simplification.
14896 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14897 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14898 `printflag' argument.
14899 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14900 Purecopy the whole obsolescence data.
14901
108bf785
LL
149022011-06-01 Leo Liu <sdl.web@gmail.com>
14903
14904 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14905 improve doc-string as suggested by Marco Pessotto
14906 <melmothx@gmail.com>.
14907 (rcirc-print): Fix last change.
14908
30a23501
SM
149092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * minibuffer.el (complete-with-action): Return nil for the metadata and
14912 boundaries of non-functional tables.
14913 (completion-table-dynamic): Return nil for the metadata.
14914 (completion-table-with-terminator): Add default case, using
14915 complete-with-action.
14916 (completion--metadata): New function.
14917 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14918 to try and avoid pathological performance problems.
14919 (completion--embedded-envvar-table): Return `category' metadata.
14920
bcd54f83
LMI
149212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14922
14923 * subr.el (process-alive-p): New tiny convenience function.
14924
e227544d
SM
149252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14928 content but also its previous major mode.
14929
e8296fdc
HE
149302011-05-31 Helmut Eller <eller.helmut@gmail.com>
14931
4d61f28d 14932 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14933 *Backtrace* buffer when we exit with C-M-c.
14934
620c53a6
SM
149352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * minibuffer.el: Add metadata method to completion tables.
14938 (completion-category-overrides): New defcustom.
14939 (completion-metadata, completion--field-metadata)
14940 (completion-metadata-get, completion--styles)
14941 (completion--cycle-threshold): New functions.
14942 (completion-try-completion, completion-all-completions):
14943 Add `metadata' argument to choose completion-styles.
14944 (completion--do-completion): Use metadata to choose cycling.
14945 (completion-all-sorted-completions): Use metadata for sorting.
14946 Remove :completion-cycle-penalty which is not needed any more.
14947 (completion--try-word-completion): Add `metadata' argument.
14948 (minibuffer-completion-help): Check metadata for annotation function
14949 and sorting.
14950 (completion-file-name-table): Return `category' metadata.
14951 (minibuffer-completing-file-name): Make obsolete.
14952 * simple.el (minibuffer-completing-symbol): Make obsolete.
14953 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14954 completion-try-completion.
14955
1257e755
SM
149562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14957
14958 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14959
3767e706
LL
149602011-05-30 Leo Liu <sdl.web@gmail.com>
14961
14962 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14963 (rcirc-print): Decode all incoming messages (bug#8744).
14964 (rcirc-decode-coding-system): Allow value nil for automatic coding
14965 system detection.
3767e706 14966
d1a5d56a
GM
149672011-06-01 Glenn Morris <rgm@gnu.org>
14968
14969 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14970
e8cbec34
CY
149712011-05-29 Chong Yidong <cyd@stupidchicken.com>
14972
14973 * image.el (image-animate-max-time): Allow nil and t values.
14974 Default to nil.
14975 (create-animated-image): Doc fix.
14976 (image-animate-start): Remove second arg; just use
14977 image-animate-max-time.
14978 (image-animate-timeout): Doc fix. Args changed.
14979
14980 * image-mode.el (image-toggle-display-image): Ensure that the
14981 image spec passed to the animate timer is the same object as in
58179cce 14982 the buffer's display property (Bug#6981).
e8cbec34
CY
14983 (image-transform-properties): Doc fix.
14984
14985 * image.el (image-animate-max-time): Default to nil.
14986
159daf87
MR
149872011-05-29 Martin Rudalics <rudalics@gmx.at>
14988
14989 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14990 entire buffer list (Bug#8184).
14991
d66c4c7c
CY
149922011-05-29 Chong Yidong <cyd@stupidchicken.com>
14993
14994 * image.el (imagemagick-types-inhibit)
14995 (imagemagick-register-types): Doc fix.
14996
80aec780
DD
149972011-05-29 Deniz Dogan <deniz@dogan.se>
14998
14999 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15000 default.
15001
1dd3c2d9
CY
150022011-05-29 Chong Yidong <cyd@stupidchicken.com>
15003
15004 * select.el: Don't perform clipboard-manager saving in hooks;
15005 leave the hooks empty.
15006
60e56523
LL
150072011-05-28 Leo Liu <sdl.web@gmail.com>
15008
15009 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15010 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15011 (occur-edit-mode): New major mode (Bug#8463).
15012 (occur-after-change-function): New function.
15013 (occur-engine): Give Occur tags a read-only property.
15014
2b1e1a22
KR
150152011-05-28 Kevin Ryde <user42@zip.com.au>
15016
15017 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15018
5d344e88
CY
150192011-05-28 Chong Yidong <cyd@stupidchicken.com>
15020
8e6ca83d
CY
15021 * bindings.el (help-echo): Make the initial non-indicator dash
15022 empty on graphical terminals (Bug#7295).
15023
5d344e88
CY
15024 * files.el (auto-mode-alist): Move config rule after the
15025 in-stripping one (Bug#8547).
15026
bfbbace7
CY
15027 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15028
fbeba6e2
CY
15029 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15030 setting (Bug#8740).
15031
60ed8c72
AA
150322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15033
4ac619f0
AA
15034 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15035 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15036 (Bug#8539).
60ed8c72 15037
23db196e
CY
150382011-05-28 Chong Yidong <cyd@stupidchicken.com>
15039
15040 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15041
5012f24c
DK
150422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15043
15044 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15045 (hs-hide-block-at-point, hs-find-block-beginning)
15046 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15047 (Bug#8279).
15048
6a639b16
GM
150492011-05-28 Glenn Morris <rgm@gnu.org>
15050
15051 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15052
d43eaf2c
CY
150532011-05-28 Chong Yidong <cyd@stupidchicken.com>
15054
5199bde1
CY
15055 * help-fns.el (describe-function-1): If the function is a derived
15056 major mode, print the parent mode.
15057
d43eaf2c
CY
15058 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15059 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15060
423428a8
SM
150612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15062
0ff8e1ba 15063 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15064 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15065 * progmodes/etags.el (tags-completion-at-point-function):
15066 * info-look.el (info-lookup-completions-at-point): Mark as
15067 non-exclusive.
15068 (info-complete): Adjust accordingly.
15069
423428a8
SM
15070 * info-look.el: Convert to lexical-binding and completion-at-point.
15071 (info-lookup-completions-at-point): New function.
15072 (info-complete): Use it and completion-in-region.
15073
b74aa22b
DA
150742011-05-28 Drew Adams <drew.adams@oracle.com>
15075
15076 * isearch.el: Let M-e start with point at the first mismatched char.
15077 (isearch-fail-pos): New function.
15078 (isearch-edit-string): Use it.
15079
66e2e71d
DK
150802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15081
15082 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15083
b1890b0f 150842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15085
15086 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15087 traversal functions for avl-trees.
15088 (avl-tree--stack): New struct.
15089 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15090 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15091 (avl-tree--do-enter): Add optional `updatefun' arg.
15092 Change return value.
eb95d01d 15093 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15094 (avl-tree--do-delete): Add `test' and `nilflag' args.
15095 Change return value.
eb95d01d
TC
15096 (avl-tree-member): Add optional `nilflag'
15097 (avl-tree-member-p): New function.
15098 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15099 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15100 (avl-tree-stack-empty-p): New functions.
15101
3769ddcf
TC
15102 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15103 avl-tree--del-balance1 and make it work both ways.
15104 (avl-tree--del-balance2): Remove.
15105 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15106 make it work both ways.
15107 (avl-tree--enter-balance2): Remove.
15108 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15109 New macros.
15110 (avl-tree--mapc, avl-tree-map): Add direction argument.
15111
eb95d01d 151122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15113
15114 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15115
a9f737ee
CY
151162011-05-27 Chong Yidong <cyd@stupidchicken.com>
15117
15118 * select.el: Support clipboard managers with built-in function
15119 x-clipboard-manager-save, via delete-frame-functions and
15120 kill-emacs-hook.
15121 (xselect-convert-to-targets): Add MULTIPLE target to list.
15122 (xselect-convert-to-save-targets): New function.
15123
c92a1e54
KH
151242011-05-27 Kenichi Handa <handa@m17n.org>
15125
15126 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15127 let-binding rfc2047-encode-encoded-words to nil.
15128
e145f188
GM
151292011-05-27 Glenn Morris <rgm@gnu.org>
15130
5ec8a862
GM
15131 * mail/emacsbug.el: Don't require url-util.
15132
4b29d9fb
GM
15133 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15134
e145f188
GM
15135 * files.el (set-auto-mode):
15136 Also respect mode: entries at the end of the file. (Bug#8586)
15137
7d15102b
GM
151382011-05-26 Glenn Morris <rgm@gnu.org>
15139
98f593b8
GM
15140 * files.el (hack-local-variables-prop-line, hack-local-variables):
15141 Downcase mode names, as seems to be traditional.
27b48e63 15142 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15143
7d15102b
GM
15144 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15145 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15146
51d5b4ec
JD
151472011-05-25 Julien Danjou <julien@danjou.info>
15148
15149 * textmodes/rst.el (rst-define-level-faces): Do not define face
15150 symbol if it is already defined.
15151
91513f63
VB
151522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15153
15154 * play/5x5.el (5x5-new-game, 5x5-randomize):
15155 Reset 5x5-solver-output to nil when a new grid is cast.
15156 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15157 these debugging traces, as defmacro breaks the compiled code.
15158
4d90d6d0
DK
151592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15160
15161 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15162
e1b90ef6
LL
151632011-05-24 Leo Liu <sdl.web@gmail.com>
15164
15165 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15166 (vc-bzr-sha1): Adapt.
15167
d8e4b68b 15168 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15169
15170 * bindings.el: Provide sha1 feature.
15171
db0406bb 151722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15173
15174 * mail/sendmail.el: Require `rfc2047'.
15175 (mail-insert-from-field): Do not perform RFC2047 encoding.
15176 (mail-encode-header): New function.
15177 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15178 buffer to the return value of select-message-coding-system.
15179 Call mail-encode-header.
b8d747b9
KH
15180
15181 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15182
db0406bb 151832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15184
4d90d6d0
DK
15185 * mail/supercite.el (sc-default-cite-frame):
15186 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15187
eb8a5e9b
GM
151882011-05-24 Glenn Morris <rgm@gnu.org>
15189
f8630703
GM
15190 * progmodes/python.el (brm-menu): Declare.
15191
8831bbed
GM
15192 * emulation/viper.el (viper-set-hooks): Declare.
15193
eb8a5e9b
GM
15194 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15195 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15196 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15197 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15198 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15199 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15200
a2a25d24
SM
152012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15202
15203 Add an :exit-function for completion-at-point.
15204
15205 * minibuffer.el (completion--done): New fun.
15206 (completion--do-completion): Use it. New arg `expect-exact'.
15207 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15208 since completion--do-completion does it for us now.
15209 (minibuffer-force-complete): Use completion--done and
15210 completion--replace. Handle sole-completion case with more care.
15211 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15212 (completion-extra-properties): New var.
15213 (completion-annotate-function): Make obsolete.
15214 (minibuffer-completion-help): Adjust accordingly.
15215 Use completion-list-insert-choice-function.
15216 (completion-at-point, completion-help-at-point):
15217 Bind completion-extra-properties.
15218 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15219 * simple.el (completion-list-insert-choice-function): New var.
15220 (completion-setup-function): Preserve it.
15221 (choose-completion): Pay attention to it, shuffle the code a bit.
15222 (choose-completion-string): New arg `insert-function'.
15223
15224 * textmodes/bibtex.el: Convert to lexical binding.
15225 (bibtex-mode-map): Use completion-at-point.
15226 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15227 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15228 (bibtex-complete): Define as obsolete alias.
15229 (bibtex-complete-internal): Remove.
15230 (bibtex-format-entry): Remove unused sub-group in regexp.
15231 * shell.el (shell--command-completion-data)
15232 (shell-environment-variable-completion):
15233 * pcomplete.el (pcomplete-completions-at-point):
15234 * comint.el (comint--complete-file-name-data): Use :exit-function
15235 instead of completion-table-with-terminator so it also works for
15236 choose-completion.
15237
e44e373d
SM
152382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15239
4f91a816
SM
15240 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15241
782fc819
SM
15242 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15243 (bug#8710).
15244
e44e373d
SM
15245 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15246
381987c3
KM
152472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15248
15249 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15250 customization variable and implement: If non-nil, auto-fill will
15251 be inhibited while on topic's header line.
15252
b776bc70
VB
152532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15254
15255 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15256 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15257 always have a solution in grid size = 5 cases.
15258 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15259 (5x5-solver-output, 5x5-log-buffer): New vars.
15260 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15261 Make these variables buffer local to achieve 5x5 multi-session-ness.
15262 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15263 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15264 (5x5-solve-suggest): New funs.
15265 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15266 randomize a grid so that we ensure that there is always a solution.
15267 (5x5-make-random-grid): Allow other movement than flipping.
15268
7de88b6e
KR
152692011-05-23 Kevin Ryde <user42@zip.com.au>
15270
15271 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15272 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15273 advice and passes PREDICATE.
15274
b1ef1257
SM
152752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15276
bbca48fe
SM
15277 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15278 byte-compile-lambda if it's actually a lambda.
15279
b1ef1257
SM
15280 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15281 Fix function quoting. Use backquote better.
15282
92a9cc65
YS
152832011-05-22 Yuanle Song <sylecn@gmail.com>
15284
15285 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15286 matching (Bug#8516).
15287
f0fb8059
JA
152882011-01-22 Jari Aalto <jari.aalto@cante.net>
15289
15290 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15291 different face (Bug#8178).
15292
d5b44c93
CY
152932011-05-22 Chong Yidong <cyd@stupidchicken.com>
15294
15295 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15296 defface (Bug#8144).
15297
79106a44
SM
152982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15299
9c848d8a
SM
15300 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15301 funcall as well (bug#8712). Warn when performing those conversions.
15302 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15303
79106a44
SM
15304 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15305
88dfa756
GM
153062011-05-22 Glenn Morris <rgm@gnu.org>
15307
15308 * files.el (hack-local-variables-prop-line): Small simplifications.
15309 (hack-local-variables, hack-local-variables-prop-line):
15310 If MODE-ONLY, return the mode, rather than just `t'.
15311
b7cf2c79
SM
153122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15315
3f1a8558
GM
153162011-05-21 Glenn Morris <rgm@gnu.org>
15317
7e4ccca3
GM
15318 * files.el (hack-local-variables-prop-line, hack-local-variables):
15319 If only interested in the mode, don't bother doing the other stuff.
15320
637d46ca
GM
15321 * image-mode.el (image-after-revert-hook):
15322 Redraw all frames on which the image is visible. (Bug#8567)
15323
973d955b
GM
15324 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15325
3f1a8558
GM
15326 * wid-edit.el (widget-checklist-match-inline):
15327 Fix 2011-04-19 change. (Bug#8649)
15328
96479927
SM
153292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15330
1dcf791f
SM
15331 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15332 Also allow singlespace after single-letter capitals followed by a dot.
15333
96479927
SM
15334 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15335 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15336
35fd0881
N
153372011-05-20 Nix <nix@esperi.org.uk>
15338
15339 * files.el (basic-save-buffer-2):
15340 Fix handling of break-hardlink-on-save with non-existent files.
15341
82745640
DD
153422011-05-19 Deniz Dogan <deniz@dogan.se>
15343
15344 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15345 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15346
4a720484
GM
153472011-05-19 Glenn Morris <rgm@gnu.org>
15348
d1f21341
GM
15349 * progmodes/f90.el (f90-type-def-re):
15350 Handle "type, bind(c)". (Bug#8691)
15351
4a720484
GM
15352 * emacs-lisp/autoload.el (batch-update-autoloads):
15353 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15354
2fb0a219
MA
153552011-05-18 Michael Albinus <michael.albinus@gmx.de>
15356
15357 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15358 property for the correct connection in case of multihops.
15359
e565dd37
GM
153602011-05-18 Glenn Morris <rgm@gnu.org>
15361
c2571358 15362 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15363 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15364
e565dd37
GM
15365 Rationalize calendar handling of day and month abbrev-arrays.
15366 * calendar/calendar.el (calendar-customized-p): New function.
15367 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15368 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15369 Add :set function.
15370 (calendar-abbrev-length, calendar-day-abbrev-array)
15371 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15372 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15373 Elements may no longer be nil.
15374 (calendar-day-name, calendar-month-name):
15375 Update for changed nature of abbrev arrays.
15376 * calendar/diary-lib.el (diary-name-pattern):
15377 Update for changed nature of abbrev arrays.
15378 (diary-mark-entries-1): Update calendar-make-alist calls.
15379 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15380 * calendar/cal-html.el (cal-html-day-abbrev-array):
15381 Simply inherit from calendar-day-abbrev-array.
15382
1d99a745
SM
153832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15384
15385 * progmodes/grep.el (grep-mode): Disable default
15386 compilation-directory-matcher setting (bug#8684).
15387
7c1d9aa0
MA
153882011-05-17 Michael Albinus <michael.albinus@gmx.de>
15389
15390 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15391 instead of "head" and "tail". There were problems with SunOS 5.9,
15392 and it performs better.
15393
3952e9d8
GM
153942011-05-17 Glenn Morris <rgm@gnu.org>
15395
2dd12e7f
GM
15396 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15397
e4157b9c
GM
15398 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15399 Replace obsolete function.
15400
8e249bbd
GM
15401 * shell.el (pcomplete-parse-arguments-function): Declare.
15402
3952e9d8
GM
15403 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15404 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15405 (appt-check): Doc fixes.
15406 (appt-disp-window-function, appt-delete-window-function):
15407 Remove needless special case in custom :type.
15408 (appt-display-count): Default to 0, not nil.
15409 (appt-check): Reset appt-display-count to 0, not nil.
15410
c71a0d48 154112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15412
c71a0d48
GM
15413 * progmodes/python.el (python-font-lock-keywords):
15414 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15415
31d55be9
SM
154162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15417
15418 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15419
3bfacb2f
KR
154202011-05-16 Kevin Ryde <user42@zip.com.au>
15421
15422 * info-look.el (makefile-automake-mode): New setups, looking in
15423 automake manual, then makefile-mode.
15424 (makefile-mode): Remove automake manual, have it just in
15425 makefile-automake-mode since there's various things different or
15426 not relevant to plain make.
15427 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15428 believe a hypothetical automake-mode would go to makefile-mode,
15429 not the other way around.
15430
c8e83751
CY
154312011-05-15 Chong Yidong <cyd@stupidchicken.com>
15432
5e9e35cd
CY
15433 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15434 hunk-end tags (Bug#8672).
15435
c8e83751
CY
15436 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15437 vc-annotate-show-diff-revision-at-line (Bug#8671).
15438
50b23e5a
GM
154392011-05-14 Glenn Morris <rgm@gnu.org>
15440
7210a739
GM
15441 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15442 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15443 (change-log-font-lock-keywords): Also handle multiple author lines
15444 with leading tabs. (Bug#8644)
7210a739 15445
4691905a
GM
15446 * calendar/appt.el (appt-check): Rename some local variables.
15447 Some simplification/reordering.
15448
50b23e5a
GM
15449 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15450 (feedmail-sendmail-f-doesnt-sell-me-out)
15451 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15452 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15453 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15454 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15455 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15456 (feedmail-binmail-gnulinuxish-template):
15457 Rename from feedmail-binmail-linuxish-template.
15458 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15459 Use insert-buffer-substring.
15460
215cda7c
BC
154612011-05-14 Bill Carpenter <bill@carpenter.org>
15462
15463 * mail/feedmail.el (feedmail-patch-level): Increase.
15464 (feedmail-debug): New custom group.
15465 (feedmail-confirm-outgoing-timeout)
15466 (feedmail-sendmail-f-doesnt-sell-me-out)
15467 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15468 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15469 (feedmail-sender-line, feedmail-from-line)
15470 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15471 (feedmail-spray-this-address)
215cda7c
BC
15472 (feedmail-spray-address-fiddle-plex-list)
15473 (feedmail-queue-use-send-time-for-date)
15474 (feedmail-queue-use-send-time-for-message-id)
15475 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15476 (feedmail-buffer-eating-function):
15477 Doc fixes.
15478 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15479 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15480 (feedmail-message-action-scroll-down): New functions.
15481 (feedmail-queue-directory, feedmail-queue-draft-directory):
15482 Use expand-file-name.
15483 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15484 Remove C-v help entry.
15485 (feedmail-queue-buffer-file-name): New variable.
15486 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15487 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15488 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15489 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15490 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15491 (feedmail-message-action-toggle-spray)
15492 (feedmail-run-the-queue-no-prompts)
15493 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15494 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15495 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15496 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15497 (feedmail-envelope-deducer, feedmail-fiddle-from)
15498 (feedmail-fiddle-sender, feedmail-default-date-generator)
15499 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15500 (feedmail-fiddle-spray-address)
15501 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15502 (feedmail-fiddle-list-of-fiddle-plexes)
15503 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15504 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15505 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15506 Change default. Doc fix.
15507 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15508 (feedmail-binmail-linuxish-template): New constant.
15509 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15510 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15511 (feedmail-send-it): Add debug call.
15512 Use feedmail-queue-buffer-file-name, and
15513 feedmail-send-it-immediately-wrapper.
15514 (feedmail-message-action-send): Add debug call.
15515 Use feedmail-send-it-immediately-wrapper.
15516 (feedmail-queue-express-to-queue): Add debug call.
15517 Run feedmail-queue-express-hook.
15518 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15519 (feedmail-message-action-help-blat):
15520 Rename from feedmail-queue-send-edit-prompt-help-first.
15521 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15522 Check line-endings. Handle errors better.
15523 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15524 Doc fix. Add debug call.
15525 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15526 Use feedmail-queue-send-edit-prompt-inner.
15527 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15528 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15529 from feedmail-queue-send-edit-prompt.
15530 (feedmail-queue-send-edit-prompt-help)
15531 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15532 (feedmail-tidy-up-slug): Add debug call.
15533 Respect feedmail-queue-slug-suspect-regexp.
15534 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15535 (feedmail-dump-message-to-queue): Add debug call.
15536 Expand queue-directory.
15537 (feedmail-dump-message-to-queue): Change message slightly.
15538 Use feedmail-say-chatter.
15539 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15540 (feedmail-send-it-immediately-wrapper): New function.
15541 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15542 Insert empty string rather than newline. Handle full-frame case.
15543 Use catch/throw. Use feedmail-say-chatter.
15544 (feedmail-fiddle-from): Try mail-host-address.
15545 (feedmail-default-message-id-generator): Doc fix.
15546 Bind system-time-locale. Handle missing end.
15547 (feedmail-fiddle-x-mailer): Add debug call.
15548 Handle feedmail-x-mailer-line being nil.
15549 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15550 Add debug call. Use buffer-substring-no-properties.
15551 (feedmail-say-debug, feedmail-say-chatter): New functions.
15552 (feedmail-find-eoh): Give an explicit error.
15553
42c7e61e
UJ
155542011-05-13 Ulf Jasper <ulf.jasper@web.de>
15555
c2571358 15556 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15557 family from helvetica to sans.
c2571358 15558 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15559 etc/images/newsticker.
15560
c2571358 15561 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15562 family from helvetica to sans.
15563
15564 * net/newst-plainview.el (newsticker-new-item-face)
15565 (newsticker-old-item-face, newsticker-immortal-item-face)
15566 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15567 (newsticker-statistics-face): Change default family from
42c7e61e 15568 helvetica to sans.
c2571358 15569 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15570 etc/images/newsticker.
15571
5d3385a0
JB
15572 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15573 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15574 auto-marking.
15575
8497a297
DV
155762011-05-13 Didier Verna <didier@xemacs.org>
15577
15578 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15579 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15580 TODO entries.
8497a297
DV
15581 (lisp-lambda-list-keyword-parameter-indentation)
15582 (lisp-lambda-list-keyword-parameter-alignment)
15583 (lisp-lambda-list-keyword-alignment): New customizable user options.
15584 (lisp-indent-defun-method): Improve docstring.
15585 (extended-loop-p): Fix comment.
15586 (lisp-indent-lambda-list-keywords-regexp): New variable.
15587 (lisp-indent-lambda-list): New function.
15588 (lisp-indent-259): Use it.
15589 (lisp-indent-defmethod): Support for more than one
15590 method qualifier and properly indent methods lambda-lists.
15591 (defgeneric): Provide a missing common-lisp-indent-function property.
15592
f278f87f
SM
155932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15596 bounds for the empty string (bug#8667).
15597
5233edd7
GM
155982011-05-13 Glenn Morris <rgm@gnu.org>
15599
5237a44f
GM
15600 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15601
8340026c 15602 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15603 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15604
5233edd7 15605 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15606 (appt-time-msg-list): Doc fix.
a5464014 15607 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15608
92d10796
AS
156092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15610
15611 * progmodes/ld-script.el (ld-script-keywords)
15612 (ld-script-builtins): Update keywords list.
15613
914a0ae1
SM
156142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15615
c89be45f
SM
15616 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15617
914a0ae1
SM
15618 * shell.el (shell-completion-vars): New function.
15619 (shell-mode):
15620 * simple.el (read-shell-command): Use it.
15621 (blink-matching-open): No need for " [...]" in minibuffer-message.
15622
98dc3df3
GM
156232011-05-12 Glenn Morris <rgm@gnu.org>
15624
15625 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15626 (appt-check): Simplify.
15627
d2fc7e3d 156282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15629
4d61f28d 15630 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15631 literal "/dev/null".
15632
d2fc7e3d 156332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15634
15635 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15636 Fix typo.
15637
d2fc7e3d 156382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15639
3f254caa
SM
15640 * progmodes/which-func.el (which-function):
15641 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15642 which might not be defined (Bug#8260).
15643
d45885f7
GM
156442011-05-12 Glenn Morris <rgm@gnu.org>
15645
15646 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15647 Let byte-compile-initial-macro-environment always take precedence.
15648
488086f4
SM
156492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * net/rcirc.el: Add support for SSL/TLS connections.
15652 (rcirc-server-alist): New field `encryption'.
15653 (rcirc): Check `encryption' settings.
15654 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15655 Merge make-local-variable into `set'.
15656 (rcirc--connection-open-p): New function.
15657 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15658 the process is not a network process (e.g. running gnutls-cli).
15659 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15660 Make rcirc-(en|de)code-coding-system local here.
15661 (rcirc-mode): Merge make-local-variable into `set'.
15662 (rcirc-parent-buffer): Make permanent buffer-local.
15663 (rcirc-multiline-minor-mode): Don't do it here.
15664 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15665 there's no server buffer.
15666
7d3b9d44
GM
156672011-05-11 Glenn Morris <rgm@gnu.org>
15668
f64049c6
GM
15669 * newcomment.el (comment-kill): Prefix "unused" local.
15670
93c9df73
GM
15671 * term/w32console.el (get-screen-color): Declare.
15672
7d3b9d44
GM
15673 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15674 Handle symbol elements of byte-compile-initial-macro-environment.
15675
9e2dd53f
LL
156762011-05-10 Leo Liu <sdl.web@gmail.com>
15677
488086f4
SM
15678 * bookmark.el (bookmark-bmenu-mode-map):
15679 Bind bookmark-bmenu-search to `/'.
8b340240 15680
9e2dd53f 15681 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15682 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15683 (Footnote-unicode): New function.
15684 (footnote-style-alist): Add unicode style to the list.
15685 (footnote-style): Doc fix.
9e2dd53f 15686
79b70037
GM
156872011-05-10 Jim Meyering <meyering@redhat.com>
15688
15689 Fix doubled-word typos.
15690 * international/quail.el (quail-insert-kbd-layout): and and -> and
15691 * kermit.el: and and -> and
15692 * net/ldap.el (ldap-search-internal): to to -> to
15693 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15694 * progmodes/js.el (js-mode): and and -> and
15695 * textmodes/artist.el (artist-move-to-xy): at at -> at
15696 (artist-draw-region-trim-line-endings): if if -> if
15697 And Safetyc -> Safety.
15698 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15699
b8f82dc1 157002011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15701 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15702
15703 * files.el (hack-one-local-variable-eval-safep):
15704 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15705
4f99f44b
GM
157062011-05-10 Glenn Morris <rgm@gnu.org>
15707
15708 * calendar/diary-lib.el (diary-list-entries-hook)
15709 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15710 (diary-nongregorian-marking-hook, diary-list-entries)
15711 (diary-include-other-diary-files, diary-mark-entries)
15712 (diary-mark-included-diary-files): Doc fixes.
15713
84f29e6b
JB
157142011-05-09 Juanma Barranquero <lekktu@gmail.com>
15715
15716 * misc.el: Require tabulated-list.el during compilation.
15717
9bedd73a
CY
157182011-05-09 Chong Yidong <cyd@stupidchicken.com>
15719
488086f4
SM
15720 * progmodes/compile.el (compilation-start):
15721 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15722 (compilation-filter-hook): Doc fix.
15723
797c735c
DD
157242011-05-09 Deniz Dogan <deniz@dogan.se>
15725
15726 * wdired.el: Remove outdated installation comment. Fix usage
15727 comment.
15728
5f4b1dfe
JB
157292011-05-09 Juanma Barranquero <lekktu@gmail.com>
15730
15731 * misc.el: Implement new command `list-dynamic-libraries'.
15732 (list-dynamic-libraries--loaded-only-p): New variable.
15733 (list-dynamic-libraries--refresh): New function.
15734 (list-dynamic-libraries): New command.
15735
4c44026c
CY
157362011-05-09 Chong Yidong <cyd@stupidchicken.com>
15737
488086f4
SM
15738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15739 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15740 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15741 higher priority to avoid clobbering by gnu.
15742
027f966d
CY
157432011-05-08 Chong Yidong <cyd@stupidchicken.com>
15744
15745 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15746 if the face has existing theme settings (Bug#8454).
15747
085f5d7d
CY
157482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15749
488086f4
SM
15750 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15751 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15752
2a86a00c
RS
15753 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15754 special file names `.' and `..' (Bug#8259).
15755
d9c54a06
CY
157562011-05-08 Chong Yidong <cyd@stupidchicken.com>
15757
488086f4
SM
15758 * progmodes/grep.el (grep-mode-font-lock-keywords):
15759 Remove buffer-changing entries.
d9c54a06
CY
15760 (grep-filter): New function.
15761 (grep-mode): Add it to compilation-filter-hook.
15762
15763 * progmodes/compile.el (compilation-filter-hook)
15764 (compilation-filter-start): New defvars.
15765 (compilation-filter): Call compilation-filter-hook prior to
15766 updating the process mark.
15767
c4662635
SM
157682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15769
15770 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15771
b0512a1d
EZ
157722011-05-07 Eli Zaretskii <eliz@gnu.org>
15773
605c9376
EZ
15774 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15775 mailclient-send-it even if window-system is nil. (Bug#8595)
15776
c4662635
SM
15777 * term/w32console.el (terminal-init-w32console):
15778 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15779 background-mode. (Bug#8597)
15780
d1dc2cc2
SM
157812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15784 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15785 New functions.
15786 (defgeneric, eieio--defmethod): Use them.
15787 (eieio-defgeneric): Remove.
15788 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15789
915d1300
GM
157902011-05-07 Glenn Morris <rgm@gnu.org>
15791
a3961c3e
GM
15792 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15793 Use let rather than let*.
15794 (timeclock-find-discrep): Remove unused local.
15795
314347b9
GM
15796 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15797
915d1300
GM
15798 * calendar/appt.el (appt-time-msg-list): Doc fix.
15799
275b59b0
NF
158002011-05-06 Noah Friedman <friedman@splode.com>
15801
15802 * apropos.el (apropos-print-doc): Only use
15803 emacs-lisp-docstring-fill-column when it is bound to an integer,
15804 per that variable's documentation.
15805
6c19f744
SM
158062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15807
15808 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15809 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15810
60f884b2
GM
158112011-05-06 Glenn Morris <rgm@gnu.org>
15812
5006e634
GM
15813 * calendar/appt.el (appt-message-warning-time): Doc fix.
15814 (appt-warning-time-regexp): New option.
15815 (appt-make-list): Respect appt-message-warning-time.
15816
548d0a63
GM
15817 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15818 New options.
15819 (diary-add-to-list): Strip comments from the displayed string.
15820 (diary-mode): Set comment-start and comment-end.
15821
60f884b2
GM
15822 * vc/diff-mode.el (smerge-refine-subst): Declare.
15823 (diff-refine-hunk): Don't require smerge-mode when compiling.
15824
989681bb
JB
158252011-05-06 Juanma Barranquero <lekktu@gmail.com>
15826
15827 * simple.el (list-processes): Return nil as the docstring says.
15828
a6bc05e1
MA
158292011-05-05 Michael Albinus <michael.albinus@gmx.de>
15830
15831 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15832 to "".
15833 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15834 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15835 determining of binary transfer. (Bug#7383)
15836
23c22e9a
MA
158372011-05-05 Michael Albinus <michael.albinus@gmx.de>
15838
c4662635
SM
15839 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15840 Fix port computation bug. (Bug#8618)
23c22e9a 15841
0bff894f
GM
158422011-05-05 Glenn Morris <rgm@gnu.org>
15843
b8296902
GM
15844 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15845
1f522ce8
GM
15846 * simple.el (shell-dynamic-complete-functions)
15847 (comint-dynamic-complete-functions): Declare.
15848
cf5bee67
GM
15849 * net/network-stream.el (gnutls-negotiate):
15850 * simple.el (tabulated-list-print): Fix declarations.
15851
15852 * progmodes/gud.el (syntax-symbol, syntax-point):
15853 Remove unnecessary and incorrect declarations.
15854
0bff894f
GM
15855 * emacs-lisp/check-declare.el (check-declare-scan):
15856 Handle byte-compile-initial-macro-environment in bytecomp.el
15857
9869b3ae
SM
158582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 Fix earlier half-done eieio-defmethod change (bug#8338).
15861 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15862 Streamline and change calling convention.
15863 (defmethod): Adjust accordingly and simplify.
15864 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15865 new eieio--defmethod.
15866 (slot-boundp): Minor CSE simplification.
15867
9c1d5ac5
MZ
158682011-05-05 Milan Zamazal <pdm@zamazal.org>
15869
15870 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15871 (glasses-make-readable): Use glasses-separate-capital-groups.
15872
455c834e
JB
158732011-05-05 Juanma Barranquero <lekktu@gmail.com>
15874
15875 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15876 (warning-series): Doc fix.
15877 (display-warning): Don't try to create the buffer if we just found it.
15878
9ed7c8cb
CY
158792011-05-04 Chong Yidong <cyd@stupidchicken.com>
15880
15881 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15882 (autoload-find-generated-file): New function.
15883 (generate-file-autoloads): Bind generated-autoload-file to
15884 buffer-file-name.
9869b3ae
SM
15885 (update-file-autoloads, update-directory-autoloads):
15886 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15887 output file (Bug#7989).
15888 (batch-update-autoloads): Doc fix.
15889
0898ca10
JB
158902011-05-04 Juanma Barranquero <lekktu@gmail.com>
15891
15892 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15893
31dfb76c
GM
158942011-05-04 Glenn Morris <rgm@gnu.org>
15895
f330b642
GM
15896 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15897 function, so it follows changes in calendar-date-style.
15898 (diary-fancy-date-matcher): New function.
15899 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15900 (diary-fancy-font-lock-fontify-region-function):
15901 Use diary-fancy-date-pattern as a function.
15902
31dfb76c
GM
15903 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15904 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15905
48e79d6a
TZ
159062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15907
15908 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15909 instead of positional arguments. Allow :keylist and :crlfiles
15910 arguments.
15911 (open-gnutls-stream): Call it.
15912
15913 * net/network-stream.el (network-stream-open-starttls): Adjust to
15914 call `gnutls-negotiate' with :process and :hostname arguments.
15915
dd5a5ee0
SM
159162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15917
ef80fc09
SM
15918 * minibuffer.el (completion--message): New function.
15919 (completion--do-completion, minibuffer-complete)
15920 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15921 (completion--do-completion): Don't ignore completion-auto-help when in
15922 icomplete-mode.
15923
dd5a5ee0
SM
15924 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15925 internal encoding (e.g. tibetan zero is not whitespace).
15926 (global-whitespace-mode): Prefer save-current-buffer.
15927 (whitespace-trailing-regexp): Remove useless save-match-data.
15928 (whitespace-empty-at-bob-regexp): Minor simplification.
15929
b7d22a83
CY
159302011-05-03 Chong Yidong <cyd@stupidchicken.com>
15931
15932 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15933
5192af46
AM
159342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15935
15936 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15937 Use `concat' to create string for insertion.
5192af46 15938
5767d190
SM
159392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15940
15941 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15942 Avoid open-line which runs post-self-insert-hook.
15943 (bibtex-fill-entry): Remove unused `end' var.
15944
bf242939
AM
159452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15946
5767d190
SM
15947 * textmodes/ispell.el (ispell-add-per-file-word-list):
15948 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15949
25666126
LL
159502011-05-03 Leo Liu <sdl.web@gmail.com>
15951
15952 * isearch.el (isearch-yank-pop): New command.
5767d190 15953 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15954 (isearch-forward): Mention it.
15955
52d3c2d0
SM
159562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15957
1bcace58
SM
15958 * simple.el (minibuffer-complete-shell-command): Remove.
15959 (minibuffer-local-shell-command-map): Use completion-at-point.
15960 (read-shell-command): Setup completion vars here instead.
15961 (read-expression-map): Bind TAB to symbol completion.
15962
52d3c2d0
SM
15963 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15964 error directly rather via storing it into `results'.
15965
35813471
LL
159662011-05-02 Leo Liu <sdl.web@gmail.com>
15967
15968 * vc/diff.el: Fix description.
15969
e793a940
LMI
159702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971
15972 * server.el (server-eval-at): New function.
15973
8de66e05
LMI
159742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15975
15976 * net/network-stream.el (open-network-stream): Take a :nowait
15977 parameter and pass it on to `make-network-process'.
15978 (network-stream-open-plain): Ditto.
15979
dcb79f20
AS
159802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15981
15982 * faces.el (face-spec-set-match-display): Don't match toolkit
15983 options on terminal frames.
15984
14a7fbd8
SM
159852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15986
7eabc1be
SM
15987 * progmodes/pascal.el: Use lexical binding.
15988 (pascal-mode-map): Remove author preferences.
15989
14a7fbd8
SM
15990 * pcomplete.el (pcomplete-std-complete): Don't abuse
15991 completion-at-point.
15992
50f84510
JB
159932011-04-28 Juanma Barranquero <lekktu@gmail.com>
15994
6e087a44
JB
15995 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15996 removing code that has been dead since 1991 or so.
15997
50f84510
JB
15998 * startup.el (command-line): When warning about "_emacs", use a
15999 delayed warning to allow the user to filter it out.
16000
0ba690bd
DD
160012011-04-28 Deniz Dogan <deniz@dogan.se>
16002
16003 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16004 user has not joined.
16005
08abfaad
SM
160062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16009 aren't any completions at point.
16010
638f053a
JB
160112011-04-28 Juanma Barranquero <lekktu@gmail.com>
16012
16013 * subr.el (display-delayed-warnings): New function.
16014 (delayed-warnings-hook): New variable.
16015
8fff8daa
SM
160162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16017
08abfaad
SM
16018 * minibuffer.el (completion-at-point, completion-help-at-point):
16019 Don't presume that a given completion-at-point-function will always
16020 use the same calling convention.
16021
8fff8daa
SM
16022 * pcomplete.el (pcomplete-completions-at-point):
16023 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16024 pcomplete-seen is non-nil.
16025 (pcomplete-comint-setup): Also recognize the new comint/shell
16026 completion functions.
16027 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16028 pcomplete-seen is non-nil.
16029
841a1577 160302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16031
841a1577 16032 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16033 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16034 the first character in the entry. This allows for code to add its
211ec907
UJ
16035 own uid to the entry.
16036 (icalendar--convert-float-to-ical): Add export of
16037 `diary-float'-entries save for those with the optional DAY
16038 argument.
16039
2a782793
DC
160402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16041
16042 * subr.el (shell-quote-argument): Use alternate escaping strategy
16043 when we spot a variable reference in a string.
16044
0438ce91
DC
160452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16046
16047 * cus-start.el (all): Define customization for debug-on-event.
16048
841a1577 160492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16050
16051 * subr.el (shell-quote-argument): Escape correctly under Windows.
16052
d090ed6c
SM
160532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16054
16055 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16056
bfd31217
MA
160572011-04-25 Michael Albinus <michael.albinus@gmx.de>
16058
d090ed6c
SM
16059 * net/tramp.el (tramp-process-actions): Add POS argument.
16060 Delete region between POS and (pos).
bfd31217 16061
d090ed6c
SM
16062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16063 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16064 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16065
16066 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16067 position in `tramp-process-actions' call.
16068
16069 * net/trampver.el: Update release number.
16070
e92f3bd3
SM
160712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16072
850256b5
SM
16073 * custom.el (defcustom): Obey lexical-binding.
16074
e92f3bd3
SM
16075 Fix octave-inf completion problems reported by Alexander Klimov.
16076 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16077 Inherit from octave-mode-syntax-table.
16078 (inferior-octave-mode): Set info-lookup-mode.
16079 (inferior-octave-completion-at-point): New function.
16080 (inferior-octave-complete): Use it and completion-in-region.
16081 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16082 comint-filename-completion.
16083 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16084 symbol elements which shouldn't be word elements.
16085 (octave-font-lock-keywords, octave-beginning-of-defun)
16086 (octave-function-header-regexp): Adjust regexps accordingly.
16087 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16088
cd22b309
JB
160892011-04-25 Juanma Barranquero <lekktu@gmail.com>
16090
16091 * net/gnutls.el (gnutls-errorp): Declare before first use.
16092
8b492194
TZ
160932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16094
16095 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16096 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16097 default trustfile exists before going to use it. Add missing
5a5fa834 16098 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16099 Reported by Claudio Bley <claudio.bley@gmail.com>.
16100 (open-gnutls-stream): Add usage example.
16101
16102 * net/network-stream.el (network-stream-open-starttls): Give host
16103 parameter to `gnutls-negotiate'.
16104 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16105 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16106
841a1577 161072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16108
cd22b309
JB
16109 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16110 Use correct match group (bug#8438).
05842630 16111
3ba7869c
CY
161122011-04-24 Chong Yidong <cyd@stupidchicken.com>
16113
512e3ae1
CY
16114 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16115 (package-menu--generate): New arg specifying packages to show.
16116 (package-menu-refresh, package-menu-execute, list-packages):
16117 Callers changed.
16118 (package-show-package-list): New function, replacing deleted
16119 package--list-packages (renamed because it is non-internal).
16120
16121 * finder.el (finder-list-matches): Use package-show-package-list
16122 instead of deleted package--list-packages.
16123
e92f3bd3
SM
16124 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16125 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16126 (vc-annotate-mode-map): Bind it to RET.
16127
7031be6d
UR
161282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16129
16130 * progmodes/etags.el (next-file): Don't use set-buffer to change
16131 buffers (Bug#8478).
16132
4ef177aa
CY
161332011-04-24 Chong Yidong <cyd@stupidchicken.com>
16134
c8d173eb
CY
16135 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16136
4ef177aa
CY
16137 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16138 (apropos-accumulator): Doc fix.
16139 (apropos-function, apropos-macro, apropos-command)
16140 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16141 (apropos-plist): Add face property.
16142 (apropos-symbols-internal): Fix indentation.
16143 (apropos-print): Simplify help, and recognize apropos-multi-type.
16144 (apropos-print-doc): Use button-type-get to extract the button's
16145 face property. Fill docstring (Bug#8352).
16146
4ffd0d6b 161472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16148
16149 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16150
c6c32125 16151 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16152 (mpuz-mode-map): Use mapc.
c6c32125
JB
16153 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16154 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16155 Fix typos in docstrings.
16156
58d468b4
JB
16157 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16158 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16159
6470c3c6
JB
16160 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16161
4ffd0d6b 161622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16163
16164 * minibuffer.el (completion--do-completion): Avoid the "Next char
16165 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16166
3ad8bad0
CY
16167 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16168 mouse-2 into unread-command-events, it is interpreted correctly.
16169
71d73c9c 16170 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16171 (image-toggle-display): Doc fix.
71d73c9c 16172
841a1577 161732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16174
4ffd0d6b
GM
16175 * textmodes/page.el (what-page): Use line-number-at-pos to
16176 calculate line number (Bug#6825).
6e1dbaa9 16177
c2fb1b60
JB
161782011-04-22 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16181 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16182 Pass argument NO-DEFAULT to `find-tag-interactive'.
16183
e02f48d7
JB
161842011-04-22 Juanma Barranquero <lekktu@gmail.com>
16185
16186 Lexical-binding cleanup.
16187
16188 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16189 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16190 * progmodes/ada-prj.el (ada-prj-initialize-values)
16191 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16192 (ada-prj-show-value):
16193 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16194 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16195 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16196 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16197 * progmodes/bug-reference.el (bug-reference-push-button):
16198 * progmodes/fortran.el (fortran-line-length):
16199 * progmodes/glasses.el (glasses-change):
16200 * progmodes/octave-mod.el (octave-fill-paragraph):
16201 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16202 (python-pdbtrack-grub-for-buffer, python-sentinel):
16203 * progmodes/sql.el (sql-save-connection):
16204 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16205 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16206 Mark unused parameters.
16207
16208 * progmodes/compile.el (compilation--flush-directory-cache)
16209 (compilation--flush-parse, compile-internal): Mark unused parameters.
16210 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16211 (compilation-next-error-function): Remove unused variable `timestamp'.
16212
16213 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16214 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16215
16216 * progmodes/dcl-mode.el (dcl-end-of-command):
16217 Remove unused variable `start'.
16218 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16219 (dcl-option-value-basic, dcl-option-value-offset)
16220 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16221 Mark unused parameters.
16222 (dcl-save-local-variable): Remove unused variable `val'.
16223 (mode): Declare.
16224
16225 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16226 Mark unused parameters.
16227 (delphi-ignore-changes): Move before first use.
16228 (delphi-charset-token-at): Remove unused variable `start'.
16229 (delphi-else-start): Remove unused variable `if-count'.
16230 (delphi-comment-block-start, delphi-comment-block-end):
16231 Remove unused variable `kind'.
16232 (delphi-indent-line): Remove unused variable `new-point'.
16233
16234 * progmodes/ebrowse.el (ebrowse-files-list)
16235 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16236 Mark unused parameters. Don't quote `lambda'.
16237 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16238 Don't quote `lambda'.
16239 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16240 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16241 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16242 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16243 Use `ignore-errors'.
16244 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16245 (ebrowse-view/find-file-and-search-pattern)
16246 (ebrowse-view/find-member-declaration/definition):
16247 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16248 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16249 Rename parameter PREFIX-ARG to PREFIX.
16250 (ebrowse-tags-read-name): Remove unused variables `start' and
16251 `member-info'.
16252 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16253 to `tags-file'.
16254
16255 * progmodes/etags.el (local-find-tag-hook): Declare.
16256 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16257 Mark unused parameters.
16258
16259 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16260 (executable-interpret): Mark unused parameter.
16261
16262 * progmodes/flymake.el (flymake-process-sentinel)
16263 (flymake-after-change-function)
16264 (flymake-create-temp-with-folder-structure)
16265 (flymake-get-include-dirs-dot): Mark unused parameters.
16266 (flymake-safe-delete-directory): Remove unused variable `err'.
16267
16268 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16269 (speedbar-timer-fn, speedbar-line-text)
16270 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16271 (speedbar-center-buffer-smartly): Declare functions.
16272 (gdb-find-watch-expression): Remove unused variable `array'.
16273 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16274 (gdb-starting): Mark unused parameters.
16275 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16276 (gdb-table-string): Remove unused variable `res'.
16277 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16278 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16279 (gdb-display-buffer): Remove unused variable `cur-size'.
16280
16281 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16282 allow lexical-binding compilation.
16283 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16284 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16285 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16286 Mark unused parameters.
16287 (gud-gdb-marker-filter): Remove unused variable `match'.
16288 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16289 lambda expressions and funcall them, instead of using `fset'.
16290
16291 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16292 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16293
16294 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16295 variable `header-beg'; use `let'.
16296
16297 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16298 `restart', `last-sexp' and `at-do'.
16299
16300 * progmodes/js.el (js--debug): Mark unused parameter.
16301 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16302 (js--splice-into-items): Remove unused variable `item'.
16303 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16304
16305 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16306 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16307 (makefile-complete): Remove unused variable `try'.
16308 (makefile-fill-paragraph, makefile-match-function-end):
16309 Mark unused parameters.
16310
16311 * progmodes/octave-inf.el (inferior-octave-complete):
16312 Remove unused variable `proc'.
16313 (inferior-octave-output-digest): Mark unused parameter.
16314
16315 * progmodes/perl-mode.el (perl-calculate-indent):
16316 Remove unused variable `err'.
16317
16318 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16319 (prolog-indent-line): Mark unused parameters.
16320 (prolog-indent-line): Remove unused variable `beg'.
16321
16322 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16323 (reporter-dont-compact-list): Declare.
16324
16325 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16326 Remove unused variable `char'.
16327 (sh-debug): Mark unused parameter.
16328 (sh-get-indent-info): Remove unused variable `start'.
16329 (sh-calculate-indent): Remove unused variable `var'.
16330
16331 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16332 (simula-electric-keyword): Remove unused variable `null'.
16333 (simula-search-backward, simula-search-forward): Remove unused
16334 variables `begin' and `end'.
16335
16336 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16337 Remove unused variable `pos'.
16338 (vera-electric-tab, vera-comment-uncomment-region):
16339 Mark unused parameters.
16340 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16341
7ede3b65
CY
163422011-04-22 Chong Yidong <cyd@stupidchicken.com>
16343
16344 * emacs-lisp/package.el (package--builtins, package-alist)
16345 (package-load-descriptor, package-built-in-p, package-activate)
16346 (define-package, package-installed-p)
16347 (package-compute-transaction, package-buffer-info)
16348 (package--push): Doc fix. Distinguish more clearly between
16349 version strings and version lists.
16350
121656e9
JB
163512011-04-21 Juanma Barranquero <lekktu@gmail.com>
16352
16353 Lexical-binding cleanup.
16354
16355 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16356 (5x5-make-mutate-best):
16357 * play/fortune.el (fortune-in-buffer):
16358 * play/gomoku.el (gomoku-init-display):
16359 * play/solitaire.el (solitaire, solitaire-do-check):
16360 * play/tetris.el (tetris-default-update-speed-function):
16361 Mark unused parameters.
16362
16363 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16364 (bubbles--shift): Remove unused variable `char-org'.
16365 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16366 (bubbles--show-images): Remove unused variable `char'.
16367
16368 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16369 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16370 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16371 (decipher-analyze-buffer): Use ?\s.
16372 (decipher-make-checkpoint): Remove unused variable `mapping'.
16373
16374 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16375
16376 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16377 Remove unused variable `result'; use `let'.
16378
16379 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16380 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16381 (gametree-children-shown-p, gametree-compute-reduced-score):
16382 Use `ignore-errors'.
16383
16384 * play/handwrite.el (ps-lpr-switches): Declare.
16385 (handwrite): Remove unused variables `pmin' and `lastp'.
16386
16387 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16388
16389 * play/landmark.el (landmark-init-display)
16390 (landmark-update-naught-weights): Mark unused parameters.
16391 (landmark-y): Remove unused variable `noise'. Simplify.
16392 (landmark-human-plays): Remove unused variable `score'.
16393
16394 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16395 (mpuz-try-proposal): Remove unused variable `game'.
16396
16397 * play/zone.el (life-patterns): Declare.
16398
80f499c7
JB
163992011-04-20 Juanma Barranquero <lekktu@gmail.com>
16400
16401 * vc/vc.el (ediff-vc-internal): Declare function.
16402
024ff170
SM
164032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16404
c0a193ea
SM
16405 * shell.el: Use lexical-binding and std completion UI.
16406 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16407 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16408 comint-preoutput-filter-functions rather than on
16409 comint-output-filter-functions.
16410 (shell-command-completion, shell--command-completion-data)
16411 (shell-filename-completion, shell-environment-variable-completion)
16412 (shell-c-a-p-replace-by-expanded-directory): New functions.
16413 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16414 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16415 (shell-dynamic-complete-environment-variable): Use them.
16416 (shell-dynamic-complete-as-environment-variable)
16417 (shell-dynamic-complete-as-command): Remove.
16418 (shell-match-partial-variable): Match past point.
16419 * comint.el: Clean up use of completion-at-point-functions.
16420 (comint-completion-at-point): New function.
16421 (comint-mode): Use it completion-at-point-functions.
16422 (comint-dynamic-complete): Make it obsolete.
16423 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16424 (comint-c-a-p-replace-by-expanded-history): New function.
16425 (comint-dynamic-complete-functions)
16426 (comint-replace-by-expanded-history): Use it.
16427 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16428 termination strings. Try harder to avoid second try-completion.
16429 (completion-in-region-mode-map): Disable bindings that don't work yet.
16430
2dbaa080
SM
16431 * comint.el: Use lexical-binding. Require CL.
16432 (comint-dynamic-complete-functions): Use comint-filename-completion.
16433 (comint-completion-addsuffix): Tweak custom type.
16434 (comint-filename-completion, comint--common-suffix)
16435 (comint--common-quoted-suffix, comint--table-subvert)
16436 (comint--complete-file-name-data): New functions.
16437 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16438 (comint-dynamic-list-filename-completions): Use them.
16439 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16440
2dbaa080
SM
16441 * minibuffer.el (completion-in-region-mode):
16442 Keep completion-in-region-mode--predicate global.
16443 (completion-in-region--postch):
16444 Assume completion-in-region-mode--predicate is not null.
16445
c79a6f38
SM
16446 * progmodes/flymake.el (flymake-start-syntax-check-process):
16447 Obey `dir'. Simplify.
16448
024ff170
SM
16449 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16450 we're in VC after all.
16451
1c6c854e
CS
164522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16453
16454 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16455 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16456 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16457
bed7f140
SM
164582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16459
332e62ab
SM
16460 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16461 add sanity check.
16462
bed7f140
SM
16463 * obsolete/erc-hecomplete.el: Make obsolete.
16464 * obsolete/: Standardize obsolescence info in the header.
16465
f195c582
GM
164662011-04-20 Glenn Morris <rgm@gnu.org>
16467
16468 * calendar/solar.el (solar-horizontal-coordinates):
16469 Use the longitude argument rather than `calendar-longitude'.
16470 (solar-date-next-longitude): Remove unused locals.
16471
cb79b8c0
VJL
164722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16473
16474 * whitespace.el: New version 13.2.1.
16475
164762011-04-20 felix <EmacsWiki> (tiny change)
16477
d8e4b68b 16478 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16479 switching between major modes on a file.
16480
602ea69d
SM
164812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16484 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16485 multi-line comments as well.
16486
06b60517
JB
164872011-04-19 Juanma Barranquero <lekktu@gmail.com>
16488
16489 Lexical-binding cleanup.
16490
16491 * arc-mode.el (archive-mode-revert):
16492 * cmuscheme.el (scheme-interactively-start-process):
16493 * custom.el (custom-initialize-delay):
16494 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16495 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16496 * emacs-lock.el (emacs-lock-clear-sentinel):
16497 * ezimage.el (defezimage):
16498 * follow.el (follow-avoid-tail-recenter):
16499 * fringe.el (set-fringe-mode-1):
16500 * generic-x.el (bat-generic-mode-compile):
16501 * help-mode.el (help-info-variable, help-do-xref)
16502 (help-mode-revert-buffer):
16503 * help.el (view-emacs-todo):
16504 * iswitchb.el (iswitchb-completion-help):
16505 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16506 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16507 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16508 * locate.el (locate-update):
16509 * longlines.el (longlines-encode-region)
16510 (longlines-after-change-function):
16511 * outline.el (outline-isearch-open-invisible):
16512 * ps-def.el (declare-function, charset-dimension, char-width)
16513 (encode-char):
16514 * ps-mule.el (ps-mule-plot-string):
16515 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16516 (recentf-edit-list-select, recentf-edit-list-validate)
16517 (recentf-open-files-action):
16518 * rect.el (delete-whitespace-rectangle-line)
16519 (rectangle-number-line-callback):
16520 * register.el (window-configuration-to-register)
16521 (frame-configuration-to-register):
16522 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16523 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16524 (xselect-convert-to-targets, xselect-convert-to-delete)
16525 (xselect-convert-to-filename, xselect-convert-to-charpos)
16526 (xselect-convert-to-lineno, xselect-convert-to-colno)
16527 (xselect-convert-to-os, xselect-convert-to-host)
16528 (xselect-convert-to-user, xselect-convert-to-class)
16529 (xselect-convert-to-name, xselect-convert-to-integer)
16530 (xselect-convert-to-atom, xselect-convert-to-identity):
16531 * subr.el (declare, ignore, process-kill-without-query)
16532 (text-clone-maintain):
16533 * terminal.el (te-get-char, te-tic-sentinel):
16534 * tool-bar.el (tool-bar-make-keymap):
16535 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16536 * type-break.el (type-break-mode, type-break-noninteractive-query):
16537 * view.el (View-back-to-mark):
16538 * wid-browse.el (widget-browse-action, widget-browse-widget)
16539 (widget-browse-widgets, widget-browse-sexp):
16540 * widget.el (define-widget-keywords):
16541 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16542 Mark unused parameters.
16543
16544 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16545 (align-areas): Remove unused variable `look'.
16546 (align-region): Remove unused variables `real-end' and `pos-list'.
16547
16548 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16549
16550 * bindings.el (mode-line-modified, mode-line-remote):
16551 Mark unused parameters.
16552 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16553
16554 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16555 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16556
16557 * comint.el (comint-history-isearch-pop-state)
16558 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16559 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16560 (comint-substitute-in-file-name): Doc fix.
16561
16562 * completion.el (cmpl-statistics-block): Mark unused parameter.
16563 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16564 (save-completions-to-file, load-completions-from-file):
16565 Remove unused local variable `e'.
16566
16567 * composite.el (compose-chars): Remove unused variable `len'.
16568 (lgstring-insert-glyph): Remove unused variable `g'.
16569 (compose-glyph-string): Remove unused variables `ascent',
16570 `descent', `lbearing' and `rbearing'.
16571 (compose-glyph-string-relative): Remove unused variables
16572 `lbearing', `rbearing' and `wadjust'.
16573 (compose-gstring-for-graphic): Remove unused variables `header',
16574 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16575 (compose-gstring-for-terminal): Remove unused variables `header'
16576 and `nchars'. Use `let', not `let*'.
16577
16578 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16579 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16580 (Custom-buffer-done, custom-buffer-create-internal)
16581 (custom-browse-visibility-action, custom-browse-group-tag-action)
16582 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16583 (widget-magic-mouse-down-action, custom-toggle-parent)
16584 (custom-add-parent-links, custom-toggle-hide-variable)
16585 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16586 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16587 (custom-face-menu-create, custom-variable-menu-create, get)
16588 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16589 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16590 (customize-apropos): Remove unused variable `tests'.
16591 (custom-group-value-create): Remove unused variable `hidden-p'.
16592 (sort-fold-case): Declare.
16593
16594 * cus-theme.el (custom-reset-standard-faces-list)
16595 (custom-reset-standard-variables-list): Declare.
16596 (customize-create-theme, custom-theme-revert, custom-theme-write)
16597 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16598 Mark unused parameters.
16599
16600 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16601
16602 * delim-col.el (delimit-columns-max): Move defvar before first use.
16603
16604 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16605 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16606
16607 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16608 (auto-insert): Declare.
16609 (desktop-restore-file-buffer): Rename desktop-* parameters;
16610 mark unused ones.
16611 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16612 (desktop-buffer): Rename desktop-* parameters.
16613
16614 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16615 (dframe-reposition-frame-xemacs, dframe-help-echo)
16616 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16617 Mark unused parameters.
16618
16619 * dired-aux.el (backup-extract-version-start, overwrite-query)
16620 (overwrite-backup-query, rename-regexp-query)
16621 (rename-non-directory-query): Declare.
16622 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16623 (dired-add-entry): Remove unused variable `orig-file-name'.
16624 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16625 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16626 `dired-copy-preserve-time' directly.
16627 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16628 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16629
16630 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16631 (dired-virtual-revert, dired-make-relative-symlink):
16632 Mark unused parameters.
16633 (manual-program): Declare.
16634 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16635 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16636 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16637
16638 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16639
16640 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16641
16642 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16643 Declare.
16644
16645 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16646
16647 * electric.el (Electric-command-loop): Rename parameter
16648 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16649
16650 * expand.el (expand-in-literal): Remove unused variable `here'.
16651
16652 * facemenu.el (facemenu-add-new-color):
16653 Remove unused variable `docstring'.
16654
16655 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16656 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16657 (face-attr-construct): Mark unused parameter. Doc fix.
16658 (read-color): Remove unused variable `hex-string'.
16659
16660 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16661 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16662 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16663 (display-buffer-other-frame): Remove unused variable `old-window'.
16664 (kill-buffer-hook): Declare.
16665 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16666 Mark unused parameters.
16667 (after-find-file): Pass 1 to `auto-save-mode', not t.
16668
16669 * files-x.el (auto-insert): Declare.
16670 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16671
16672 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16673 variable `buf'. Mark unused parameter.
06b60517
JB
16674 (find-lisp-insert-directory): Mark unused parameter.
16675
16676 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16677 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16678 (format-common-tail): Remove, unused.
16679 (format-deannotate-region): Remove unused variable `loc'.
16680 (format-annotate-region): Remove unused variable `p'.
16681 (format-annotate-single-property-change): Remove unused variables
16682 `default' and `tail'.
16683
16684 * forms.el (read-file-filter): Declare.
16685 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16686
16687 * frame.el (frame-creation-function-alist): Mark unused parameter.
16688 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16689
16690 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16691 Remove unused parameters.
16692 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16693 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16694
16695 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16696 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16697 (hfy-prepare-tag-map): Mark unused parameters.
16698 (htmlfontify-buffer): Use `called-interactively-p'.
16699
16700 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16701 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16702 (ibuffer-do-occur): Mark unused parameters.
16703 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16704 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16705
16706 * ibuffer.el: Don't quote `lambda'.
16707 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16708 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16709 Mark unused parameters.
16710
16711 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16712 (ido-completing-read): Mark unused parameters.
16713 (ido-copy-current-word): Mark unused parameters;
16714 remove unused variable `name'.
16715 (ido-sort-merged-list): Remove unused parameter `dirs'.
16716
16717 * ielm.el (ielm-input-sender): Mark unused parameter.
16718 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16719 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16720 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16721 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16722 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16723
16724 * image-dired.el (image-dired-display-thumbs): Remove unused
16725 variables `curr-file' and `count'.
16726 (image-dired-remove-tag): Remove unused variable `start'.
16727 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16728 variable `curr-file'
16729 (image-dired-rotate-original): Remove unused variable `temp-file'.
16730 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16731 Remove unused variable `file'.
16732 (image-dired-gallery-generate): Remove unused variable `curr'.
16733 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16734
16735 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16736
16737 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16738
16739 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16740
16741 * isearch.el (minibuffer-history-symbol): Declare.
16742 (isearch-edit-string): Remove unused variable `err'.
16743 (isearch-message-prefix, isearch-message-suffix):
16744 Mark unused parameters.
16745
16746 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16747
16748 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16749
16750 * makesum.el (double-column): Remove unused variable `cnt'.
16751
16752 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16753 (ido-ignore-item-temp-list): Declare.
16754
16755 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16756 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16757 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16758 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16759 `mouse-col-delta'.
16760
16761 * mouse-sel.el (mouse-extend-internal):
16762 Remove unused variable `orig-window-frame'.
16763
16764 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16765 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16766 Move declarations before first use.
16767 (pcomplete-opt): Mark unused parameters; doc fix.
16768
16769 * proced.el (proced-revert): Mark unused parameter.
16770 (proced-send-signal): Remove unused variable `err'.
16771
16772 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16773 Rename parameter PREFIX-ARG to ARG.
16774 (ps-basic-plot-string, ps-basic-plot-whitespace):
16775 Mark unused parameters.
16776
16777 * replace.el (replace-count): Define.
16778 (occur-revert-function): Mark unused parameters.
16779 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16780 (isearch-case-fold-search, isearch-string): Declare.
16781 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16782 bind `case-fold-search'. Remove unused variables `beg' and `end',
16783 and simplify.
16784 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16785 COUNT and bind `replace-count'.
16786 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16787 to COUNT.
16788
16789 * savehist.el (print-readably, print-string-length): Declare.
16790
16791 * shadowfile.el (shadow-expand-cluster-in-file-name):
16792 Remove unused variable `cluster'.
16793 (shadow-copy-file): Remove unused variable `i'.
16794 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16795 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16796 (shadow-define-literal-group, shadow-define-regexp-group)
16797 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16798
16799 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16800 (shell): Use `called-interactively-p'.
16801 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16802
16803 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16804 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16805 (delete-backward-char): Remove unused variable `ocol'.
16806 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16807 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16808 (event-apply-hyper-modifier, event-apply-shift-modifier)
16809 (event-apply-control-modifier, event-apply-meta-modifier):
16810 Mark unused parameters.
16811 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16812 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16813
16814 * speedbar.el (speedbar-ignored-directory-expressions)
16815 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16816 (speedbar-find-file, speedbar-dir-follow)
16817 (speedbar-directory-buttons-follow, speedbar-tag-find)
16818 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16819 (speedbar-buffers-line-directory, speedbar-buffer-click):
16820 Mark unused parameters.
16821 (speedbar-tag-file): Remove unused variable `mode'.
16822 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16823
16824 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16825
16826 * talk.el (talk): Remove unused variable `display'.
16827
16828 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16829 (tar-write-region-annotate): Mark unused parameter.
16830
16831 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16832 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16833 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16834 warning by another.
16835
16836 * time-stamp.el (time-stamp-string-preprocess):
16837 Remove unused variable `require-padding'.
16838
16839 * tree-widget.el (widget-glyph-enable): Declare.
16840 (tree-widget-action): Mark unused parameter.
16841
16842 * w32-fns.el (x-get-selection): Mark unused parameter.
16843 (autoload-make-program, generated-autoload-file): Declare.
16844
16845 * wdired.el (wdired-revert): Mark unused parameters.
16846 (wdired-xcase-word): Remove unused variable `err'.
16847
16848 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16849 (whitespace-help-scroll): Remove unused variable `data-help'.
16850
16851 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16852 (widget-image-insert, widget-after-change, default)
16853 (widget-default-format-handler, widget-default-notify)
16854 (widget-default-prompt-value, widget-info-link-action)
16855 (widget-url-link-action, widget-function-link-action)
16856 (widget-variable-link-action, widget-file-link-action)
16857 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16858 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16859 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16860 (widget-insert-button-action, widget-delete-button-action, visibility)
16861 (widget-documentation-link-action, widget-documentation-string-action)
16862 (widget-const-prompt-value, widget-regexp-match, symbol)
16863 (widget-coding-system-prompt-value)
16864 (widget-key-sequence-value-to-external, sexp)
16865 (widget-sexp-value-to-internal, character, vector, cons)
16866 (widget-choice-prompt-value, widget-boolean-prompt-value)
16867 (widget-color--choose-action): Mark unused parameters.
16868 (widget-item-match-inline, widget-choice-match-inline)
16869 (widget-checklist-match, widget-checklist-match-inline)
16870 (widget-group-match): Rename parameter VALUES to VALS.
16871 (widget-field-value-set): Remove unused variable `size'.
16872 (widget-color-action): Remove unused variables `value' and `start'.
16873
16874 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16875 variable `dir'. Doc fix.
06b60517
JB
16876 (windmove-find-other-window): Don't pass it.
16877
16878 * window.el (count-windows): Mark unused parameter.
16879 (bw-adjust-window): Remove unused variable `err'.
16880
16881 * woman.el (woman-file-name): Remove unused variable `default'.
16882 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16883 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16884 (global-font-lock-mode): Declare.
16885 (woman-decode-region): Mark unused parameter.
16886 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16887
16888 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16889 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16890 (x-dnd-handle-moz-url): Remove unused variable `title'.
16891 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16892
16893 * xml.el (xml-parse-tag, xml-parse-attlist):
16894 Remove unused variable `pos'.
16895
bc4f7f3d
GM
168962011-04-19 Glenn Morris <rgm@gnu.org>
16897
16898 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16899 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16900 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16901 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16902 * calendar/cal-html.el (cal-html-insert-minical):
16903 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16904 (calendar-mark-date-pattern):
16905 Prefix "unused" locals.
16906
16907 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16908 optional argument `style'.
16909
16910 * calendar/appt.el (appt-make-list):
16911 * calendar/cal-china.el (calendar-chinese-date-string):
16912 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16913 (diary-hebrew-yahrzeit):
16914 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16915 * calendar/calendar.el (calendar-generate-window):
16916 * calendar/time-date.el (time-to-days):
16917 Remove unused local variables.
16918
16a43933
CY
169192011-04-18 Chong Yidong <cyd@stupidchicken.com>
16920
16921 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16922 glyphless-char-display table.
16923 (tabulated-list-glyphless-char-display): New var.
16924
7eed1860
SS
169252011-04-18 Sam Steingold <sds@gnu.org>
16926
16927 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16928 to acknowledgments.
16929
4d2d1ccd
GM
169302011-04-17 Glenn Morris <rgm@gnu.org>
16931
16932 * calendar/diary-lib.el (diary-sexp-entry):
16933 * calendar/holidays.el (holiday-sexp):
16934 Set debug-on-error rather than the removed stack-trace-on-error.
16935
239da61d
GM
169362011-04-16 Glenn Morris <rgm@gnu.org>
16937
16938 * progmodes/f90.el: Use lexical-binding.
16939 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16940
8b05752a
SM
169412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16942
daca8ba5
SM
16943 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16944 (mail-mode): Setup mailalias completion here instead.
16945 * mail/mailalias.el: Use lexical-binding.
16946 (pattern, mailalias-done): Declare dynamic.
16947 (mail-completion-at-point-function): New function, from mail-complete.
16948 (mail-complete): Use it.
16949 (mail-completion-expand): New function.
16950 (mail-get-names): Use it.
16951 (mail-directory, mail-directory-process, mail-directory-stream):
16952 Don't use `pattern' for lexically bound arg.
16953
6f542485
SM
16954 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16955
037e7c3f
SM
16956 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16957 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16958 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16959
8b05752a
SM
16960 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16961 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16962 (byte-interactive-p): Define them again, for use when inlining
16963 old code.
16964
49093f60
JB
169652011-04-15 Juanma Barranquero <lekktu@gmail.com>
16966
16967 * loadup.el: Use `string-to-number', not `string-to-int'.
16968
b5b8e7de
SM
169692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16970
16971 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16972 gud-gdb-complete-command.
16973 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16974 (gud-gdb-completion-at-point): New function.
16975 (gud-gdb-completions): Remove.
16976
f42efeb5
MA
169772011-04-14 Michael Albinus <michael.albinus@gmx.de>
16978
49093f60
JB
16979 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16980 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16981 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16982 whether `executable-find' is bound.
f42efeb5
MA
16983
16984 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16985
e240cc21
SM
169862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16987
16988 * minibuffer.el (completion-in-region-mode-predicate)
16989 (completion-in-region-mode--predicate): New vars.
16990 (completion-in-region, completion-in-region--postch)
16991 (completion-in-region-mode): Use them.
16992 (completion--capf-wrapper): Also return the hook function.
16993 (completion-at-point, completion-help-at-point):
16994 Adjust and provide a predicate.
c2bd2ab0
SM
16995
16996 Preserve arg names for advice of subr and lexical functions (bug#8457).
16997 * help-fns.el (help-function-arglist): Consolidate the subr and
16998 new-byte-code cases. Add argument `preserve-names' to extract names
16999 from the docstring when needed.
17000 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17001 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17002 (ad-arglist): Use help-function-arglist's new arg.
17003 (ad-definition-type): Use cond.
17004
c183f693
JB
170052011-04-13 Juanma Barranquero <lekktu@gmail.com>
17006
06641a47
JB
17007 * autorevert.el (auto-revert-handler):
17008 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17009 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17010 Don't quote lambda.
17011
c183f693
JB
17012 * image-mode.el (image-transform-set-scale):
17013 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17014
1e3b6001
G
170152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17016
17017 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17018 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17019 Upgrades via gnutls-cli are too slow to be done opportunistically.
17020
2d6af8dd
JB
170212011-04-12 Juanma Barranquero <lekktu@gmail.com>
17022
17023 * dframe.el (dframe-current-frame): Remove spurious quote.
17024
c0749a51
GM
170252011-04-12 Glenn Morris <rgm@gnu.org>
17026
088d0d61
GM
17027 * calendar/cal-tex.el (cal-tex-end-document):
17028 Try to automatically use latin1 input if needed.
17029
c0749a51
GM
17030 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17031 Don't try to cons a mark onto an empty element.
17032
5c90fde0
LL
170332011-04-11 Leo Liu <sdl.web@gmail.com>
17034
17035 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17036 buffers.
17037 (ido-kill-buffer-at-head): Support killing virtual buffers.
17038
369e974d
CY
170392011-04-10 Chong Yidong <cyd@stupidchicken.com>
17040
17041 * minibuffer.el (completion-show-inline-help): New var.
17042 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17043 (minibuffer-force-complete, minibuffer-complete-word):
17044 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17045
17046 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17047 to avoid interference from inline help (Bug#5849).
17048
37f1c930
LL
170492011-04-10 Leo Liu <sdl.web@gmail.com>
17050
099c39a4
JB
17051 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17052 Fix typo.
37f1c930 17053
a32d4040
CY
170542011-04-09 Chong Yidong <cyd@stupidchicken.com>
17055
17056 * image-mode.el (image-toggle-display-image): Signal an error if
17057 not in Image mode.
17058 (image-transform-mode, image-transform-resize)
17059 (image-transform-set-rotation): Doc fix.
daca8ba5 17060 (image-transform-set-resize): Delete.
a32d4040
CY
17061 (image-transform-set-scale, image-transform-fit-to-height)
17062 (image-transform-fit-to-width): Handle image-toggle-display-image
17063 and image-transform-resize directly.
17064
099c39a4 170652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17066
17067 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17068 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17069 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17070 (doc-view-mode-map): Add bindings for the new functions.
17071
099c39a4 170722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17073
4d61f28d 17074 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17075 Fix typo in docstring.
17076
3726838a
EZ
170772011-04-08 Eli Zaretskii <eliz@gnu.org>
17078
04f33f1e
EZ
17079 * files.el (file-size-human-readable): Produce one digit after
17080 decimal, like "ls -lh" does.
17081
17082 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17083 the file size representation.
17084
3726838a
EZ
17085 * simple.el (list-processes): If async subprocesses are not
17086 available, error out with a clear error message.
17087
cbb59342
CY
170882011-04-08 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * help.el (help-form-show): New function, to be called from C.
17091 Put help-form output in a buffer named differently than *Help*.
17092
e3971c44
EZ
170932011-04-08 Eli Zaretskii <eliz@gnu.org>
17094
17095 * files.el (file-size-human-readable): New function.
17096
17097 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17098 computing the representation inline. Don't require `cl'.
17099
12544bbe
GM
171002011-04-08 Glenn Morris <rgm@gnu.org>
17101
a1de6c6a
GM
17102 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17103
3c4671f4
GM
17104 * net/browse-url.el (browse-url-firefox):
17105 Test system-type, not system-configuration.
17106
b605679c
GM
17107 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17108 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17109 Use log-edit-empty-buffer-p. (Bug#7598)
17110
56442f0c
GM
17111 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17112 (rlogin-mode-map): Initialize in the defvar.
17113 (rlogin): Use ignore-errors.
17114
12544bbe
GM
17115 * replace.el (occur-mode-map): Some fixes for menu items.
17116
eb237b0f
AH
171172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17118
17119 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17120
7d668f2c
CY
171212011-04-06 Chong Yidong <cyd@stupidchicken.com>
17122
e67a13ab
CY
17123 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17124 issuing unused warnings.
17125
17126 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17127 macro directly.
17128
7d668f2c
CY
17129 * simple.el: Lisp reimplement of list-processes. Based on an
17130 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17131 (process-menu-mode): New major mode.
17132 (list-processes--refresh, list-processes):
17133 (process-menu-visit-buffer): New functions.
17134
17135 * files.el (save-buffers-kill-emacs): Don't assume any return
17136 value of list-processes, which is undocumented anyway.
17137
a83ec3c9
CY
171382011-04-06 Chong Yidong <cyd@stupidchicken.com>
17139
17140 * emacs-lisp/tabulated-list.el: New file.
17141
e91a96fe
CY
17142 * emacs-lisp/package.el: Use Tabulated List mode.
17143 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17144 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17145 table format using Tabulated List mode variables.
17146 (package--push): New macro, replacing package-list-maybe-add.
17147 (package-menu--generate): Use package--push. Renamed from
17148 package--generate-package-list.
17149 (package-menu-refresh, list-packages): Use it.
daca8ba5 17150 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17151 Return insertion data instead of inserting it directly.
099c39a4
JB
17152 (package-menu-describe-package, package-menu-execute):
17153 Use tabulated-list-get-id.
e91a96fe
CY
17154 (package-menu-mark-delete, package-menu-mark-install)
17155 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17156 (package-menu-mark-obsolete-for-deletion):
17157 Use tabulated-list-put-tag.
e91a96fe
CY
17158 (package--list-packages, package-menu-revert)
17159 (package-menu-get-package, package-menu-get-version)
17160 (package-menu-sort-by-column): Functions deleted.
17161 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17162 (package-menu--status-predicate, package-menu--version-predicate)
17163 (package-menu--name-predicate)
17164 (package-menu--description-predicate): Handle arguments in the
17165 Tabulated List format.
17166 (package-list-packages-no-fetch): Call list-packages.
17167
3e214b50
JB
171682011-04-06 Juanma Barranquero <lekktu@gmail.com>
17169
17170 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17171 (after-find-file): Don't bind it.
3e214b50
JB
17172 (revert-buffer-in-progress-p): New variable.
17173 (revert-buffer): Bind it.
17174 Pass nil for `after-find-file-from-revert-buffer'.
17175
17176 * saveplace.el (save-place-find-file-hook): Use new variable
17177 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17178
3f0f1700
GM
171792011-04-06 Glenn Morris <rgm@gnu.org>
17180
c0274801
GM
17181 * Makefile.in (AUTOGEN_VCS): New variable.
17182 (autoloads): Use $AUTOGEN_VCS.
17183
3f0f1700
GM
17184 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17185 * calendar/calendar.el (calendar-mode-map):
17186 Check for toolkit scroll bars. (Bug#8305)
17187
41ea9e48
CY
171882011-04-05 Chong Yidong <cyd@stupidchicken.com>
17189
17190 * minibuffer.el (completion-in-region--postch)
17191 (completion-in-region-mode): Remove unnecessary messages.
17192
6194c800
JB
171932011-04-05 Juanma Barranquero <lekktu@gmail.com>
17194
33256f14
JB
17195 * font-lock.el (font-lock-refresh-defaults):
17196 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17197 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17198
6194c800
JB
17199 * info.el (Info-directory-list, Info-read-node-name-2)
17200 (Info-split-parameter-string): Doc fixes.
17201 (Info-virtual-nodes): Reflow docstring.
17202 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17203 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17204 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17205 Fix typos in docstrings.
17206 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17207 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17208 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17209 (Info-restore-desktop-buffer): Mark unused parameters.
17210 (Info-directory-find-file, Info-directory-find-node)
17211 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17212 (Info-virtual-index-find-node, Info-apropos-find-file)
17213 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17214 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17215 (Info-virtual-index): Remove unused local variable `nodename'.
17216
b87a8200 172172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17218
b87a8200
DD
17219 * net/rcirc.el: Update my e-mail address.
17220 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17221
3b2ff876
CY
172222011-04-05 Chong Yidong <cyd@stupidchicken.com>
17223
17224 * startup.el (command-line): Save the cursor's theme-face
17225 directly, instead of using face-override-spec.
17226
17227 * custom.el (load-theme): Minor optimization in assigning faces.
17228
8d17e7ca
JB
172292011-04-04 Juanma Barranquero <lekktu@gmail.com>
17230
17231 * help-fns.el (describe-variable): Complete all variables having
17232 documentation, including keywords.
17233 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17234
2fbc1934
JB
172352011-04-04 Juanma Barranquero <lekktu@gmail.com>
17236
17237 Convert to lexical-binding.
17238
17239 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17240 (bs--get-marked-string, bs--get-modified-string)
17241 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17242 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17243 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17244
17245 * ehelp.el (electric-help-execute-extended)
17246 (electric-help-ctrl-x-prefix):
17247 * hexl.el (hexl-revert-buffer-function):
17248 * linum.el (linum-after-change, linum-after-scroll):
17249 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17250
17251 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17252
74f50695
DU
172532011-04-04 Daiki Ueno <ueno@unixuser.org>
17254
17255 * epa-dired.el:
17256 * epa-mail.el:
17257 * epa-hook.el:
17258 * epa-file.el:
17259 * epa.el:
17260 * epg.el: Use lexical binding.
17261
c11325f7
CY
172622011-04-03 Chong Yidong <cyd@stupidchicken.com>
17263
0d9e9a12
CY
17264 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17265
c11325f7 17266 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17267 dictionary case for flyspell-mark-duplications-exceptions.
17268 Use regexp matching for languages.
c11325f7
CY
17269 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17270 default dictionary (Bug#7926).
17271
da91b5f2
CY
172722011-04-02 Chong Yidong <cyd@stupidchicken.com>
17273
099c39a4
JB
17274 * emacs-lisp/package.el (package--with-work-buffer):
17275 Recognize https URLs.
da91b5f2 17276
099c39a4
JB
17277 * net/network-stream.el: Move from gnus/proto-stream.el.
17278 Change prefix to network-stream throughout.
da91b5f2
CY
17279 (open-protocol-stream): Merge into open-network-stream, leaving
17280 open-protocol-stream as an alias. Handle nil BUFFER args.
17281
17282 * subr.el (open-network-stream): Move to net/network-stream.el.
17283
afa8e9f6
GM
172842011-04-02 Glenn Morris <rgm@gnu.org>
17285
1d2e369d
GM
17286 * find-dired.el (find-exec-terminator): New option.
17287 (find-ls-option): Test for -ls support.
17288 (find-ls-subdir-switches): Test for -b in find-ls-option.
17289 (find-dired, find-grep-dired): Doc fixes.
17290 (find-dired): Use find-exec-terminator.
17291
8abb7da8 17292 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17293 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17294 (find-name-arg): Remove purecopy.
8abb7da8 17295
f3ca7378
GM
17296 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17297 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17298 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17299 accordingly. Don't add the null-device if not needed.
17300
afa8e9f6
GM
17301 * files.el (save-some-buffers): Doc fix.
17302
35eae264
EZ
173032011-04-02 Eli Zaretskii <eliz@gnu.org>
17304
17305 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17306
26b51db5
JB
173072011-04-01 Juanma Barranquero <lekktu@gmail.com>
17308
17309 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17310 Use `dolist' rather than `mapcar'.
17311
7200d79c
SM
173122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17313
03408648 17314 Add lexical binding.
7200d79c 17315
03408648
SM
17316 * subr.el (apply-partially): Use new closures rather than CL.
17317 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17318 (dolist, dotimes): Use slightly different expansion for lexical code.
17319 (functionp): Move to C.
17320 (letrec): New macro.
17321 (with-wrapper-hook): Use it and apply-partially instead of CL.
17322 (eval-after-load): Preserve lexical-binding.
17323 (save-window-excursion, with-output-to-temp-buffer): Turn them
17324 into macros.
7200d79c 17325
03408648
SM
17326 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17327
17328 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17329 than the arglist.
17330 (help-add-fundoc-usage): Don't add `Not documented'.
17331 (help-function-arglist): Handle closures, subroutines, and new
17332 byte-code-functions.
17333 (help-make-usage): Remove leading underscores.
17334 (describe-function-1): Handle closures.
17335 (describe-variable): Use special-variable-p for completion.
17336
17337 * files.el (lexical-binding): Declare safe.
f488fb65 17338
03408648
SM
17339 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17340 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17341 (pcase): Add `let' pattern.
17342 Change memoization so it actually works.
17343 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17344 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17345 <let>: New case.
f488fb65 17346
03408648
SM
17347 * emacs-lisp/macroexp.el: Use lexical binding.
17348 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17349 Don't convert ' to #' without checking that it's indeed quoting
17350 a lambda.
17351
17352 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17353 Use eval-sexp-add-defvars.
03408648
SM
17354 (eval-sexp-add-defvars): New fun.
17355
17356 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17357
17358 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17359 Don't autoload.
17360 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17361 than the internal `byte-compile-lambda'.
17362 (defmethod): Don't hide code under quotes.
17363 (eieio-defmethod): New `code' argument.
17364
17365 * emacs-lisp/eieio-comp.el: Remove.
17366
17367 * emacs-lisp/edebug.el (edebug-eval-defun)
17368 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17369 (edebug-toggle): Avoid `eval'.
17370
17371 * emacs-lisp/disass.el (disassemble-internal): Handle new
17372 `closure' objects.
17373 (disassemble-1): Handle new byte codes.
17374
17375 * emacs-lisp/cl.el (pushnew): Silence warning.
17376
17377 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17378 (cl-byte-compile-throw): Remove.
17379 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17380
17381 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17382 closures.
17383
17384 * emacs-lisp/cconv.el: New file.
17385
17386 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17387 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17388 (byte-compile-initial-macro-environment):
17389 Handle declare-function here.
17390 (byte-compile--lexical-environment): New var.
17391 (byte-stack-ref, byte-stack-set, byte-discardN)
17392 (byte-discardN-preserve-tos): New lap codes.
17393 (byte-interactive-p): Don't use any more.
17394 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17395 New macros.
17396 (byte-compile-lapcode): Use them and handle new lap codes.
17397 (byte-compile-obsolete): Remove.
17398 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17399 (byte-compile-arglist-warn): Check late def of inlinable funs.
17400 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17401 since they should have been expanded by now.
17402 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17403 (byte-compile-from-buffer): Remove unused second arg.
17404 (byte-compile-preprocess): New function.
17405 (byte-compile-toplevel-file-form): New function to distinguish
17406 file-form calls from outside from file-form calls from hunk-handlers.
17407 (byte-compile-file-form): Simplify.
17408 (byte-compile-file-form-defsubst): Remove.
17409 (byte-compile-file-form-defmumble): Simplify now that
17410 byte-compile-lambda always returns a byte-code-function.
17411 (byte-compile): Preprocess.
17412 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17413 Remove, not used any more.
17414 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17415 (byte-compile-make-args-desc): New funs.
17416 (byte-compile-lambda): Handle lexical functions. Always return
17417 a byte-code-function.
17418 (byte-compile-reserved-constants): New var, to make up room for
17419 closed-over variables.
17420 (byte-compile-constants-vector): Obey it.
17421 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17422 (byte-compile-macroexpand-declare-function): New function.
17423 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17424 byte-code-functions.
17425 (byte-compile-form): Check obsolescence here.
17426 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17427 (byte-compile-variable-ref): Remove.
17428 (byte-compile-dynamic-variable-op): New fun.
17429 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17430 (byte-compile-variable-set): New funs.
17431 (byte-compile-discard): Add 2 args.
17432 (byte-compile-stack-ref, byte-compile-stack-set)
17433 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17434 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17435 macroexpand-all instead.
17436 (byte-compile-quote-form): Remove.
17437 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17438 (byte-compile-bind, byte-compile-unbind): New funs.
17439 (byte-compile-let): Handle let* and lexical binding.
17440 (byte-compile-let*): Remove.
17441 (byte-compile-catch, byte-compile-unwind-protect)
17442 (byte-compile-track-mouse, byte-compile-condition-case):
17443 Handle a new :fun-body form, used for lexical scoping.
17444 (byte-compile-save-window-excursion)
17445 (byte-compile-with-output-to-temp-buffer): Remove.
17446 (byte-compile-defun): Simplify.
17447 (byte-compile-stack-adjustment): New fun.
17448 (byte-compile-out): Use it.
17449 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17450
17451 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17452 handler any more.
17453
17454 * emacs-lisp/byte-opt.el: Use lexical binding.
17455 (byte-inline-lapcode): Remove (to bytecomp).
17456 (byte-compile-inline-expand): Pay attention to inlining to/from
17457 lexically bound code.
17458 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17459 any more.
17460 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17461 any more and don't call compiler-macros.
17462 (byte-compile-splice-in-already-compiled-code): Remove.
17463 (byte-code): Don't inline any more.
17464 (disassemble-offset): Receive `bytes' as argument rather than via
17465 dynamic scoping.
17466 (byte-compile-tag-number): Declare before first use.
17467 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17468 `return' even if make-spliceable.
17469 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17470 obsolete interactive-p.
17471 (byte-optimize-lapcode): Optimize new lap-codes.
17472 Don't trip up on new form of `byte-constant' lap code.
17473
17474 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17475
17476 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17477
17478 * custom.el (custom-initialize-default, custom-declare-variable):
17479 Use `defvar'.
17480
17481 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17482 New variables.
17483 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17484 (COMPILE_FIRST): Add macroexp and cconv.
17485 * makefile.w32-in: Mirror changes in Makefile.in.
17486
17487 * vc/cvs-status.el:
17488 * vc/diff-mode.el:
17489 * vc/log-edit.el:
17490 * vc/log-view.el:
17491 * vc/smerge-mode.el:
17492 * textmodes/bibtex-style.el:
090bd7cb 17493 * textmodes/css-mode.el:
03408648
SM
17494 * startup.el:
17495 * uniquify.el:
da91b5f2
CY
17496 * minibuffer.el:
17497 * newcomment.el:
17498 * reveal.el:
17499 * server.el:
17500 * mpc.el:
17501 * emacs-lisp/smie.el:
17502 * doc-view.el:
17503 * dired.el:
03408648
SM
17504 * abbrev.el: Use lexical binding.
17505
0f0c1f27
EZ
175062011-04-01 Eli Zaretskii <eliz@gnu.org>
17507
17508 * info.el (info-display-manual): New function.
17509
c82b2579
SM
175102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17511
17512 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17513
221ddf68
TH
175142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17515
17516 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17517 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17518
cba6e77e
GM
175192011-03-31 Glenn Morris <rgm@gnu.org>
17520
e040639f
GM
17521 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17522
cba6e77e
GM
17523 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17524
6d0f1c9e
CS
175252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17526
17527 * progmodes/python.el (python-default-interpreter)
17528 (python-python-command-args, python-jython-command-args)
17529 (python-which-shell, python-which-args, python-which-bufname)
17530 (python-file-queue, python-comint-output-filter-function)
17531 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17532 variables and functions.
17533
3e2d70fd
SM
175342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17537 (completion-in-region-mode): New minor mode.
17538 (completion-in-region): Use it.
17539 (completion-in-region--data, completion-in-region-mode-map): New vars.
17540 (completion-in-region--postch): New function.
17541 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17542 New vars.
17543 (completion--capf-wrapper): New function.
17544 (completion-at-point): Use it to track well-behavedness of
17545 hook functions.
17546 (completion-help-at-point): New command.
17547
f3e4086c
JM
175482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17549
17550 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17551 syntax class to search for whitespace on a single line
17552 (Message-ID: <4D938140.4030905@redhat.com>).
17553
eb7ffc14
LL
175542011-03-30 Leo Liu <sdl.web@gmail.com>
17555
17556 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17557 New commands.
17558 (edit-abbrevs-map): Bind them here.
17559 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17560
d806ab68
KM
175612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17562
17563 * allout.el (allout-hide-by-annotation, allout-flag-region):
17564 Reduce possibility of overlay leakage by making them volatile.
17565
17566 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17567 hash is not shared between buffers. Mode initialization is
17568 responsible for giving it a useful starting value.
17569 (allout-item-span): Reduce possibility of overlay leakage by
17570 making them volatile.
17571 (allout-widgets-count-buttons-in-region): Add diagnostic function
17572 for tracking down button overlay leaks.
17573
ea622834
LL
175742011-03-29 Leo Liu <sdl.web@gmail.com>
17575
17576 * ido.el (ido-read-internal): Use the default history var
17577 minibuffer-history if no HISTORY is specified.
17578
b62f8267
G
175792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17580
03408648
SM
17581 * net/imap.el (imap-shell-open, imap-process-connection-type):
17582 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17583 Kerberos, SSL, other subprocesses.
17584
947b6566
LL
175852011-03-28 Leo Liu <sdl.web@gmail.com>
17586
17587 * abbrev.el (abbrev-table-empty-p): New function.
17588 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17589 nonempty ones. (Bug#5937)
17590
5ffb62aa
JD
175912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17592
17593 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17594
7a097943
LL
175952011-03-27 Leo Liu <sdl.web@gmail.com>
17596
17597 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17598 for foreground and background colors.
17599 (ansi-color-make-color-map): Adapt.
17600
c5b40130
LL
176012011-03-25 Leo Liu <sdl.web@gmail.com>
17602
1f48f7d2
LL
17603 * midnight.el (midnight-time-float): Remove. Note it calculates
17604 the microsecond component incorrectly and seconds-to-time does the
17605 same job.
625897ec 17606 Remove redundant (require 'timer).
1f48f7d2 17607
c5b40130
LL
17608 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17609 (ido-completions): Remove unused arguments. (Bug#8329)
17610
d86d2721
SM
176112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17612
17613 * minibuffer.el (completion--flush-all-sorted-completions):
17614 Remove itself from hook.
17615 (completion-at-point): Let the functions perform the completion
17616 immediately and return nil or t.
17617 * comint.el (comint-dynamic-complete-functions): Now identical to
17618 completion-at-point-functions.
17619 (comint-dynamic-list-input-ring): Remove unused var `index'.
17620 (comint--match-partial-filename, comint--unquote&expand-filename):
17621 New funs, split from comint-match-partial-filename.
17622 (comint-dynamic-complete): Use completion-at-point.
17623 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17624
e8974c48
DA
176252011-03-24 Drew Adams <drew.adams@oracle.com>
17626
17627 * thingatpt.el: Support `defun'.
17628
def71b5e
LL
176292011-03-23 Leo Liu <sdl.web@gmail.com>
17630
cb5af48e
LL
17631 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17632
def71b5e
LL
17633 * help-mode.el (help-mode-finish): Tweak regexp.
17634
927c53e7
GM
176352011-03-23 Glenn Morris <rgm@gnu.org>
17636
18d05bed
GM
17637 * eshell/esh-opt.el (eshell-eval-using-options):
17638 Do not bind unused local variable `eshell-option-stub'.
17639
927c53e7
GM
17640 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17641
9d0da923
JB
176422011-03-22 Juanma Barranquero <lekktu@gmail.com>
17643
17644 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17645 keymap variable in `with-no-warnings' to avoid a warning when the
17646 keymap has been already `defconst'ed.
17647
4b978a67
LL
176482011-03-22 Leo Liu <sdl.web@gmail.com>
17649
17650 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17651 encode all chars in abbrevs; otherwise use emacs-mule or
17652 utf-8-emacs. (Bug#8308)
17653
5fd62452
JB
176542011-03-22 Juanma Barranquero <lekktu@gmail.com>
17655
0b1596c6
JB
17656 * simple.el (backward-delete-char-untabify):
17657 Avoid warning about using `delete-backward-char'.
17658
5fd62452
JB
17659 * image.el (image-type-file-name-regexps): Make it variable.
17660 `imagemagick-register-types' modifies it, and the user may want
17661 to add new extensions for known image types.
17662 (imagemagick-register-types): Throw error if not using ImageMagick.
17663
0b4e93f1
LL
176642011-03-22 Leo Liu <sdl.web@gmail.com>
17665
17666 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17667 located before rcirc-prompt-end-marker.
17668 (rcirc-complete): Error if point is not after rcirc prompt.
17669 Handle the case when table is nil.
9882e214 17670 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17671
fccee4ab
CY
176722011-03-22 Chong Yidong <cyd@stupidchicken.com>
17673
17674 * custom.el (custom--inhibit-theme-enable): Make it affect only
17675 custom-theme-set-variables and custom-theme-set-faces.
17676 (provide-theme): Ignore custom--inhibit-theme-enable.
17677 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17678 (custom-enabling-themes): Delete variable.
d86d2721
SM
17679 (enable-theme): Accept only loaded themes as arguments.
17680 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17681 (custom-enabled-themes): Forbid themes from setting this.
17682 Eliminate use of custom-enabling-themes.
17683 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17684
af896da6
LL
176852011-03-21 Leo Liu <sdl.web@gmail.com>
17686
17687 * ido.el (ido-read-internal): Add ido-selected to history instead
17688 of user input.
17689
78f64af0
SM
176902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17691
17692 * subr.el (deferred-action-list, deferred-action-function):
17693 Mark obsolete.
17694
b16ac1ec
LL
176952011-03-21 Leo Liu <sdl.web@gmail.com>
17696
810f7698
LL
17697 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17698 change on 2011-02-13 (bug#8309).
17699
b16ac1ec
LL
17700 * minibuffer.el (read-file-name-function): Change default value.
17701 (read-file-name--defaults): Rename from read-file-name-defaults.
17702 (read-file-name-default): Rename from read-file-name.
17703 (read-file-name): Call read-file-name-function.
17704
4e05e67e
GM
177052011-03-21 Glenn Morris <rgm@gnu.org>
17706
17707 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17708 Doc fixes.
17709
4359915b
CY
177102011-03-21 Chong Yidong <cyd@stupidchicken.com>
17711
17712 * cus-theme.el: Add missing provide statement.
17713 (customize-create-theme): Extract theme value correctly.
17714 (custom-theme-visit-theme): Autoload.
17715 (customize-create-theme): Prompt before inserting default faces.
17716
1fe275ee
JB
177172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17718
17719 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17720 units and musical notes.
17721
cd394be1 177222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17723
17724 * ido.el (ido-read-internal): Use completing-read-default.
17725 (ido-completing-read): Fix compatibility with completing-read.
17726
7d476bde
CO
177272011-03-20 Christian Ohler <ohler@gnu.org>
17728
17729 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17730 (ert-delete-all-tests): Use `called-interactively-p' rather than
17731 `interactive-p'.
17732 (ert--make-xrefs-region): Respect END.
17733
fe0fb33e
CY
177342011-03-19 Chong Yidong <cyd@stupidchicken.com>
17735
ff854b0b
CY
17736 * dired-aux.el (dired-create-directory): Signal an error if the
17737 directory already exists (Bug#8246).
17738
fe0fb33e
CY
17739 * facemenu.el (list-colors-display): Call list-faces-display
17740 inside with-help-window.
17741 (list-colors-print): Use display property to align the final
17742 column, instead of checking window-width.
17743
576bce32
EZ
177442011-03-19 Eli Zaretskii <eliz@gnu.org>
17745
4d61f28d 17746 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17747 windows-nt systems.
17748 (emerge-protect-metachars): Quote correctly for ms-dos and
17749 windows-nt systems.
17750
89c41d68 177512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17752
17753 * info.el (info-initialize): Replace all uses of `:' with
17754 path-separator for compatibility with non-Unix systems.
17755 Cache quoting of path-separator. (Bug#8258)
17756
b14e3e21 177572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17758
17759 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17760 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17761 (mouse-avoidance-mode): Fix typos in docstrings.
17762
4525ce3e
CY
177632011-03-19 Chong Yidong <cyd@stupidchicken.com>
17764
17765 * startup.el (package-subdirectory-regexp): Move from package.el.
17766 Omit \\` and \\', and let callers add them.
17767
17768 * emacs-lisp/package.el (package-strip-version)
17769 (package-load-all-descriptors): Add \\` and \\' to
17770 package-subdirectory-regexp before using it.
17771 (package-untar-buffer): New arg DIR; ensure that file untars only
17772 into this expected directory. Remove superfluous delete-region.
17773 (package-unpack): Caller changed.
17774 (package-tar-file-info): Use package-subdirectory-regexp.
17775
a904a09a 177762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17777
a904a09a
SM
17778 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17779 diff-mode-shared-map (bug#8284).
17780 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17781
177822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17783
17784 * calendar/time-date.el (format-seconds): Use assoc instead of
17785 assoc-string, since assoc-string doesn't exist in XEmacs.
17786
171fc304
JB
177872011-03-17 Juanma Barranquero <lekktu@gmail.com>
17788
17789 * custom.el (custom-known-themes): Reflow docstring.
17790 (custom-theme-load-path): Fix typo in docstring.
17791 (load-theme): Fix typo in error message.
17792 (custom-available-themes, custom-variable-theme-value):
17793 Use `let', not `let*'.
17794
d71990a1
JB
177952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17796
17797 * calc/README: Mention inclusion of musical notes.
17798
17799 * calc/calc-units.el (calc-lu-quant): Rename from
17800 `calc-logunits-quantity'.
17801 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17802 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17803 (calc-db): Rename from `calc-dblevel'.
17804 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17805 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17806 (calc-np): Rename from `calc-nplevel'.
17807 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17808 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17809 (calc-lu-plus): Rename from `calc-logunits-add'.
17810 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17811 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17812 (calc-lu-minus): Rename from `calc-logunits-sub'.
17813 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17814 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17815 (calc-lu-times): Rename from `calc-logunits-mul'.
17816 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17817 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17818 (calc-lu-divide): Rename from `calc-logunits-div'.
17819 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17820 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17821
17822 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17823 functions being autoloaded.
17824
17825 * calc/calc.el (calc-lu-power-reference): Rename from
17826 `calc-logunits-power-reference'.
17827 (calc-lu-field-reference): Rename from
17828 `calc-logunits-field-reference'.
17829
7a71b18d
GM
17830 * calc/calc-help.el (calc-l-prefix-help):
17831 Mention musical note functions.
d71990a1 17832
40c2934b
SM
178332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17834
17835 * minibuffer.el (completion-all-sorted-completions):
17836 Use :completion-cycle-penalty text property if present.
17837
b0911414
KM
178382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17839
17840 * allout.el (allout-yank-processing): Adjust for new rebulleting
17841 regime so bullet being yanked is used without prompting the user
17842 for a choice.
17843
8a05b668
JB
178442011-03-16 Juanma Barranquero <lekktu@gmail.com>
17845
17846 * startup.el (command-line): Warn the user that _emacs is deprecated.
17847
5ba5fb81
JB
178482011-03-16 Juanma Barranquero <lekktu@gmail.com>
17849
17850 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17851 (delphi-verbose, delphi-comment-face, delphi-string-face)
17852 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17853 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17854 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17855 (delphi-new-comment-line, delphi-font-lock-defaults)
17856 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17857 Fix typos in docstrings.
17858
2dab465b
KM
178592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17860
5ba5fb81 17861 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17862 Invert the roles of character and string values for INSTEAD, so a
17863 string is used for the more common case of a defaulting prompt.
17864
0adf5618
SM
178652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * progmodes/ruby-mode.el (ruby-backward-sexp):
17868 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17869 * play/gamegrid.el (gamegrid-make-face):
17870 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17871 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17872 * notifications.el (notifications-notify):
17873 * net/xesam.el (xesam-search-engines):
17874 * net/quickurl.el (quickurl-list-insert):
17875 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17876
d72700e5
CY
178772011-03-15 Chong Yidong <cyd@stupidchicken.com>
17878
17879 * startup.el (command-line): Update package subdirectory regexp.
17880
49c5410a
SM
178812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17882
c6eee9aa
SM
17883 * allout.el (allout-abbreviate-flattened-numbering)
17884 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17885
49c5410a
SM
17886 * subr.el (read-char-choice): Only show the cursor after the prompt,
17887 not after the answer.
17888
047b2bb9
KR
178892011-03-15 Kevin Ryde <user42@zip.com.au>
17890
17891 * help-fns.el (variable-at-point): Skip leading quotes, if any
17892 (bug#8253).
17893
0a57d256
SM
178942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17895
17896 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17897 warning message.
17898
77c992bc
MA
178992011-03-14 Michael Albinus <michael.albinus@gmx.de>
17900
17901 * shell.el (shell): When called interactively, offer to change the
17902 shell file name on remote hosts.
17903
eebc475d
TZ
179042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17905
17906 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17907 integration for LDAP parameters. The host, base, user or binddn,
17908 and secret tokens can be specified in a netrc file, for instance.
17909 This is optional because an `auth-source' parameter must be
17910 specified in the search attributes.
17911
9d05d1ba
JB
179122011-03-13 Juanma Barranquero <lekktu@gmail.com>
17913
17914 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17915
09d9db2c
GM
179162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17917
17918 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17919 into declaration. Remove redundant and harmful binding.
17920
179212011-03-12 Eli Zaretskii <eliz@gnu.org>
17922
17923 * files.el (file-ownership-preserved-p): Pass `integer' as an
17924 explicit 2nd argument to `file-attributes'. If the file's owner
17925 is the Administrators group on Windows, and the current user is
17926 Administrator, consider that a match.
17927
17928 * server.el (server-ensure-safe-dir): Consider server directory
17929 safe on MS-Windows if its owner is the Administrators group while
17930 the current Emacs user is Administrator. Use `=' to compare
17931 numerical UIDs, since they could be integers or floats.
17932
219bd536
JB
179332011-03-12 Juanma Barranquero <lekktu@gmail.com>
17934
17935 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17936
f3afd36b
MA
179372011-03-12 Michael Albinus <michael.albinus@gmx.de>
17938
17939 Sync with Tramp 2.2.1.
17940
17941 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17942
17943 * net/trampver.el: Update release number.
17944
3aaaa6f1
SM
179452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17946
94642599
SM
17947 * progmodes/compile.el (compilation--previous-directory): Fix up
17948 various nil/dead-marker mismatches (bug#8014).
17949 (compilation-directory-properties, compilation-error-properties):
17950 Don't call it at a position past the one we're about to change.
17951
3aaaa6f1
SM
17952 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17953 Disable obsolescence warnings in the file that declares it.
17954
14239447
KM
179552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17956
099c39a4
JB
17957 * allout-widgets.el (allout-widgets-tally):
17958 Initialize allout-widgets-tally as a hash table rather than nil to
17959 prevent mode-line redisplay warnings. Also, clarify the module
17960 description and fix a comment typo.
14239447 17961
135e287c
JB
179622011-03-11 Juanma Barranquero <lekktu@gmail.com>
17963
17964 * help-fns.el (describe-variable): Don't complete keywords.
17965 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17966
ffbf300e
CY
179672011-03-10 Chong Yidong <cyd@stupidchicken.com>
17968
ba08b241
CY
17969 * emacs-lisp/package.el (package-version-join): Impose a standard
17970 string representation for pre/alpha/beta version lists.
17971 (package-unpack-single): Standardize the directory name by passing
17972 it through package-version-join.
17973 (package-strip-rcs-id): Accept any version string that does not
17974 signal an error in version-to-list.
ffbf300e 17975
f346fd6b
MA
179762011-03-10 Michael Albinus <michael.albinus@gmx.de>
17977
17978 * simple.el (delete-trailing-whitespace): Return nil for the
17979 benefit of `write-file-functions'.
17980
ccb55d27
GM
179812011-03-10 Glenn Morris <rgm@gnu.org>
17982
5ceaac0c
GM
17983 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17984
02da65ff
GM
17985 * vc/vc-git.el (vc-git-program): New option.
17986 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17987 (vc-git--call): Use it.
17988
b2f603cc
GM
17989 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17990
5772caab
GM
17991 * cus-edit.el (Custom-newline): If no button at point, look
17992 for a subgroup button at start-of-line. (Bug#2298)
17993
ccb55d27
GM
17994 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17995
ec6ecaed
JD
179962011-03-10 Julien Danjou <julien@danjou.info>
17997
17998 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17999 `cursor-type' is nil.
18000
9d5aa01d
JB
180012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18002
18003 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18004
b6a5875b
KM
180052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18006
7a71b18d 18007 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18008 preserves the existing header prefix, rebulleting it if necessary,
18009 rather than replacing it. This is necessary for proper operation
18010 of cooperative addons like allout-widgets.
1154d12e
JB
18011 (allout-make-topic-prefix, allout-rebullet-heading):
18012 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18013 value as alternate bullet to be used, instead of prompting the user
18014 for a bullet character.
b6a5875b 18015
ee545c35
MA
180162011-03-09 Michael Albinus <michael.albinus@gmx.de>
18017
d86d2721
SM
18018 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18019 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18020 `tramp-default-port'.
18021
c47971d7
DD
180222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18023
18024 * net/rcirc.el (rcirc-handler-001): Remove useless
18025 with-rcirc-process-buffer.
18026 (rcirc-check-auth-status): Swap arguments to string-match.
18027
13522cb4
GM
180282011-03-09 Glenn Morris <rgm@gnu.org>
18029
0be6f4f1
GM
18030 * shell.el (shell-mode):
18031 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18032
13522cb4
GM
18033 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18034 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18035
515de2e3
CY
180362011-03-08 Chong Yidong <cyd@stupidchicken.com>
18037
18038 * emacs-lisp/package.el (package-refresh-contents)
18039 (package-menu-execute): Use condition-case-no-debug.
18040
b511b994
MA
180412011-03-08 Michael Albinus <michael.albinus@gmx.de>
18042
18043 * simple.el (shell-command-to-string): Use `process-file'.
18044
18045 * emacs-lisp/package.el (package-tar-file-info): Handle also
18046 remote files.
18047
d86d2721
SM
18048 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18049 Use `equal' for upload base check.
b511b994 18050
25bbfb31
AM
180512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18052
18053 * textmodes/texinfo.el (texinfo-environments):
18054 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18055
be996521
GM
180562011-03-08 Glenn Morris <rgm@gnu.org>
18057
e9c8529f
GM
18058 * cus-start.el (cursor-in-non-selected-windows):
18059 Fix :set quoting oddness. (Bug#8192)
18060
be996521
GM
18061 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18062 in some setf expressions. (Bug#2159)
18063
2bb5649e
CY
180642011-03-08 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * custom.el (custom-available-themes): Return themes in
18067 alphabetical order.
18068
33383987 18069See ChangeLog.15 for earlier changes.
e3d51b27
MR
18070
18071;; Local Variables:
18072;; coding: utf-8
e3d51b27
MR
18073;; End:
18074
acaf905b 18075 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18076
18077 This file is part of GNU Emacs.
18078
18079 GNU Emacs is free software: you can redistribute it and/or modify
18080 it under the terms of the GNU General Public License as published by
18081 the Free Software Foundation, either version 3 of the License, or
18082 (at your option) any later version.
18083
18084 GNU Emacs is distributed in the hope that it will be useful,
18085 but WITHOUT ANY WARRANTY; without even the implied warranty of
18086 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18087 GNU General Public License for more details.
18088
18089 You should have received a copy of the GNU General Public License
18090 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.