* doc.c, editfns.c, insdel.c, intervals.c: Use bool for boolean.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
af7dda05
CY
12012-09-02 Chong Yidong <cyd@gnu.org>
2
3 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4
d67d3afd
GM
52012-09-02 Glenn Morris <rgm@gnu.org>
6
7 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8
69678719
GM
92012-09-01 Glenn Morris <rgm@gnu.org>
10
11 * term.el: Tidy up menu definitions.
12 (term-mode-map): Use easymenu for In/Out, Complete menus.
13 (term-pager-break-map): Initialize in the defvar.
14 (term-terminal-menu, term-signals-menu): Define with easymenu.
15 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
16 (term-pager-menu): New, extracted from term-process-pager.
17 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
18 (term-update-mode-line): Propertize line/char and page items.
19 (term-process-pager): Move keymap initialization elsewhere.
20
78dd6ab1
MR
212012-09-01 Martin Rudalics <rudalics@gmx.at>
22
23 * window.el (switch-to-prev-buffer): Handle additional values of
24 BURY-OR-KILL argument. Don't switch in minibuffer window.
25 (switch-to-next-buffer): Don't switch in minibuffer window.
26 (quit-restore-window): New function based on quit-window.
27 Handle additional values of former KILL argument.
28 (quit-window): Call quit-restore-window with appropriate
29 interpretation of KILL argument.
30 (display-buffer-below-selected): New buffer display action
31 function.
32
3d10e134
SM
332012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * minibuffer.el (completion-at-point-functions): Complete docstring
36 (bug#12254).
37
0e23ef9d
PE
382012-09-01 Paul Eggert <eggert@cs.ucla.edu>
39
40 Better seed support for (random).
41 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
42 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
43 * play/mpuz.el, play/tetris.el, play/zone.el:
44 * calc/calc-comb.el (math-init-random-base):
45 * play/blackbox.el (bb-init-board):
46 * play/life.el (life):
47 * server.el (server-use-tcp):
48 * type-break.el (type-break):
49 Remove unnecessary call to (random t).
50 * net/sasl.el (sasl-unique-id-function):
51 Change (random t) to (random), now that the latter is more random.
52 * play/life.el (life-initialized): Remove no-longer-needed var.
53
862382df
MR
542012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
55
56 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
57 Consider frame's buffer predicate when choosing the buffer.
58 (Bug#12081)
59
262a66e1
RS
602012-08-30 Richard Stallman <rms@gnu.org>
61
62 * simple.el (special-mode-map): Delete binding for `z'.
63
f17e1d00
AS
642012-08-30 Andreas Schwab <schwab@linux-m68k.org>
65
66 * progmodes/compile.el (compilation-always-kill): Doc fix.
67
24777832
CY
682012-08-30 Chong Yidong <cyd@gnu.org>
69
70 * window.el (display-buffer-reuse-frames): Make the obsolescence
71 message more informative.
72
69ba1f04
GM
732012-08-30 Glenn Morris <rgm@gnu.org>
74
75 * paren.el (show-paren-delay):
76 Add a :set function. Doc fix. (Bug#12297)
77
f0019ede
MB
782012-08-29 Martin Blais <blais@furius.ca> (tiny change)
79
80 * progmodes/compile.el (compilation-always-kill): New var.
81 (compilation-start): Use it.
82
35e62fc9
SM
832012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
84
af070a1c
SM
85 * simple.el (read-only-mode): Move from files.el for bootstrapping.
86 * files.el (read-only-mode): Move to simple.el.
87
35e62fc9
SM
88 * files.el (read-only-mode): New minor mode.
89 (toggle-read-only): Use it and mark obsolete.
90 (find-file--read-only):
91 * vc/vc.el (vc-next-action, vc-checkout):
92 * vc/vc-cvs.el (vc-cvs-checkout):
93 * obsolete/vc-mcvs.el (vc-mcvs-update):
94 * ffap.el (ffap--toggle-read-only): Update callers.
95
c2c43c23
MA
962012-08-29 Michael Albinus <michael.albinus@gmx.de>
97
98 * eshell/esh-ext.el (eshell-external-command): Do not examine
99 remote shell scripts. See
100 <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
101
102 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
103 "/usr/local/sbin".
104
9fba804b
SM
1052012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
108
eada0861 1092012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 110
806f0cc7
LL
111 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
112 completion-at-point. (Bug#12220)
113
3bb213b9
LL
114 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
115
22ab32ef
LL
116 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
117
eada0861 1182012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 119
19c17fc1
CY
120 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
121 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 122
eada0861 1232012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
124
125 * progmodes/hideif.el (hif-compress-define-list):
126 Fix typo. (Bug#11951)
127
eada0861 1282012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
129
130 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
131 buffer local setting.
132
27d6c5a8
LL
133 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
134 rcirc-encode-coding-system.
135
eada0861 1362012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
137
138 * net/rcirc.el (rcirc-split-message): New function.
139 (rcirc-send-message): Use it. (Bug#12051)
140
d44688e4
JL
1412012-08-28 Juri Linkov <juri@jurta.org>
142
143 * info.el (Info-fontify-node): Hide empty lines at the end of
144 the node. (Bug#12272)
145
34f10d41
MR
1462012-08-27 Drew Adams <drew.adams@oracle.com>
147
148 * dired.el (dired-pop-to-buffer): Make window start at beginning
149 of buffer (Bug#12281).
150
77f1f99c
CY
1512012-08-26 Chong Yidong <cyd@gnu.org>
152
153 * window.el (special-display-regexps, special-display-frame-alist)
154 (special-display-buffer-names, special-display-function)
155 (display-buffer-reuse-frames): Mark as obsolete.
156
157 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
158
159 * help.el (help-print-return-message): Don't treat
160 display-buffer-reuse-frames specially.
161
d97af5a0
CY
1622012-08-26 Chong Yidong <cyd@gnu.org>
163
9fba804b
SM
164 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
165 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
166 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
167 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
168 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
169 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
170 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
171 the functions directly with gdb-display-buffer-other-frame-action.
172 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
173 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
174 (gdb-display-stack-buffer, gdb-display-locals-buffer)
175 (gdb-display-registers-buffer): Define directly.
176 (def-gdb-display-buffer): Macro deleted.
177 (gdb-display-buffer): Remove second and third args, callers don't
178 use them. Defer to the default display-buffer behavior, apart
179 from making windows dedicated.
180 (gdb-setup-windows): Don't call display-buffer unnecessarily.
181
182 * progmodes/gud.el (gud-display-line): Just use display-buffer.
183
184 * window.el (display-buffer-pop-up-frame): Handle a
185 pop-up-frame-parameters alist entry.
186 (display-buffer): Document it.
187
dd7ffad6
CY
1882012-08-26 Chong Yidong <cyd@gnu.org>
189
190 * isearch.el (search-whitespace-regexp): Make string and nil
191 values apply to both ordinary and regexp search. Allow a cons
192 cell value to distinguish between the two.
193 (isearch-whitespace-regexp, isearch-search-forward)
194 (isearch-search-backward): New functions.
195 (isearch-occur, isearch-search-fun-default, isearch-search)
196 (isearch-lazy-highlight-new-loop): Use them.
197 (isearch-forward, isearch-forward-regexp): Doc fix.
198
4c47bd1e
CY
1992012-08-26 Chong Yidong <cyd@gnu.org>
200
201 * faces.el (help-argument-name): Always inherit from italic
202 (Bug#12213).
203
9aba119d
MR
2042012-08-25 Martin Rudalics <rudalics@gmx.at>
205
206 * window.el (window--even-window-heights): Even heights when
207 WINDOW and the selected window form a vertical combination.
208 (display-buffer-use-some-window): Provide that window used gets
209 sized back by quit-window. (Bug#11880) and (Bug#12091)
210
ca5256ad
PE
2112012-08-24 Paul Eggert <eggert@cs.ucla.edu>
212
213 Fix file time stamp problem with bzr and CVS (Bug#12001).
214 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
215 in the file's time stamp, since the version control system loses
216 that information.
217
d1c0d176
JL
2182012-08-22 Juri Linkov <juri@jurta.org>
219
220 * info.el (Info-fontify-node): Hide the suffix of the
221 Info file name in the header line. (Bug#12187)
222
141562ff
GM
2232012-08-22 Glenn Morris <rgm@gnu.org>
224
225 * calendar/cal-tex.el (cal-tex-weekly-common):
226 Restore leading blank page.
227
61a48e19 2282012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
229
230 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
231 the region under `shift-select-mode'. (Bug#12231)
232
2332012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
234
235 * progmodes/executable.el (executable-prefix): Set to "#!" instead
236 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
237 gives details on why the space is never needed.
238
ea95074e
MR
2392012-08-22 Martin Rudalics <rudalics@gmx.at>
240
9fba804b
SM
241 * window.el (walk-window-tree, window-with-parameter):
242 New optional argument MINIBUF to control whether these functions
ea95074e
MR
243 should run on the minibuffer window.
244 (window-at-side-list): Don't operate on minibuffer window.
245 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
246 (window--size-ignore): Rename to window--size-ignore-p.
247 Update callers.
caceae25
MR
248 (display-buffer-in-atom-window, window--major-non-side-window)
249 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
250 (delete-side-window, display-buffer-in-side-window):
251 New functions.
caceae25
MR
252 (window--side-check, window-deletable-p, delete-window)
253 (delete-other-windows, split-window): Handle side windows and
254 atomic windows appropriately.
255 (window--display-buffer): Call display-buffer-record-window also
256 when the window buffer did not change.
ea95074e 257
80a51fa0
CS
2582012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
259
260 * help-fns.el (help-fns--key-bindings):
261 Abbreviate non-symbol remap targets. (Bug#12174)
262
fbb6300b
MR
2632012-08-22 Martin Rudalics <rudalics@gmx.at>
264
265 * dired.el (dired-mark-remembered): Don't clobber point.
266 (Bug#11795)
267
2b2c0794
GM
2682012-08-22 Glenn Morris <rgm@gnu.org>
269
270 * progmodes/bug-reference.el (bug-reference): New custom group.
271 (bug-reference-bug-regexp): Make it a defcustom.
272
37219830
DU
2732012-08-22 Daiki Ueno <ueno@unixuser.org>
274
275 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
276 (js-paren-indent-offset, js-square-indent-offset)
277 (js-curly-indent-offset): Add :safe (Bug#12257).
278
94e0e559
EC
2792012-08-22 Edward O'Connor <hober0@gmail.com>
280
281 * json.el (json-key-format): Add error properties.
282 (json-encode-key): New function.
283 (json-encode-hash-table, json-encode-alist, json-encode-plist):
284 Use json-encode-key.
285
da485f5e
GM
2862012-08-22 Glenn Morris <rgm@gnu.org>
287
288 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
289 (cal-tex-leftday, cal-tex-rightday): Remove functions.
290 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
291 Update for above change.
292
c6cc78b8
AS
2932012-08-21 Andreas Schwab <schwab@linux-m68k.org>
294
295 * cus-face.el (custom-face-attributes): Fix customize type for the
296 :underline attribute. (Bug#11805)
297
5481664a
MR
2982012-08-21 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (window-point-1, set-window-point-1): Remove.
301 (window-in-direction, record-window-buffer)
302 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
303 (window--state-get-1, display-buffer-record-window):
304 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
305 window-point and set-window-point respectively.
306
6d74698e
GM
3072012-08-21 Glenn Morris <rgm@gnu.org>
308
b7fa2691
GM
309 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
310 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
311 Use it.
312
52f56d5a
GM
313 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
314 (cal-tex-shortday): New function.
315 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
316 (cal-tex-cursor-filofax-daily): Use the above.
317
9f1ee09e
GM
318 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
319 New functions.
320 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
321 (cal-tex-cursor-filofax-week): Use them.
322
79858159
GM
323 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
324 New constants.
325 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
326 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
327
d346b2b4
GM
328 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
329 (cal-tex-end-document): Don't rely on buffer name.
330
b2403709
GM
331 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
332 Use cal-tex-vspace.
333 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
334 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
335 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
336 Use cal-tex-arg.
b2403709 337
1cebb5c0
GM
338 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
339 (cal-tex-cursor-week, cal-tex-cursor-week2)
340 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
341 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
342 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
343 (cal-tex-insert-preamble, cal-tex-b-document)
344 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
345 Improve cal-tex-cmd usage.
346
c68cd5d4
GM
347 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
348 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
349 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
350 (cal-tex-weekly-paper): New function.
351 (cal-tex-cursor-week, cal-tex-cursor-week2)
352 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
353 (cal-tex-cursor-day): Use it.
354
9dca4801
GM
355 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
356 (cal-tex-cursor-filofax-week): Remove leading blank page.
357
1941e134
GM
358 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
359 Add autoload cookie. For now at least, don't use color, since
360 no other cal-tex function does.
361
6d74698e
GM
362 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
363 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
364 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
365
64cde199
JL
3662012-08-21 Juri Linkov <juri@jurta.org>
367
368 * info.el (Info-file-attributes): New variable.
369 (info-insert-file-contents): Add file attributes to
370 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
371 `Info-toc-nodes' when previous modtime of the Info file is less
372 than new modtime.
373 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
374 of info.el. (Bug#12230)
375
32757648
GM
3762012-08-20 Glenn Morris <rgm@gnu.org>
377
378 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
379 * calendar/holidays.el (calendar-holiday-list):
380 Report errors with display-warning rather than beep'n'sleep.
381
a32fbbcf
MA
3822012-08-20 Michael Albinus <michael.albinus@gmx.de>
383
384 * net/tramp.el (tramp-accept-process-output): Accept only output
385 from PROC. Otherwise, process filters and sentinels might be
386 confused. (Bug#12145)
387
a05731a0
CY
3882012-08-20 Chong Yidong <cyd@gnu.org>
389
390 * descr-text.el (describe-text-properties-1): Use overlays-in to
391 report on empty overlays (Bug#3322).
392
36e8d1eb
GM
3932012-08-20 Glenn Morris <rgm@gnu.org>
394
3d300447
GM
395 * mail/rmailout.el (rmail-output-read-file-name):
396 Trap and report errors in rmail-output-file-alist elements.
397
36e8d1eb
GM
398 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
399 since most non-font-lock faces are not also variables).
400
b96e5814
ER
4012012-08-20 Edward Reingold <reingold@iit.edu>
402
403 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
404 New function. (Bug12160)
405
7cef3569
GM
4062012-08-19 Glenn Morris <rgm@gnu.org>
407
408 * mail/rmailout.el (rmail-output-read-file-name):
409 Fix previous change (when the alist is nil or does not match).
410
17975d7f
CY
4112012-08-19 Chong Yidong <cyd@gnu.org>
412
413 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
414 (Bug#12228).
415
2170b1bd
CY
4162012-08-18 Chong Yidong <cyd@gnu.org>
417
418 * simple.el (yank-handled-properties): New defcustom.
419 (yank-excluded-properties): Add font-lock-face and category.
420 (yank): Doc fix.
421
9fba804b
SM
422 * subr.el (remove-yank-excluded-properties):
423 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
424 and category is now done this way, instead of being hard-coded.
425 (insert-for-yank-1): Remove font-lock-face handling.
426 (yank-handle-font-lock-face-property)
427 (yank-handle-category-property): New function.
428
ee218151
GM
4292012-08-17 Glenn Morris <rgm@gnu.org>
430
431 * mail/rmailout.el (rmail-output-read-file-name):
432 Check rmail-output-file-alist against the full message body
433 in the correct rmail buffer. (Bug#12214)
434
4a6bc3fd
MA
4352012-08-17 Michael Albinus <michael.albinus@gmx.de>
436
9fba804b
SM
437 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
438 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 439
383dcbf9
CY
4402012-08-17 Chong Yidong <cyd@gnu.org>
441
442 * mouse.el (mouse-appearance-menu): If x-select-font returns a
443 font spec, set the font directly (Bug#3228).
444
998c4a6a
MR
4452012-08-17 Martin Rudalics <rudalics@gmx.at>
446
447 * window.el (delete-window): Fix last fix.
448
52162052
MR
4492012-08-16 Martin Rudalics <rudalics@gmx.at>
450
451 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
452 (window-child, window-child-count, window-last-child)
453 (window-normalize-window, window-combined-p)
454 (window-combinations, window-atom-root, window-min-size)
455 (window-sizable, window-sizable-p, window-size-fixed-p)
456 (window-min-delta, window-max-delta, window--resizable)
457 (window--resizable-p, window-resizable, window-total-size)
458 (window-full-height-p, window-full-width-p, window-body-size)
459 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
460 (minimize-window, window-deletable-p, delete-window)
461 (delete-other-windows, set-window-buffer-start-and-point)
462 (next-buffer, previous-buffer, split-window, balance-windows-2)
463 (set-window-text-height, window-buffer-height)
464 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
465 (truncated-partial-width-window-p): Minor code adjustments.
466 In doc-strings state whether the argument window has to denote a
85c2386b 467 live, valid or any window.
52162052 468
1c308380
PS
4692012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
470
471 * progmodes/subword.el (subword-forward-function)
472 (subword-backward-function, subword-forward-regexp)
473 (subword-backward-regexp): New variables.
474 (subword-forward, subword-forward-internal, subword-backward-internal):
475 Use new variables, eg so that different "word" definitions
476 can be easily used. (Bug#11411)
477
94c9ece1
SM
4782012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
481 for composite selectors.
482 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
483 operation just because we can't find a previous revision.
484
f2045622
CY
4852012-08-15 Chong Yidong <cyd@gnu.org>
486
487 * frame.el (set-frame-font): Accept font objects.
488
582db660
SM
4892012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
492
2f29c200
WJ
4932012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
494
456e62c2
WJ
495 * man.el (Man-overstrike-face, Man-underline-face)
496 (Man-reverse-face): Remove variables.
497 (Man-overstrike, Man-underline, Man-reverse): New faces.
498 (Man-fontify-manpage): Use them instead of the variables.
499 (Man-cleanup-manpage): Comment change.
500 (Man-ansi-color-map): New variable.
501 (Man-fontify-manpage): Use it.
502 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
503
2f29c200
WJ
504 Implement ANSI SGR parameters 22-27 (bug#12146).
505 * ansi-color.el (ansi-colors): Doc fix.
506 (ansi-color-context, ansi-color-context-region): Doc fix.
507 (ansi-color--find-face): New function.
508 (ansi-color-apply, ansi-color-apply-on-region): Use it.
509 Rename the local variable `face' to `codes' since it is now a list of
510 ansi codes. Doc fix.
511 (ansi-color-get-face): Remove.
512 (ansi-color-parse-sequence): New function, derived from
513 ansi-color-get-face.
514 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
515 codes 22-27.
516
b4f5e9df
SM
5172012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * subr.el (read-passwd): Allow use from a minibuffer.
520
ba025fbd
EZ
5212012-08-14 Eli Zaretskii <eliz@gnu.org>
522
523 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
524 inside comments and strings as identifiers.
525
526 * progmodes/gud.el (gud-tooltip-print-command): Quote the
527 expression to evaluate. This allows to evaluate expressions with
528 embedded whitespace.
529 (gud-tooltip-tips): Add a blank before the newline in the
530 message-box text, for the benefit of message-box emulation on
531 MS-Windows.
532
533 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
534 messages from GDB, pop them up in a tooltip to give feedback to
535 user.
b4f5e9df
SM
536 (gdb-tooltip-print-1): Quote the expression to evaluate.
537 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
538 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
539 if the TTY name is nil or empty (which happens when communicating
540 with the inferior via pipes, e.g. on MS-Windows).
541 (gdb-internals): If GDB sends a "&\n" empty debugging message,
542 don't send that to the GUD buffer.
543
c548f821
GM
5442012-08-14 Glenn Morris <rgm@gnu.org>
545
546 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
547 Optimize away setq-default with no args, as for setq. (Bug#12195)
548
55802e4a
CY
5492012-08-14 Chong Yidong <cyd@gnu.org>
550
4abcdac8
CY
551 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
552
55802e4a
CY
553 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
554 (Bug#12085).
555
3c3cda1a
GM
5562012-08-14 Glenn Morris <rgm@gnu.org>
557
558 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
559
e1873bd0
MA
5602012-08-14 Michael Albinus <michael.albinus@gmx.de>
561
562 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
563 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
564 Use cached shell name.
565
925411b4
FEG
5662012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
567
568 * progmodes/python.el (python-shell-send-string):
3c3cda1a 569 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 570
e636fafe
DG
5712012-08-14 Dmitry Gutov <dgutov@yandex.ru>
572
573 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
574 (ruby-percent-literal-beg-re): New constant.
575 (ruby-syntax-general-delimiters-goto-beg): Rename to
576 `ruby-syntax-enclosing-percent-literal', improve literal type check.
577 (ruby-syntax-propertize-general-delimiters): Rename to
578 `ruby-syntax-propertize-percent-literal', it's a shorter and more
579 popular term. Adjust comments everywhere.
580 (ruby-syntax-propertize-percent-literal): Only propertize when not
581 inside a simple string or comment. When the literal is unclosed,
582 leave the text after it unpropertized.
f063063a
DG
583 (ruby-syntax-methods-before-regexp): New constant.
584 (ruby-syntax-propertize-function): Use it to recognize regexps.
585 Don't look at the text after regexp, just use the whitelist.
e636fafe 586
e5b19827
AS
5872012-08-14 Andreas Schwab <schwab@linux-m68k.org>
588
589 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
590 non-nil always load the compiled file if it exists. (Bug#12197)
591
a9f6f311
CY
5922012-08-14 Chong Yidong <cyd@gnu.org>
593
594 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
595 (hi-lock-set-pattern): When deciding whether to use font lock or
596 overlays, look at font-lock-mode instead of font-lock-fontified
597 (Bug#12168).
598 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
599 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
600
7d806b1e
DU
6012012-08-14 Daiki Ueno <ueno@unixuser.org>
602
603 * subr.el (internal--after-with-selected-window): Fix typo
604 (Bug#12193).
605
5beed586
FEG
6062012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
607
608 Use `completion-table-dynamic' for completion functions.
609 * progmodes/python.el
610 (python-shell-completion--do-completion-at-point)
e636fafe
DG
611 (python-shell-completion--get-completions):
612 Remove functions.
5beed586
FEG
613 (python-shell-completion-complete-at-point): New function.
614 (python-completion-complete-at-point): Use it.
615
92cb3b04
J
6162012-08-13 Jambunathan K <kjambunathan@gmail.com>
617
618 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
619 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
620
89660017
SM
6212012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
622
3c98c962
SM
623 * subr.el (function-get): Refine `autoload' arg so it can also
624 autoload functions for gv.el (bug#12191).
625 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
626 autoloads macros.
627
aa7c6dbe
SM
628 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
629 Prefer pcase-let over destructuring-bind.
630 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
631 Also, remove whitespace as we go, rather than after accumulating the
632 various places.
633
89660017
SM
634 * subr.el (internal--before-with-selected-window)
635 (internal--after-with-selected-window): Fix typo seleted->selected.
636 (with-selected-window): Adjust callers.
637 Reported by Dmitry Gutov <dgutov@yandex.ru>.
638
31cd32c9
BG
6392012-08-13 Bastien Guerry <bzg@gnu.org>
640
0fcd3d9f 641 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
642 enhancement. (Bug#12172)
643
1b15d8ad
AS
6442012-08-13 Andreas Schwab <schwab@linux-m68k.org>
645
31e54db0
AS
646 * tar-mode.el (tar-header-data-end): Only ignore size for files of
647 type 1-6.
648 (tar-header-block-summarize, tar-get-descriptor): Handle pax
649 extended headers.
650
1b15d8ad
AS
651 * files.el (hack-local-variables-filter): Remove useless eval.
652
35cb9c06
MR
6532012-08-13 Martin Rudalics <rudalics@gmx.at>
654
655 * subr.el (with-selected-window): Fix last change.
656
1439443b
SM
6572012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * subr.el (internal--before-with-seleted-window)
660 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
661 (with-selected-window): Use them, to replace dependency on
662 tty-top-frame.
1439443b 663
0d9e2599
NN
6642012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
665
666 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
667 binding for `newline'.
668 (ruby-move-to-block): When moving backward, stop at block opening,
669 not indentation.
670 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
671 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
672 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
673 `ruby-toggle-block'.
674
ba10c48c
SM
6752012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * ibuffer.el (ibuffer-do-toggle-read-only):
678 * dired.el (dired-toggle-read-only):
679 * buff-menu.el (Buffer-menu-toggle-read-only):
680 * bindings.el (mode-line-toggle-read-only):
681 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
682
9229c658
AS
6832012-08-12 Andreas Schwab <schwab@linux-m68k.org>
684
685 * descr-text.el (describe-char): Put the overlays over the
686 "displayed as" character.
687
0fd09128
JB
6882012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
689
690 * calc/calc-units.el (math-default-units-table): Give an
691 initial value.
692 (math-put-default-units): Add options to put composite units and
693 unit systems in the default units table.
694 (calc-convert-units): Send composite units to
695 `math-put-default-units' when appropriate.
696
9ff9402d 6972012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 698
fbb5e336
GM
699 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
700
7aacaf15
GM
701 * tutorial.el (help-with-tutorial):
702 * emacs-lisp/copyright.el (copyright-update-directory):
703 * emacs-lisp/autoload.el (autoload-find-generated-file)
704 (autoload-find-file): Disable local eval: (for insurance).
705
f40b9f10
GM
706 * files.el (hack-local-variables-filter): If an eval: form is not
707 known to be safe, and enable-local-variables is :safe, then ignore
708 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 709 This is CVE-2012-3479.
f40b9f10 710
daa9f1a6
SM
7112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
714 (rx-form): Simplify.
715
9cd80478
DG
7162012-08-09 Dmitry Gutov <dgutov@yandex.ru>
717
0d9e2599
NN
718 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
719 ?, _, and : are symbol constituents, ! is not (but kinda should be).
720 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
721 (ruby-syntax-propertize-function): Adjust for changes in
722 `ruby-syntax-propertize-heredoc'.
723
7242012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
725
9cd80478
DG
726 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
727 binding (use `M-;' instead).
9cd80478 728 (ruby-singleton-class-p): New function.
0d9e2599 729 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 730
d301b413
SM
7312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
734
1530c98e
CY
7352012-08-10 Chong Yidong <cyd@gnu.org>
736
737 * progmodes/python.el (python-shell-get-process-name): Don't mess
738 with same-window-buffer-names.
739
740 * eshell/eshell.el (eshell-add-to-window-buffer-names)
741 (eshell-remove-from-window-buffer-names): Make obsolete.
742 (eshell-buffer-name, eshell-unload-hook): Don't use them.
743 (eshell): Just use pop-to-buffer-same-window instead.
744
e1293765
CY
7452012-08-10 Chong Yidong <cyd@gnu.org>
746
747 * bindings.el: Bind M-= back to count-words-region.
748
749 * simple.el (count-words-region): Accept a prefix arg for acting
750 on the entire buffer.
751 (count-words--buffer-message): New helper function.
752
e1894109
SM
7532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
756 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
757 (event-start, event-end): Use posn-at-point to return a more
758 informative posn.
759 (posnp): New function.
760 * mouse.el (popup-menu-normalize-position): Use it.
761
c69f56a2
MY
7622012-08-10 Masatake YAMATO <yamato@redhat.com>
763
764 * mouse.el (popup-menu-normalize-position): New function.
765 (popup-menu): Use `popup-menu-normalize-position' to normalize
766 the form for POSITION argument.
767
768 * term/x-win.el (x-menu-bar-open):
769 Use the value returend from (posn-at-point) as position
770 passed to `popup-menu'.
771
31673780
JB
7722012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
773
774 * calc/calccomp.el (math-compose-expr): Add extra argument
775 indicating that parentheses should be put around products in
776 denominators. Give multiplication precedence over division during
777 composition.
778
dab7711b
CY
7792012-08-09 Chong Yidong <cyd@gnu.org>
780
dee4ef93
CY
781 * man.el (Man-switches, Man-sed-command, Man-awk-command)
782 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
783 (Man-untabify-command, manual-program): Convert to defcustom
784 (Bug#10429).
785
73e2bbc5
CY
786 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
787
3e861c8a
CY
788 * descr-text.el (describe-char): Don't insert extra newlines
789 (Bug#10127).
790
a9f5a649
CY
791 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
792 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
793
dab7711b
CY
794 * align.el (align-region): Delete temporary markers (Bug#10047).
795 Plus some code cleanups.
796
e0cc4efa
FEG
7972012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
798
799 * progmodes/python.el (python-pdbtrack-tracked-buffer)
800 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
801 (python-shell-internal-last-output): Use make-local-variable
802 instead of make-variable-buffer-local.
803
489af14f
FEG
8042012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
805
806 * progmodes/python.el: Enhancements to forward-sexp.
807 (python-nav-forward-sexp): Rename from
808 python-nav-forward-sexp-function.
c69f56a2
MY
809 (python-nav--forward-sexp, python-nav--backward-sexp):
810 New functions.
489af14f 811
0fc50303
JB
8122012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
813
814 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
815 modes and simplification modes.
816
5d65606a
SM
8172012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * delsel.el (delete-selection-pre-hook): Don't propagate the
820 file-supersession signals (bug#12161).
821
4250fdf5
SM
8222012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
825 (cl-map-extents): Add compatibility aliases (bug#12135).
826
d9f9b465
MA
8272012-08-08 Michael Albinus <michael.albinus@gmx.de>
828
829 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
830 tests by `ignore-error'.
831 (tramp-find-shell): Open also a new shell, when cache is already
832 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
833
ce0fcefa
JL
8342012-08-08 Juri Linkov <juri@jurta.org>
835
836 * bookmark.el: Add `defaults' property to the bookmark record.
837 (bookmark-current-buffer): Doc fix.
838 (bookmark-make-record): Add `defaults' property with default values
839 to the bookmark record.
840 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
841 with `bookmark-insert-current-bookmark'.
842 (bookmark-set): Get `defaults' property from the bookmark record
843 and use it in `read-from-minibuffer'.
844 (bookmark-insert-current-bookmark): Remove function.
845
846 * info.el (Info-bookmark-make-record): Add `defaults' property
847 with values of canonical Info node name, the current Info file
848 name and the current Info node name. (Bug#12107)
849
53fa8652
JL
8502012-08-08 Juri Linkov <juri@jurta.org>
851
852 * files.el (basic-save-buffer): Use `buffer-name' as the default
853 of `read-file-name' when buffer is not visiting a file (bug#12128).
854
242c0a95
JL
8552012-08-08 Juri Linkov <juri@jurta.org>
856
857 * info.el (Info-isearch-search): Doc fix.
858 (Info-search): Change search-failed message from "initial node" to
859 "end of node" (bug#12078).
860 (Info-isearch-search): Change `isearch-string-state' to
861 `isearch--state-string'.
862
32ac3a6b
GM
8632012-08-08 Glenn Morris <rgm@gnu.org>
864
865 * language/persian.el: Remove file.
f8c1afd5 866 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
867 * loadup.el: Remove language/persian.
868
2c2d9c9c
OF
8692012-08-08 Óscar Fuentes <ofv@wanadoo.es>
870
871 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
872
2d79ec42
FEG
8732012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
874
875 * progmodes/python.el Fixed defsubst warning.
876 (python-syntax-context) Rename from python-info-ppss-context.
877 (python-syntax-context-type): Rename from
878 python-info-ppss-context-type.
879 (python-syntax-comment-or-string-p): Rename from
880 python-info-ppss-comment-or-string-p.
881
2bd255dd
JB
8822012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
883
884 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
885
c395097f
AS
8862012-08-07 Andreas Schwab <schwab@linux-m68k.org>
887
6125983e
AS
888 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
889 a defcustom that is quoted with backquote.
890
4250fdf5
SM
891 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
892 Fix handling of interactive spec when the body uses return.
651eaf36
AS
893 (math-do-arg-check, math-define-function-body): Use backquote forms.
894 * calc/calc-ext.el (math-defcache): Likewise.
895 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
896 * allout.el (allout-new-exposure): Likewise.
897 * calc/calcalg2.el (math-tracing-integral): Likewise.
898 * info.el (Info-last-menu-item): Likewise.
899 * emulation/vip.el (vip-loop): Likewise.
900 * textmodes/artist.el (artist-funcall): Likewise.
901 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
902 Construct menu-item directly.
903
4250fdf5
SM
904 * progmodes/autoconf.el (font-lock-syntactic-keywords):
905 Don't declare.
c395097f 906
5fb50dd3
CY
9072012-08-07 Chong Yidong <cyd@gnu.org>
908
909 * simple.el (deactivate-mark): Preserve text properties when
910 saving the primary selection (Bug#8384).
911
54eea618
KR
9122012-08-07 Kevin Ryde <user42@zip.com.au>
913
914 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
915 (woman-parse-numeric-value): On a bad .IP line, issue a warning
916 and continue processing (Bug#12110).
917
638eaeb9
SM
9182012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
921 syntax-propertize-function (bug#10095).
922
ea376861
SM
9232012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
924
f91b35be
SM
925 * help-fns.el (help-fns--key-bindings, help-fns--signature)
926 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
927 describe-function-1.
928 (describe-function-1): Use them. Move compiler macro after sig.
929 (help-fns--compiler-macro): Use function-get. Assume we're already in
930 standard-output. Adjust layout to new call order.
931
ea376861
SM
932 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
933 re-binding a symbol that has a symbol-macro (bug#12119).
934
d5be7bd0
MB
9352012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
936
937 * language/persian.el: New file. (Bug#11812)
938 * loadup.el: Add language/persian.el.
939
90749b53
CY
9402012-08-06 Chong Yidong <cyd@gnu.org>
941
942 * window.el (window--maybe-raise-frame): New function.
943 (window--display-buffer): Split off from here.
944 (display-buffer-reuse-window, display-buffer-pop-up-frame)
945 (display-buffer-pop-up-window, display-buffer-use-some-window):
946 Obey an inhibit-switch-frame action alist entry.
947 (display-buffer): Update doc.
948
949 * replace.el (occur-after-change-function): Avoid losing focus by
950 using the inhibit-switch-frame display parameter (Bug#12139).
951
ba7b0154
FEG
9522012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
953
954 Make internal shell process buffer names start with space.
955 * progmodes/python.el (python-shell-make-comint): Add optional
956 argument INTERNAL.
957 (run-python-internal): Use it.
958 (python-shell-internal-get-or-create-process): Check for new
959 internal buffer names.
960
5eaeacb5
GM
9612012-08-06 Glenn Morris <rgm@gnu.org>
962
e296d94b 963 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
964 Do less getting and setting of environment variables.
965
b7ccbdc2
CY
9662012-08-05 Chong Yidong <cyd@gnu.org>
967
777fe95e
CY
968 * proced.el (proced): Add substitution string to docstring to
969 trigger autoloading of the proced library on C-h f (Bug#1768).
970
4250fdf5
SM
971 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
972 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
973
974 * imenu.el (imenu-generic-expression): Move documentation here
975 from imenu--generic-function.
976 (imenu--generic-function): Refer to imenu-generic-expression.
977
9e3b7800 9782012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
979
980 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
981 indentation declaration.
982 (viper-loop): Add indentation declaration (Bug#7025).
983
e5d9c0d1
CY
9842012-08-05 Chong Yidong <cyd@gnu.org>
985
f0422feb
CY
986 * help-fns.el (describe-variable): Add hyperlink for
987 directory-local variables files. Improve buffer-local and
988 permanent-local reporting; suggested by MON KEY (Bug#6644).
989
990 * help-mode.el (help-dir-local-var-def): New button type.
991
e5d9c0d1
CY
992 * files.el (kill-buffer-hook): Provide a defvar.
993
a4f2deaa
GM
9942012-08-05 Glenn Morris <rgm@gnu.org>
995
996 * eshell/esh-ext.el (eshell/addpath):
997 Also update eshell-path-env. (Bug#12013)
998
a9dd5754
CY
9992012-08-05 Chong Yidong <cyd@gnu.org>
1000
a4f2deaa 1001 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1002
d014c740
CY
1003 * fringe.el (fringe-styles): Add docstring.
1004 (fringe--check-mode): New function.
1005 (set-fringe-mode, set-fringe-style): Use it.
1006 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1007
a9dd5754
CY
1008 * files.el (set-auto-mode): Fix invalid setq call.
1009
7c2dc8bd
SM
10102012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * isearch.el: Misc simplification; use defstruct.
1013 (isearch-mode-map): Dense maps now work like sparse ones.
1014 (isearch--state): New defstruct.
1015 (isearch-string-state, isearch-message-state, isearch-point-state)
1016 (isearch-success-state, isearch-forward-state)
1017 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1018 (isearch-wrapped-state, isearch-barrier-state)
1019 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1020 replaced by defstruct's accessors.
1021 (isearch--set-state): Rename from isearch-top-state and change
1022 calling convention.
1023 (isearch-push-state): Use new isearch--get-state.
1024 (isearch-toggle-word): Disable regexp when enabling word.
1025 (isearch-message-prefix): Remove unused arg _c-q-hack.
1026 (isearch-message-suffix): Remove unused arg _ellipsis.
1027
7fcc0070
AS
10282012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1029
1030 * simple.el (list-processes--refresh): For a server use :host or
1031 :local as the address.
97ad0769 1032 (list-processes): Doc fix.
7fcc0070 1033
00340faf
MN
10342012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
1035
1036 * lisp/mpc.el: Support password in host argument.
1037 (mpc--proc-connect): Parse and use new password element.
1038 Set mpc-proc variable instead of returning process.
1039 (mpc-proc): Adjust accordingly.
1040
6dad7178
EZ
10412012-08-03 Eli Zaretskii <eliz@gnu.org>
1042
18949c2f
EZ
1043 * whitespace.el (whitespace-display-mappings): Use Unicode
1044 codepoints, instead of emacs-mule codepoints. See
1045 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1046 for the details.
1047
6dad7178
EZ
1048 * files.el (file-truename): Don't skip symlink-chasing part on
1049 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1050 Windows into the loop that recursively chases symlinks.
1051 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1052 MS-DOS.
1053
385b0198
CY
10542012-08-03 Chong Yidong <cyd@gnu.org>
1055
6200f3c4
CY
1056 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1057
385b0198
CY
1058 * sort.el (sort-regexp-fields): Doc fix.
1059
b9e74744
TH
10602012-08-03 Tassilo Horn <tsdh@gnu.org>
1061
1062 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1063 labels regex position point at the expected place.
1064
41013cb4
MK
10652012-08-03 MON KEY <monkey@sandpframing.com>
1066
1067 * net/imap.el (imap-interactive-login, imap-authenticate)
1068 (imap-mailbox-lsub, imap-mailbox-list)
1069 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1070 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1071 (imap-parse-response): Doc fix.
1072
0ffee616
JT
10732012-08-03 João Távora <joaotavora@gmail.com>
1074
1075 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1076 if sexp scanning does not move point (Bug#5734).
1077
cfcc9cc8
TH
10782012-08-02 Tassilo Horn <tsdh@gnu.org>
1079
1080 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1081 Add listings, minted, and ctable packages.
1082 (reftex-label-alist-builtin): Move listings, minted, and ctable
1083 entries before LaTeX.
a01bbb84 1084 (reftex-label-alist): Docfix.
cfcc9cc8 1085
66ec2442
BG
10862012-08-02 Bastien Guerry <bzg@gnu.org>
1087
1088 * replace.el (occur): Fix docstring (bug#12122).
1089
837b365b
GM
10902012-08-02 Glenn Morris <rgm@gnu.org>
1091
1092 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1093
e098de97
PE
10942012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1095
1096 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1097 * international/mule-cmds.el: Create
1098 inactivate-current-input-method-function as an obsolete alias for
1099 deactivate-current-input-method-function. See Katsumi Yamaoka in
1100 <http://bugs.gnu.org/10150#46>.
1101
a0f95636
JB
11022012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1103
1104 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1105 of nested `if's.
1106
0d26d7c4
GM
11072012-08-01 Glenn Morris <rgm@gnu.org>
1108
1109 * progmodes/autoconf.el (autoconf-definition-regexp):
1110 Add AH_TEMPLATE, adjust submatch numbering.
1111 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1112 (autoconf-current-defun-function): Update for above change.
1113 (autoconf-current-defun-function): First skip to end of current word.
1114
b686ba06
RS
11152012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1116
1117 * calendar/cal-html.el (cal-html-insert-agenda-days):
1118 Fix typo. (Bug#12018)
1119
0d49da68
FEG
11202012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1121
1122 Shell processes: enhancements to startup and CEDET compatibility.
1123 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1124 (python-shell-make-comint): accept-process-output at startup.
1125 (run-python-internal): Set inferior-python-mode-hook to nil.
1126 (python-shell-internal-get-or-create-process): call sit-for.
1127 (python-preoutput-result): Add obsolete alias.
1128 (python-shell-internal-send-string): Use it.
1129 (python-shell-send-setup-code): Remove call to
1130 accept-process-output.
1131
f1a71c6e
AS
11322012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1133
1134 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1135 (Bug#12108)
1136
d2605269
JB
11372012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1138
1139 * calc-mode.el (calc-basic-simplification-mode): Rename from
1140 `calc-limited-simplification-mode'.
1141 (calc-alg-simplification-mode): New function.
d66060f8 1142 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1143
d2605269
JB
1144 * calc.el (calc-set-mode-line): Adjust mode line display for
1145 basic simplification mode.
1146
1147 * calc-help.el (calc-m-prefix-help): Update help message.
1148
1149 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1150 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1151
a3827a43
BG
11522012-07-31 Bastien Guerry <bzg@gnu.org>
1153
1154 * man.el (man): Fix comment. (bug#12101)
1155
502e3f89
MR
11562012-07-31 Martin Rudalics <rudalics@gmx.at>
1157
1158 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1159 Don't return a non-nil value when no suitable buffer was found.
1160
d7714961
FEG
11612012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1162
1163 * progmodes/python.el (run-python-internal): Disable font lock for
1164 internal shells.
1165
1f45e27e
SM
11662012-07-30 Stefan Merten <smerten@oekonux.de>
1167
1168 * rst.el: Silence `checkdoc-ispell'.
1169 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1170 (rst-official-version, rst-official-cvs-rev)
1171 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1172 (rst-mode-map): New key binding.
1173
0aee6912
PE
11742012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1175
1176 Update .PHONY listings in makefiles.
1177 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1178 autoloads, update-subdirs, updates, bzr-update, update-authors,
1179 compile-onefile, compile-calc, backup-compiled-files,
1180 compile-after-backup, compile-one-process, mh-autoloads,
1181 bootstrap-clean, distclean, maintainer-clean.
1182
9052f9f0
JB
11832012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1184
1823ac5a
JB
1185 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1186 (calc-set-mode-line): Don't display "AlgSimp ".
1187
1188 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1189 (calc-lim-simplify-mode): New function.
1190 (calc-set-simplify-mode): Default to 'alg.
1191 (calc-default-simplify-mode): Make algebraic simplifications
1192 the default.
1193
1194 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1195 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1196
8d7c7eed 1197 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1198 indicate new simplification modes.
1199
1823ac5a
JB
1200 * calc/README: Mention new default simplification mode.
1201
9052f9f0
JB
1202 * calc/calc.el (math-normalize-error): New variable.
1203 (math-normalize): Set `math-normalize-error' to t
1204 when there's an error.
1205
1206 * calc/calc-alg.el (math-simplify): Don't simplify when
1207 `math-normalize' returns an error.
1208
20ba0cb4
EZ
12092012-07-29 Eli Zaretskii <eliz@gnu.org>
1210
1211 * international/mule-cmds.el (set-locale-environment): Revert last
1212 change, since display-graphic-p returns nil when this function is
1213 called during startup. Instead...
1214
1215 * term/w32console.el (terminal-init-w32console): ...setup the
1216 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1217
a5dcc929
JL
12182012-07-29 Juri Linkov <juri@jurta.org>
1219
1220 * simple.el (goto-line): Don't display default line number in the
1221 prompt because it should be displayed by `read-number' (bug#9952).
1222 Add the current line number to the defaults of `goto-line' to
1223 allow its easier modification by users with `M-n' (bug#9201).
1224
1225 * subr.el (read-number): Support multiple default values like in
1226 other minibuffer reading functions. Replace `read' with
1227 `string-to-number' for consistency with `number-to-string'.
1228
72b255c7
PE
12292012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1230
1231 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1232 * emulation/viper-init.el (viper-deactivate-input-method-action):
1233 Rename from viper-inactivate-input-method-action.
1234 (viper-deactivate-input-method):
1235 Rename from viper-inactivate-input-method.
1236 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1237 * international/mule-cmds.el (deactivate-input-method):
1238 Rename from inactivate-input-method.
1239 Also run input-method-deactivate-hook.
1240 (deactivate-current-input-method-function):
1241 Rename from inactivate-current-input-method-function.
1242 (input-method-deactivate-hook): New hook.
1243 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
1244 (inactivate-input-method): Mark obsolete.
1245
72b255c7
PE
1246 * international/quail.el (quail-activate):
1247 Also run quail-deactivate-hook.
1248 (quail-deactivate): Rename from quail-inactivate.
1249 * international/robin.el (robin-activate):
1250 Also run robin-deactivate-hook.
1251 (robin-deactivate): Rename from robin-inactivate.
1252
2549c068
CY
12532012-07-29 Chong Yidong <cyd@gnu.org>
1254
1255 * simple.el (indicate-copied-region): New function.
1256 (kill-ring-save): Split off from here.
1257
1258 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1259 (kill-rectangle): Set deactivate-mark to t on read-only error.
1260
1261 * register.el (copy-to-register, copy-rectangle-to-register):
1262 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
1263 (append-to-register, prepend-to-register):
1264 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
1265
1266 * simple.el (async-shell-command-buffer): New defcustom.
1267 (shell-command): Use it. (Bug#4719)
1268
01bd1b0d
EZ
12692012-07-28 Eli Zaretskii <eliz@gnu.org>
1270
1271 * international/mule-cmds.el (set-locale-environment): In a
1272 console session on MS-Windows, set up keyboard and terminal
1273 encoding from the OEM codepage, not the ANSI codepage.
1274 (Bug#12055)
1275
a55739d3
CY
12762012-07-28 Chong Yidong <cyd@gnu.org>
1277
1278 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1279 gdb-get-location.
1280
0e1a094f 12812012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
1282
1283 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1284 the alist (bug#12029).
1285
20329d73
EZ
12862012-07-28 Eli Zaretskii <eliz@gnu.org>
1287
1288 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1289 (compile-always, compile-first)
1290 ($(lisp)/calendar/cal-loaddefs.el)
1291 ($(lisp)/calendar/diary-loaddefs.el)
1292 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1293 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1294 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1295 instead of on update-subdirs.
1296 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1297
345a2258
CY
12982012-07-28 Chong Yidong <cyd@gnu.org>
1299
1eee6341
CY
1300 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1301 directory if vc-deduce-backend returns nil (Bug#7350).
1302
345a2258
CY
1303 * simple.el (delete-trailing-lines): New option.
1304 (delete-trailing-whitespace): Obey it (Bug#11879).
1305
049a0936
DE
13062012-07-28 David Engster <deng@randomsample.de>
1307
1308 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1309 Explanation of new 'symbol-qnames feature in doc-strings.
1310 (xml-maybe-do-ns): Return expanded names as plain symbols if
1311 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1312 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1313
aa81af71
FEG
13142012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1315
1316 Consistent completion in inferior python with emacs -nw.
1317 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1318 binding in inferior-python-mode-map with "\t".
1319 (python-shell-completion-complete-at-point)
1320 (python-completion-complete-at-point): Remove interactive spec.
1321
e827b1eb
JB
13222012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1323
1324 * calc/calccomp.el (math-compose-expr): Undo previous change.
1325
a90dfb95
FEG
13262012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1327
4250fdf5 1328 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
1329 run-python.
1330 (python-shell-make-comint): Fix pop-to-buffer call.
1331 (run-python): Autoload. New arg SHOW.
1332 (python-shell-get-or-create-process): Do not pop python process
1333 buffer.
1334
32770973 13352012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
1336
1337 * notifications.el (notifications-on-action-signal)
1338 (notifications-on-closed-signal): Use also the bus address for the map.
1339 (notifications-notify, notifications-close-notification)
1340 (notifications-get-capabilities): Add optional argument BUS.
1341
86332df2
TH
13422012-07-27 Tassilo Horn <tsdh@gnu.org>
1343
4250fdf5
SM
1344 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1345 Add support for the lstlisting and minted environments, and for the
86332df2
TH
1346 ctable macro.
1347 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1348 labels written in keyvals syntax.
1349
ca1302a4
JB
13502012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1351
1352 * calc/calccomp.el (math-compose-expr): Use parentheses when
1353 there is a product in the denominator of a fraction.
1354
f8b91036
EZ
13552012-07-26 Eli Zaretskii <eliz@gnu.org>
1356
1357 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1358 ($(lisp)/calendar/diary-loaddefs.el)
1359 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
1360 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1361 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
1362 rewritten while the autoload files are built at the same time,
1363 which needs to load subdirs.el.
1364
c8e5a42c
MR
13652012-07-26 Martin Rudalics <rudalics@gmx.at>
1366
1367 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1368 (mouse-drag-line): Don't exit tracking when a switch-frame or
1369 switch-window event occurs (Bug#12006).
1370
670d85ea
SM
13712012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * mouse.el (popup-menu): Fix last change.
1374
7abaf5cc
SM
13752012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 Autoload from Lisp with more care. Follow aliases when looking for
1378 function properties.
1379 * subr.el (autoloadp): New function.
1380 (symbol-file): Use it.
1381 (function-get): New function.
1382 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1383 autoload-do-load.
1384 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1385 (lisp-indent-function):
1386 * emacs-lisp/gv.el (gv-get):
1387 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1388 * emacs-lisp/byte-opt.el (byte-optimize-form):
1389 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1390 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1391 Use function-get.
1392 * emacs-lisp/cl.el: Don't propagate function properties any more.
1393
1394 * speedbar.el (speedbar-add-localized-speedbar-support):
1395 * emacs-lisp/disass.el (disassemble-internal):
1396 * desktop.el (desktop-load-file):
1397 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1398 (describe-function-1):
1399 * emacs-lisp/find-func.el (find-function-noselect):
1400 * emacs-lisp/elp.el (elp-instrument-function):
1401 * emacs-lisp/advice.el (ad-has-proper-definition):
1402 * apropos.el (apropos-safe-documentation, apropos-macrop):
1403 * emacs-lisp/debug.el (debug-on-entry):
1404 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1405 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1406 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1407
b1364986
AA
14082012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1409
1410 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1411 function, not an obsolete variable (Bug#12046).
1412
67ada220
AS
14132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1414
1415 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1416
f08088e3
CS
14172012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1418
1419 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1420 window only if it is still live (Bug#12034).
1421
8137e7b3
MR
14222012-07-25 Martin Rudalics <rudalics@gmx.at>
1423
1424 * subr.el (redirect-frame-focus): Add advertised calling
1425 convention (Bug#12030).
1426
09ae5da1
PE
14272012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1428
1429 Prefer typical American spelling for "acknowledgment".
1430 * vc/add-log.el (change-log-acknowledgment): Rename from
1431 change-log-acknowledgement, with an alias for the old name.
1432
3cc5a3a8
JB
14332012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1434
1435 * calc-alg.el (math-simplify-divide): Don't cross multiply
1436 in an equation when the lhs is a variable.
1437
b7af7f62
JD
14382012-07-24 Julien Danjou <julien@danjou.info>
1439
1440 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1441 Remove, unused.
1442
ec1b09b1
EZ
14432012-07-23 Eli Zaretskii <eliz@gnu.org>
1444
1445 * startup.el (command-line): Don't display an empty user name in
1446 the error message about non-existent home directory, when
1447 init-file-user was set to an empty string. See
1448 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1449 for the details and context.
1450
b525fd8a
VB
14512012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1452
1453 * ses.el (ses-cell-formula-aset): New macro.
1454 (ses-cell-references-aset): New macro.
1455 (ses-cell-p): New function.
1456 (ses-rename-cell): Do no longer rely on complex operations like
1457 ses-cell-set-formula or ses-set-cell to change the cell and handle
1458 the undo at the same time, but rather use lower level new macros
1459 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1460 the undo directly. Refresh the mode line.
1461
2c73e345
LL
14622012-07-21 Leo Liu <sdl.web@gmail.com>
1463
670d85ea
SM
1464 * progmodes/cc-cmds.el (c-defun-name):
1465 Use match-string-no-properties instead for consistency.
2c73e345 1466
542dfbde
LL
14672012-07-20 Leo Liu <sdl.web@gmail.com>
1468
3646bcd6
LL
1469 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1470 (Bug#7879)
1471
542dfbde
LL
1472 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1473
25721031
CY
14742012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1477 * progmodes/bug-reference.el, misearch.el: Provide themselves
1478 (bug#11915).
1479
1480 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1481 of narrowed buffer (bug#11966).
1482
316e68a7
VB
14832012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1484
1485 * ses.el (ses-rename-cell): Set new name also in reference list of
1486 cells of which the renamed cell depends.
1487
bbf0e7d9
MY
14882012-07-20 Masatake YAMATO <yamato@redhat.com>
1489
1490 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1491 to check whether menu-bar is shown or not. If not shown,
1492 show the menu-bar as a popup menu instead of using tmm.
1493 * mouse.el (popup-menu): Accept `point' as `position' argument.
1494
c28662a8
DG
14952012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1496
1497 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1498 up inside string symbol literal (bug#11923).
1499
87ab808f
EZ
15002012-07-20 Eli Zaretskii <eliz@gnu.org>
1501
1502 * startup.el (fancy-startup-text): Read the whole tutorial, not
1503 just its first 256 bytes. Prevents gibberish in display of the
1504 tutorial title.
1505
89dea803
DA
15062012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1507
1508 Drop idle buffer compaction due to an absence of the
1509 proved efficiency.
1510 * compact.el: Remove.
1511
8a4e6db8
SS
15122012-07-19 Sam Steingold <sds@gnu.org>
1513
1514 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1515 vc-bzr-pull & vc-bzr-merge-branch.
1516 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1517 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1518 for consistency with compilation-error-regexp-alist.
1519 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1520 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1521 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1522 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1523
5db81e33
SM
15242012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/chart.el: Use lexical-binding.
1527 (chart-emacs-storage): Don't hardcode the list of entries.
1528
5b835e1d
DA
15292012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1530
1531 Next round of tweaks caused by Fgarbage_collect changes.
1532 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1533
9cd47b72
DA
15342012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1535
1536 Compact buffers when idle.
1537 * compact.el: New file.
1538
1d6fc0df
SM
15392012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * subr.el (eventp): Presume that if it looks vaguely like an event,
1542 it's an event (bug#10190).
1543
1d29cc7d
FEG
15442012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1545
1546 Enhancements to ppss related code (thanks Stefan).
1547 * progmodes/python.el (python-indent-context)
1548 (python-indent-calculate-indentation, python-indent-dedent-line)
1549 (python-indent-electric-colon, python-nav-forward-block)
1550 (python-mode-abbrev-table)
1d6fc0df 1551 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1552 for ppss context.
1553 (python-info-continuation-line-p): Cleanup.
1554 (python-info-ppss-context): Do not catch 'quote.
1555 (python-info-ppss-context-type)
1556 (python-info-ppss-comment-or-string-p): Simplify.
1557
d583cbe6
FEG
15582012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1559
1560 * progmodes/python.el: Enhancements to eldoc support.
1561 (python-info-current-symbol): New function.
1562 (python-eldoc-at-point): Use python-info-current-symbol.
1563 (python-info-current-defun): Fix cornercase on first defun scan.
1564 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1565 and signal error when no inferior python process is available.
1566
eceb6feb
DG
15672012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1568
1569 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1570 assume it's always t.
1571 (vc-git-registered): Remove caching, the function is only called
1572 once.
1573 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1574
4c8ff0fe
CY
15752012-07-18 Chong Yidong <cyd@gnu.org>
1576
19fb7186
CY
1577 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1578
9587c688
CY
1579 * simple.el (count-words): Report on narrowing (Bug#9959).
1580
0fe776a1
CY
1581 * bindings.el: Bind M-= to count-words.
1582
4c8ff0fe
CY
1583 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1584
7f5331cc
MY
15852012-07-18 Masatake YAMATO <yamato@redhat.com>
1586
1587 * progmodes/sh-script.el (sh-imenu-generic-expression):
1588 Capture a function with `function' keyword and without parentheses
1589 like "function FOO" (bug#11856).
1590
2dc2a609
TH
15912012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1592
1593 * window.el (split-window-sensibly): Make WINDOW argument
1594 optional.
1595
439f7677
CY
15962012-07-18 Chong Yidong <cyd@gnu.org>
1597
9aeb25a6
CY
1598 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1599
439f7677
CY
1600 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1601 and make C-x 8 RET exit isearch (Bug#11439).
1602
1603 * international/iso-transl.el: Move isearch-mode-map key
1604 definitions to isearch.el.
1605
12999ea8
SM
16062012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1609 (eieio-defclass): Use gv-define-setter when possible.
1610
3ab6e069
DA
16112012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1612
1613 Reflect recent changes in Fgarbage_collect.
1614 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1615 reflect new format of data returned by Fgarbage_collect.
1616
0a60bc10
FEG
16172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1618
1619 New utility functions + python-info-ppss-context fix (Bug#11910).
1620 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1621 (python-info-ppss-comment-or-string-p): New functions.
1622 (python-info-ppss-context): Small fix for string check.
1623
6dafa0d5
JL
16242012-07-17 Juri Linkov <juri@jurta.org>
1625
1626 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1627 (dired-do-async-shell-command): Don't add `*' at the end of the
1628 command (Bug#11815).
1629 (dired-do-shell-command): Doc fix.
1630 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1631 Join the individual commands using either "&" or ";" as the
1632 separator depending on the values of these trailing characters.
1633 At the end re-add the trailing "&". (Bug#10598)
1634
1635 * simple.el (async-shell-command): Sync the interactive spec with
1636 `shell-command'. Doc fix.
1637 (shell-command): Doc fix.
1638
b19dd9d1
JL
16392012-07-17 Juri Linkov <juri@jurta.org>
1640
1641 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1642
bcdc27d7 16432012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1644
bcdc27d7 1645 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1646 * progmodes/python.el (python-nav-beginning-of-statement):
1647 Rename from python-nav-statement-start.
bcdc27d7
FEG
1648 (python-nav-end-of-statement): Rename from
1649 python-nav-statement-end.
1650 (python-nav-beginning-of-block): Rename from
1651 python-nav-block-start.
1652 (python-nav-end-of-block): Rename from python-nav-block-end.
1653
191da00e
FEG
16542012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1655
7f5331cc
MY
1656 * progmodes/python.el (python-shell-send-string-no-output):
1657 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1658 future interactions (Bug#11868).
1659
4dc7c8d5 16602012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1661
88ecaf8f
SM
1662 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1663
ef501ef0
SM
1664 * emacs-lisp/elint.el (elint-find-args-in-code):
1665 Use help-function-arglist, so as to handle lexical byte-code.
1666
aa7aaf8f
SM
1667 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1668 change (bug#11826).
1669
45fd731c
SM
16702012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1671
2143fa32
SM
1672 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1673 Avoid spuriously marking the buffer as modified because of c-is-sws.
1674
efc26dbe
SM
1675 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1676 as not-a-comment (bug#11946).
1677
f5695c9a
SM
1678 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1679 for uninterned vars.
1680
1681 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1682 Use read-event since we don't really want to read chars but bytes.
1683
45fd731c
SM
1684 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1685 $$..$$ but also $..$ using regexps (bug#11953).
1686 Use tex-verbatim for \url and \path.
1687 (tex-font-lock-keywords): Define as defconst like the others.
1688 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1689
ddfc8813
RK
16902012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1691
1692 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1693 alias for insert-char.
1694
758e556a
FEG
16952012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1696
1697 * progmodes/python.el: Simplified imenu implementation.
1698 (python-nav-jump-to-defun): Remove command.
1699 (python-mode-map): Use `imenu' instead.
1700 (python-nav-list-defun-positions-cache)
1701 (python-imenu-include-defun-type, python-imenu-make-tree)
1702 (python-imenu-subtree-root-label, python-imenu-index-alist):
1703 Remove vars.
1704 (python-nav-list-defun-positions, python-nav-read-defun)
1705 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1706 (python-imenu-make-tree, python-imenu-create-index):
1707 Remove functions.
758e556a
FEG
1708 (python-mode): Update to interact with imenu by setting
1709 `imenu-extract-index-name-function' only.
1710
032d23ab
FEG
17112012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1712
1713 * progmodes/python.el: Enhancements to navigation commands.
1714 (python-nav-backward-sentence)
1715 (python-nav-forward-sentence): Remove.
1716 (python-nav-backward-statement, python-nav-forward-statement)
1717 (python-nav-statement-start, python-nav-statement-end)
1718 (python-nav-backward-block, python-nav-forward-block)
1719 (python-nav-block-start, python-nav-block-end)
1720 (python-nav-forward-sexp-function)
1721 (python-info-current-line-comment-p)
1722 (python-info-current-line-empty-p): New functions.
1723 (python-indent-context): Use `python-nav-statement-start'.
1724
01795a1b
MA
17252012-07-16 Michael Albinus <michael.albinus@gmx.de>
1726
9328d9aa
MA
1727 * eshell/em-ls.el (eshell/ls): Use `apply'.
1728
1729 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1730 multi-hops, instead of Tramp internals.
1731
01795a1b
MA
1732 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1733
1734 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1735 when F1 and F2 are located on different hosts.
1736
63408057
CY
17372012-07-14 Chong Yidong <cyd@gnu.org>
1738
1739 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1740 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1741 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1742 (xterm-mouse--read-event-sequence-1000)
1743 (xterm-mouse--read-event-sequence-1006): New functions. For old
1744 mouse protocol, handle M-mouse-X events correctly.
1745 (xterm-mouse-event): New arg specifying mouse protocol.
1746 (turn-on-xterm-mouse-tracking-on-terminal)
1747 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1748 sequence to toggle extended coordinates on newer XTerms.
1749 This appears to be harmless on terminals which do not support this.
63408057 1750
cd276f6e
LL
17512012-07-14 Leo Liu <sdl.web@gmail.com>
1752
28ca98ac
LL
1753 Add fringe bitmap indicators for flymake. (Bug#11253)
1754 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1755 (flymake-make-overlay): New arg BITMAP.
1756 (flymake-error-bitmap, flymake-warning-bitmap)
1757 (flymake-fringe-indicator-position): New user variables.
1758
cd276f6e
LL
1759 * fringe.el: New bitmap exclamation-mark.
1760
04408072
JD
17612012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1762
1763 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1764 also (Bug#7879).
1765
b5cf7fc4
CY
17662012-07-14 Chong Yidong <cyd@gnu.org>
1767
1768 * electric.el (electric-pair-post-self-insert-function): Fix pair
1769 insertion in empty-region case (Bug#11520).
1770
be755c79
RT
17712012-07-14 Chong Yidong <cyd@gnu.org>
1772
45fd731c
SM
1773 * bindings.el: Consolidate ctl-x-r-map bindings.
1774 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1775
1776 * rect.el, register.el: Move bindings to bindings.el.
1777
17782012-07-14 Reuben Thomas <rrt@sc3d.org>
1779
1780 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1781
7f5b3198
AS
17822012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1783
1784 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1785
97662200
JB
17862012-07-13 Juanma Barranquero <lekktu@gmail.com>
1787
80185fed
JB
1788 * bindings.el (top): Use `mapc' instead of `mapcar'.
1789
97662200
JB
1790 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1791
2bb1ae55
MA
17922012-07-13 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * progmodes/sql.el (sql-comint): Suppress the check for program on
1795 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1796 (Bug#11908)
1797
dea31bd3
CY
17982012-07-13 Chong Yidong <cyd@gnu.org>
1799
1800 * bindings.el: Assign a non-nil permanent-local property to
1801 per-buffer variables which lack a default value (Bug#11930).
1802
1803 * help-fns.el (describe-variable): In the "automatically becomes
1804 local" notice, take note of permanent-local variables.
1805
b68b3337
CY
18062012-07-13 Chong Yidong <cyd@gnu.org>
1807
1808 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1809 to allow printing the message when called from Lisp.
1810
1811 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1812 Remove toggle-read-only.
1813
1814 * bs.el (bs-toggle-readonly):
45fd731c
SM
1815 * buff-menu.el (Buffer-menu-toggle-read-only):
1816 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1817
1818 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1819 Remove with-no-warnings around toggle-read-only.
1820 (ffap-read-only, ffap-read-only-other-window)
1821 (ffap-read-only-other-frame): Callers changed.
1822
1823 * help-mode.el: Don't require view package.
1824 (help-mode-finish): Set buffer-read-only instead of calling
1825 toggle-read-only.
1826
1827 * bindings.el (mode-line-toggle-read-only):
1828 * dired.el (dired-toggle-read-only):
1829 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1830 with non-nil second arg.
1831
1832 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1833 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1834 directly.
1835
56bc1586
EZ
18362012-07-12 Eli Zaretskii <eliz@gnu.org>
1837
1838 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1839 not incf.
1840
a464a6c7
SM
18412012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1842
1843 More CL cleanups and reduction of use of cl.el.
1844 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1845 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1846 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1847 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1848 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1849 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1850 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1851 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1852 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1853 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1854 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1855 * eshell/em-cmpl.el, eshell/em-banner.el:
1856 * calendar/parse-time.el: Use cl-lib.
1857 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1858 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1859 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1860 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1861 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1862 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1863 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1864 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1865 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1866 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1867 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1868 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1869 `lambda' rather than with `quote'.
1870 (eshell-do-opt): Adjust accordingly.
1871 (eshell-process-option): Simplify.
1872 * eshell/esh-var.el:
1873 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1874 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1875 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1876 to `pcase--dontcare'.
1877 * emacs-lisp/cl.el (labels): Mark obsolete.
1878 (cl--letf, letf): Move to cl-lib.
1879 (cl--letf*, letf*): Remove.
1880 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1881 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1882 (cl-progv): Rewrite.
1883 (cl--letf, cl-letf): Move from cl.el.
1884 (cl-letf*): New macro.
1885 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1886
7ad4afe1
MA
18872012-07-11 Michael Albinus <michael.albinus@gmx.de>
1888
1889 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1890
9af57756
CY
18912012-07-11 Chong Yidong <cyd@gnu.org>
1892
1893 * vc/log-edit.el (log-edit-vc-backend): New variable.
1894 (log-edit): Doc fix.
1895
1896 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1897 argument of log-edit to set up all local variables.
1898 (vc-start-logentry): New optional arg specifying VC backend.
1899
1900 * vc/vc.el (vc-checkin): Use it.
1901 (vc-deduce-fileset): Handle Log Edit buffers.
1902 (vc-diff): Make first argument optional too.
1903
1904 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1905
8477cc7a
MA
19062012-07-10 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1909 command, just in case. The function is not needed anymore.
1910 (eshell-external-command): Do not call `eshell-remote-command'.
1911
19faa8e8
SM
19122012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1913
f58e0fd5
SM
1914 Reduce use of (require 'cl).
1915 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1916 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1917 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1918 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1919 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1920 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1921 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1922 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1923 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1924 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1925 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1926 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1927 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1928 (byte-compile-unfold-bcf, byte-compile-check-variable):
1929 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1930 (byte-compile-nilconstp):
1931 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1932 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1933
2519d43a
SM
1934 * emacs-lisp/gv.el (cond): Make it a valid place.
1935 (if): Simplify slightly.
1936
19faa8e8
SM
1937 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1938 (pcase--self-quoting-p): New function.
1939 (pcase--u1): Use it.
1940
c4907a5e
GM
19412012-07-10 Glenn Morris <rgm@gnu.org>
1942
1943 * emacs-lisp/authors.el (authors-fixed-entries):
1944 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1945
c4444d16
PE
19462012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1947
1948 Rename configure.in to configure.ac (Bug#11603).
1949 * emacs-lisp/authors.el (authors-canonical-file-name):
1950 * progmodes/autoconf.el (autoconf-mode):
1951 Prefer configure.ac to configure.in.
1952
d75be97d
CY
19532012-07-08 Chong Yidong <cyd@gnu.org>
1954
01ac65bd
CY
1955 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1956 Implement the mouse-1-click-follows-link handling properly.
1957
1958 * info.el (Info-link-keymap): Use follow-link mechanism for
1959 header-line links (Bug#374).
1960
d75be97d
CY
1961 * simple.el (deactivate-mark): Do not set the primary selection
1962 if another program has acquired it (Bug#11772).
1963
87a92845 19642012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1965
1966 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1967 (woman-decode-region): Replace escaped-escapes without destroying
1968 bold or underline (Bug#11552).
87a92845 1969 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1970
621b9d6c
CY
19712012-07-07 Chong Yidong <cyd@gnu.org>
1972
1973 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1974 (interprogram-cut-function, interprogram-paste-function):
1975 Mention that we typically mean the clipboard.
621b9d6c 1976
133a11fc
GM
19772012-07-06 Glenn Morris <rgm@gnu.org>
1978
0d27a45e
GM
1979 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1980
133a11fc
GM
1981 * files.el (toggle-read-only): Restrict message to interactive use.
1982
07b151f1
MA
19832012-07-06 Michael Albinus <michael.albinus@gmx.de>
1984
1985 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1986
1987 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1988
211b896b
GM
19892012-07-06 Glenn Morris <rgm@gnu.org>
1990
50394322
GM
1991 * Makefile.in (compile-one-process): Rename from "recompile".
1992
211b896b
GM
1993 * Makefile.in (bzr-update): "compile" is the same as "recompile
1994 autoloads", but parallelizable, so use that instead.
1995
4737eec9
DG
19962012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1997
1998 * window.el (quit-window): Always restore window height when
8137e7b3 1999 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2000
226c3633 20012012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2002
2003 * simple.el (kill-whole-line): Doc tweak.
2004
226c3633 20052012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2006
2007 * files.el (file-relative-name): Compare file names
2008 case-insensitively if on MS-Windows or MS-DOS, or if
2009 read-file-name-completion-ignore-case is non-nil. Don't use
2010 case-fold-search for this purpose. (Bug#11827)
2011
4dc7c8d5
SM
20122012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2013
2014 * calendar/cal-dst.el (calendar-current-time-zone):
2015 Return calendar-current-time-zone-cache if non-nil.
2016
20172012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 20182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2019
19faa8e8
SM
2020 * calendar/cal-dst.el (calendar-current-time-zone):
2021 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2022
60198fc9
GM
20232012-07-06 Glenn Morris <rgm@gnu.org>
2024
2025 * Makefile.in (cvs-update): Remove old alias.
2026
957b3189
MA
20272012-07-05 Michael Albinus <michael.albinus@gmx.de>
2028
2029 Sync with Tramp 2.2.6-pre.
2030
2031 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2032 compatible declaration.
2033
19faa8e8
SM
2034 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2035 Protect `list-load-path-shadows' call.
957b3189
MA
2036
2037 * net/tramp-compat.el (top): Require packages, which aren't
2038 autoloaded anymore for XEmacs. Protect call of
2039 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2040 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2041 it hurts at least for SXEmacs.
2042 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2043 standard-value for `temporary-file-directory'.
2044
2045 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2046 Redirect stderr to /dev/null.
2047 (tramp-sh-handle-write-region): uid and gid can be floats.
2048 Reported by Russell Sim <russell.sim@gmail.com>.
2049 (tramp-sh-handle-vc-registered): Hide errors.
2050 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2051 and `start-file-process'.
2052 (tramp-maybe-open-connection): Check also whether `non-essential'
2053 is bound.
2054
566df3fc
CY
20552012-07-04 Chong Yidong <cyd@gnu.org>
2056
2057 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2058 (xml-parse-tag): Likewise, and avoid changing entity tables.
2059 (xml-syntax-table): Define from scratch, making sure not to give
2060 x2000 and other Unicode spaces whitespace syntax, since those are
2061 not spaces in XML.
2062 (xml-parse-fragment): Delete unused function.
2063 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2064 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2065 (xml-entity-ref, xml-pe-reference-re)
2066 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2067 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2068 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2069 (xml-entity-value-re): Use syntax references in regexps where
2070 possible; no need to define inside a let-binding.
2071 (xml-parse-dtd): Use xml-pe-reference-re.
2072 (xml-entity-or-char-ref-re): New defconst.
2073 (xml-parse-string, xml-substitute-special): Use it.
2074
30eabd7a
SM
20752012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2076
0781098a
SM
2077 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2078 (find-file--read-only): New function.
2079 (find-file-read-only, find-file-read-only-other-window)
2080 (find-file-read-only-other-frame): Use it.
2081 (insert-file-contents-literally): Don't `fset'.
2082 (get-free-disk-space): Use locate-dominating-file.
2083
b5771c0d
SM
2084 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2085 function is already compiled.
2086
30eabd7a
SM
2087 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2088
b4886f6e
MA
20892012-07-03 Michael Albinus <michael.albinus@gmx.de>
2090
2091 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2092 files on the same host.
2093
b9d82339
AS
20942012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2095
2096 * help-fns.el (describe-function-1): Only call
2097 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2098
a76e6535
CY
20992012-07-03 Chong Yidong <cyd@gnu.org>
2100
2101 * xml.el: Protect parser against XML bombs.
2102 (xml-entity-expansion-limit): New variable.
2103 (xml-parse-string, xml-substitute-special): Use it.
2104 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2105
b544fef2
GM
21062012-07-03 Glenn Morris <rgm@gnu.org>
2107
2108 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2109 Allow linking to specific messages in debbugs reports (eg 123#5).
2110
a7aef6f5
CY
21112012-07-02 Chong Yidong <cyd@gnu.org>
2112
2113 * xml.el: Fix entity and character reference expansion, allowing
2114 them to expand into markup as per XML spec.
2115 (xml-default-ns): New variable.
2116 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2117 (xml-parse-region): Make first two arguments optional.
2118 Discard text properties.
2119 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2120 All callers changed.
a7aef6f5
CY
2121 (xml-parse-tag): Call xml-parse-tag-1. For backward
2122 compatibility, this function should not modify buffer contents.
2123 (xml-parse-tag-1): Fix opening-tag regexp.
2124 (xml-parse-string): Rewrite, handling entity and character
2125 references properly.
2126 (xml--entity-replacement-text): Signal an error if a parameter
2127 entity is undefined.
2128
3df31c9f
SM
21292012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2b5208f1
SM
2131 * comint.el (comint-output-filter): Filter out repeated prompts.
2132
3df31c9f
SM
2133 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2134 and file-name-absolute-p.
2135 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2136 internal calls.
2137
e3ac1281
PE
21382012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2139
2140 Spelling fixes.
2141 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2142 Rename from byte-compile--refiy-function. All uses changed.
2143
fbf2e7ad
CY
21442012-07-01 Chong Yidong <cyd@gnu.org>
2145
2146 * xml.el (xml--parse-buffer): New function. Move most of
2147 xml-parse-region here.
2148 (xml-parse-region): Copy region into a temporary buffer, since
2149 parameter entity substitution requires changing buffer contents.
2150 Use xml--parse-buffer.
2151 (xml-parse-file): Use xml--parse-buffer.
2152 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2153 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2154
9bf0aa15
GM
21552012-06-30 Glenn Morris <rgm@gnu.org>
2156
bbce2853
GM
2157 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2158
9bf0aa15
GM
2159 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2160 Remove outdated and unnecessary dbus declarations.
2161
0d23c240
EZ
21622012-06-30 Eli Zaretskii <eliz@gnu.org>
2163
2164 * emacs-lisp/timer.el (timer-until): Subtract results of
2165 float-time, instead of taking float-time of the result of
2166 time-subtract, since float-time signals an error for negative time
2167 arguments.
2168
b3218de1
CY
21692012-06-30 Chong Yidong <cyd@gnu.org>
2170
2171 * xml.el (xml-*-re): Convert defvars into defconsts, and
2172 eval-and-compile them so eval-and-compile works on derivatives.
2173 (xml--entity-replacement-text): Use eval-and-comple.
2174
a40c87a0
MA
21752012-06-30 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * vc/vc-git.el (vc-git-registered): Use cache property
2178 `git-registered'.
2179 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2180 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2181 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2182
ac87de97
DG
21832012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2186 removed (likely outside Emacs). (Bug#11757)
ac87de97 2187
ac10fe06
SM
21882012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2189
3df31c9f 2190 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2191
7f3fbd5d
CY
21922012-06-30 Chong Yidong <cyd@gnu.org>
2193
2194 * xml.el: Implement XML parameter entities.
2195 (xml-parameter-entity-alist): New variable.
2196 (xml-parse-region, xml-parse-fragment): Preserve previous values
2197 of xml-entity-alist and xml-parameter-entity-alist, so that
2198 repeated calls on different documents do not change them.
2199 (xml-parse-tag): Fix doctype regexp.
2200 (xml--entity-replacement-text): New function.
2201 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2202 properly requires url retrieval which is unimplemented.
2203 (xml-escape-string): Doc fix.
2204
3cfbebba
SM
22052012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2208
2af3565e
DA
22092012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2210
2211 * fringe.el (fringe-mode): Doc fix.
2212
929df0e7
MA
22132012-06-29 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2216 is non-nil.
2217 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2218 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2219
c8d3a25c 22202012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2221
c8d3a25c
GM
2222 * calendar/cal-dst.el (calendar-current-time-zone):
2223 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2224
c8d3a25c 22252012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
2226
2227 * progmodes/which-func.el (which-func-format):
2228 Add mouse-face. (Bug#11698)
2229
c8d3a25c
GM
22302012-06-29 Leo Liu <sdl.web@gmail.com>
2231
2232 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2233
22342012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * minibuffer.el (minibuffer-confirm-exit-commands):
2237 Add completion-at-point (bug#11725).
2238
22392012-06-29 Glenn Morris <rgm@gnu.org>
2240
2241 * progmodes/f90.el (f90-font-lock-keywords-2):
2242 Add some preprocessor elements. (Bug#10499)
2243
22442012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2247 Use syntax-propertize (bug#11739).
2248
2badeec4
JB
22492012-06-28 Juanma Barranquero <lekktu@gmail.com>
2250
2251 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2252
ae4969c2
JD
22532012-06-28 Julien Danjou <julien@danjou.info>
2254
2255 * term.el (term-handle-colors-array): Use a set of new faces to
2256 color the terminal. Also uses :inverse-video property.
2257 (term-default-fg-color): Set to nil by default, deprecate in favor
2258 of `term-face'.
2259 (term-default-bg-color): Set to nil by default, deprecate in favor
2260 of `term-face'.
2261 (term-current-face): Use `term-face' by default.
2262 (term-bold-attribute): Variable deleted.
2263
1c9bd870
GM
22642012-06-28 Glenn Morris <rgm@gnu.org>
2265
2266 * simple.el (completion-list-mode-finish):
2267 Don't use toggle-read-only. (Since completion-list-mode has
2268 a special mode-class, it wasn't doing anything extra anyway.)
2269
c207708c
SM
22702012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 Make inlining of other-mode interpreted functions work (bug#11799).
2273 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2274 (byte-compile): Use it to fix compilation of lexical-binding closures.
2275 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2276 function, if needed.
2277
3fd56834
SM
22782012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2279
04901786
SM
2280 * help-mode.el (help-make-xrefs): Don't just withstand
2281 cyclic-variable-indirection but any error in documentation-property.
2282
1ec4b7b2
SM
2283 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2284 memory use.
2285 * bindings.el (bindings--define-key): New function.
2286 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2287 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2288 * bindings.el: Use it to purecopy define-key bindings.
2289
e309e2a5
SM
2290 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2291
d5c6faf9
SM
2292 * emacs-lisp/cl.el (flet): Mark obsolete.
2293 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2294 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2295 * progmodes/js.el (js-c-fill-paragraph):
2296 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2297 (ebrowse-switch-member-buffer-to-derived-class):
2298 * play/5x5.el (5x5-solver): Use cl-flet.
2299
6e9590e2
SM
2300 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2301 (cl--symbol-function): New macro.
2302 (cl--letf, cl--letf*): Use it.
2303
3fd56834
SM
2304 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2305 Strip "toggle-" if any.
2306
35ff222c
GM
23072012-06-27 Glenn Morris <rgm@gnu.org>
2308
1ba6038a
GM
2309 * info.el (Info-default-directory-list): Move here from paths.el.
2310 * paths.el: Remove file, which is now empty.
2311 * loadup.el: No longer load "paths".
2312
0ea0e51b
GM
2313 * custom.el (custom-initialize-delay): Doc fix.
2314
35ff222c
GM
2315 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2316 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2317 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2318 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2319 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2320 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2321 * eshell/eshell.el (eshell-defgroup): Remove alias.
2322
c89926a5
CY
23232012-06-27 Chong Yidong <cyd@gnu.org>
2324
2325 * help.el (help-enable-auto-load): New variable.
2326
2327 * help-fns.el (help-fns--autoloaded-p): New function.
2328 (describe-function-1): Refer to a function as "autoloaded" if it
2329 was autoloaded at any time in the past. Perform autoloading if
2330 help-enable-auto-load is non-nil.
2331
cc06e7e7
EZ
23322012-06-26 Eli Zaretskii <eliz@gnu.org>
2333
2334 * makefile.w32-in (compile, compile-always): Depend on
2335 update-subdirs, not on subdirs.el. Otherwise, several different
2336 sub-targets of 'bootstrap' running in parallel could
2337 simultaneously write to subdirs.el, producing a garbled file.
2338
d2c32364
SS
23392012-06-26 Sam Steingold <sds@gnu.org>
2340
2341 * files.el (file-name-base): New convenience function.
0d14cc21
GM
2342 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2343 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2344 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2345 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2346 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
2347 * textmodes/tex-mode.el: Use it.
2348 Did not touch cedet and org because they are maintained elsewhere.
2349
5cf983b2
MR
23502012-06-26 Martin Rudalics <rudalics@gmx.at>
2351
2352 * calendar/calendar.el (calendar-exit): Don't try to delete or
2353 iconify last frame. See:
2354 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2355
8c4f2952
JD
23562012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2357
2358 * server.el (server-process-filter): Remember dir in the
2359 process's `server-client-directory' properties.
2360
772b2e2c
CY
23612012-06-24 Chong Yidong <cyd@gnu.org>
2362
2363 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2364 non-tag text.
2365
711b11e1
JB
23662012-06-23 Juanma Barranquero <lekktu@gmail.com>
2367
2368 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2369
dc5d230c
SM
23702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * help-fns.el (describe-variable): Don't croak when doc is not found.
2373 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2374 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2375 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2376 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2377 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2378 ((lambda ..) ..).
2379 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2380
136e1c1d
CY
23812012-06-23 Chong Yidong <cyd@gnu.org>
2382
e8c1cabf
CY
2383 * info.el (Info-mouse-follow-link): Accept symbol values of
2384 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
2385 (Info-fontify-node): Use Info-link-keymap for all navigation
2386 buttons, with link-args property to perform the desired action.
2387 (Info-link-keymap): Doc fix.
2388 (Info-next-link-keymap, Info-prev-link-keymap)
2389 (Info-up-link-keymap): Delete now-unused keymaps.
2390
0e9e6c6a
CY
23912012-06-23 Chong Yidong <cyd@gnu.org>
2392
05e89fea
CY
2393 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2394
0e9e6c6a
CY
2395 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2396 system abbrevs.
2397
2398 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2399
e33c6771
SM
24002012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2401
b68581e2
SM
2402 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2403 (bug#11719).
2404
e33c6771
SM
2405 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2406 the requote function doesn't work properly (bug#11714).
2407
7117e105
GM
24082012-06-23 Glenn Morris <rgm@gnu.org>
2409
2410 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2411
36cec983
SM
24122012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 Further GV/CL cleanups.
2415 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2416 gv-expander.
2417 (gv--defun-declaration): New function.
2418 (defun-declarations-alist): Use it.
2419 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2420 (gv-place): Autoload.
2421 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2422 original definition of dotimes and dolist.
2423 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2424 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2425 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2426 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2427 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2428 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2429 to the function's definition.
2430 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2431 * window.el:
2432 * files.el:
2433 * faces.el:
2434 * env.el: Don't use CL.
2435
d35af63c
PE
24362012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2437
2438 Support higher-resolution time stamps (Bug#9000).
2439
2440 * calendar/time-date.el (with-decoded-time-value): New arg
2441 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2442 (encode-time-value): New optional arg PICO. New type 3.
2443 (time-to-seconds) [!float-time]: Support the new picoseconds
2444 component if it's used.
2445 (seconds-to-time, time-subtract, time-add):
2446 Support ps-resolution time stamps as well.
2447
2448 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2449 (timerp): Timer vectors now have length 9, not 8.
2450 (timer--time): Support new-style (4-part) time stamps.
2451 (timer-next-integral-multiple-of-time): Time stamps now have
2452 picosecond resolution, so take a bit more care about rounding.
2453 (timer-relative-time, timer-inc-time): New optional arg psecs.
2454 (timer-set-time-with-usecs): Set psecs to 0.
2455 (timer--activate): Check psecs component, too.
2456
2457 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2458
ac77b21a
SM
24592012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2460
f143bfe3
SM
2461 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2462 Move the non-essential binding to the post/pre-command-hook where it is
2463 more obviously correct.
2464
ac77b21a
SM
2465 * subr.el (read-passwd): Don't use a history at all.
2466 * savehist.el (savehist-save): Remove password saved accidentally
2467 because of the above bug.
2468
76386c5a
BG
24692012-06-22 Bastien Guerry <bzg@gnu.org>
2470
2471 * files.el (toggle-read-only): Display a message telling whether
2472 the buffer is read-only or not (bug#11726).
2473
2ee3d7f0
SM
24742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * emacs-lisp/gv.el: New file.
2477 * subr.el (push, pop): Extend to generalized variables.
2478 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2479 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2480 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2481 gv-define-simple-setter, and gv-define-expander.
2482 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2483 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2484 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2485 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2486 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2487 gv-letplace.
2488 (cl-defstruct): Don't define setf-method any more.
2489 * emacs-lisp/cl.el (flet): Don't autoload.
2490 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2491 (define-setf-expander, defsetf, define-modify-macro)
2492 (cl-struct-setf-expander): Move from cl-lib.el.
2493 * emacs-lisp/syntax.el:
2494 * emacs-lisp/ewoc.el:
2495 * emacs-lisp/smie.el:
2496 * emacs-lisp/cconv.el:
2497 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2498 (timer--time): Use gv-define-simple-setter.
2499 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2500 to avoid coding-system problems in subr.el. Adjust all users.
2501 (macroexp--maxsize, macroexp-small-p): New functions.
2502 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2503 * scroll-bar.el (scroll-bar-mode):
2504 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2505 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2506 * winner.el (winner-configuration, winner-make-point-alist)
2507 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2508 * files.el (locate-file-completion-table): Avoid list*.
2509
c5695d1d
CY
25102012-06-22 Chong Yidong <cyd@gnu.org>
2511
2512 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2513 (dired-create-files): Doc fix (Bug#11329).
2514 (dired-do-copy): Doc fix (Bug#11334).
2515 (dired-mark-read-string): Doc fix (Bug#11553).
2516
2ee3d7f0
SM
2517 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2518 Doc fix (Bug#11326).
c5695d1d
CY
2519 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2520 (dired-dwim-target): Doc fix.
2521
2522 * wdired.el (wdired-mode): Doc fix.
2523
89b5595a
GM
25242012-06-22 Glenn Morris <rgm@gnu.org>
2525
575db3f1
GM
2526 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2527 (pcmpl-rpm-cache-stamp-file): New constant.
2528 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2529 (pcmpl-rpm-packages): Optionally cache list of packages.
2530
a4c8dd51
GM
2531 * pcmpl-rpm.el (pcmpl-rpm): New group.
2532 (pcmpl-rpm-query-options): New option.
2533 (pcmpl-rpm-packages): No need to inline it.
2534 Use pcmpl-rpm-query-options.
2535
89b5595a
GM
2536 * calendar/calendar.el (calendar-in-read-only-buffer):
2537 Avoid some needless mode changes.
2538
e76f0800
CY
25392012-06-21 Chong Yidong <cyd@gnu.org>
2540
2541 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2542 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2543 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2544
297a8f1d
CY
25452012-06-20 Chong Yidong <cyd@gnu.org>
2546
2547 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2548
d34c18b1
DR
25492012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2550
2551 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2552 (bug#11201).
2553
32f7f28e
CY
25542012-06-20 Chong Yidong <cyd@gnu.org>
2555
2556 * term.el (term-window-width): Handle the case of a missing right
2557 fringe (Bug#8837).
2558 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2559 (term-mode): Use define-derived-mode. Minor cleanups.
2560 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2561 (term-move-columns, term-insert-char, term-emulate-terminal)
2562 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2563
493c6688
MA
25642012-06-20 Michael Albinus <michael.albinus@gmx.de>
2565
d34c18b1
DR
2566 * net/ange-ftp.el (ange-ftp-get-passwd):
2567 Bind `enable-recursive-minibuffers'.
493c6688
MA
2568 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2569
3f06ecf4
DR
25702012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2571
2572 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2573
68f12411
GM
25742012-06-19 Glenn Morris <rgm@gnu.org>
2575
2576 * progmodes/python.el (python-mode): Derive from prog-mode.
2577
b3820318
KG
25782012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2579
2580 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2581 (edt-user-menu-bar-update-buffers): New functions.
2582 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2583
c6bf3022
CY
25842012-06-19 Chong Yidong <cyd@gnu.org>
2585
2586 * subr.el (with-selected-window): Preserve the selected window's
2587 terminal's top-frame (Bug#4702).
2588
2589 * window.el (save-selected-window): Likewise.
2590
25f09295
SM
25912012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * progmodes/python.el (python-rx-constituents): Move backquote.
2594 (python-skeleton-define, python-define-auxiliary-skeleton):
2595 Use `declare'.
2596
6b11952a
MA
25972012-06-18 Michael Albinus <michael.albinus@gmx.de>
2598
2599 * minibuffer.el (read-file-name-default): Revert the patch from
2600 2012-06-17.
2601
ee4b1330
SM
26022012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2605 (pcase--u1, pcase--q1): Don't use apply-partially.
2606
35647f79
GM
26072012-06-18 Glenn Morris <rgm@gnu.org>
2608
2609 * progmodes/python.el (python-proc, python-buffer)
2610 (python-send-receive, python-send-string): Fix obsolete versions.
2611
24b0cff0
MR
26122012-06-18 Martin Rudalics <rudalics@gmx.at>
2613
2614 * window.el (special-display-p): Completely remove stringp
2615 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2616
29855149
MA
26172012-06-17 Michael Albinus <michael.albinus@gmx.de>
2618
2619 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2620
2621 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2622
2623 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2624 * net/tramp-sh.el (tramp-maybe-open-connection):
2625 Throw if `non-essential' is non-nil.
2626
07463363
MR
26272012-06-17 Martin Rudalics <rudalics@gmx.at>
2628
2629 * window.el (special-display-p): Signal an error if BUFFER-NAME
2630 is not a string (Bug#11713).
2631
48d1354e
PE
26322012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2633
2634 * progmodes/python.el (python-info-beginning-of-backslash):
2635 Rename from python-info-beginning-of-backlash, as a spelling fix.
2636
eb4a8a9a
CY
26372012-06-17 Chong Yidong <cyd@gnu.org>
2638
2639 * term.el (term-emulate-terminal): If term-check-size is called,
2640 move point to the process mark without resetting point (Bug#4635).
2641
ddfbf826 26422012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2643
2644 * international/mule-cmds.el (mule-menu-keymap)
2645 (set-language-environment, set-locale-environment): Doc tweaks.
2646
9b0e3eba
AA
26472012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2648
2649 * cus-face.el (custom-face-attributes): Add wave-style underline
2650 attribute.
2651 * faces.el (set-face-attribute): Update docstring to describe
2652 wave-style underline attribute.
2653
771e3eae
CY
26542012-06-16 Chong Yidong <cyd@gnu.org>
2655
2656 * term/xterm.el (terminal-init-xterm): Discard input before
2657 querying background mode (Bug#10959).
2658
7ae2ea10
SM
26592012-06-16 Stefan Merten <smerten@oekonux.de>
2660
2661 * textmodes/rst.el: Added and corrected some comments.
2662 (rst-re-alist-def): Improve symbol syntax.
2663 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2664 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2665 (rst-official-version, rst-official-cvs-rev): Update version
2666 information.
7ae2ea10 2667
b6974efa
JB
26682012-06-15 Juanma Barranquero <lekktu@gmail.com>
2669
2670 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2671 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2672
8826d473
GM
26732012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2674
2675 * progmodes/python.el: New python.el merge.
2676 (python-guess-indent): Obsolete var.
2677 (python-indent-guess-indent-offset): New defcustom.
2678 (python-indent): Obsolete var.
2679 (python-indent-offset): New defcustom.
2680 (python-python-command, python-jython-command): Delete var.
2681 (python-shell-interpreter): New defcustom.
2682 (python-pdbtrack-do-tracking-p): Delete var.
2683 (python-pdbtrack-activate): New defcustom.
2684 (python-use-skeletons): Obsolete var.
2685 (python-skeleton-autoinsert): New defcustom.
2686 (inferior-python-filter-regexp, python-continuation-offset)
2687 (python-honour-comment-indentation, python-indent-string-contents)
2688 (python-jython-packages, python-mode-hook)
2689 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2690 (python-shell-prompt-alist)
2691 (python-source-modes): Delete defcustoms.
2692 (python-check-buffer-name, python-eldoc-setup-code)
2693 (python-eldoc-string-code, python-ffap-setup-code)
2694 (python-ffap-string-code, python-fill-comment-function)
2695 (python-fill-decorator-function, python-fill-paren-function)
2696 (python-fill-string-function, python-imenu-include-defun-type)
2697 (python-imenu-make-tree, python-imenu-subtree-root-label)
2698 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2699 (python-shell-compilation-regexp-alist)
2700 (python-shell-completion-module-string-code)
2701 (python-shell-completion-pdb-string-code)
2702 (python-shell-completion-setup-code)
2703 (python-shell-completion-string-code)
2704 (python-shell-enable-font-lock, python-shell-exec-path)
2705 (python-shell-extra-pythonpaths)
2706 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2707 (python-shell-process-environment)
2708 (python-shell-prompt-block-regexp)
2709 (python-shell-prompt-output-regexp)
2710 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2711 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2712 (python-shell-virtualenv-path): New defcustoms.
2713 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2714 (inferior-python-mode-syntax-table, python--prompt-regexp)
2715 (python-buffer, python-command python-python-command)
2716 (python-default-template, python-imports, python-indent-index)
2717 (python-indent-list, python-indent-list-length)
2718 (python-mode-running, python-pdbtrack-is-tracking-p)
2719 (python-preoutput-continuation, python-preoutput-leftover)
2720 (python-preoutput-result, python-preoutput-skip-next-prompt)
2721 (python-prev-dir/file, python-recursing)
2722 (python-saved-check-command, python-version-checked)
2723 (python-which-func-length-limit)
2724 (view-return-to-alist): Delete vars.
2725 (python-check-custom-command, python-dotty-syntax-table)
2726 (python-imenu-index-alist, python-indent-current-level)
2727 (python-indent-dedenters, python-indent-levels)
2728 (python-nav-beginning-of-defun-regexp)
2729 (python-nav-list-defun-positions-cache)
2730 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2731 (python-shell-internal-buffer)
2732 (python-skeleton-available): New vars.
2733 (def-python-skeleton): Delete macro.
2734 (python-skeleton-define): New macro.
2735 (python-define-auxiliary-skeleton, python-rx): New macros.
2736 (python-insert-class): Delete command.
2737 (python-skeleton-class): New command.
2738 (python-insert-def): Delete command.
2739 (python-skeleton-def): New command.
2740 (python-insert-for): Delete command.
2741 (python-skeleton-for): New command.
2742 (python-insert-if): Delete command.
2743 (python-skeleton-if): New command.
2744 (python-insert-try/except, python-insert-try/finally): Delete commands.
2745 (python-skeleton-try): New command.
2746 (python-insert-while): Delete command.
2747 (python-skeleton-while): New command.
2748 (python-backspace): Delete command.
2749 (python-indent-dedent-line-backspace): New command.
2750 (python-electric-colon): Delete command.
2751 (python-indent-electric-colon): New command.
2752 (python-guess-indent): Delete command.
2753 (python-indent-guess-indent-offset): New command.
2754 (python-shift-left): Delete command.
2755 (python-indent-shift-left): New command.
2756 (python-shift-right): Delete command.
2757 (python-indent-shift-right): New command.
2758 (python-find-function): Delete command.
2759 (python-nav-jump-to-defun): New command.
2760 (python-next-statement): Delete command.
2761 (python-nav-forward-sentence): New command.
2762 (python-previous-statement): Delete command.
2763 (python-nav-backward-sentence): New command.
2764 (python-fill-paragraph): Delete command.
2765 (python-fill-paragraph-function): New command.
2766 (python-send-buffer): Delete command.
2767 (python-shell-send-buffer): New command.
2768 (python-send-defun): Delete command.
2769 (python-shell-send-defun): New command.
2770 (python-send-region, python-send-region-and-go): Delete commands.
2771 (python-shell-send-region)
2772 (python-shell-switch-to-shell): New commands.
2773 (python-send-string): Delete command.
2774 (python-shell-send-string): New command.
2775 (python-switch-to-python): Delete command.
2776 (python-shell-switch-to-shell): New command.
2777 (python-describe-symbol): Delete command.
2778 (python-eldoc-at-point): New command.
2779 (python--set-prompt-regexp, python-args-to-list)
2780 (python-after-info-look, python-check-version)
2781 (python-check-comint-prompt, python-find-imports)
2782 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2783 (python-unload-function, python-expand-template)
2784 (python-maybe-jython, python-preoutput-filter)
2785 (python-pdbtrack-get-source-buffer)
2786 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2787 (python-pdbtrack-toggle-stack-tracking)
2788 (python-pdbtrack-track-stack-file, python-initial-text)
2789 (python-first-word, python-comment-line-p, python-send-command)
2790 (python-setup-brm, python-sentinel, python-set-proc)
2791 (python-skip-out, python-input-filter, python-outdent-p)
2792 (python-outline-level, python-backslash-continuation-line-p)
2793 (python-end-of-block, python-end-of-statement, python-mark-block)
2794 (python-beginning-of-block, python-beginning-of-statement)
2795 (python-blank-line-p, python-beginning-of-string)
2796 (python-open-block-statement-p): Delete functions.
2797 (python-indent-line, python-indent-line-1): Delete functions.
2798 (python-indent-line): New function.
2799 (python-indentation-levels): Delete function.
2800 (python-indent-calculate-levels): New function.
2801 (python-proc): Delete function.
2802 (python-shell-get-process): New function.
2803 (python-send-receive): Delete function.
2804 (python-shell-send-string-no-output): New function.
2805 (python-module-path): Delete function.
2806 (python-ffap-module-path): New function.
2807 (python-completion-at-point)
2808 (python-symbol-completions): Delete functions.
2809 (python-completion-complete-at-point): New function.
2810 (python-load-file): Delete function.
2811 (python-shell-send-file): New function.
2812 (python-calculate-indentation): Delete function.
2813 (python-indent-calculate-indentation): New function.
2814 (python-skip-comments/blanks): Delete function.
2815 (python-util-forward-comment): New function.
2816 (python-continuation-line-p): Delete function.
2817 (python-info-continuation-line-p): New function.
2818 (python-which-func, python-current-defun): Delete function.
2819 (python-info-current-defun): New function.
2820 (python-beginning-of-defun): Delete function.
2821 (python-nav-beginning-of-defun): New function.
2822 (python-close-block-statement-p)
2823 (python-block-end-p): Delete function.
2824 (python-info-closing-block): New function.
2825 (python-comint-output-filter-function)
2826 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2827 (python-fill-comment, python-fill-decorator, python-fill-paren)
2828 (python-fill-string, python-imenu-make-element-tree)
2829 (python-imenu-make-tree, python-imenu-tree-assoc)
2830 (python-indent-context, python-indent-dedent-line)
2831 (python-indent-line-function)
2832 (python-indent-post-self-insert-function)
2833 (python-indent-toggle-levels)
2834 (python-info-assignment-continuation-line-p)
2835 (python-info-beginning-of-backlash)
2836 (python-info-block-continuation-line-p)
2837 (python-info-closing-block-message)
2838 (python-info-line-ends-backslash-p)
2839 (python-info-looking-at-beginning-of-defun)
2840 (python-info-ppss-context, python-info-ppss-context-type)
2841 (python-nav-list-defun-positions, python-nav-read-defun)
2842 (python-nav-sentence-end, python-nav-sentence-start)
2843 (python-pdbtrack-comint-output-filter-function)
2844 (python-pdbtrack-set-tracked-buffer)
2845 (python-shell-calculate-exec-path)
2846 (python-shell-calculate-process-environment)
2847 (python-shell-completion--do-completion-at-point)
2848 (python-shell-completion--get-completions)
2849 (python-shell-completion-complete-at-point)
2850 (python-shell-completion-complete-or-indent)
2851 (python-shell-get-or-create-process)
2852 (python-shell-get-process-name)
2853 (python-shell-internal-get-or-create-process)
2854 (python-shell-internal-get-process-name)
2855 (python-shell-internal-send-string, python-shell-make-comint)
2856 (python-shell-parse-command, python-shell-send-setup-code)
2857 (python-skeleton-add-menu-items)
2858 (python-util-clone-local-variables, python-util-position)
2859 (run-python-internal, python-indentation-levels)
2860 (python-nav-beginning-of-defun)
2861 (python-completion-complete-at-point): New functions.
2862 (run-python): Change arguments. New API requirements.
2863
4302f5ba
SM
28642012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2865
f38ea36d
SM
2866 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2867 (bug#11649).
2868
2869 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2870 (macroexp--expand-all): Use it.
2871
4302f5ba
SM
2872 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2873 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2874 Use `cl-function' instead.
2875
33377562
JB
28762012-06-14 Juanma Barranquero <lekktu@gmail.com>
2877
2878 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2879 Suggested by Stefan Monnier while discussing bug#11657.
2880
54c5ba1a
SS
28812012-06-14 Sam Steingold <sds@gnu.org>
2882
2883 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2884
f9f1b1fe
AS
28852012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2886
2887 * play/doctor.el (doctor-doc): Remove parameter and use
2888 doctor-sent instead of sent.
2889 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2890
a81068ba
SM
28912012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2892
5a315f9c
SM
2893 * files.el: Require cl-lib.
2894 (file-name-non-special): Replace case -> cl-case.
2895
2896 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2897
a81068ba
SM
2898 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2899 mapping from #' to function*.
2900
8cca9703
CY
29012012-06-13 Chong Yidong <cyd@gnu.org>
2902
2903 * mouse.el (mouse-drag-track): Do not set the mark if the user
2904 releases the mouse without selecting anything (Bug#11588).
2905
a12ac9d7
SM
29062012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2907
ccf1dc18
SM
2908 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2909 as well (bug#11646).
2910
ef62b23d
SM
2911 * loadup.el: Count byte-code functions as well.
2912
c4c8444a
SM
2913 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2914 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2915
a12ac9d7
SM
2916 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2917 (bug#11649). Add cl-defun and cl-defmacro.
2918
87e6e64f
DA
29192012-06-13 Drew Adams <drew.adams@oracle.com>
2920
2921 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2922 Fix last change.
2923
682cefaf
MA
29242012-06-13 Michael Albinus <michael.albinus@gmx.de>
2925
2926 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2927 Otherwise, it blocks in batch mode.
2928
773e1f08
JB
29292012-06-13 Juanma Barranquero <lekktu@gmail.com>
2930
2931 * help-mode.el (bookmark-make-record-default): Declare.
2932
60057926
CY
29332012-06-13 Chong Yidong <cyd@gnu.org>
2934
2935 * emacs-lisp/package.el (list-packages): Compute a list of
2936 packages that are newly-available since the last list-packages
2937 invocation.
2938 (package-menu--new-package-list): New var.
2939 (package-menu--generate, package-menu--print-info)
2940 (package-menu--status-predicate, package-menu-mark-install):
2941 Handle new status label "new".
2942
ad4d226c
SM
29432012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2946 conversion to backquotes.
2947
f1a4e679
CY
29482012-06-12 Chong Yidong <cyd@gnu.org>
2949
2950 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2951 Rename from gud-inhibit-global-bindings.
2952
2953 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2954
2955 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2956 hook from nxml-glyph-set-hook.
2957
2958 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2959 declaration.
2960
2961 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2962
2963 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2964 Convert to defcustom.
2965
0c9e42b5
DA
29662012-06-12 Drew Adams <drew.adams@oracle.com>
2967
2968 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2969 New functions.
2970 (help-mode): Use them.
2971
09e06855
GM
29722012-06-11 Glenn Morris <rgm@gnu.org>
2973
2974 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2975 Use preprocessor face for directives.
2976 (fortran-directive-re): Doc fix.
2977
71adb94b
SM
29782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2eb87922
SM
2980 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2981 conversion to backquotes (bug#11652).
2982
71adb94b
SM
2983 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2984 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2985 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2986 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2987 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2988 (cl-ninth, cl-tenth): Mark them as inlinable.
2989 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2990 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2991 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2992 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2993 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2994 (cl-list*, cl-adjoin): Don't put an autoload manually.
2995 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2996 (cl--compiler-macro-list*): Add autoload cookie.
2997 (cl--compiler-macro-cXXr): New function.
2eb87922 2998
71adb94b
SM
2999 * help-fns.el (help-fns--compiler-macro): New function extracted from
3000 describe-function-1; follow aliases and use `compiler-macro' property.
3001 (describe-function-1): Use it.
3002
a6674402
CY
30032012-06-11 Chong Yidong <cyd@gnu.org>
3004
3005 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3006 is uninstalled, if imagemagick is installed.
3007
bb3faf5b
SM
30082012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * emacs-lisp/cl-lib.el: Use lexical-binding.
3011 (cl-map-extents, cl-maclisp-member): Remove.
3012 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3013 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3014 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3015 * emacs-lisp/cl-extra.el: Use lexical-binding.
3016 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3017 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3018 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3019 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3020 * emacs-lisp/cl-seq.el: Use lexical-binding.
3021 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3022 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3023 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3024 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3025 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3026 CL's internals.
3027
2fe4b125
MA
30282012-06-11 Michael Albinus <michael.albinus@gmx.de>
3029
3030 Sync with Tramp 2.2.6-pre.
3031
3032 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3033 `print-length' and `print-level' to nil, in order to avoid
3034 truncation. Reported by Christopher Schmidt
3035 <christopher@ristopher.com>.
3036
3037 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3038
3039 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3040 New defmacro.
3041 (tramp-compat-copy-directory): Add optional argument
3042 COPY-CONTENTS. It is not handled yet.
3043
3044 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3045 (tramp-ftp-file-name-p): Simplify.
3046
3047 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3048 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3049 connection vector.
3050
3051 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3052 (tramp-methods): Do not use `tramp-password-end-of-line'.
3053 (tramp-completion-function-alist-putty): Handle UNIX case.
3054 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3055 (tramp-do-file-attributes-with-stat)
3056 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3057 gid as real numbers. They could run out of integer range on cygwin.
3058 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3059 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3060 (tramp-open-connection-setup-interactive-shell):
3061 Use `tramp-cleanup'. Move check for busyboxes ...
3062 (tramp-find-shell): ... here. Simplify implementation.
3063 Set "remote-shell" property also for alternative shells.
3064 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3065 If failing, a regular file would be written otherwise.
3066 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3067 (tramp-find-inline-encoding): Cache the coding commands in the
3068 process cache. Apply test command on the remote side, if defined.
3069 (tramp-find-inline-compress): Cache the compress commands in the
3070 process cache.
3071 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3072 when requested. Handle hops.
3073 (tramp-current-connection): New defvar.
87e6e64f
DA
3074 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3075 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3076 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3077 (tramp-get-inline-compress, tramp-get-inline-coding):
3078 Read connection properties from the process cache.
2fe4b125
MA
3079
3080 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3081 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3082 New defconsts.
2fe4b125
MA
3083 (tramp-smb-prompt): Extend for powershell prompt.
3084 (tramp-smb-file-name-handler-alist): Add handlers for
3085 `process-file', `shell-command' and `start-file-process'.
3086 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3087 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3088 (tramp-smb-file-name-p): Simplify.
3089 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3090 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3091 (tramp-smb-shell-quote-argument): New defuns.
3092 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3093 Implement using "tar". By this, time-stamps are preserved.
3094 (tramp-smb-handle-copy-file): Handle also the case of directories.
3095 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3096 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3097 Use `tramp-get-connection-buffer').
2fe4b125
MA
3098 (tramp-smb-handle-rename-file): Use "rename", when source and
3099 target are on the same share.
87e6e64f
DA
3100 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3101 Use `tramp-smb-server-version'.
2fe4b125
MA
3102 (tramp-smb-wait-for-output): Remove prompt.
3103
3104 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3105 (tramp-methods, tramp-rsh-end-of-line):
3106 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3107 (tramp-save-ad-hoc-proxies): New defcustom.
3108 (tramp-completion-function-alist): Adapt docstring.
3109 (tramp-default-password-end-of-line): Remove defcustom.
3110 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3111 (tramp-user-regexp, tramp-file-name-regexp-unified)
3112 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3113 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3114 (tramp-remote-file-name-spec-regexp): New defconst.
3115 (tramp-file-name-structure): Extend structure for hops.
3116 (tramp-get-method-parameter): Move up.
3117 (tramp-file-name-p, tramp-dissect-file-name)
3118 (with-parsed-tramp-file-name): Handle hops.
3119 (tramp-file-name-hop): New defun.
3120 (tramp-make-tramp-file-name): New optional arg HOP.
3121 (tramp-message-show-progress-reporter-message): New defvar.
3122 (tramp-with-progress-reporter): Use it. We cannot use
3123 `tramp-message-show-message' here, because this suppresses also
3124 error buffers.
3125 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3126 `tramp-message-show-message' is nil.
3127 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3128 (tramp-cleanup): New defun.
3129 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3130 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3131 an error unchanged.
3132 (tramp-completion-handle-file-name-all-completions): Handle hops.
3133 Fix an error when called from ido.
3134 (tramp-completion-dissect-file-name): Use better local variable
3135 name. Add hop to the vector.
3136 (tramp-handle-insert-file-contents): Use progress-reporter for the
3137 whole scenario.
3138 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3139 to `t'.
3140 (tramp-check-for-regexp): Simplify search.
3141 (tramp-enter-password): Remove it. Move implementation ...
3142 (tramp-action-password): ... here.
3143 (tramp-mode-string-to-int, tramp-local-host-p)
3144 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3145 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3146 Set tramp-autoload cookie.
2fe4b125
MA
3147
3148 * net/trampver.el: Update release number.
3149
31502012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3151 Michael Albinus <michael.albinus@gmx.de>
3152
3153 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3154 (tramp-parse-group, tramp-parse-file)
3155 (tramp-parse-shostkeys-sknownhosts): New defuns.
3156 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3157 (tramp-parse-shosts-group, tramp-parse-sconfig)
3158 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3159 (tramp-parse-sknownhosts, tramp-parse-hosts)
3160 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3161 Use them.
3162 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3163 (tramp-parse-putty-group): Don't narrow.
3164 (tramp-parse-putty): Make a loop.
3165 (tramp-file-name-handler): Catch the `suppress' signal.
3166
72834e10
CY
31672012-06-11 Chong Yidong <cyd@gnu.org>
3168
3169 * image.el (imagemagick-register-types): Put the ImageMagick entry
3170 at the end of image-type-file-name-regexps.
3171
a4712e11
JB
31722012-06-11 Johan Bockgård <bojohan@gnu.org>
3173
3174 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3175 (pcase, pcase-let*, pcase-dolist): Use them.
3176
82ad98e3
SM
31772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * emacs-lisp/pcase.el (pcase--let*): New function.
3180 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3181 (pcase--expand): Use macroexp-let².
3182
f80efb86
SM
31832012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3186 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3187 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3188 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3189 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3190 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3191
31ca4639 31922012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3193
31ca4639
CY
3194 * mail/rmail.el (rmail-yank-current-message): Leave point at
3195 correct position. (Bug#11660)
94f0aa34 3196
31ca4639 31972012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3198
31ca4639 3199 * allout-widgets.el: Fix code header.
9e1b8ec4 3200
31ca4639 32012012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3202
f80efb86
SM
3203 * cus-edit.el (customize-changed-options-previous-release):
3204 Bump to 24.1.
31ca4639 3205
642b6d30
AS
32062012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3207
3208 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3209
4f5d2ba1
CY
32102012-06-09 Chong Yidong <cyd@gnu.org>
3211
3212 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3213
e75852fd
MR
32142012-06-09 Martin Rudalics <rudalics@gmx.at>
3215
3216 * window.el (special-display-popup-frame): Don't use
3217 window--display-buffer (Bug#11651).
3218
1e48e282
EZ
32192012-06-09 Eli Zaretskii <eliz@gnu.org>
3220
8a26b487
EZ
3221 Fix parallel builds: make sure loaddefs.el is not being written
3222 while Lisp files are compiled.
3223 (compile): Don't depend on 'mh-autoloads'.
3224 (compile-CMD, compile-SH): Depend on 'autoloads'.
3225 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3226
1e48e282
EZ
3227 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3228
6175e34b
CY
32292012-06-09 Chong Yidong <cyd@gnu.org>
3230
3231 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3232 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3233 Doc fixes (Bug#11225).
3234
d9857e53
SM
32352012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3238 a function if there's a clear indication that it has a compiler-macro.
3239 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3240 (macro-declarations-alist): Add arglist to declaration functions.
3241 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3242 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3243 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3244 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3245 Also add autoload to find the compiler macro.
3246 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3247 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3248 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3249 (cl--compiler-macro-get): New functions, replacing calls to
3250 cl-define-compiler-macro.
3251 (cl-typep) [compiler-macro]: Use macroexp-let².
3252
f81298f8 32532012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
3254
3255 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3256 string properly, fixes Bug#11473.
3257
4b56d0fe
CY
32582012-06-08 Chong Yidong <cyd@gnu.org>
3259
3260 * faces.el (set-face-attribute): Doc fix.
3261 (modify-face): Don't use :bold and :italic.
3262 (error, warning, success): Tweak definitions.
3263
3264 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3265 (custom-modified, custom-set, custom-changed, custom-themed)
3266 (custom-saved, custom-button, custom-button-mouse)
3267 (custom-button-pressed, custom-state, custom-comment-tag)
3268 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3269 (custom-group-subtitle): Use new-style face specs.
3270 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3271 (custom-set-face, custom-changed-face, custom-saved-face)
3272 (custom-button-face, custom-button-pressed-face)
3273 (custom-documentation-face, custom-state-face)
3274 (custom-comment-face, custom-comment-tag-face)
3275 (custom-variable-tag-face, custom-variable-button-face)
3276 (custom-face-tag-face, custom-group-tag-face-1)
3277 (custom-group-tag-face): Remove obsolete face alias.
3278
3279 * epa.el (epa-validity-high, epa-validity-medium)
3280 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3281 (epa-field-name, epa-field-body):
3282 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3283 (font-lock-keyword-face, font-lock-builtin-face)
3284 (font-lock-function-name-face, font-lock-variable-name-face)
3285 (font-lock-type-face, font-lock-constant-face):
3286 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3287 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3288 * speedbar.el (speedbar-button-face, speedbar-file-face)
3289 (speedbar-directory-face, speedbar-tag-face)
3290 (speedbar-selected-face, speedbar-highlight-face)
3291 (speedbar-separator-face):
3292 * whitespace.el (whitespace-newline, whitespace-space)
3293 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3294 (whitespace-line, whitespace-space-before-tab)
3295 (whitespace-space-after-tab, whitespace-indentation)
3296 (whitespace-empty):
3297 * emulation/cua-base.el (cua-global-mark):
3298 * eshell/em-prompt.el (eshell-prompt):
3299 * net/newst-plainview.el (newsticker-new-item-face)
3300 (newsticker-old-item-face, newsticker-immortal-item-face)
3301 (newsticker-obsolete-item-face, newsticker-date-face)
3302 (newsticker-statistics-face, newsticker-default-face):
3303 * net/newst-reader.el (newsticker-feed-face)
3304 (newsticker-extra-face, newsticker-enclosure-face):
3305 * net/newst-treeview.el (newsticker-treeview-face)
3306 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3307 (newsticker-treeview-immortal-face)
3308 (newsticker-treeview-obsolete-face)
3309 (newsticker-treeview-selection-face):
3310 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3311 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3312 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3313 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3314 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3315 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3316 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3317 (mpuz-text):
3318 * progmodes/vera-mode.el (vera-font-lock-number)
3319 (vera-font-lock-function, vera-font-lock-interface):
3320 * textmodes/table.el (table-cell): Use new-style face specs, and
3321 don't use the old :bold and :italic attributes.
3322
3323 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3324 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3325 (ebrowse-member-class, ebrowse-progress): Likewise.
3326 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3327 (ebrowse-file-name-face, ebrowse-default-face)
3328 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3329 (ebrowse-progress-face): Remove obsolete faces.
3330
3331 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3332 Inherit from error and warning faces respectively.
3333
3334 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3335 Likewise.
f80efb86
SM
3336 (flyspell-incorrect-face, flyspell-duplicate-face):
3337 Remove obsolete aliases.
4b56d0fe 3338
03310646
MA
33392012-06-08 Michael Albinus <michael.albinus@gmx.de>
3340
3341 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3342 Avoid infloop.
3343
513749ee
SM
33442012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * startup.el (argv, argi): Make lexically scoped.
3347 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3348 * emacs-lisp/cl-macs.el: Use lexical-binding.
3349 Rename cl-bind-* to cl--bind-*.
3350 * files.el: Don't require `cl' since it doesn't use it.
3351 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3352
595ef4ad
JB
33532012-06-08 Juanma Barranquero <lekktu@gmail.com>
3354
3355 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3356 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3357 instead of calling external sort utility.
3358 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3359
e9f66fcb
EZ
33602012-06-08 Eli Zaretskii <eliz@gnu.org>
3361
3362 * descr-text.el (describe-char): Mention how to insert the
3363 character, if the current input method doesn't support it.
3364 See the discussion in this thread for the details:
3365 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3366
3d10db47
SS
33672012-06-08 Sam Steingold <sds@gnu.org>
3368
3369 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3370 XF86Back to previous-buffer.
3371 (minibuffer-local-map): Bind them to next-history-element and
3372 previous-history-element respectively.
3373 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3374 help-go-back respectively.
3375 * info.el (Info-mode-map): Bind them to Info-history-forward and
3376 Info-history-back respectively.
3377 These are the keys next to Up on the ThinkPad keyboard.
3378
de7e2b36
SM
33792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3382 * emacs-lisp/cl-macs.el: Provide itself.
3383 (cl--labels-convert-cache): New var.
3384 (cl--labels-convert): New function.
3385 (cl-flet, cl-labels): New implementation with new semantics, relying on
3386 lexical-binding.
3387 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3388 (cl-closure-vars, cl--function-convert-cache)
3389 (cl--function-convert): Move from cl-macs.el.
3390 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3391 rename by removing the "cl-" prefix.
3392 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3393
6fa6c4ae
SM
33942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3397 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3398 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3399 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3400 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3401 (cl-hash-table-count): Add old compatibility aliases.
3402
3403 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3404 Use macroexpand-all-environment instead.
3405 (cl--old-macroexpand): New var.
3406 (cl--sm-macroexpand): New function.
3407 (cl-symbol-macrolet): Use it during macro expansion.
3408 (cl--function-convert-cache): New var.
3409 (cl--function-convert): New function, extracted from
3410 cl-macroexpand-all.
3411 (cl-lexical-let): Use it.
3412
3413 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3414 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3415 (cl-member): Remove old alias.
3416
3417 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3418 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3419 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3420 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3421 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3422 (cl-macroexpand-cmacs): Remove var.
3423 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3424 Use macroexpand-all instead.
3425
4dd1c416
SM
34262012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3429 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3430 (macroexp-copyable-p): New functions and macros.
3431 * emacs-lisp/edebug.el (edebug-unwrap):
3432 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3433 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3434 (pcase--let*): Remove.
3435 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3436 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3437 macroexp-const-p instead.
3438 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3439
3440 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3441 instead of "cl-" for internal definitions. Use macroexp-const-p.
3442 (cl-old-bc-file-form): Remove var.
3443 (cl-const-exprs-p): Remove fun.
3444 (cl-labels, cl-macrolet): Use backquote.
3445 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3446 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3447 (cl-define-setf-expander): Rename from cl-define-setf-method.
3448 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3449
3450 * international/mule-cmds.el: Don't require CL.
3451 (view-hello-file): Don't use `letf'.
3452
ed8bd4d7
SM
34532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3454
7287f2f3
SM
3455 * tmm.el (tmm-prompt): Use string-prefix-p.
3456 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3457 (tmm-add-prompt): Use minibuffer-completion-help.
3458 (tmm-delete-map): Remove.
3459
ed8bd4d7
SM
3460 * subr.el (kbd): Make it its own function.
3461
7b4cdbf4
SM
34622012-06-07 Stefan Merten <smerten@oekonux.de>
3463
3464 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3465 Silence compiler warnings. Fix versions.
ed8bd4d7 3466 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3467 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3468 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3469 (rst-package-emacs-version-alist): Correct Emacs version to
3470 represent major merge with upstream.
ed8bd4d7 3471 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3472
2b48d721
GM
34732012-06-06 Glenn Morris <rgm@gnu.org>
3474
3475 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3476 Only print environment variables if set.
3477
fa779ab0
SM
34782012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3481 (macroexp--cons): Rename from maybe-cons.
3482 (macroexp--accumulate): Rename from macroexp-accumulate.
3483 (macroexp--all-forms): Rename from macroexpand-all-forms.
3484 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3485 (macroexp--expand-all): Rename from macroexpand-all-1.
3486
628299e0
SS
34872012-06-06 Sam Steingold <sds@gnu.org>
3488
3489 * calendar/calendar.el (calendar-in-read-only-buffer):
3490 Call `special-mode' to enable the standard read-only keybindings.
3491
b7bb5838
SM
34922012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3495 with "loading" messages (bug#11635).
3496
dfb308ba
MA
34972012-06-06 Michael Albinus <michael.albinus@gmx.de>
3498
3499 * files.el (enable-remote-dir-locals): New option.
3500 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3501
0372ee92
MA
3502 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3503 Ensure, that the temp directory is local.
3504
3505 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3506 `temporary-file-directory'.
3507
eed0bb91
MA
3508 * progmodes/python.el (python-send-region): Ensure, that the
3509 temporary file is created also in the remote case.
3510
7a58f64d
GM
35112012-06-06 Glenn Morris <rgm@gnu.org>
3512
f7dd4e98
GM
3513 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3514 (vc-rcs-update-changelog): Use it.
3515
090bd7cb 3516 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3517
7a58f64d
GM
3518 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3519 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3520 (vc-sccs-diff): Replace use of the external vcdiff script.
3521
daed4003
GM
35222012-06-05 Glenn Morris <rgm@gnu.org>
3523
3524 * ledit.el: Move to obsolete/.
3525
48c455c7
SS
35262012-06-05 Sam Steingold <sds@gnu.org>
3527
ed9265fc 3528 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3529 patch (Bug#11140).
3530
57a7d507
SM
35312012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3532
090bd7cb 3533 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3534
53aacf21
SM
3535 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3536 compiler-macro expansion.
3537
57a7d507
SM
3538 Add native compiler-macro support.
3539 * emacs-lisp/macroexp.el (macroexpand-all-1):
3540 Support compiler-macros directly. Properly follow aliases and apply
3541 the compiler macros more thoroughly.
3542 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3543 macroexpand now properly follows aliases.
3544 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3545 (cl-compiler-macroexpand): Use new prop.
3546 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3547
3548 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3549
51a5f9d8
MR
35502012-06-05 Martin Rudalics <rudalics@gmx.at>
3551
3552 * window.el (get-lru-window, get-mru-window, get-largest-window):
3553 New argument NOT-SELECTED to avoid picking the selected window.
3554 (window--display-buffer-1, window--display-buffer-2): Replace by
3555 new function window--display-buffer
3556 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3557 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3558 Use window--display-buffer.
51a5f9d8
MR
3559 (display-buffer-use-some-window): Remove temporary dedication
3560 hack by calling get-lru-window and get-largest-window with
3561 NOT-SELECTED argument non-nil. Call window--display-buffer.
3562
08f9f738
GM
35632012-06-05 Glenn Morris <rgm@gnu.org>
3564
3565 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3566 Replace external vcdiff script.
3567
e364a2b7
SM
35682012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3571
041df390
CY
35722012-06-04 Chong Yidong <cyd@gnu.org>
3573
e364a2b7
SM
3574 * image.el (imagemagick-types-inhibit): Revert last change.
3575 Add INFO and M.
47b36b94 3576 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3577
7c1898a7
SM
35782012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * emacs-lisp/cl-lib.el: Rename from cl.el.
3581 * emacs-lisp/cl.el: New compatibility file.
3582 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3583 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3584 to obey the "cl-" prefix.
3585 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3586
0c3461de
GM
35872012-06-03 Glenn Morris <rgm@gnu.org>
3588
1e266c88
GM
3589 * emacs-lisp/authors.el (authors-aliases): Addition.
3590
0c3461de
GM
3591 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3592 Fix :version.
3593
d8a52e15
SM
35942012-06-03 Stefan Merten <smerten@oekonux.de>
3595
3596 * textmodes/rst.el: Add comments.
3597 (rst-transition, rst-adornment): New faces.
3598 (rst-adornment-faces-alist): Make default safe to reevaluate.
3599 Fixes
3600 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3601 Improve customization tags.
3602 (rst-define-level-faces): Clarify meaning.
3603
5205d6f6
CY
36042012-06-03 Chong Yidong <cyd@gnu.org>
3605
3606 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3607 (compilation-mode-line-run, compilation-mode-line-exit):
3608 New faces.
5205d6f6
CY
3609 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3610
757ee657
JD
36112012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3612
7c1898a7
SM
3613 * progmodes/which-func.el (which-func-update-ediff-windows):
3614 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3615
5f2c76c6
CY
36162012-06-03 Chong Yidong <cyd@gnu.org>
3617
3618 * bindings.el: Remove explicit help text from format-mode-line.
3619 It is now supplied by mode-line-default-help-echo.
3620 (mode-line-front-space, mode-line-end-spaces)
3621 (mode-line-misc-info): New variables.
3622 (mode-line-modes, mode-line-position): Move the default value to
3623 the variable definition.
3624 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3625 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3626 (mode-line-modified-help-echo): New functions.
3627 (mode-line-mule-info, mode-line-modified): Use them.
3628 (mode-line-eol-desc, propertized-buffer-identification):
3629 Consistency fixes for help text.
cbe46e5f
CY
3630 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3631 set-buffer-file-coding-system (Bug#289).
3632 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3633
f2d6a3df
SM
36342012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * simple.el (execute-extended-command): Set real-this-command
3637 (bug#11506).
3638
37269466
CY
36392012-06-02 Chong Yidong <cyd@gnu.org>
3640
3641 Remove incorrect uses of "modeline" in comments, docstrings, and
3642 function/variable names (Bug#10329).
3643
3644 * cus-edit.el (mode-line):
3645 * dframe.el (dframe-mouse-hscroll):
3646 * emacs-lisp/re-builder.el:
3647 * emacs-lisp/easy-mmode.el (define-minor-mode):
3648 * frame.el (set-frame-name):
3649 * help.el (lookup-minor-mode-from-indicator):
3650 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3651 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3652 (c-toggle-hungry-state):
3653 * progmodes/antlr-mode.el (antlr-language-alist):
3654 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3655 * progmodes/vhdl-mode.el (vhdl-mode):
3656 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3657 * term/ns-win.el (ns-face-at-pos):
3658 * term/sup-mouse.el (sup-mouse-report):
3659 * textmodes/flyspell.el (flyspell-mode-line-string):
3660 * textmodes/ispell.el (ispell-highlight-face):
3661 * textmodes/reftex-global.el:
3662 * vc/vc-arch.el (vc-arch-mode-line-string):
3663 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3664 * vc/vc-git.el (vc-git-mode-line-string):
3665 * vc/vc-hooks.el (vc-display-status)
3666 (vc-default-mode-line-string):
3667 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3668
3669 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3670
3671 * dired.el (dired-sort-set-mode-line): Rename from
3672 dired-sort-set-modeline. All callers changed.
3673
3674 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3675 eshell-status-in-modeline.
3676
3677 * foldout.el (foldout-mode-line-string): Rename from
3678 foldout-modeline-string. All callers changed.
3679 (foldout-update-mode-line): Rename from foldout-update-modeline.
3680
3681 * subr.el (redraw-modeline): Make into obsolete alias.
3682
3683 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3684 timeclock-modeline-display. Make old name an alias.
3685 (timeclock-update-mode-line): Likewise. All callers changed.
3686 (timeclock-mode-line-display): No need to check before using
3687 add-hook.
3688 (timeclock-relative, timeclock-day-over-hook)
3689 (timeclock-use-elapsed, timeclock-mode-string)
3690 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3691
3692 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3693 crisp-mode-modeline-string.
3694
3695 * play/solitaire.el (solitaire-build-mode-line): Rename from
3696 solitaire-build-modeline. All callers changed.
3697
3698 * play/zone.el (zone-hiding-mode-line): Rename from
3699 zone-hiding-modeline. All callers changed.
3700 (zone): Remove unusued `modeline-hidden-level' property.
3701
3702 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3703 xscheme-modeline-initialize. All callers changed.
3704
3705 * strokes.el (strokes-lighter): Rename from
3706 strokes-modeline-string.
3707
3708 * textmodes/sgml-mode.el (html-face-tag-alist)
3709 (html-tag-face-alist): Use mode-line face instead of obsolete
3710 alias modeline.
3711
42152ee4
SM
37122012-06-02 Stefan Merten <smerten@oekonux.de>
3713
3714 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3715 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3716
95f520b5
CY
37172012-06-02 Chong Yidong <cyd@gnu.org>
3718
3719 * image.el (imagemagick-enabled-types): Rename from
3720 imagemagick-types-enable. Add many more types.
3721 (imagemagick-types-inhibit): Change default to nil.
3722 (imagemagick-filter-types): Caller changed.
3723
4a5f187a
SM
37242012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3725
03fef3e6
SM
3726 * emacs-lisp/cl-macs.el: Use backquotes.
3727 (cl-transform-function-property): Use eval-and-compile rather than
3728 abusing `require'.
3729 (defstruct): Use declare-function instead of with-no-warnings.
3730
4a5f187a
SM
3731 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3732 (byte-compile-output-docform): Re-add the print-circle bindings.
3733 (byte-compile-fix-header): Use #$ just because it's shorter.
3734 (byte-compile-output-file-form): Remove defun/defmacro.
3735
bd56924f
MR
37362012-06-01 Martin Rudalics <rudalics@gmx.at>
3737
3738 * simple.el (choose-completion): Remove now obsolete binding for
3739 owindow.
3740
046e38ce
MA
37412012-06-01 Michael Albinus <michael.albinus@gmx.de>
3742
3743 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3744 in order to avoid "Stack overflow in regexp matcher".
3745
32d72c2f
GM
37462012-05-31 Glenn Morris <rgm@gnu.org>
3747
3748 * image.el: For clarity, call imagemagick-register-types at
3749 top-level, rather than relying on a custom :initialize.
3750 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3751 (imagemagick-filter-types): New function. (Bug#7406)
3752 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3753 If disabling support, remove elements altogether rather
3754 than using an impossible regexp.
3755 (imagemagick-types-inhibit): Give it the default init function.
3756
dd41169b
SM
37572012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3758
4a5f187a
SM
3759 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3760 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3761
efc00ab1 37622012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3763
3764 * desktop.el (desktop-read): Clear previous and next buffers for
3765 all windows and bury *Messages* buffer (bug#11556).
3766
500fcedc
SM
37672012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 Add `declare' for `defun'. Align `defmacro's with it.
3770 * emacs-lisp/easy-mmode.el (define-minor-mode)
3771 (define-globalized-minor-mode): Don't autoload the var definitions.
3772 * emacs-lisp/byte-run.el: Use lexical-binding.
3773 (defun-declarations-alist, macro-declarations-alist): New vars.
3774 (defmacro, defun): Use them.
3775 (make-obsolete, define-obsolete-function-alias)
3776 (make-obsolete-variable, define-obsolete-variable-alias):
3777 Use `declare'.
3778 (macro-declaration-function): Mark obsolete.
3779 * emacs-lisp/autoload.el: Use lexical-binding.
3780 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3781
6e8a1786
AM
37822012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3783
3784 * textmodes/ispell.el (ispell-with-no-warnings):
3785 Define as a macro.
500fcedc
SM
3786 (ispell-kill-ispell, ispell-change-dictionary):
3787 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3788 `interactive-p'.
3789
61b108cc
SM
37902012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3793 (macro-declaration-function): Move var from C code.
3794 (macro-declaration-function): Define function with defalias.
3795 * emacs-lisp/macroexp.el (macroexpand-all-1):
3796 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3797 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3798 defun/defmacro any more.
3799 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3800 Provide fallback for unknown arglist.
3801 (byte-compile-arglist-warn): Change calling convention.
3802 (byte-compile-output-file-form): Move print-vars binding.
3803 (byte-compile-output-docform): Simplify accordingly.
3804 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3805 (byte-compile-defmacro-declaration): Remove.
3806 (byte-compile-file-form-defmumble): Generalize to defalias.
3807 (byte-compile-output-as-comment): Return byte-positions.
3808 Simplify callers accordingly.
3809 (byte-compile-lambda): Use `assert'.
3810 (byte-compile-defun, byte-compile-defmacro): Remove.
3811 (byte-compile-file-form-defalias):
3812 Use byte-compile-file-form-defmumble.
3813 (byte-compile-defalias-warn): Remove.
3814
6d3f7c2f
SM
38152012-05-29 Stefan Merten <smerten@oekonux.de>
3816
3817 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3818 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3819
3820 (rst-mode-abbrev-table): Merge definition.
3821 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3822 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3823
6dbaa1c7
UJ
38242012-05-29 Ulf Jasper <ulf.jasper@web.de>
3825
3826 * calendar/icalendar.el
3827 (icalendar-export-region): Export UID properly.
3828
d209e2fb 38292012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3830 * calendar/icalendar.el (icalendar-import-format):
3831 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3832 (icalendar-import-format-uid): New.
3833 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3834 Export UID.
3835
6876a58d
SM
38362012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3839 different alternative patterns.
3840 (pcase-codegen): Be more careful to preserve identity.
3841 (pcase--u1): Don't forget to mark vars as used.
3842
3843 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3844 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3845 (byte-compile-from-buffer): ...rather than here.
3846
3847 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3848 functions from byte-compile-function-environment.
3849
46b7967e
TN
38502012-05-29 Troels Nielsen <bn.troels@gmail.com>
3851
3852 * window.el (window-deletable-p): Avoid deleting the root window
3853 of a frame with an active minibuffer.
3854
69d565e2
MR
38552012-05-29 Martin Rudalics <rudalics@gmx.at>
3856
3857 * simple.el (choose-completion): Use quit-window (Bug#11567).
3858
a149fa51
CY
38592012-05-29 Chong Yidong <cyd@gnu.org>
3860
3861 * whitespace.el (whitespace-cleanup): Fix usage of
3862 whitespace-empty-at-bob-regexp (Bug#11492).
3863
2b311310
AH
38642012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3865
3866 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3867 revert (Bug#11488).
3868
b9cb2387
JL
38692012-05-29 Juri Linkov <juri@jurta.org>
3870
3871 * isearch.el (isearch-mode-map): Bind `M-s _' to
3872 `isearch-toggle-symbol'. Bind `M-s c' to
3873 `isearch-toggle-case-fold'.
3874 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3875 (isearch-forward): Add `M-s _' to the docstring.
3876 (isearch-forward-symbol, isearch-toggle-case-fold)
3877 (isearch-symbol-regexp): New functions. (Bug#11381)
3878
d5e61c1c
JL
38792012-05-29 Juri Linkov <juri@jurta.org>
3880
3881 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3882 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3883 a function, call it to get the regexp.
3884 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3885 property `isearch-message-prefix' instead of the string "word ".
3886 (isearch-search-fun-default): For the case of `isearch-word',
3887 return a lambda that calls re-search-forward/re-search-backward
3888 with a regexp returned by `word-search-regexp' or by the function
3889 in `isearch-word'.
3890
8cbd80f7
JL
38912012-05-29 Juri Linkov <juri@jurta.org>
3892
3893 * isearch.el (isearch-search-fun-default): New function.
3894 (isearch-search-fun): Move default part to the new function
3895 `isearch-search-fun-default'.
3896 (isearch-search-fun-function): Set the default value to
3897 `isearch-search-fun-default'. (Bug#11381)
3898
3899 * comint.el (comint-history-isearch-end):
3900 Use `isearch-search-fun-default'.
3901 (comint-history-isearch-search): Use `isearch-search-fun-default'
3902 and remove spacial case for `isearch-word'.
3903 (comint-history-isearch-wrap): Remove spacial case for
3904 `isearch-word'.
3905
3906 * hexl.el (hexl-isearch-search-function):
3907 Use `isearch-search-fun-default'.
3908
3909 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3910 Use `word-search-regexp' for `isearch-word'.
3911
3912 * misearch.el (multi-isearch-search-fun):
3913 Use `isearch-search-fun-default'.
3914
3915 * simple.el (minibuffer-history-isearch-search):
3916 Use `isearch-search-fun-default' and remove spacial case for
3917 `isearch-word'.
3918 (minibuffer-history-isearch-wrap): Remove spacial case for
3919 `isearch-word'.
3920
3921 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3922 Remove spacial case for `isearch-word'.
3923 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3924
85c8c5b6
AM
39252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3926
3927 Decrease XEmacs incompatibilities.
3928 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3929 Use `string-match'.
3930 (flyspell-delete-region-overlays): Use alternative definition for
3931 XEmacs.
3932 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3933 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3934 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3935 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3936 `define-obsolete-face-alias' under XEmacs, but old method.
3937
3938 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3939 `with-no-warnings' definition or Emacs alias.
3940 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3941 (ispell-word): Do not use `region-p' if XEmacs.
3942
8cab9efc
AM
39432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3944
3945 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3946 Check for `ispell-dictionary-base-alist' instead of full
3947 `ispell-dictionary-alist'.
3948 (ispell-init-process): Show spellchecker when starting new Ispell
3949 process.
3950
fda91268
RZ
39512012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3954 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3955
694ea8e3
JB
39562012-05-27 Juanma Barranquero <lekktu@gmail.com>
3957
3958 * version.el (motif-version-string, gtk-version-string)
3959 (ns-version-string): Declare.
3960
e4d4f539
JL
39612012-05-27 Juri Linkov <juri@jurta.org>
3962
3963 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3964 after the `eval-defun-1' specialcaseing
3965 like in `edebug-eval-defun' (bug#10181).
3966
3967 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3968 like in `eval-defun-1'.
3969
33017faf 39702012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3971
fda91268
RZ
3972 * mail/sendmail.el (mail-yank-region):
3973 Recognize rmail-yank-current-message in addition to insert-buffer.
3974 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3975 a *mail* buffer created through rmail-start-mail with sendmail as
3976 mail-user-agent.
3977
33017faf
GM
39782012-05-27 Chong Yidong <cyd@gnu.org>
3979
3980 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3981 Default to 256 (Bug#11267).
3982
3983 * help.el (describe-mode): Doc fix.
3984
04188bb9
GM
39852012-05-26 Glenn Morris <rgm@gnu.org>
3986
38264cc9
GM
3987 * w32-fns.el (w32-init-info): Remove.
3988 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3989
eb7afdad
GM
3990 * info.el (info-initialize): For self-contained NS builds, put the
3991 included info/ directory at the front. (Bug#2791)
3992
04188bb9
GM
3993 * paths.el (Info-default-directory-list): Make it a defcustom,
3994 mainly so that we can use custom-initialize-delay.
3995
a179e3f7
SM
39962012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3997
43416392
SM
3998 * subr.el (buffer-has-markers-at): Mark obsolete.
3999
a179e3f7 4000 * subr.el (lambda): Use declare.
43416392 4001
a179e3f7
SM
4002 * emacs-lisp/lisp-mode.el (lambda):
4003 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4004
34a008d9
AH
40052012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4006
4007 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4008
0a3b289f
GM
40092012-05-26 Glenn Morris <rgm@gnu.org>
4010
4011 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4012
758c81e8
GM
40132012-05-25 Glenn Morris <rgm@gnu.org>
4014
f9f334f0
GM
4015 * paths.el: Remove no-byte-compile.
4016 * loadup.el: No need to load paths.el uncompiled.
4017
87eb79c2
GM
4018 * image.el (imagemagick-types-inhibit): Doc fix.
4019
758c81e8
GM
4020 * version.el: Remove no-byte-compile and associated formatting.
4021 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4022 is ancient code from when there was an "inc-vers.el".
4023
e7e85dc0
SM
40242012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * progmodes/gdb-mi.el: Minor style changes.
4027 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4028 Turn into minor modes.
4029 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4030 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4031 (gdb-shell): Remove unneeded let-binding.
4032 (gdb-get-many-fields): Eliminate O(n²) behavior.
4033
f31237a4
EZ
40342012-05-25 Eli Zaretskii <eliz@gnu.org>
4035
4036 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4037 platforms that don't link in fontset.c.
4038
bc1b21bb
JL
40392012-05-25 Juri Linkov <juri@jurta.org>
4040
4041 Use the same diff color scheme as in modern VCSes (bug#10181).
4042
4043 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4044 to avoid confusion with `diff-added' that now uses green colors.
4045 (diff-removed): Use shades of red.
4046 (diff-added): Use shades of green.
4047 (diff-changed): Leave just the yellow color.
4048 (diff-use-changed-face): New variable.
4049 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4050 how to highlight context diff changes.
4051 (diff-refine-change): Use shades of yellow.
4052 (diff-refine-removed): New face that uses shades of red.
4053 (diff-refine-added): New face that uses shades of green.
4054 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4055 `diff-refine-removed' in the call to `smerge-refine-subst'
4056 depending on the value of `diff-use-changed-face'.
4057
4058 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4059 (smerge-other): Use shades of green.
4060 (smerge-base): Use shades of yellow.
4061 (smerge-refined-change): Empty face.
4062 (smerge-refined-removed): New face that uses shades of red.
4063 (smerge-refined-added): New face that uses shades of green.
4064 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4065 args `props-r' and `props-a', and use them. Doc fix.
4066 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4067 on its value use different faces `smerge-refined-change',
4068 `smerge-refined-removed', `smerge-refined-added' in the call to
4069 `smerge-refine-subst'.
4070
4071 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4072 Add face condition `min-colors 88' with shades of red.
4073 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4074 `min-colors 88' with shades of green.
4075 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4076 `min-colors 88' with shades of yellow.
4077
6df9112c
GM
40782012-05-24 Glenn Morris <rgm@gnu.org>
4079
ead5edc0
GM
4080 * paths.el (prune-directory-list, remote-shell-program): Move to...
4081 * files.el (prune-directory-list, remote-shell-program): ...here.
4082 For the latter, delay initialization, prefer ssh, just search PATH.
4083
f18b81e6
GM
4084 * paths.el (term-file-prefix): Move to faces.el (the only user).
4085 * faces.el (term-file-prefix): Move here, make it a defcustom.
4086
ee2f89a6
GM
4087 * paths.el (news-directory, news-path, news-inews-program):
4088 Move to gnus/nnspool.el.
61a583ca 4089
f8815e4c
GM
4090 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4091
c8f3b42c
GM
4092 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4093 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4094 Make the latter a defcustom, with a delayed initialization.
4095
6df9112c
GM
4096 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4097 These were deleted from Gnus itself late 2010.
4098
5dadff36
JB
40992012-05-22 Juanma Barranquero <lekktu@gmail.com>
4100
9e1701c6
JB
4101 * progmodes/which-func.el (which-func-ff-hook):
4102 Check against user-error, not error.
4103
bd7239f5 4104 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4105 cl-specs.el, which no longer exists.
4106
3290526d
GM
41072012-05-22 Glenn Morris <rgm@gnu.org>
4108
4109 * info.el (info-emacs-bug): New command.
4110 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4111 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4112
ff0c3cfb
GM
41132012-05-21 Glenn Morris <rgm@gnu.org>
4114
4115 * makefile.w32-in (update-subdirs-SH):
4116 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4117
5814f126
SM
41182012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4119
a52c0aa0
SM
4120 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4121
5814f126
SM
4122 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4123 Simplify Maven regexp, and make sure the file can't start with a space
4124 (bug#11517).
4125
b847032c
GM
41262012-05-21 Glenn Morris <rgm@gnu.org>
4127
4128 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4129 Scrap superfluous subshells.
4130
3858bfe7
SM
41312012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4134 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4135
d14b0029
JB
41362012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4137
4138 * calc/calc.el (calc-ensure-consistent-units): New variable.
4139
a52c0aa0
SM
4140 * calc/calc-units.el (math-consistent-units-p)
4141 (math-check-unit-consistency): New functions.
4142 (calc-quick-units, calc-convert-units):
4143 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4144 is non-nil.
d14b0029
JB
4145 (calc-extract-units): Fix typo.
4146
60c4db3a
SM
41472012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4148
77f3b62e
SM
4149 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4150
60c4db3a
SM
4151 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4152 (flyspell-default-deplacement-commands): Don't spell check after
4153 repeated window/frame switches (e.g. triggered by mouse-movement).
4154 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4155 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4156 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4157 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4158 Remove unused vars.
4159 (flyspell-get-casechars, flyspell-get-not-casechars):
4160 Simplify; Don't bother removing a ] just to add it back.
4161 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4162
d209e2fb 41632012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4164
4165 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4166 New functions.
bd7239f5 4167 (math-function-table): Add support for more C functions.
b1a10716 4168
3f1b25b5
AM
41692012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4170
090bd7cb
JB
4171 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4172 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4173 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4174
b581bb5c
SM
41752012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4178 their respective macro declarations.
4179 * skeleton.el (define-skeleton):
4180 * progmodes/compile.el (define-compilation-mode):
4181 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4182 (define-ibuffer-filter):
4183 * emacs-lisp/generic.el (define-generic-mode):
4184 * emacs-lisp/easy-mmode.el (define-minor-mode)
4185 (define-globalized-minor-mode):
4186 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4187 * emacs-lisp/byte-run.el (defsubst):
4188 * custom.el (deftheme): Add doc-string metadata.
4189
70b8ef8f
SM
41902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4193
b1198e17
SM
41942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4195
9abdc45d
SM
4196 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4197
b1198e17
SM
4198 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4199 * emacs-lisp/cl-macs.el: Idem.
4200 * emacs-lisp/cl-specs.el: Remove.
4201
4735906a
SM
42022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 Minor renaming of internal CL functions and variables.
4205 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4206 (cl--position): Rename from cl-position.
4207 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4208 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4209 (cl--random-state): Rename from *random-state*.
4210
ac348012
SM
42112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4214 parens around the arg list (bug#11499).
4215
a0a79cde
JL
42162012-05-17 Juri Linkov <juri@jurta.org>
4217
4218 * isearch.el (word-search-regexp, word-search-backward)
4219 (word-search-forward, word-search-backward-lax)
4220 (word-search-forward-lax): Move functions from search.c
4221 (bug#10145, bug#11381).
4222
65034a51
AM
42232012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4224
090bd7cb
JB
4225 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4226 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4227 Delay for otherchars as for normal word components.
65034a51 4228
1a72a195
SM
42292012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * minibuffer.el (completion--sifn-requote): Fix last change.
4232 (minibuffer-local-must-match-filename-map):
4233 Move define-obsolete-variable-alias before its var.
4234
fdb058c2
SM
42352012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4236
c41045e6
SM
4237 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4238
036dfb8b
SM
4239 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4240 behavior.
4241 (completion--string-equal-p): New function.
4242 (completion--twq-all): Use it to get better assertion failure data.
4243
2473256d
SM
4244 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4245 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4246 (shell--requote-argument): New functions.
4247 (shell-completion-vars): Use them.
4248 (shell--parse-pcomplete-arguments): Rename from
4249 shell-parse-pcomplete-arguments.
4250 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4251 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4252 Obey comint-file-name-quote-list.
4253
fdb058c2
SM
4254 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4255 (smie-indent-keyword): Use it.
4256
51fa99f1
SM
42572012-05-14 Stefan Merten <smerten@oekonux.de>
4258
4259 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4260
e18afed7 42612012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
4262
4263 * net/rlogin.el (rlogin-mode-map): Fix last change.
4264
e18afed7 42652012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
4266
4267 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4268 the following \r\n using a single `process-send-string', since the
4269 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 4270 with two `process-send-string's (Bug#11444).
8633b1f4 4271
e18afed7 42722012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 4273
fdb058c2
SM
4274 * shell.el (shell-parse-pcomplete-arguments):
4275 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 4276
2d21d7f6
WJ
42772012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4278
e18afed7 4279 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
4280 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4281 (image-transform-width, image-transform-fit-width): New functions.
4282 (image-transform-properties): Use them.
4283 (image-transform-check-size): New function.
4284 (image-toggle-display-image): Use it (for testing).
4285 (image-transform-set-rotation): Reduce angle mod 360.
4286 Delete obsolete comment.
4287
7102e6d0
WJ
42882012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4289
4290 * image-mode.el: Fix scaling (bug#11399).
4291 (image-transform-resize): Doc fix.
4292 (image-transform-properties): Default scale is 1 and height should
4293 be an integer.
4294
06bc5e6e
SM
42952012-05-13 Johan Bockgård <bojohan@gnu.org>
4296
4297 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4298 than hard-coding `car', to fix misbehavior when moving forward.
4299
0ae03b6a
CY
43002012-05-13 Chong Yidong <cyd@gnu.org>
4301
4302 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4303 (tabulated-list-entries, tabulated-list-padding)
4304 (tabulated-list-sort-key): Make permanent-local.
4305
4306 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4307 (electric-buffer-list): Put electric buffer menu
4308 command descriptions in this docstring, instead of the docstring
4309 of electric-buffer-menu-mode. Code cleanups.
4310 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4311 Electric-buffer-menu-mode.
4312 (electric-buffer-update-highlight): Minor code cleanup.
4313
205a7391
MA
43142012-05-13 Michael Albinus <michael.albinus@gmx.de>
4315
4316 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4317 (Bug#11447)
4318
e5bd0a28
SM
43192012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 Move define-obsolete-variable-alias before the var's definition.
4322 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4323 * tooltip.el (tooltip-hook):
4324 * textmodes/reftex-toc.el (reftex-toc-map):
4325 * textmodes/reftex-sel.el (reftex-select-label-map)
4326 (reftex-select-bib-map):
4327 * textmodes/reftex-index.el (reftex-index-map)
4328 (reftex-index-phrases-map):
4329 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4330 * progmodes/meta-mode.el (meta-mode-map):
4331 * novice.el (disabled-command-hook):
4332 * loadhist.el (unload-hook-features-list):
4333 * frame.el (blink-cursor):
4334 * files.el (find-file-not-found-hooks, write-file-hooks)
4335 (write-contents-hooks):
4336 * emulation/tpu-edt.el (GOLD-map):
4337 * emacs-lock.el (emacs-lock-from-exiting):
4338 * emacs-lisp/generic.el (generic-font-lock-defaults):
4339 * emacs-lisp/chart.el (chart-map):
4340 * dos-fns.el (register-name-alist):
4341 * dired-x.el (dired-omit-files-p):
4342 * desktop.el (desktop-enable):
4343 * cus-edit.el (custom-mode-hook):
4344 * buff-menu.el (buffer-menu-mode-hook):
4345 * bookmark.el (bookmark-read-annotation-text-func)
4346 (bookmark-exit-hooks):
4347 * allout.el (allout-mode-deactivate-hook)
4348 (allout-exposure-change-hook, allout-structure-added-hook)
4349 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4350 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4351 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4352 comes before the corresponding variable's definition.
4353
ac59c2f6
CY
43542012-05-12 Chong Yidong <cyd@gnu.org>
4355
4356 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
4357 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4358 (Buffer-menu-mode-map): Bind it.
4359 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 4360
dee6c9a3
SM
43612012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4362
2171cea5
SM
4363 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4364 (prolog-upper-case-string, prolog-lower-case-string)
4365 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4366 (prolog-use-smie, prolog-smie-grammar): New vars.
4367 (prolog-smie-forward-token, prolog-smie-backward-token)
4368 (prolog-smie-rules): New funs.
4369 (prolog-comment-indent): Remove.
4370 (prolog-mode-variables): Use default comment indentation instead.
4371 Setup SMIE.
4372 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4373 (prolog-mode): Don't call them any more.
4374 (prolog-electric-colon, prolog-electric-dash)
4375 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4376
aa0382bd
SM
4377 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4378
dbacb4bd
SM
4379 * minibuffer.el (completion--twq-all): Again, allow case differences.
4380
13bdd94c
SM
4381 * term.el: Move keymap initialization code to be more idiomatic.
4382 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4383 (term-terminal-menu): Move initialization into declaration.
4384 (term-escape-char): Let the user set it in her .emacs.
4385
ff46c759
SM
4386 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4387 Provide SMIE-based indentation (not enabled by default yet).
4388 (sh-mode-map): Don't bind electric keys.
4389 Use electric-pair-mode instead of skeleton-pair.
4390 (sh-assignment-regexp): Fit within 80 columns.
4391 (sh-indent-supported): Specify actual shell name instead of boolean.
4392 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4393 (sh-maybe-here-document): Use it. Make obsolete.
4394 (sh-electric-here-document-mode) New minor mode.
4395 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4396 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4397 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4398 (sh-smie-rc-grammar, sh-use-smie): New vars.
4399 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4400 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4401 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4402 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4403 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4404 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4405 (sh-set-shell): Use smie-setup if requested.
4406
dee6c9a3
SM
4407 * term.el (term-set-escape-char): Properly set term-escape-char.
4408 See http://stackoverflow.com/questions/10524656.
4409
9f9aa044
CY
44102012-05-10 Chong Yidong <cyd@gnu.org>
4411
4412 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4413 Use url-generic-parse-url, and handle host names and Windows
4414 filenames properly.
4415 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4416 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4417 URL schemes to work on.
4418 (ffap--toggle-read-only): New function.
4419 (ffap-read-only, ffap-read-only-other-window)
4420 (ffap-read-only-other-frame): Use it.
4421 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4422 necessary for ffap-url-unwrap-remote.
4423
836d29b3
DA
44242012-05-10 Dave Abrahams <dave@boostpro.com>
4425
4426 * cus-start.el (create-lockfiles): Add it.
4427
00fd78ed
CY
44282012-05-09 Chong Yidong <cyd@gnu.org>
4429
4430 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4431 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4432
666b903b 44332012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
4434
4435 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4436
666b903b 44372012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
4438
4439 * ansi-color.el (ansi-color-process-output): Check for validity of
4440 comint-last-output-start before using it. This avoids a bad
4441 interaction with gdb-mi's input/output buffer.
4442
666b903b 44432012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4444
4445 * files.el (dir-locals-read-from-file):
4446 Mention dir-locals in any error message.
4447
666b903b 44482012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4449
4450 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4451 package (Bug#11410).
4452
f677562b
CY
4453 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4454 variables into description.
4455
666b903b 44562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4457
4458 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4459 shell-delimiter-argument-list (bug#11348).
4460 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4461
b499d8d0
JB
44622012-05-09 Juanma Barranquero <lekktu@gmail.com>
4463
8f6b6da8
JB
4464 * textmodes/rst.el: Silence byte-compiler warnings.
4465 (rst-re-alist, rst-reset-section-caches): Move around.
4466 (rst-re): Use `characterp', not `char-valid-p'.
4467 (font-lock-beg, font-lock-end): Declare.
4468
4824146a
JB
4469 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4470 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4471
b499d8d0
JB
4472 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4473
ad89bb83
GM
44742012-05-08 Glenn Morris <rgm@gnu.org>
4475
4476 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4477
8bba5a75
SM
44782012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4479
49ed9c8e
SM
4480 * vc/log-edit.el: Add GNU coding standards highlighting.
4481 (log-edit-font-lock-gnu-style)
4482 (log-edit-font-lock-gnu-keywords): New vars.
4483 (log-edit-font-lock-keywords): New fun.
4484 (log-edit-mode): Don't fold case in font-lock.
4485 (log-edit-font-lock-keywords): Do not assume case-folding.
4486
07d00b56
SM
4487 * imenu.el: Misc cleanup. Make docstrings out of comments.
4488 Use lexical-binding.
4489 (imenu--index-alist, imenu--last-menubar-index-alist)
4490 (imenu-menubar-modified-tick): Use defvar-local.
4491 (imenu--split-menu): Remove unused var.
4492 (imenu--cleanup-seen): Declare as global.
4493 (imenu--cleanup): Use dolist.
4494
8bba5a75
SM
4495 * subr.el (defvar-local): Add debug spec and doc-string position.
4496
5075bdb5
GM
44972012-05-08 Glenn Morris <rgm@gnu.org>
4498
090bd7cb 4499 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4500 * language/english.el, language/georgian.el, language/greek.el:
4501 * language/japanese.el, language/khmer.el, language/korean.el:
4502 * language/lao.el, language/misc-lang.el, language/romanian.el:
4503 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4504 * language/thai.el, language/utf-8-lang.el:
4505 Remove no-byte-compile setting.
4506
5075bdb5
GM
4507 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4508
06f679a7
AH
45092012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4510
4511 * progmodes/make-mode.el (makefile-browse):
4512 Remove unnecessary interactive. (Bug#11324)
4513
03794570
GM
45142012-05-07 Glenn Morris <rgm@gnu.org>
4515
af8630f4
GM
4516 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4517
03794570
GM
4518 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4519
f0809a9d
SM
45202012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4521
28be5ce7
SM
4522 * loadup.el: Preload newcomment.el.
4523 * newcomment.el: Move autoload-only code to toplevel.
4524
f0809a9d
SM
4525 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4526 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4527 Handle new :right-align column property.
4528 (tabulated-list-print-col): Idem, plus use `display' text-property to
4529 try and preserve alignment for variable pitch fonts.
4530
1241b724
CY
45312012-05-07 Chong Yidong <cyd@gnu.org>
4532
4533 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4534 (tabulated-list-use-header-line): New var.
4535 (tabulated-list-init-header): Use it.
4536 (tabulated-list-print-fake-header): New function.
4537 (tabulated-list-print): Use it.
4538 (tabulated-list-sort-button-map): Add non-header-line commands.
4539 (tabulated-list-init-header): Add column name property to basic
4540 labels as well.
4541 (tabulated-list-col-sort): Handle non-header-line button case.
4542 (tabulated-list--sort-by-column-name): Fix a corner case.
4543
f0809a9d
SM
4544 * buff-menu.el (list-buffers--refresh):
4545 Handle Buffer-menu-use-header-line.
1241b724 4546
e5f9458f
CY
45472012-05-06 Chong Yidong <cyd@gnu.org>
4548
4549 * buff-menu.el: Convert to Tabulated List mode.
4550 (Buffer-menu-buffer+size-width): Make obsolete.
4551 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4552 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4553 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4554 documentation into docstring of buffer-menu.
4555 (Buffer-menu-toggle-files-only): Add an informative message.
4556 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4557 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4558 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4559 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4560 (Buffer-menu-execute, Buffer-menu-select)
4561 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4562 (Buffer-menu-bury): Use Tabulated List machinery.
4563 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4564 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4565 Delete.
e5f9458f
CY
4566 (list-buffers--refresh): New function.
4567 (list-buffers-noselect): Use it.
4568 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4569 (Buffer-menu--pretty-file-name): New helper functions.
4570
4571 * loadup.el: Preload tabulated-list.
4572
4573 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4574 tabulated-list-sort-column.
4575 (tabulated-list-init-header): Add the initial aligning space even
4576 if tabulated-list-padding is zero.
4577
e129292c
CS
45782012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4579
4580 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4581 whose cdr is not a cons cell correctly (bug#11038).
4582
6632d361
CY
45832012-05-06 Chong Yidong <cyd@gnu.org>
4584
e129292c
CS
4585 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4586 Accept additional plist in column descriptors.
6632d361
CY
4587 (tabulated-list-init-header): Obey it.
4588 (tabulated-list-get-entry): New function.
4589 (tabulated-list-put-tag): Use it. Use string-width instead of
4590 length.
4591 (tabulated-list--column-number): New function.
4592 (tabulated-list-print): Use it.
e129292c
CS
4593 (tabulated-list-print-col): New function.
4594 Set `tabulated-list-column-name' property on each column's text.
6632d361 4595 (tabulated-list-print-entry): Use it.
e129292c
CS
4596 (tabulated-list-delete-entry, tabulated-list-set-col):
4597 New functions.
6632d361
CY
4598 (tabulated-list-sort-column): New command (Bug#11337).
4599
3cc99f68
CY
4600 * buff-menu.el (list-buffers): Move C-x C-b binding from
4601 buff-menu.el to bindings.el.
4602
4603 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4604 :advertised-binding feature.
4605
52b61776
TN
46062012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4607
4608 * progmodes/compile.el (compilation-internal-error-properties):
4609 Calculate start position correctly when end-col is set but
4610 end-line is not (Bug#11382).
4611
ebfe2597
WJ
46122012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4613
4614 * man.el (Man-unindent): Use text-property-default-nonsticky to
4615 prevent untabify from inheriting face properties (Bug#11408).
4616
6d3f7c2f
SM
46172012-05-05 Stefan Merten <smerten@oekonux.de>
4618
4619 * textmodes/rst.el: Major merge with upstream development up to
4620 Docutils SVN r7399 / rst.el V1.2.1.
4621
4622 Clarify maintainership and authors.
4623
4624 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4625 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4626 (rst-official-version, rst-official-cvs-rev, rst-version)
4627 (rst-package-emacs-version-alist): New functions and variables
4628 for version information.
4629
4630 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4631 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4632 (rst-mode-syntax-table, rst-mode): New and corrected functions
4633 and variables representing reStructuredText features.
4634
4635 (rst-re): New function for reStructuredText regexes. Use in
4636 many places.
4637
4638 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4639 (rst-mode-map): Rebind keys.
4640
4641 (rst-mode-lazy, rst-font-lock-keywords)
4642 (rst-font-lock-extend-region)
4643 (rst-font-lock-extend-region-internal)
4644 (rst-font-lock-extend-region-extend)
4645 (rst-font-lock-find-unindented-line-limit)
4646 (rst-font-lock-find-unindented-line-match)
4647 (rst-adornment-level, rst-font-lock-adornment-level)
4648 (rst-font-lock-adornment-match)
4649 (rst-font-lock-handle-adornment-pre-match-form)
4650 (rst-font-lock-handle-adornment-matcher): Major revision of
4651 font-locking. Integrate with other code. Use `jit-lock-mode'.
4652
4653 (rst-preferred-adornments, rst-adjust-hook)
4654 (rst-new-adornment-down, rst-preferred-bullets)
4655 (rst-preferred-bullets, rst-indent, rst-indent-width)
4656 (rst-indent-field, rst-indent-literal-normal)
4657 (rst-indent-literal-minimized, rst-indent-comment): Change,
4658 extend and improve customization.
4659
4660 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4661 (rst-normalize-cursor-position, rst-get-decoration)
4662 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4663 (rst-rstrip, rst-toc-insert-find-delete-contents)
4664 (rst-shift-fill-region, rst-compute-bullet-tabs)
4665 (rst-debug-print-tabs, rst-debug-mark-found)
4666 (rst-shift-region-guts, rst-shift-region-right)
4667 (rst-shift-region-left, rst-use-char-classes)
4668 (rst-font-lock-keywords-function)
4669 (rst-font-lock-indentation-point)
4670 (rst-font-lock-find-unindented-line-begin)
4671 (rst-font-lock-find-unindented-line-end)
4672 (rst-font-lock-find-unindented-line)
4673 (rst-font-lock-adornment-point, rst-font-lock-level)
4674 (rst-adornment-level-alist): Remove functions and variables.
4675
4676 (rst-compare-adornments, rst-get-adornment-match)
4677 (rst-suggest-new-adornment, rst-get-adornments-around)
4678 (rst-adornment-complete-p, rst-get-next-adornment)
4679 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4680 (rst-straighten-adornments): Standardize function names to
4681 use "adornment" instead of "decoration". Correct callers.
4682 Similar standardizing in many places.
4683
4684 (rst-update-section, rst-adjust, rst-promote-region)
4685 (rst-enumerate-region, rst-bullet-list-region)
4686 (rst-repeat-last-character): Correct use of `interactive'.
4687
4688 (rst-classify-adornment, rst-find-all-adornments)
4689 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4690 (rst-find-leftmost-column, rst-repeat-last-character):
4691 Refactor functions.
4692
4693 (rst-find-title-line, rst-reset-section-caches)
4694 (rst-get-adornments-around, rst-adjust-adornment-work)
4695 (rst-arabic-to-roman, rst-roman-to-arabic)
4696 (rst-insert-list-pos, rst-insert-list-new-item)
4697 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4698 New functions.
4699
4700 (rst-all-sections, rst-section-hierarchy)
4701 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4702 New variables.
4703
4704 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4705 configuration instead of only buffer. Change where necessary.
4706
4707 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4708 (rst-shift-region, rst-adaptive-fill): New functions for
4709 indentation and filling.
4710
4711 (rst-comment-line-break, rst-comment-indent)
4712 (rst-comment-insert-comment, rst-comment-region)
4713 (rst-uncomment-region): New functions for handling comments.
4714
4715 (rst-compile): Quote shell arguments.
4716
4717 (rst-compile-pdf-preview, rst-compile-slides-preview):
4718 Delete temporary files after use.
4719
a43f98b3
GM
47202012-05-05 Glenn Morris <rgm@gnu.org>
4721
48176e8b
GM
4722 * calendar/cal-html.el: Optionally include holidays in the output.
4723 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4724 (cal-html-holidays): New option.
4725 (cal-html-css-default): Add holiday entry.
4726 (holiday-in-range): Autoload it.
4727 (cal-html-htmlify-entry): Add optional class argument.
4728 (cal-html-htmlify-list): Add optional holidays argument.
4729 (cal-html-insert-agenda-days): Include holidays in the output.
4730 (cal-html-one-month): Maybe include holidays.
4731
a43f98b3
GM
4732 * calendar/holidays.el (holiday-in-range):
4733 Move here from cal-tex-list-holidays.
4734 * calendar/cal-tex.el (cal-tex-list-holidays):
4735 Make it an obsolete alias for holiday-in-range. Update all callers.
4736
fef9d149 47372012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4738
4739 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4740 Nextstep.
4741
248da2f4
RW
47422012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4743
4744 * files.el (file-auto-mode-skip): New var.
4745 (set-auto-mode-1): Use it.
4746
f95e9344
SM
47472012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4748
df96ab1e
SM
4749 * repeat.el: Use lexical-binding.
4750 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4751 (repeat-undo-count): Remove.
4752 (repeat):
4753 * progmodes/octave-mod.el (octave-abbrev-start):
4754 * progmodes/f90.el (f90-abbrev-start):
4755 * face-remap.el (text-scale-adjust):
4756 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4757
5342bb06
SM
4758 * emacs-lisp/pcase.el (pcase--let*): New function.
4759 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4760 a bit more.
4761 (pcase--split-pred): Be more clever about ruling out overlap between
4762 a predicate and some constant pattern.
4763 (pcase--q1): Use `null' instead of (eq foo nil).
4764
f95e9344
SM
4765 * subr.el (setq-local, defvar-local): New macros.
4766 (kbd): Redefine as an alias.
4767 (with-selected-window): Leave unrelated frames alone.
4768 (set-temporary-overlay-map): New function.
4769
71873e2b
SM
47702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * subr.el (user-error): New function.
4773 * window.el (switch-to-buffer):
4774 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4775 (smerge-match-conflict):
4776 * simple.el (previous-matching-history-element)
4777 (next-matching-history-element, goto-history-element, undo-more)
4778 (undo-start):
4779 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4780 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4781 (next-file, tags-loop-scan, list-tags, complete-tag):
4782 * progmodes/compile.el (compilation-loop):
4783 * mouse.el (mouse-minibuffer-check):
4784 * man.el (Man-bgproc-sentinel, Man-goto-page):
4785 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4786 (Info-history-forward, Info-follow-reference, Info-menu)
4787 (Info-extract-menu-item, Info-extract-menu-counting)
4788 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4789 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4790 (Info-next-reference, Info-prev-reference, Info-index)
4791 (Info-index-next, Info-follow-nearest-node)
4792 (Info-copy-current-node-name):
4793 * imenu.el (imenu--make-index-alist)
4794 (imenu-default-create-index-function, imenu-add-to-menubar):
4795 * files.el (basic-save-buffer, recover-file):
4796 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4797 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4798 (checkdoc-message-text, checkdoc-defun):
4799 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4800 * cus-edit.el (customize-changed-options, customize-rogue)
4801 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4802 (custom-variable-mark-to-reset-standard)
4803 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4804 (custom-file):
4805 * completion.el (check-completion-length):
4806 * comint.el (comint-search-arg)
4807 (comint-previous-matching-input-string-position)
4808 (comint-previous-matching-input)
4809 (comint-replace-by-expanded-history-before-point, comint-send-input)
4810 (comint-copy-old-input, comint-backward-matching-input)
4811 (comint-goto-process-mark, comint-set-process-mark):
4812 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4813 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4814
8a61ee22
SM
48152012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4816
66408d1e
SM
4817 * dabbrev.el (dabbrev--ignore-case-p): New function.
4818 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4819 Use it.
4820
8a61ee22
SM
4821 * files.el (automount-dir-prefix): Mark as obsolete.
4822
3c74813a
GM
48232012-05-04 Glenn Morris <rgm@gnu.org>
4824
4825 * patcomp.el, play/bruce.el: Move to obsolete/.
4826
0bfcf5c5
PE
48272012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4828
4829 Fix minor Y10k bugs.
4830 * arc-mode.el (archive-unixdate):
4831 * autoinsert.el (auto-insert-alist):
4832 * calc/calc-forms.el (math-this-year):
4833 * emacs-lisp/copyright.el (copyright-current-year)
4834 (copyright-update-year, copyright):
4835 * tar-mode.el (tar-clip-time-string):
4836 * time.el (display-time-update):
4837 Don't assume years have 4 digits.
4838
78f3273a
CY
48392012-05-04 Chong Yidong <cyd@gnu.org>
4840
4841 * dos-w32.el (file-name-buffer-file-type-alist)
4842 (direct-print-region-use-command-dot-com):
4843 * ffap.el (ffap-menu-regexp):
4844 * find-file.el (ff-special-constructs):
4845 * follow.el (follow-debug):
4846 * forms.el (forms--debug):
4847 * iswitchb.el (iswitchb-all-frames):
4848 * ido.el (ido-all-frames):
4849 * emacs-lisp/timer.el (timer-max-repeats):
4850 * mail/feedmail.el (feedmail-mail-send-hook)
4851 (feedmail-mail-send-hook-queued):
4852 * mail/footnote.el (footnote-signature-separator):
4853 * mail/mailabbrev.el (mail-alias-separator-string)
4854 (mail-abbrev-mode-regexp):
4855 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4856 * progmodes/idlwave.el (idlwave-libinfo-file)
4857 (idlwave-default-completion-case-is-down)
4858 (idlwave-library-routines): Convert defvars to defcustoms.
4859
4860 * mail/rmail.el (rmail-decode-mime-charset):
4861 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4862 (idlwave-shell-fix-inserted-breaks)
4863 (idlwave-shell-activate-alt-keybindings)
4864 (idlwave-shell-use-breakpoint-glyph):
4865 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4866
f7ae6719
SM
48672012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4870
47086495
WS
48712012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4872
4873 * progmodes/verilog-mode.el (font-lock-keywords):
4874 Fix mis-highligting auto. Reported by Craig Barner.
4875 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4876 defines from global name space. Reported by Dan Dever.
4877 (verilog-auto-reset, verilog-auto-reset-widths)
4878 (verilog-auto-tieoff): Support using unbased numbers for
4879 AUTORESET and AUTOTIEOFF.
4880 (verilog-submit-bug-report): Update variable list.
4881 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4882 parenthesis from not matching. Reported by Michael Rytting.
4883 (verilog-auto-template-lint): Fix hash error when linting modules
4884 with no used templates.
4885 (verilog-warn, verilog-warn-error)
4886 (verilog-warn-fatal): When non-interactive report multiple
4887 warnings before exiting. Suggested by Brad Dobbie.
4888 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4889 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4890 to report unused template errors. Reported by Brad Dobbie.
4891 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4892 nets, bug438. Reported by Vns Blore.
4893 (verilog-auto-inout-module, verilog-auto-reg)
4894 (verilog-read-decls, verilog-read-sub-decls-sig)
4895 (verilog-signals-edit-wire-reg, verilog-signals-with):
4896 Fix passing of Verilog data types in ANSI input/output ports
4897 such as "output logic" into the AUTOs. Special case "wire" and
4898 "reg" for backwards compatibility presuming Verilog 2001.
4899 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4900 (verilog-preprocess): Fix replication of preprocess output.
4901 Reported by Brad Dobbie.
4902 (verilog-auto-inst-interfaced-ports):
4903 Create verilog-auto-inst-interfaced-ports, bug429.
4904 Reported by Julian Gorfajn.
4905 (verilog-after-save-font-hook)
4906 (verilog-before-save-font-hook): New variable.
4907 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4908 (verilog-save-font-mods): Wrap disabling fontification, reported
4909 by David Rogoff.
4910 (verilog-do-indent, verilog-pretty-declarations-auto)
4911 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4912 Reported by Pierre-David Pfister.
4913 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4914 of class declarations, bug292. Reported by Kevin Heilman.
4915 (verilog-read-decls): Fix 'parameter type' not appearing in
4916 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4917 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4918 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4919 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4920 Reported by David Kravitz.
4921
49222012-05-03 Michael McNamara <mac@mail.brushroad.com>
4923
4924 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4925 assignment with tests in ifs and for loops.
4926 (verilog-extended-complete-re, verilog-complete-reg): Change so
4927 that DPI inport functions don't look like fuction declarations.
4928 (verilog-pretty-expr): Don't line up assignment
4929 operations to the test and increment in if and for loops
4930 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4931 that DPI inport functions don't look like fuction declarations.
47086495 4932
2e51d4b5
KH
49332012-05-03 Kenichi Handa <handa@m17n.org>
4934
4935 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4936 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4937 (Bug#11282).
4938
2bd785a2
SM
49392012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * emacs-lisp/bytecomp.el
4942 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4943 since cconv.el might have introduced :fun-body, internal-make-closure,
4944 and friends for bytecomp to handle (bug#11391).
4945 * custom.el (defcustom): Avoid ((λ ..) ..).
4946
99d27583
SM
49472012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4950
55a71479
JB
49512012-05-02 Juanma Barranquero <lekktu@gmail.com>
4952
4953 * notifications.el (dbus-debug):
4954 * term/linux.el (gpm-mouse-enable):
4955 * term/screen.el (xterm-register-default-colors): Declare.
4956
7b97c764
CY
49572012-05-02 Chong Yidong <cyd@gnu.org>
4958
2bc356d7
CY
4959 * cus-start.el (gc-cons-percentage, exec-suffixes)
4960 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4961 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4962 (make-cursor-line-fully-visible, void-text-area-pointer)
4963 (font-list-limit): Add customization data.
4964
7b97c764
CY
4965 * allout.el (allout-exposure-change-functions)
4966 (allout-structure-added-functions)
4967 (allout-structure-deleted-functions)
4968 (allout-structure-shifted-functions): Rename abnormal hooks from
4969 *-hook, and convert to defcustoms.
5d3385a0
JB
4970 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4971 Convert to defcustoms.
7b97c764
CY
4972 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4973
4974 * allout-widgets.el: Hook callers changed.
4975
90207a15 49762012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4977
4978 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4979 the yanked message in preference to the default value of
4980 buffer-file-coding-system.
4981
90207a15 49822012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4983
5d3385a0
JB
4984 * window.el (display-buffer--action-function-custom-type):
4985 Fix entry.
d9558cad 4986
90207a15 49872012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4988
4989 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4990
d80ac57b
GM
49912012-05-01 Glenn Morris <rgm@gnu.org>
4992
976f7668
GM
4993 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4994
beb83b5a
GM
4995 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4996
d80ac57b
GM
4997 * cus-edit.el (custom-variable-documentation): Simplify with format.
4998
b593d6a9 49992012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5000 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5001
5002 * simple.el (suggest-key-bindings, execute-extended-command):
5003 Move from keyboard.c.
5004
782fbf2a
CY
50052012-05-01 Chong Yidong <cyd@gnu.org>
5006
5007 * follow.el: Eliminate advice.
5008 (set-process-filter, process-filter, sit-for): Advice deleted.
5009 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5010 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5011 Vars deleted.
782fbf2a
CY
5012 (follow-auto): Use a :set function.
5013 (follow-mode): Rewritten. Don't advise process filters.
5014 (follow-switch-to-current-buffer-all, follow-scroll-up)
5015 (follow-scroll-down): Assume follow-mode is bound.
5016 (follow-comint-scroll-to-bottom)
5017 (follow-align-compilation-windows): New functions.
5018 (follow--window-sorter): New function.
5019 (follow-all-followers): Use it to explicitly sort windows by their
5020 positions; don't make assumptions about next-window order.
5021 (follow-windows-start-end, follow-delete-other-windows-and-split)
5022 (follow-calc-win-start): Doc fix.
5023 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5024 vertical-motion unnecessarily.
5025 (follow-adjust-window): New function.
5026 (follow-post-command-hook): Use it.
5027 (follow-call-set-process-filter, follow-call-process-filter)
5028 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5029 (follow-stop-intercept-process-output, follow-generic-filter):
5030 Functions deleted.
5031 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5032 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5033 New functions, replacing advice on scroll-bar-* commands.
87233a14 5034 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5035
5036 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5037 (comint-postoutput-scroll-to-bottom): Use it.
5038 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5039
290af740
GM
50402012-05-01 Glenn Morris <rgm@gnu.org>
5041
5042 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5043 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5044 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5045 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5046 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5047 Remove no-byte-compile setting.
5048
6eac8dc9
SM
50492012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5052 all-completions code to not return a number in the last cdr.
5053
9cc7819c
LL
50542012-04-30 Leo Liu <sdl.web@gmail.com>
5055
5056 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5057 read-only error.
5058
c93b886f
CY
50592012-04-29 Chong Yidong <cyd@gnu.org>
5060
5061 * follow.el (follow-calc-win-end): Rewrite to handle partial
5062 screen lines correctly (Bug#8390).
5063 (follow-avoid-tail-recenter): Minor cleanup.
5064
8b6c19f4
SM
50652012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 Avoid the obsolete `assoc' package.
5068 * speedbar.el (speedbar-refresh): Avoid adelete.
5069 (speedbar-file-lists): Simplify and avoid aput.
5070 * man.el (Man--sections, Man--refpages): New vars, replacing
5071 Man-sections-alist and Man-refpages-alist.
5072 (Man-build-section-alist, Man-build-references-alist):
5073 Use them; avoid aput.
5074 (Man--last-section, Man--last-refpage): New vars.
5075 (Man-follow-manual-reference): Use them.
5076 Use the `default' arg of completing-read.
5077 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5078
c5bb7569
CY
50792012-04-27 Chong Yidong <cyd@gnu.org>
5080
d1d2e2e8
CY
5081 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5082
15cd8efd
CY
5083 * startup.el (x-apply-session-resources): New function.
5084
5085 * term/ns-win.el (ns-initialize-window-system):
5086 * term/w32-win.el (w32-initialize-window-system):
5087 * term/x-win.el (x-initialize-window-system): Use it to properly
5088 set menu-bar-mode and other vars from X resources, even if the
5089 initial frame is not a window-system frame (Bug#2299).
5090
c5bb7569
CY
5091 * subr.el (read-key): Avoid running filter function when setting
5092 up temporary tool bar entries (Bug#9922).
5093
a8e7d6d7 50942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5095
5096 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5097 (Bug#11344)
5098
a8e7d6d7 50992012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5100
5101 * select.el (xselect--encode-string): New function, split from
5102 xselect-convert-to-string.
5103 (xselect-convert-to-string): Use it.
5104 (xselect-convert-to-filename, xselect-convert-to-os)
5105 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5106 returned strings are properly encoded (Bug#11315).
5107
a8e7d6d7 51082012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5109
5110 * simple.el (delete-active-region): Move to killing custom group.
5111
a8e7d6d7 51122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5113
5114 * progmodes/which-func.el (which-func-current): Quote %
5115 characters for mode-line processing.
5116
578c1d4b 51172012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5118
5119 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5120 reaching eob (Bug#11286).
5121
a8e7d6d7 51222012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5123
5124 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5125 (gdb): Make it buffer-local and init to zero.
5126 (gdb-control-commands-regexp): New variable.
5127 (gdb-send): Don't wrap in "-interpreter-exec console" if
5128 gdb-control-level is positive. Increment gdb-control-level
5129 whenever the command matches gdb-control-commands-regexp, and
5130 decrement it each time the command is "end". (Bug#11279)
5131
a8e7d6d7 51322012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5133
5134 * window.el (adjust-window-trailing-edge, enlarge-window)
5135 (shrink-window, window-resize):
5136 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5137 windows (Bug#11276).
5138
b3608390
CY
51392012-04-27 Chong Yidong <cyd@gnu.org>
5140
5141 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5142 fix "missing prefix" warning. All callers changed.
b3608390 5143
797e6e88
SM
51442012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * emacs-lisp/assoc.el: Move to obsolete/.
5147
e95a67dc
SM
51482012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5149
657c21e4 5150 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5151
5152 * term/ns-win.el (ns-define-service):
5153 * progmodes/pascal.el (pascal-goto-defun):
5154 * progmodes/js.el (js--read-tab):
5155 * progmodes/etags.el (tags-lazy-completion-table):
5156 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5157 * emacs-lisp/ewoc.el (ewoc--wrap):
5158 * emacs-lisp/assoc.el (aput, adelete, amake):
5159 * doc-view.el (doc-view-convert-current-doc):
5160 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5161
cb3e7ae0
CY
51622012-04-26 Chong Yidong <cyd@gnu.org>
5163
dce04f7f
CY
5164 * image.el (image-type-from-buffer): Only return supported image
5165 type (Bug#9045).
5166
cb3e7ae0
CY
5167 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5168 value, for symmetry with diff-end-of-hunk.
5169 (diff-split-hunk, diff-find-source-location)
5170 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5171 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5172 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5173 compute the relevant hunk or file properly (Bug#6005).
5174 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5175
0d42eb3e
SM
51762012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * vc/vc-mtn.el:
5179 * vc/vc-hg.el:
5180 * vc/vc-git.el:
5181 * vc/vc-dir.el:
5182 * vc/vc-cvs.el:
5183 * vc/vc-bzr.el:
5184 * vc/vc-arch.el:
5185 * vc/vc.el: Replace lexical-let by lexical-binding.
5186 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5187 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5188 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5189
f08ae1c9
CY
51902012-04-26 Chong Yidong <cyd@gnu.org>
5191
8b71081d
CY
5192 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5193 (diff-mode-shared-map): Bind it to / and [remap undo].
5194
f08ae1c9
CY
5195 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5196 (ediff-window-setup-function): Use it as the default, to set up
5197 windows based on whether the current frame is graphical (Bug#2138).
5198 (ediff-choose-window-setup-function-automatically): Make obsolete.
5199
5200 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5201
ef24141c
SM
52022012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5203
cc356a5d
SM
5204 * ffap.el: Remove old code for obsolete package.
5205 (ffap-complete-as-file-p): Remove.
5206
b4ff4f1f
SM
5207 Use completion-table-with-quoting for comint and pcomplete.
5208 * comint.el (comint--unquote&requote-argument)
5209 (comint--unquote-argument, comint--requote-argument): New functions.
5210 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5211 (comint-quote-filename): Use regexp-opt-charset.
5212 (comint--common-suffix, comint--common-quoted-suffix)
5213 (comint--table-subvert): Remove.
5214 (comint-unquote-function, comint-requote-function): New vars.
5215 (comint--complete-file-name-data): Use them with
5216 completion-table-with-quoting.
5217 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5218 * pcomplete.el (pcomplete-arg-quote-list)
5219 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5220 (pcomplete-unquote-argument-function): Default to non-nil.
5221 (pcomplete-unquote-argument): Simplify.
5222 (pcomplete--common-quoted-suffix): Remove.
5223 (pcomplete-requote-argument-function): New var.
5224 (pcomplete--common-suffix): New function.
5225 (pcomplete-completions-at-point): Use completion-table-with-quoting
5226 and completion-table-subvert.
5227
79c4eeb4
SM
5228 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5229 (minibuffer--double-dollars): Preserve properties.
5230 (completion--sifn-requote): New function.
5231 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5232
ef24141c
SM
5233 * minibuffer.el: Add support for completion of quoted/escaped data.
5234 (completion-table-with-quoting, completion-table-subvert): New funs.
5235 (completion--twq-try, completion--twq-all): New functions.
5236 (completion--nth-completion): New function.
5237 (completion-try-completion, completion-all-completions): Use it.
5238
784e7d6e
LL
52392012-04-25 Leo Liu <sdl.web@gmail.com>
5240
dd2ac746
SM
5241 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5242 Use compilation-message if available to find real filename.
784e7d6e 5243
07875ee7
CY
52442012-04-25 Chong Yidong <cyd@gnu.org>
5245
5246 * vc/diff-mode.el (diff-setup-whitespace): New function.
5247 (diff-mode): Use it.
5248
5249 * vc/diff.el (diff-sentinel):
5250 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5251 Whitespace mode variables based on diff style (Bug#8612).
5252
5055880d
LL
52532012-04-25 Leo Liu <sdl.web@gmail.com>
5254
daf75653
LL
5255 * progmodes/python.el (python-send-region): Add suffix .py to the
5256 temp file.
5257
5055880d
LL
5258 * files.el (auto-mode-alist): Use javascript-mode instead.
5259
db9b177b
AH
52602012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5261
ef24141c 5262 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 5263
090bd7cb 5264 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 5265 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 5266 references, see Bug#9.
ef24141c 5267 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 5268 when receiving a fault reply.
ef24141c 5269 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 5270
090bd7cb 5271 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 5272 (soap-inspect-simple-type): New function.
db9b177b 5273
090bd7cb 5274 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 5275 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
5276 (soap-decode-basic-type, soap-encode-basic-type):
5277 support unsignedInt and double basic types.
db9b177b 5278 (soap-resolve-references-for-simple-type)
ef24141c
SM
5279 (soap-parse-simple-type, soap-encode-simple-type): New function.
5280 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 5281
090bd7cb 5282 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
5283 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5284 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5285 the local name of "soapenc:Array".
5286 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
5287 decoding integer, byte and anyURI xsd types.
5288
1fc6097b
CY
52892012-04-25 Chong Yidong <cyd@gnu.org>
5290
5291 * cus-edit.el (custom-buffer-create-internal): Update header text.
5292
afc6df87
EZ
52932012-04-25 Eli Zaretskii <eliz@gnu.org>
5294
5295 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5296 settings on 'system-type', not on 'window-system'. On MS-Windows,
5297 set interactive-mode on in GDB.
5298
dfbd787f
SM
52992012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5302 (ruby-syntax-propertize-regexp): Remove.
5303 (ruby-syntax-propertize-function): Split regexp into chunks.
5304 Match following code directly.
5305
85222d44
DG
53062012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5307
51a8ea2a
DG
5308 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5309 (ruby-syntax-propertize-regexp): New function.
5310 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5311 by a special keyword.
5312
85222d44
DG
5313 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5314 (ruby-syntax-general-delimiters-goto-beg)
5315 (ruby-syntax-propertize-general-delimiters): New functions.
5316 (ruby-syntax-propertize-function): Use them to handle GDL.
5317 (ruby-font-lock-keywords): Move old handling of GDL...
5318 (ruby-font-lock-syntactic-keywords): .. to here.
5319 (ruby-calculate-indent): Adjust indentation for GDL.
5320
b613912b
MA
53212012-04-24 Michael Albinus <michael.albinus@gmx.de>
5322
b5380639
MA
5323 * notifications.el (top): Remove unneeded declarations.
5324 (notifications-specification-version): Change to "1.2".
e43042fe 5325 (notifications-interface, notifications-notify-method)
b613912b
MA
5326 (notifications-close-notification-method): Fix docstring.
5327 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
5328 (notifications-notify): Add :action-items, :resident and
5329 :transient hints. Change "image_data" to "image-data" and
5330 "image_path" to "image-path".
b613912b
MA
5331 (notifications-get-capabilities): New defun.
5332
257440aa
LL
53332012-04-24 Leo Liu <sdl.web@gmail.com>
5334
5335 * progmodes/python.el: Move hideshow setup to the end.
5336
b1bac16e
MR
53372012-04-24 Martin Rudalics <rudalics@gmx.at>
5338
5339 * window.el (handle-select-window): Clear echo area since this is
5340 no more done by read_char (Bug#11304).
5341
d81bd059
SM
53422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5345 and `/ M' to filter-derived-mode.
5346 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5347 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5348 (ibuffer-mark-by-mode): Use default rather than initial-input.
5349 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5350
c4cf6d91
IA
53512012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5352
5353 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5354 (ibuffer-filter-by-derived-mode): New filter.
5355 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5356
7511ded8
CY
53572012-04-23 Andreas Politz <politza@fh-trier.de>
5358
5359 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5360
775c916b
CY
53612012-04-23 Chong Yidong <cyd@gnu.org>
5362
5363 * cus-edit.el (customize-apropos, customize-apropos-options):
5364 Disable matching of non-option variables (Bug#11176).
5365 (customize-option, customize-option-other-window)
5366 (customize-changed-options): Doc fix.
5367 (customize-apropos-options, customize-apropos-faces)
5368 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5369
5370 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 5371 Fix word list splitting (Bug#11132).
46c71e23
CY
5372 (apropos-symbol, apropos-keybinding, apropos-label)
5373 (apropos-property, apropos-function-button)
5374 (apropos-variable-button, apropos-misc-button): New faces.
5375 (apropos-symbol-face, apropos-keybinding-face)
5376 (apropos-label-face, apropos-property-face, apropos-match-face):
5377 Variables removed (Bug#8396).
5378 (apropos-library-button, apropos-format-plist, apropos-print)
5379 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 5380
2df41f9c
MA
53812012-04-23 Michael Albinus <michael.albinus@gmx.de>
5382
5383 * net/xesam.el (xesam-mode-map): Use let-bound map in
5384 initialization. (Bug#11292)
5385
da00640a
AM
53862012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5387
5388 Preserve ispell session localwords when switching back to
5389 original buffer.
5390
090bd7cb
JB
5391 * textmodes/ispell.el (ispell-buffer-session-localwords):
5392 New buffer-local variable to hold buffer session localwords.
ed9265fc 5393 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
5394 localwords.
5395 (ispell-command-loop, ispell-change-dictionary)
5396 (ispell-buffer-local-words): Preserve session localwords when
5397 needed.
5398
090bd7cb
JB
5399 * textmodes/flyspell.el (flyspell-process-localwords)
5400 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 5401
f621ccf5
AM
54022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5403
090bd7cb
JB
5404 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5405 using obsolete `translation-table-for-input'.
ef24141c
SM
5406 (ispell-word, ispell-process-line, ispell-complete-word):
5407 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 5408
c2d1019e
CY
54092012-04-22 Chong Yidong <cyd@gnu.org>
5410
5411 * cus-edit.el (custom-variable-menu)
5412 (custom-variable-reset-saved, custom-face-menu)
5413 (custom-face-reset-saved): If there is no saved value, make the
5414 "reset-saved" operation bring back the default (Bug#9509).
5415 (custom-face-state): Properly detect themed faces.
5416
eeddc531
CY
5417 * faces.el (face-spec-set): Stop supporting deprecated form of
5418 third arg.
5419
dcbf5805
MA
54202012-04-22 Michael Albinus <michael.albinus@gmx.de>
5421
5422 Move functions from C to Lisp. Make non-blocking method calls
5423 the default. Implement further D-Bus standard interfaces.
5424
ef24141c
SM
5425 * net/dbus.el (dbus-message-internal): Declare function.
5426 Remove unneeded function declarations.
dcbf5805
MA
5427 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5428 (dbus-message-type-method-return, dbus-message-type-error)
5429 (dbus-message-type-signal): Declare variables. Remove local
5430 definitions.
5431 (dbus-interface-dbus, dbus-interface-peer)
5432 (dbus-interface-introspectable, dbus-interface-properties)
5433 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5434 Adapt docstring.
5435 (dbus-interface-objectmanager): New defconst.
5436 (dbus-call-method, dbus-call-method-asynchronously)
5437 (dbus-send-signal, dbus-method-return-internal)
5438 (dbus-method-error-internal, dbus-register-service)
5439 (dbus-register-signal, dbus-register-method): New defuns, moved
5440 from dbusbind.c
5441 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5442 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5443 New defuns.
dcbf5805
MA
5444 (dbus-call-method-non-blocking): Make it an obsolete function.
5445 (dbus-unregister-object, dbus-unregister-service)
5446 (dbus-handle-event, dbus-register-property)
5447 (dbus-property-handler): Obey the new structure of
5448 `bus-registered-objects'.
5449 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5450 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5451 Use `dbus-call-method'.
5452
cf20dee0
CY
54532012-04-22 Chong Yidong <cyd@gnu.org>
5454
5455 * cus-edit.el (custom-commands, custom-reset-menu)
5456 (Custom-reset-standard): Tweak labels.
5457 (custom-reset-button-menu): Change default to t.
5458 (custom-buffer-create-internal): For the custom-reset-button-menu
5459 case, put the revert button first.
5460 (custom-group-subtitle): New face.
5461 (custom-group-value-create): Align docstring to a specific column.
5462
5463 * wid-edit.el (widget-documentation-link-add): Don't handle
5464 indentation in this function.
5465 (widget-documentation-string-indent-to): New function.
5466 (widget-documentation-string-value-create): Use it.
5467
5468 * autorevert.el (auto-revert):
5469 * epg-config.el (epg):
5470 * ibuffer.el (ibuffer):
5471 * mpc.el (mpc):
5472 * ses.el (ses):
5473 * eshell/eshell.el (eshell):
5474 * net/ange-ftp.el (ange-ftp):
5475 * progmodes/ebnf2ps.el (postscript):
5476 * progmodes/flymake.el (flymake):
5477 * progmodes/prolog.el (prolog):
5478 * progmodes/verilog-mode.el (verilog-mode):
5479 * progmodes/which-func.el (which-func):
5480 * term/xterm.el (xterm):
5481 * textmodes/picture.el (picture):
5482 * textmodes/tildify.el (tildify):
5483 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5484 customization buffers.
5485
583e23bd
AM
54862012-04-22 Alan Mackenzie <acm@muc.de>
5487
5488 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5489 Adding a ) can hide the resulting (..) from searches. Fix it.
5490 Bound the backward search to the position of the existing (.
5491
7dd51bf1
JB
54922012-04-21 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * progmodes/verilog-mode.el (verilog-mode): Check whether
5495 which-func-modes is t before adding verilog-mode.
5496 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5497
d64a438f
LL
54982012-04-21 Leo Liu <sdl.web@gmail.com>
5499
7dd51bf1 5500 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5501
081e8d65
MV
55022012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5503
5504 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5505 filling of the last column of a table (Bug#5635).
5506 (woman-find-next-control-line): New arg, specifying an additional
5507 regexp component for the control line.
5508 (woman2-roff-buffer): Use it.
5509 (woman-break-table): New function.
5510 (woman2-TS): Use it.
5511
55122012-04-21 Chong Yidong <cyd@gnu.org>
5513
5514 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5515 (woman-horizontal-escapes, woman-negative-vertical-space)
5516 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5517 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5518
ed571ccb
SM
55192012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * minibuffer.el (completion-file-name-table): Complete user names.
5522
39773899
LL
55232012-04-20 Leo Liu <sdl.web@gmail.com>
5524
5525 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5526 and pcase-let*.
5527
de6ff46d
CY
55282012-04-20 Chong Yidong <cyd@gnu.org>
5529
5530 * server.el (server-execute): Respect initial-buffer-choice if it
5531 is a string and there are no files to open (Bug#2825).
5532 (server-create-window-system-frame, server-create-tty-frame):
5533 Don't switch buffers here.
2d0e8e61
CY
5534 (server-process-filter): Only try to open a window system frame if
5535 compiled with graphical support (Bug#8314).
de6ff46d 5536
54071013
DN
55372012-04-20 Dan Nicolaescu <dann@gnu.org>
5538
5539 * battery.el (battery-echo-area-format): Display remaining time
5540 for sysfs backend too (Bug#11269).
5541 (battery-linux-sysfs): Fix conditional for the charge.
5542
f30d612a
CY
55432012-04-20 Chong Yidong <cyd@gnu.org>
5544
c07a4c0b 5545 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5546 (gdb-inferior-io--init-proc): New function.
5547 (gdb-init-1): Use it.
5548 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5549 responsible for allocating a new pty and hooking it to gdb when
5550 the old pty gets an EIO due to process exit.
5551 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5552 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5553 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5554
2116e93c
EZ
55552012-04-20 Eli Zaretskii <eliz@gnu.org>
5556
5557 * window.el (window-min-size, window-sizable, window-min-delta)
5558 (window-max-delta, window--resizable, window-resizable)
5559 (window-total-size, window-full-height-p, window-full-width-p)
5560 (window-in-direction, window--resize-mini-window, window-resize)
5561 (window--resize-child-windows-normal)
5562 (window--resize-child-windows, window--resize-siblings)
5563 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5564 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5565
c07a4c0b 55662012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5567
ef24141c
SM
5568 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5569 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5570 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5571 pty process (Bug#11273).
5572 (gdb-update): New arg to suppress talking to the gdb process.
5573 (gdb-done-or-error): Use it.
5574 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5575 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5576 sentinel not being called.
5577
5578 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5579
d02766ab
CY
5580 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5581
c07a4c0b 55822012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5583
5584 * net/network-stream.el (open-network-stream): Doc fix.
5585
c07a4c0b 55862012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5587
5588 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5589
c07a4c0b 55902012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5591
5592 Ensure searching for keywords is case sensitive.
5593
5594 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5595 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5596 (c-defun-name, c-mark-function, c-cpp-define-name)
5597 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5598 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5599
ef24141c
SM
5600 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5601 Bind case-fold-search to nil.
f0f6bc35 5602
c07a4c0b 56032012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5604
5605 * mail/sendmail.el (mail-bury): Call return action with the right
5606 Rmail buffer (Bug#11242).
5607
9a864fa2
CY
5608 * server.el (server-process-filter): Handle corner case where both
5609 tty and nowait options are present (Bug#11102).
5610
539aa513
EZ
56112012-04-20 Eli Zaretskii <eliz@gnu.org>
5612
5613 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5614 (top level): Put into the executable the ident-style '$Id:' tag on
5615 windows-nt as well.
539aa513 5616
cfc7d5da
SM
56172012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * electric.el (electric-indent-post-self-insert-function): Check that
5620 electric-indent-mode is enabled in current buffer.
5621
5b01685c
JB
56222012-04-19 Juanma Barranquero <lekktu@gmail.com>
5623
5624 * imenu.el (imenu-progress-message): Restore; it is "used" in
5625 erc/erc-imenu.el and net/snmp-mode.el.
5626
4d6769e1
JB
56272012-04-19 Juanma Barranquero <lekktu@gmail.com>
5628
5629 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5630 (mouse-avoidance-nudge-mouse): Remove unused binding.
5631
5632 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5633
5634 * descr-text.el (describe-char):
5635 * progmodes/python.el (python-describe-symbol):
5636 Don't call `toggle-read-only', set `buffer-read-only'.
5637
5638 * imenu.el (imenu-default-goto-function): Mark unused args.
5639 (imenu-progress-message): Remove obsolete macro; all callers changed.
5640
5641 * subr.el (keymap-canonicalize): Remove unused binding.
5642 (read-passwd): Mark unused arg.
5643
5644 * tutorial.el (tutorial--display-changes): Remove unused binding.
5645 (tutorial--save-tutorial-to): Remove unused variable.
5646
5647 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5648 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5649 (package-generate-autoloads, package-menu--generate)
5650 (package-menu--find-upgrades): Remove unused bindings.
5651
5652 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5653 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5654 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5655 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5656 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5657 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5658 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5659 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5660 (cua-delete-char-rectangle): Mark unused args.
5661 (cua-align-rectangle): Remove unused binding.
5662
5663 * mail/rmail.el (compilation--message->loc)
5664 (epa--find-coding-system-for-mime-charset): Declare.
5665
5666 * net/dbus.el (dbus-register-service): Declare.
5667 (dbus-name-owner-changed-handler): Remove unused binding.
5668
5669 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5670 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5671 (nxml-scan-backward-within): Mark unused arg.
5672 (nxml-dynamic-markup-word): Remove unused binding.
5673
5674 * mouse.el (mouse-menu-major-mode-map):
5675 * emacs-lisp/authors.el (authors-scan-change-log)
5676 (authors-add-to-author-list):
5677 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5678 * emacs-lisp/smie.el (smie-auto-fill):
5679 * mail/sendmail.el (mail-bury):
5680 * mail/unrmail.el (unrmail):
5681 * net/tls.el (open-tls-stream):
5682 * textmodes/picture.el (picture-mouse-set-point):
5683 Remove unused bindings.
5684
8c8fc5df
MA
56852012-04-19 Michael Albinus <michael.albinus@gmx.de>
5686
5687 * net/tramp.el (tramp-action-password): Let-bind
5688 `enable-recursive-minibuffers' to t.
5689
a77b0ac9
SS
56902012-04-18 Sam Steingold <sds@gnu.org>
5691
5692 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5693 instead of 'string to accommodate values like [f11].
5694 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5695 * progmodes/gdb-mi.el: Likewise.
5696
12a106a9
LL
56972012-04-18 Leo Liu <sdl.web@gmail.com>
5698
5699 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5700 current buffer.
5701 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5702 LOCAL is nil.
5703
bc6494ef
CY
57042012-04-18 Chong Yidong <cyd@gnu.org>
5705
5706 * simple.el (line-move): Use forward-line if in batch mode
5707 (Bug#11053).
5708
c09c46b2
CS
57092012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5710
5711 * files.el (after-find-file): Do not try to add a final newline if
5712 the buffer is read-only (Bug#11156).
5713
5f6530ea
RS
57142012-04-17 Richard Stallman <rms@gnu.org>
5715
5716 * mail/rmail.el (rmail-start-mail):
5717 Pass (rmail-mail-return...) for the return-action.
5718 Pass (rmail-yank-current-message...) for the yank-action.
5719 (rmail-yank-current-message): New function.
5720 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5721 (rmail-reply): Likewise.
5722 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5723
5724 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5725 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5726 buffer, not newbuf.
5727
197b6f3c
JB
57282012-04-17 Juanma Barranquero <lekktu@gmail.com>
5729
5730 * server.el (server-ensure-safe-dir): Simplify.
5731
2311d8e5 57322012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5733
2311d8e5
GM
5734 * emacs-lisp/smie.el: Provide smarter auto-filling.
5735 (smie-auto-fill): New function.
5736 (smie-setup): Use it.
98fb480e 5737
2311d8e5
GM
5738 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5739
57402012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5741
5742 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5743 (comment-indent): Use it.
5744
2311d8e5 57452012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5746
5747 * ses.el: The overall change is to add cell renaming, that is
5748 setting fancy names for cell symbols other than name matching
5749 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5750 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5751 (ses-create-cell-variable): New defun.
2311d8e5 5752 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5753 (ses-relocate-formula): Relocate formulas only for cells the
5754 symbols of which are not renamed, i.e. symbols whose names do not
5755 match regexp "\\`[A-Z]+[0-9]+\\'".
5756 (ses-relocate-all): Relocate values only for cells the symbols of
5757 which are not renamed.
5758 (ses-load): Create cells variables as the (ses-cell ...) are read,
5759 in order to check row col consistency with cell symbol name only
5760 for cells that are not renamed.
5761 (ses-replace-name-in-formula): New defun.
5762 (ses-rename-cell): New defun.
4bdf2ad2 5763
fc72b15c
PO
57642012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5765
5766 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5767 New option (bug#11118).
5768 (perl-calculate-indent): Respect it.
5769
12e10e61
GM
57702012-04-17 Glenn Morris <rgm@gnu.org>
5771
5772 * dired-aux.el (dired-mark-read-string): Doc fix.
5773
30009afd
DA
57742012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5775
5776 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5777 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5778
41f03f4d
GM
57792012-04-17 Glenn Morris <rgm@gnu.org>
5780
5781 * mouse.el (mouse-drag-track):
5782 * speedbar.el (speedbar-frame-mode):
5783 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5784
f45f90f3
LL
57852012-04-16 Leo Liu <sdl.web@gmail.com>
5786
5787 * progmodes/python.el: Trivial cleanup.
5788
94ee8db5
GM
57892012-04-16 Glenn Morris <rgm@gnu.org>
5790
121b8917
GM
5791 * vc/vc.el (vc-string-prefix-p):
5792 * vc/pcvs-util.el (cvs-string-prefix-p):
5793 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5794 * mpc.el (mpc-string-prefix-p):
5795 Make all of these into obsolete aliases for string-prefix-p.
5796 Update callers.
5797 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5798
1197ecfa
GM
5799 * textmodes/two-column.el: Move custom options to the start.
5800 (frame-width): Remove compat definition.
5801 (2C-associate-buffer, 2C-dissociate):
5802 Use with-current-buffer rather than save-excursion.
5803 (2C-dissociate): Force a mode-line update.
5804 (2C-autoscroll): Use ignore-errors.
5805
099e7202
GM
5806 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5807 Autoload trivia.
5808
bf350d6a
GM
5809 * emacs-lisp/cl-extra.el (*random-state*):
5810 Remove unnecessary declaration.
5811
0e829eab
GM
5812 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5813
e3ad7552
GM
5814 * play/cookie1.el (cookie-snarf):
5815 Give an explicit error if input file cannot be read.
5816
68892d27
GM
5817 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5818
20f0c46d
GM
5819 * progmodes/perl-mode.el (c-macro-expand):
5820 Remove unnecessary autoload (it is in loaddefs.el).
5821
5a0978ce
GM
5822 * textmodes/picture.el (picture-desired-column)
5823 (picture-update-desired-column): Convert comments to doc-strings.
5824 (picture-substitute): Remove function.
5825 (picture-mode-map): Initialize in the defvar.
5826
6b955486
GM
5827 * woman.el: Remove eval-after-load for tar-mode.
5828 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5829 (woman-tar-extract-file): Autoload it.
5830
94ee8db5
GM
5831 * frame.el (automatic-hscrolling): Make this alias obsolete.
5832
177eca34
AM
58332012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5834
090bd7cb 5835 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5836 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5837 (ispell-dictionary-base-alist): Revert to original XEmacs
5838 friendly version for default. [:alpha:] will be added in
090bd7cb 5839 `ispell-set-spellchecker-params' if needed.
177eca34 5840
c505aaeb
CY
58412012-04-16 Chong Yidong <cyd@gnu.org>
5842
b19dd9d1 5843 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5844 (imagemagick-register-types): Use it.
5845 (imagemagick-types-inhibit): Add :set function. Allow new value
5846 of t to inhibit all types.
5847
5848 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5849 so we can preload it.
5850
5851 * loadup.el (fboundp): Preload regexp-opt, needed by
5852 imagemagick-register-types.
5853
60efac0f
CY
58542012-04-15 Chong Yidong <cyd@gnu.org>
5855
5856 * frame.el (scrolling): Remove nearly unused customization group.
5857
5858 * scroll-all.el (scroll-all-mode): Move to windows group.
5859
5dd1713e
CY
58602012-04-15 Chong Yidong <cyd@gnu.org>
5861
5862 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5863
e6fd457e
CY
58642012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5867 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5868
e153c136
GM
58692012-04-15 Glenn Morris <rgm@gnu.org>
5870
5871 * simple.el (process-file-side-effects): Doc fix.
5872
e6fd457e 58732012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5874
5875 * international/mule-cmds.el (set-language-environment): Doc fix.
5876
3603c3b1
JB
58772012-04-14 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * server.el (server-auth-key, server-generate-key): Doc fixes.
5880 (server-get-auth-key): Doc fix. Use `string-match-p'.
5881 (server-start): Reflow docstring.
5882
e6de100c
LI
58832012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5884
5885 * server.el (server-generate-key): `called-interactively-p'
5886 requires a parameter.
5887
29734c21
MN
58882012-04-14 Michal Nazarewicz <mina86@mina86.com>
5889
5890 * server.el (server-auth-key): New variable.
75f1671a 5891 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5892 (server-start): Use the new variable and functions to allow
5893 setting a permanent server key (bug#9423).
5894
d65c9521
LL
58952012-04-14 Leo Liu <sdl.web@gmail.com>
5896
5897 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5898
5ae255c7
PE
58992012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5900
5901 Spelling fixes.
5902 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5903 Emacs uses American spelling.
5904
d5e6342e
JB
59052012-04-14 Juanma Barranquero <lekktu@gmail.com>
5906
5907 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5908 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5909 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5910 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5911
ab036cd7
SM
59122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * progmodes/which-func.el (which-func-modes): Change default.
5915
35dc09a1 59162012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5917
5918 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5919 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5920
35dc09a1 59212012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5922
5923 * custom.el (custom-theme-set-variables): Doc fix.
5924
35dc09a1 59252012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5926
5927 * international/mule.el (set-auto-coding-for-load): Doc fix.
5928
35dc09a1 59292012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5930
35dc09a1
GM
5931 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5932 imenu work again for Objective C Mode. Correct the *-index values,
5933 these having been disturbed by a previous change in 2011-08.
57f845ee 5934
0de3da9f
AM
5935 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5936 Correct two search limits.
5937
35dc09a1 59382012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5939
5940 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5941
35dc09a1 59422012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5943
5944 * international/characters.el: Fix sorting.
5945
35dc09a1 59462012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5947
5948 * international/characters.el: Add more missing Latin case pairs.
5949
35dc09a1 59502012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5951
5952 * files.el (dir-locals-set-class-variables): Doc fix.
5953
35dc09a1 59542012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5955
3f1b5bf8
EZ
5956 * international/characters.el: Add set-case-syntax-pair call for
5957 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5958 counterpart. (Bug#11209)
5959
9f847f41
EZ
5960 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5961
35dc09a1 59622012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5963
5964 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5965
35dc09a1 59662012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5967
35dc09a1
GM
5968 * textmodes/ispell.el (ispell-dictionary-base-alist):
5969 Add data for Hebrew.
e2627d21 5970
35dc09a1 59712012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5972
35dc09a1
GM
5973 * net/rcirc.el (rcirc-cmd-quit):
5974 Revert 2012-03-18 change (Bug#11192).
5c14e333 5975
35dc09a1 59762012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5977
5978 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5979
35dc09a1 59802012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5981
4517fe3a
SM
5982 * minibuffer.el (completion-in-region-mode-map):
5983 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5984
b472a594
VD
59852012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5986
5987 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5988
09b95ce3
MY
59892012-04-13 Masatake YAMATO <yamato@redhat.com>
5990
5991 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5992 to allow `C-M-f' and `C-M-b' to move to the nearest path
5993 separator (bug#9511).
5994
4b63a9ca
LI
59952012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5996
5997 * avoid.el: Require cl when compiling. And also move the
5998 `provide' to the end.
5999
7b55b8bf
TV
60002012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6001
6002 * avoid.el (mouse-avoidance-banish-position): New variable.
6003 (mouse-avoidance-banish-destination): Use it (bug#10165).
6004
adedaa1f
LL
60052012-04-13 Leo Liu <sdl.web@gmail.com>
6006
6007 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6008
70e74021
KB
60092012-04-13 Ken Brown <kbrown@cornell.edu>
6010
6011 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6012 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6013 (browse-url-filename-alist): For the same reason, don't modify
6014 file:// URLs on Cygwin.
6015
e75e89ba
SM
60162012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6019 the region on shift if the binding is already shifted (bug#11221).
6020
82f289a4
GM
60212012-04-12 Glenn Morris <rgm@gnu.org>
6022
6023 * mail/mailpost.el: Move to obsolete/.
6024
d333dc4c
DA
60252012-04-12 Drew Adams <drew.adams@oracle.com>
6026
6027 * imenu.el (imenu--generic-function): Ignore invisible definitions
6028 (bug#10123).
6029
0d15b5ba
VD
60302012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6031
6032 * hexl.el (hexl-bits): New variable.
6033 (hexl-options): Mention the variable in the doc string.
75f1671a 6034 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6035 (hexl-mode): Mention the new variable.
75f1671a
JB
6036 (hexl-mode, hexl-current-address, hexl-current-address):
6037 Use the displen.
0d15b5ba
VD
6038 (hexl-ascii-start-column): New function.
6039 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6040 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6041
64a440db
AM
60422012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6043
6044 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6045 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6046 the encoding, as expected by hunspell.
6047
6decb6c2
SM
60482012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * battery.el (battery--linux-sysfs-regexp): New const.
6051 (battery-status-function): Use it. Remove yeeloong special case.
6052 (battery-yeeloong-sysfs): Remove.
6053 (battery-echo-area-format): Remove yeeloong special case.
6054
088be6fb
SM
60552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6622e416
SM
6057 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6058 Reported by Noah Friedman.
6059
088be6fb
SM
6060 * subr.el (read-passwd): Use read-string.
6061
b49f886e
LMI
60622012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6063
6064 * vcursor.el (vcursor-move): Increase the priority of the overlay
6065 (bug#9663).
6066
a63067fc
DD
60672012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6068
6069 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6070 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6071
ac3cf14a
WS
60722012-04-11 William Stevenson <yhvh2000@gmail.com>
6073
6074 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6075 define-minor-mode (bug#10760).
6076
c4fc691b 60772012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6078
4d6769e1 6079 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6080 that directories matching `grep-find-ignored-files' won't be
6081 pruned (bug#10351).
6082
af23e2e5
CY
60832012-04-11 Chong Yidong <cyd@gnu.org>
6084
6085 * startup.el (command-line): Remove support for long-obsolete
6086 variable font-lock-face-attributes.
6087
ab7ce8c1
GM
60882012-04-11 Glenn Morris <rgm@gnu.org>
6089
6090 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6091
de8c03dc
SM
60922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * window.el (window--state-get-1): Obey window-point-insertion-type.
6095
050cc68b
LB
60962012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6097
6098 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6099 to previous function when point is on the first character of a
75f1671a 6100 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6101
a38c310c
GM
61022012-04-11 Glenn Morris <rgm@gnu.org>
6103
effed0c2
GM
6104 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6105 not just file-errors.
6106
a38c310c
GM
6107 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6108 (vc-bzr-sha1): Use internal sha1.
6109
0221e323
SM
61102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6113
43956923
SG
61142012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6115
6116 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6117 that start in the middle of the line (bug#10496).
6118
6a8c9eaf
DN
61192012-04-10 Dan Nicolaescu <dann@gnu.org>
6120
6121 * battery.el (battery-linux-proc-acpi): Only one battery is
6122 discharged at a time, but that seems to confuse battery.el when
6123 computing `rate-type' for the battery not being discharged
6124 (bug#10332).
6125
1930bf5d
SM
61262012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6127
2a718f6f
SM
6128 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6129
599430d0
SM
6130 * international/quail.el: Use dolist and simplify.
6131 (quail-define-package, quail-update-keyboard-layout)
6132 (quail-define-rules): Use dolist.
6133 (quail-insert-kbd-layout, quail-get-translation): CSE.
6134
a2754b6c
SM
6135 * tmm.el: Use dolist, remove left over hook.
6136 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6137 Use dolist.
6138 (calendar-load-hook): Don't mess with it.
6139
1930bf5d
SM
6140 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6141 Use derived-mode-p. Run the diff asynchronously.
6142
9f67961c
LMI
61432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6144
6145 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6146
2a8ce227
JB
61472012-04-10 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6150 (list-dynamic-libraries--loaded): New function.
6151 (list-dynamic-libraries--refresh): Use it.
6152
8f33b5f8
NW
61532012-04-10 Nathan Weizenbaum <nweiz@google.com>
6154
1930bf5d
SM
6155 * progmodes/python.el (python-fill-paragraph):
6156 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6157 disabled (bug#7018).
6158
b12f0439
L
61592012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6160
1930bf5d 6161 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6162 DOS/MS Windows for the Baltic languages. There are still plenty
6163 of texts written in this encoding/codepage (bug#6519).
b12f0439 6164
57c3bd01
GM
61652012-04-10 Glenn Morris <rgm@gnu.org>
6166
6167 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6168 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6169
6c3eab30
FA
61702012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6171
1930bf5d 6172 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6173 next-line "n" and previous-line "p" in order to make recentf more
6174 consistent with ibuffer, dired or org-mode (bug#9387).
6175
24d78a88
LMI
61762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6177
bc72b5d9
LMI
6178 * image.el (put-image): Return the overlay created instead of the
6179 optional input string (bug#7834). Note that this may break code
6180 that is (for some reason or other) depending on `put-image'
6181 returning the string.
6182
bd2dba5a
LMI
6183 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6184
74beb59f
LMI
6185 * simple.el (zap-to-char): Allow zapping using input methods
6186 (bug#1580).
6187
24d78a88
LMI
6188 * textmodes/fill.el (fill-region): Leave point and mark where they
6189 were before filling (bug#5399).
6190
263f20cd
GM
61912012-04-09 Glenn Morris <rgm@gnu.org>
6192
6193 * version.el (emacs-bzr-get-version):
6194 Handle lightweight checkouts of local branches.
6195
58d1f797
AS
61962012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6197
263f20cd 6198 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6199
b4d3bc10
CY
62002012-04-09 Chong Yidong <cyd@gnu.org>
6201
6202 * custom.el (custom-variable-p): Return nil for non-symbol
6203 arguments instead of signaling an error.
6204 (user-variable-p): Obsolete alias for custom-variable-p.
6205
6206 * apropos.el (apropos-variable):
6207 * files-x.el (read-file-local-variable):
6208 * simple.el (set-variable):
6209 * woman.el (woman-mini-help):
6210 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6211
fd06db5d
GM
62122012-04-09 Glenn Morris <rgm@gnu.org>
6213
e5fcdb5e
GM
6214 * startup.el (normal-top-level): Don't look for leim-list.el
6215 in places where it will not be found. (Bug#910)
6216
fd06db5d
GM
6217 * international/mule-cmds.el (set-default-coding-systems):
6218 * files.el (normal-mode):
6219 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6220 This function was removed with ucs-tables.el in 2008.
6221
b39bb7e1
EZ
62222012-04-08 Eli Zaretskii <eliz@gnu.org>
6223
6224 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6225 ispell-encoding8-command to "-i", without a trailing space.
6226 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6227 separate command-line arguments, to specify the encoding, since
6228 that's how hunspell expects it.
6229
5c5b8e23
GM
62302012-04-08 Glenn Morris <rgm@gnu.org>
6231
6232 * loadup.el: Load bindings before cus-start.
6233 This reduces somewhat the number of "rogue" settings in emacs -Q.
6234
a1ed8b05
GM
62352012-04-07 Glenn Morris <rgm@gnu.org>
6236
6237 * version.el (emacs-bzr-get-version): New function.
dfae128a 6238 (emacs-bzr-version): New variable.
a1ed8b05
GM
6239 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6240 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6241
b142f158
EZ
62422012-04-07 Eli Zaretskii <eliz@gnu.org>
6243
dfae128a
GM
6244 * international/uni-bidi.el, international/uni-category.el:
6245 * international/uni-combining.el, international/uni-decimal.el:
6246 * international/uni-decomposition.el, international/uni-digit.el:
6247 * international/uni-lowercase.el, international/uni-mirrored.el:
6248 * international/uni-name.el, international/uni-numeric.el:
6249 * international/uni-titlecase.el, international/uni-uppercase.el:
6250 Update for Unicode 6.1.
b142f158 6251
9078ead6
EZ
62522012-04-07 Eli Zaretskii <eliz@gnu.org>
6253
6254 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6255
f23d2c7d
LMI
62562012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6257
6258 * window.el (shrink-window): Mention the `window-min-height'
6259 variable in the doc string.
6260
0a0a3573
BG
62612012-04-05 Bastien Guerry <bzg@altern.org>
6262
6263 * color.el (color-lighten-name): Fix typo.
6264
e5248ac9
SM
62652012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * server.el (server--on-display-p): New function.
6268 (server--on-display-p): Use it.
6269
b4243e22
GV
62702012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6271
6272 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6273 (bug#11145).
6274
305d9f44
SM
62752012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * comint.el (comint--common-quoted-suffix): Check string boundary
6278 before comparing (bug#11158).
6279 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6280
3d439cd1
CY
62812012-04-04 Chong Yidong <cyd@gnu.org>
6282
321cc491
CY
6283 * minibuffer.el (completion-extra-properties): Doc fix.
6284
3d439cd1
CY
6285 * subr.el (delayed-warnings-hook): Doc fix.
6286
2d562c0f
DU
62872012-04-04 Daiki Ueno <ueno@unixuser.org>
6288
6289 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6290 selection (Bug#11159).
6291 (epa-insert-keys): Inform that the default public key will be
6292 exported if no key is selected.
6293
4443f204
RS
62942012-04-04 Richard Stallman <rms@gnu.org>
6295
6296 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6297
529c06b6
CY
62982012-04-03 Chong Yidong <cyd@gnu.org>
6299
6300 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6301 mail-insert-file, not its obsolete alias mail-attach-file.
6302
66b907dc
MA
63032012-04-03 Michael Albinus <michael.albinus@gmx.de>
6304
6305 * notifications.el (notifications-notify): Fix docstring.
6306
c0ea195d
GM
63072012-04-02 Glenn Morris <rgm@gnu.org>
6308
6309 * emacs-lisp/authors.el (authors-aliases): Another addition.
6310
5ca64e00
MA
63112012-04-02 Michael Albinus <michael.albinus@gmx.de>
6312
6313 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6314 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6315 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6316
42ee526b
CY
63172012-04-01 Chong Yidong <cyd@gnu.org>
6318
6319 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6320 Handle root directory properly.
6321 (copy-directory): Caller changed.
6322
6323 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6324 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6325
0b021094
GM
63262012-03-31 Glenn Morris <rgm@gnu.org>
6327
40f86458
GM
6328 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6329
7019c177
GM
6330 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6331
a1daddd6
GM
6332 * calendar/calendar.el (calendar-window-list)
6333 (calendar-hide-window): Restore. (Bug#11140)
6334 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6335
0b021094
GM
6336 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6337
40311efc
TV
63382012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6339
6340 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6341 Check if file is a symlink (Bug#10489).
6342
6343 * files.el (copy-directory): Likewise.
6344
5319014e
CY
63452012-03-30 Chong Yidong <cyd@gnu.org>
6346
6347 * image.el (imagemagick-types-inhibit)
6348 (imagemagick-register-types): Doc fix.
6349
935d1290
AM
63502012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6351
090bd7cb 6352 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 6353 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 6354 and treats ~word as ordinary words in pipe mode.
935d1290 6355
61c6e8fd
GM
63562012-03-30 Glenn Morris <rgm@gnu.org>
6357
6358 * tutorial.el (help-with-tutorial): Ensure local variables don't
6359 happen to make the buffer read-only. (Bug#11127)
6360
81fdff00
SM
63612012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6364 (perl-calculate-indent): Return `noindent' in strings.
6365
6e7a6ec0
SS
63662012-03-28 Sam Steingold <sds@gnu.org>
6367
6368 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6369 instead of the broken adhockery which does not prevent calendar
6370 buffers from being displayed at random after exit.
6371 (calendar-window-list, calendar-hide-window): Remove the broken
6372 adhockery.
6373
fee88ca0
GM
63742012-03-28 Glenn Morris <rgm@gnu.org>
6375
6376 * replace.el (query-replace-map): Doc fix.
6377
38de3354
AS
63782012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6381 contents. (Bug#11109)
6382
b973155e
SM
63832012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6386 (bug#11077).
6387 (avl-tree--check, avl-tree--check-node): New funs.
6388
dcb6e7b3
MR
63892012-03-27 Martin Rudalics <rudalics@gmx.at>
6390
6391 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
6392 (switch-to-prev-buffer, switch-to-next-buffer):
6393 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
6394 showing a buffer already is done on the same frame.
6395
b4fa35fa
GM
63962012-03-27 Glenn Morris <rgm@gnu.org>
6397
6398 * startup.el (mail-host-address): Doc fix.
6399
f9210e18
SM
64002012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6403 than 197 variables.
6404
c0bf7753
AF
64052012-03-26 Ami Fischman <ami@fischman.org>
6406
6407 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6408
33da7b16
GM
64092012-03-26 Glenn Morris <rgm@gnu.org>
6410
02243d9d
GM
6411 * files.el (save-buffers-kill-emacs): Doc fix.
6412
33da7b16
GM
6413 * startup.el (normal-top-level, command-line, command-line-1):
6414 Give them doc strings.
6415
e5a69fd0
EZ
64162012-03-25 Eli Zaretskii <eliz@gnu.org>
6417
6418 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 6419 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 6420
9a69676a
CY
64212012-03-25 Chong Yidong <cyd@gnu.org>
6422
4125cb8b
CY
6423 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6424 theme if it was previously enabled before (Bug#11031).
6425
dd470960
CY
6426 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6427 spec with custom-face-get-current-spec if its :shown-value is not
6428 determined yet (Bug#9337).
4125cb8b 6429 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 6430
9a69676a
CY
6431 * button.el (button-at): Minor addition to docstring.
6432
6e7e90fa
SL
64332012-03-24 Simon Leinen <simon.leinen@gmail.com>
6434
6435 * vc/vc.el (vc-merge): Fix a prompt.
6436
f06e2758
CY
64372012-03-24 Chong Yidong <cyd@gnu.org>
6438
6439 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6440 point (Bug#9623).
6441
6e7e90fa
SL
6442 * button.el (button-at): Minor addition to docstring.
6443
b9d0879b
SM
64442012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * newcomment.el (comment-choose-indent): No space after BOL.
6447
e71cebb3
SS
64482012-03-22 Sam Steingold <sds@gnu.org>
6449
6450 * window.el (switch-to-prev-buffer): Revert last patch because the
6451 bug turned out to be an advertised feature (Elisp manual 28.14).
6452
335aff35
GM
64532012-03-22 Glenn Morris <rgm@gnu.org>
6454
6455 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6456 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6457
c676576a
LMI
64582012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6459
6460 * net/network-stream.el (network-stream-open-starttls): Make error
6461 message under Windows be less misleading.
6462
126f3d39
LW
64632012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6464
6465 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6466 understands (bug#9942).
6467
64fee311
CY
64682012-03-22 Chong Yidong <cyd@gnu.org>
6469
6470 * simple.el (end-of-visible-line): Handle return value of
6471 next-single-property-change properly (Bug#9371).
6472
a640d29a
KH
64732012-03-22 Kenichi Handa <handa@m17n.org>
6474
6475 * international/quail.el (quail-insert-kbd-layout): Fix previous
6476 change. To avoid unwanted bidi reordering, use
6477 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6478
39675016
DG
64792012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6480
6481 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6482 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6483 (ruby-beginning-of-indent): Be more careful with the difference
6484 between word-boundary and symbol boundary.
6485 (ruby-mode-syntax-table): Make : a symbol constituent.
6486
0a6934fc 64872012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6488
3d008e4f
SM
6489 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6490
0a6934fc
SM
64912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6492
af67c9d7
SM
6493 * progmodes/etags.el (tags-completion-at-point-function):
6494 Improve last fix.
6495
1acad97c
SM
6496 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6497
e298b5da
SS
64982012-03-21 Sam Steingold <sds@gnu.org>
6499
6500 * progmodes/etags.el (tags-completion-at-point-function):
6501 Avoid the error when point is inside the pattern.
6502
91d82a70
JY
65032012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6504
6505 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6506 line (Bug#10855).
6507
69188b79
CY
65082012-03-21 Drew Adams <drew.adams@oracle.com>
6509
6510 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6511
99fc91fe
AK
65122012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6513
6514 * ido.el (ido-set-current-directory, ido-read-internal)
6515 (ido-choose-completion-string, ido-completion-help): Handle nil
6516 value of ido-completion-buffer (Bug#11008).
6517
087bbb4c
SS
65182012-03-21 Sam Steingold <sds@gnu.org>
6519
6520 * window.el (switch-to-prev-buffer): Do not switch to a visible
6521 window previous buffer, just like with the frame previous buffers.
6522
fb5b8aca
CY
65232012-03-21 Chong Yidong <cyd@gnu.org>
6524
6525 * faces.el (make-face, make-empty-face, copy-face):
6526 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6527 Doc fixes.
6528
dc9924b8
SM
65292012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6532 (widget-complete): Remove broken use of it.
6533
f0bcceb9
CY
65342012-03-20 Chong Yidong <cyd@gnu.org>
6535
dc9924b8
SM
6536 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6537 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6538 characters.
6539
ee52ebf3
TH
65402012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6541
6542 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6543 to draw rectangles, not squares. (Regression introduced by revno
6544 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6545
4c5779ab
CY
65462012-03-18 Chong Yidong <cyd@gnu.org>
6547
6548 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6549 it is not yet defined (for temacs).
6550
15360934
LL
65512012-03-18 Leo Liu <sdl.web@gmail.com>
6552
dc9924b8 6553 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6554
d9a8eb66
EZ
65552012-03-17 Eli Zaretskii <eliz@gnu.org>
6556
6557 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6558 (ispell-choices-win-default-height, ispell-silently-savep)
6559 (ispell-dictionary-alist, ispell-encoding8-command)
6560 (ispell-check-version, ispell-aspell-find-dictionary)
6561 (ispell-valid-dictionary-list, ispell-words-keyword)
6562 (ispell-get-word, ispell-internal-change-dictionary)
6563 (ispell-region, ispell-skip-region-list)
6564 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6565 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6566 (ispell-message-text-end, ispell-message)
6567 (ispell-buffer-local-parsing): Doc fix.
6568
f02ff80d
J
65692012-03-13 Jambunathan K <kjambunathan@gmail.com>
6570
6571 * htmlfontify.el: Add support for code block fontification for ODT
6572 export (Bug #9914).
6573 (hfy-optimisations): Define new option
6574 `body-text-only'
6575 (hfy-fontify-buffer): Honor above setting.
6576 (hfy-begin-span, hfy-end-span): New routines factored out form
6577 `hfy-fontify-buffer'.
6578 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6579 that permit insertion of custom tags.
6580 (hfy-fontify-buffer): Use above handlers.
6581 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6582 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6583 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6584 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6585 bind a special variable `hfy-user-sheet-assoc'.
6586 (htmlfontify-string): New defun.
6587 (hfy-compile-face-map): Make sure that the last char in the
6588 buffer is correctly fontified.
6589 (hfy-face-resolve-face): Whitespace only change.
6590
9ac7a13f
EZ
65912012-03-17 Eli Zaretskii <eliz@gnu.org>
6592
6593 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6594 message more clear.
6595
e2b5bdd7
LL
65962012-03-16 Leo Liu <sdl.web@gmail.com>
6597
6598 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6599
2e492df3
AM
66002012-03-16 Alan Mackenzie <acm@muc.de>
6601
6602 Further optimise the handling of large macros.
6603
6604 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6605 limit to a call of `c-literal-limits'.
6606 (c-determine-+ve-limit): New function.
dc9924b8
SM
6607 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6608 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6609 In CASE 5B, restrict a search limit to 500.
6610 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6611
6612 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6613 Restrict macro bounds to +-500 from after-change's BEG END.
6614
50e94f0c
LL
66152012-03-16 Leo Liu <sdl.web@gmail.com>
6616
6617 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6618
6f09f6ed
AH
66192012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6620
6621 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6622 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6623
c7e73d51
GM
66242012-03-16 Glenn Morris <rgm@gnu.org>
6625
da986230
GM
6626 * view.el (view-buffer, view-buffer-other-window)
6627 (view-buffer-other-frame): Doc fixes re special mode-class.
6628
0835f01e
GM
6629 * subr.el (eval-after-load): If named feature is provided not from
6630 a file, run after-load forms. (Bug#10946)
6631
c7e73d51
GM
6632 * calendar/calendar.el (calendar-insert-at-column):
6633 Handle non-unit-width characters a bit better. (Bug#10978)
6634
3f2eafd1
CY
66352012-03-15 Chong Yidong <cyd@gnu.org>
6636
6637 * emacs-lisp/ring.el (ring-extend): New function.
6638 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6639
6640 * comint.el (comint-read-input-ring)
6641 (comint-add-to-input-history): Grow comint-input-ring lazily.
6642
103af3fe
SM
66432012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6644
663b1677
SM
6645 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6646 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6647
103af3fe
SM
6648 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6649 (imenu-add-to-menubar): Don't add a redundant index.
6650 (imenu-update-menubar): Handle a dynamically composed keymap.
6651
899cb7cb
KY
66522012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6653
6654 * mail/sendmail.el (mail-encode-header):
6655 Bind rfc2047-encode-encoded-words to nil.
6656
3809f91d
GM
66572012-03-13 Glenn Morris <rgm@gnu.org>
6658
6659 * calendar/calendar.el (calendar-string-spread):
6660 Handle non-unit-width characters a bit better. (Bug#10978)
6661
9e345a01
LL
66622012-03-13 Leo Liu <sdl.web@gmail.com>
6663
6664 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6665 directory and file as argument (Bug#10822).
6666
4a07df36
KS
66672012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6668
6669 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6670 For dynamically generated code, follow $PC.
6671 (gdb-disassembly-handler-custom): Handle no function name case.
6672
4aaa9356
TL
66732012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6674
6675 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6676 * emulation/ws-mode.el (ws-query-replace):
6677 * sort.el (sort-regexp-fields):
6678 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6679
225979da
SM
66802012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * dabbrev.el: Fix cycle completion order (bug#10963).
6683 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6684 (dabbrev-completion): Don't use an obarray; provide
6685 a cycle-sort-function.
6686
e2f1fdab
LL
66872012-03-12 Leo Liu <sdl.web@gmail.com>
6688
dc9924b8 6689 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6690 (kill-do-not-save-duplicates): Doc fix.
6691
b19490ed
SM
66922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * dabbrev.el: Fix cycle completion (bug#10963).
6695 Use lexical binding and wrap to 80 columns.
6696 (dabbrev-completion): Delay computing the list of completions.
6697
4b05d722
KH
66982012-03-12 Kenichi Handa <handa@m17n.org>
6699
6700 * international/quail.el (quail-insert-kbd-layout): Surround each
6701 row by LRO and PDF instead of inserting many LRMs. Pad the left
6702 and right of each non-spacing marks. Insert invisible space
6703 between lower and upper characters to prevent composition.
6704
dbbc2e69
SM
67052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * minibuffer.el (minibuffer-complete): Don't get confused when the
6708 function is run twice via different commands (bug#10958).
6709 (complete-with-action): Fix docstring.
6710
292112ed
CY
67112012-03-12 Chong Yidong <cyd@gnu.org>
6712
5d1ac394
CY
6713 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6714 (nxml-completion-at-point-function): New function.
6715 (nxml-mode): Use it.
6716 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6717
292112ed
CY
6718 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6719 Load generated autoloads file before byte compiling (Bug#10970).
6720 (package--make-autoloads-and-compile): New helper fun.
6721
4098f8f7
CS
67222012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6723
6724 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6725
8f754691
MA
67262012-03-11 Michael Albinus <michael.albinus@gmx.de>
6727
6728 * autorevert.el (auto-revert-handler): Ensure, that
6729 file-readable-p is applied only for local files or in
6730 auto-revert-tail-mode.
6731
e29ab36b
AS
67322012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6733
dbbc2e69
SM
6734 * server.el (server-eval-at): Handle non-tcp connections.
6735 Decode result string.
ad0bf5b6 6736
e29ab36b
AS
6737 * server.el (server-msg-size): New constant.
6738 (server-reply-print): New function.
6739 (server-eval-and-print): Use it.
6740 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6741 Handle -print-nonl.
6742
de5939ba
CS
67432012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6744
6745 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6746 (Bug#10987).
6747
0c93eabf
CY
67482012-03-11 Chong Yidong <cyd@gnu.org>
6749
397a688f
CY
6750 * simple.el (goto-line): Doc fix (Bug#9938).
6751
2cc775f9
CY
6752 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6753
0c93eabf
CY
6754 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6755 when finished (Bug#10963).
6756
c491fa41
MR
67572012-03-11 Martin Rudalics <rudalics@gmx.at>
6758
6759 * window.el (split-window-below): Fix bug in case where
6760 split-window-keep-point is nil (Bug#10971).
6761
300e8fa5
JL
67622012-03-11 Juri Linkov <juri@jurta.org>
6763
6764 * replace.el (replace-highlight): Set isearch-word to nil
6765 unconditionally. (Bug#10887)
6766
dbf6c5a1
EZ
67672012-03-10 Eli Zaretskii <eliz@gnu.org>
6768
6769 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6770 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6771 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6772 (mairix-widget-create-query): Add usage information about mairix
6773 search forms: negating words, searching for substrings, etc.
6774
b9e501de
JP
67752012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6776
6777 * international/fontset.el (font-encoding-alist): Add an entry for
6778 ksx1001 (Bug#5667).
6779
92795c91
RS
67802012-03-10 Richard Stallman <rms@gnu.org>
6781
1694e6c1
RS
6782 * mail/sendmail.el (mail-encode-header):
6783 Set rfc2047-encode-encoded-words.
6784
607e8555
RS
6785 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6786
de3bc99a
RS
6787 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6788 view buffer means not swapped.
6789 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6790 (rmail-write-region-annotate): Error if real text has disappeared.
6791
92795c91
RS
6792 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6793
699bd04e
CY
67942012-03-10 Chong Yidong <cyd@gnu.org>
6795
6796 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6797 * emulation/cua-base.el (cua--init-keymaps):
6798 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6799
570a1714
MR
68002012-03-10 Martin Rudalics <rudalics@gmx.at>
6801
dbbc2e69
SM
6802 * speedbar.el (speedbar-unhighlight-one-tag-line):
6803 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6804
82dcf4e4
CY
68052012-03-10 Chong Yidong <cyd@gnu.org>
6806
7a2c7ca7
CY
6807 * minibuffer.el (completion-in-region, completion-help-at-point):
6808 Give the completion field overlay a high priority (Bug#6830).
6809
82dcf4e4
CY
6810 * dired.el (dired-goto-file): Recognize absolute file name
6811 listings (Bug#7126).
6812 (dired-goto-file-1): New helper function.
6813 (dired-toggle-read-only): Inhibit warnings.
6814
052e28ac
MA
68152012-03-09 Michael Albinus <michael.albinus@gmx.de>
6816
75f1671a 6817 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6818 there are no properties.
6819
95d5e396
LL
68202012-03-09 Leo Liu <sdl.web@gmail.com>
6821
6822 * savehist.el (savehist-printable): Stricter check for string
6823 value (Bug#10937).
6824
3f018d6d
EZ
68252012-03-09 Eli Zaretskii <eliz@gnu.org>
6826
dbbc2e69
SM
6827 * mail/smtpmail.el (smtpmail-send-it):
6828 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6829 valid mbox format.
6830
f7fd3d79
GM
68312012-03-09 Glenn Morris <rgm@gnu.org>
6832
6833 * files.el (dir-locals-find-file):
6834 Don't check result is regular, readable.
6835 (dir-locals-read-from-file): Demote errors.
6836
6ff6e72f
EZ
68372012-03-08 Eli Zaretskii <eliz@gnu.org>
6838
dbbc2e69
SM
6839 * international/quail.el (quail-insert-kbd-layout):
6840 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6841 layout cell, to prevent their reordering by bidi display engine.
6842 For details, see the discussion in
6843 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6844
9cec7834
AM
68452012-03-08 Alan Mackenzie <acm@muc.de>
6846
6847 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6848 the starting position; make it extend the marked region when
6849 invoked repeatedly - all under appropriate circumstances.
6850 Fixes bugs #5525, #10906.
6851
9a40b8d4
GM
68522012-03-08 Glenn Morris <rgm@gnu.org>
6853
6854 * files.el (locate-dominating-file, dir-locals-find-file):
6855 Undo 2012-03-06 change.
6856
7a08ed35
EZ
68572012-03-07 Eli Zaretskii <eliz@gnu.org>
6858
dbbc2e69
SM
6859 * international/quail.el (quail-help):
6860 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6861 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6862 for the reason.
6863
5aca4f71 68642012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6865
6866 Avoid superfluous registering of signals. (Bug#10807)
6867
6868 * notifications.el (notifications-on-action-object)
6869 (notifications-on-close-object): New defvars.
6870 (notifications-on-action-signal, notifications-on-closed-signal):
6871 Unregister the signal if not needed any longer.
6872 (notifications-notify): Register `notifications-action-signal' or
6873 `notifications-closed-signal', if :on-action or :on-close has been
6874 passed as argument.
6875
78e8b10a
CY
68762012-03-07 Chong Yidong <cyd@gnu.org>
6877
6878 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6879 non-X platforms.
6880
69481eb8
GM
68812012-03-06 Glenn Morris <rgm@gnu.org>
6882
6883 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6884 (x-disown-selection-internal, x-get-selection-internal):
6885 Doc fix (add arglist signatures). (Bug#10783)
6886
133b8e11
KS
68872012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6888
6889 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6890 Handle breakpoints with no "type".
6891
99a83064
GM
68922012-03-06 Glenn Morris <rgm@gnu.org>
6893
6894 * files.el (locate-dominating-file): Add optional predicate argument.
6895 (dir-locals-find-file): Make use of above change.
6896
17798e78
TTN
68972012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6898
6899 * info.el (Info-insert-dir): Also try "dir.gz".
6900
eb182446
GM
69012012-03-06 Glenn Morris <rgm@gnu.org>
6902
8f2114ee
GM
6903 * files.el (dir-locals-find-file):
6904 Ignore non-readable or non-regular files. (Bug#10928)
6905
eb182446
GM
6906 * files.el (locate-dominating-file): Doc fix.
6907
24679323
AS
69082012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6909
6910 * calendar/calendar.el (calendar-set-mode-line):
6911 `getenv' returns a string. (Bug#10951)
6912
01d972a9
LL
69132012-03-05 Leo Liu <sdl.web@gmail.com>
6914
109aa8a9
LL
6915 * simple.el (backward-delete-char-untabify): Constrain point to
6916 field (Bug#10939).
6917
01d972a9
LL
6918 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6919
10607bea
CY
69202012-03-05 Chong Yidong <cyd@gnu.org>
6921
6922 * simple.el (count-words): If called from Lisp, return the word
6923 count, for symmetry with `count-lines'. Arglist changed.
6924 (count-words--message): Args changed. Consolidate counting code
6925 from count-words and count-words-region.
6926 (count-words-region): Caller changed.
6927 (count-lines-region): Make it an obsolete alias.
6928
5dd11cfe
TH
69292012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6930
6931 * saveplace.el (save-place-to-alist)
6932 (save-place-ignore-files-regexp): Allow value nil to disable this
6933 feature.
6934
c349f4e6
CY
69352012-03-04 Chong Yidong <cyd@gnu.org>
6936
6937 * faces.el (face-spec-reset-face): For the default face, reset the
6938 attributes to default values (Bug#10748).
6939
e627be4c
LMI
69402012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6941
6942 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6943 previous patch: Check `message-send-mail-function', and not the
6944 default function (bug#10897).
6945
ebeabff4
MA
69462012-03-04 Michael Albinus <michael.albinus@gmx.de>
6947
a41a6cf4
MA
6948 * notifications.el (notifications-on-action-signal)
6949 (notifications-on-closed-signal): Check for unique service name of
6950 incoming event. Fix error in removing entry.
ebeabff4 6951 (top): Register for signals with wildcard service name.
a41a6cf4 6952 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6953
c1ca42b4
CY
69542012-03-04 Chong Yidong <cyd@gnu.org>
6955
dc9924b8 6956 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6957
ea16568d
GM
69582012-03-04 Glenn Morris <rgm@gnu.org>
6959
6960 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6961 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6962 (expand-abbrev, define-abbrev-table): Doc fixes.
6963
fbae4637
LMI
69642012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
6966 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6967 `message-default-send-mail-function' and not `send-mail-function'
6968 when doing the prompting for `sendmail-query-once' before sending
6969 in Message buffers (bug#10897).
6970
a1e7225c
LMI
6971 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6972 This is inconsistent with all the other stream functions, which leave
6973 the setting up to the higher levels (if so wanted) (bug#10931).
6974
56d093a9
AM
69752012-03-02 Alan Mackenzie <acm@muc.de>
6976
6977 Depessimize the handling of very large macros.
6978
6979 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6980 (c-macro-cache-syntactic): New variables to implement a one
6981 element macro cache.
6982 (c-invalidate-macro-cache): New function.
6983 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6984 Adapt to use the new cache.
6985 (c-state-safe-place): Use better the cache of safe positions.
6986 (c-state-semi-nonlit-pos-cache)
6987 (c-state-semi-nonlit-pos-cache-limit):
6988 New variables for...
6989 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6990 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6991 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6992 Use c-state-semi-safe-place.
56d093a9 6993
dbbc2e69
SM
6994 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6995 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6996
817e5c3d
MA
69972012-03-02 Michael Albinus <michael.albinus@gmx.de>
6998
dbbc2e69
SM
6999 * jka-compr.el (jka-compr-call-process):
7000 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7001 not remote.
7002
a032a702
MA
70032012-03-01 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7006 access of FILE2, if FILE1 does not exist.
7007
99a54f21
MA
7008 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7009 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7010
7011 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7012 Add "PAGER=" to `process-environment'.
7013
f6561e1f
MM
70142012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7015
7016 * progmodes/sql.el: Bug fix
7017 (sql-get-login-ext): Save login values in globals.
7018 (sql-get-login): Use new version of `sql-get-login-ext'.
7019 (sql-interactive-mode): Set global `sql-connection' to nil.
7020 (sql-connect): Set global values for connection.
7021 (sql-product-interactive): Save global values as buffer local.
7022
2d44d9cc
LL
70232012-02-29 Leo Liu <sdl.web@gmail.com>
7024
7025 * abbrev.el (define-abbrevs): Reset sys to nil.
7026
96b49301 70272012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7028
bf7f9bc5
JB
7029 * files.el (file-equal-p): Rename from `files-equal-p'.
7030 Return nil when one or both files don't exist.
96b49301 7031 (file-subdir-of-p): Now only top directory must exists,
7032 return nil if it doesn't.
bf7f9bc5
JB
7033 (copy-directory): No need to test with `file-subdir-of-p' after
7034 creating dir.
7035 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7036 to `file-equal-p'.
96b49301 7037
44e97401
GM
70382012-02-28 Glenn Morris <rgm@gnu.org>
7039
7040 * shell.el (shell-mode):
7041 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7042 * play/landmark.el (landmark-font-lock-face-O):
7043 * play/handwrite.el (handwrite):
7044 * play/gomoku.el (gomoku-O):
7045 * net/browse-url.el (browse-url-browser-display):
7046 * international/mule.el (define-charset):
7047 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7048 * filesets.el (filesets-find-file-delay):
7049 * eshell/em-xtra.el (eshell-xtra):
7050 * eshell/em-unix.el (eshell-grep):
7051 * emulation/viper.el (viper-mode):
7052 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7053 * emacs-lisp/easymenu.el (easy-menu-define):
7054 * calendar/timeclock.el (timeclock-use-display-time):
7055 * bs.el (bs-mode):
7056 * bookmark.el (bookmark-save-flag):
7057 Doc fix (standardize possessive apostrophe usage).
7058
c98c6276
CY
70592012-02-27 Chong Yidong <cyd@gnu.org>
7060
bf7f9bc5
JB
7061 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7062 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7063
c98c6276
CY
7064 * font-lock.el (font-lock-specified-p): Rename from
7065 font-lock-spec-present. Callers changed.
7066
9c62cd04 70672012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7068
bf7f9bc5
JB
7069 * emacs-lisp/package.el (package-compute-transaction):
7070 Handle holding a package version to t in package-load-list.
8ac9e529 7071
530739c9
MA
70722012-02-26 Michael Albinus <michael.albinus@gmx.de>
7073
7074 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7075 (tramp-get-inode, tramp-get-device): Use cached values.
7076
487915d7
AM
70772012-02-26 Alan Mackenzie <acm@muc.de>
7078
7079 Check there is a font-lock specification before doing initial
7080 fontification.
7081
7082 * font-core.el (font-lock-mode): Move the conditional from
7083 :after-hook to font-lock-initial-fontify.
7084 (font-lock-default-function): Move the check for a specification
7085 to font-lock-spec-present.
7086
dc9924b8 7087 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7088 (font-lock-spec-present): New function.
7089
4fd96557
JB
70902012-02-26 Jim Blandy <jimb@red-bean.com>
7091
7092 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7093 (gdb-send): Apply it to the operand of the '-interpreter-exec
7094 console' command, so that we can pass arguments with (say) quotes
7095 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7096
9a4888c0
CY
70972012-02-26 Chong Yidong <cyd@gnu.org>
7098
07498861
CY
7099 * help-fns.el (describe-function-1): Clarify description of
7100 remapping (Bug#10844).
7101
9a4888c0
CY
7102 * files.el (files-equal-p): Doc fix.
7103 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7104 and quit the loop once a mismatch is found.
7105
ea8fb88d
JB
71062012-02-25 Juanma Barranquero <lekktu@gmail.com>
7107
7108 * bs.el (bs--show-with-configuration): Don't throw an error
7109 if the window cannot be split; otherwise, subsequent calls to
7110 bs-show fail, restoring a stale window config. (Bug#10882)
7111
525795c1
JD
71122012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7113
7114 * term/ns-win.el (global-map): Bind ns-drag-file to
7115 ns-find-file (Bug#5855, Bug#10050).
7116
f008086f
AS
71172012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7118
7119 * calendar/parse-time.el (parse-time-string): Allow extractor to
7120 return nil.
7121
a3fcfa99
MA
71222012-02-25 Michael Albinus <michael.albinus@gmx.de>
7123
91027d08
JB
7124 * net/tramp.el (tramp-file-name-for-operation):
7125 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7126
7127 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7128 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7129 Add COPY-CONTENTS argument.
a3fcfa99 7130
67b0de11
CY
71312012-02-25 Chong Yidong <cyd@gnu.org>
7132
7133 Add custom groups for VC backends, for consistency with vc-bzr.
7134
7135 * vc/vc-arch.el (vc-arch):
7136 * vc/vc-cvs.el (vc-cvs):
7137 * vc/vc-git.el (vc-git):
7138 * vc/vc-hg.el (vc-hg):
7139 * vc/vc-mtn.el (vc-mtn):
7140 * vc/vc-rcs.el (vc-rcs):
7141 * vc/vc-sccs.el (vc-sccs):
7142 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7143 All relevant defcustoms reassigned.
7144
3c9dfce6
CY
71452012-02-25 Chong Yidong <cyd@gnu.org>
7146
1339bf43
CY
7147 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7148
3c9dfce6
CY
7149 * term/x-win.el (x-initialize-window-system): Reduce default for
7150 x-selection-timeout to 5 seconds (Bug#8869).
7151
25b2e303 71522012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7153
ec70a47d
GM
7154 * files.el (files-equal-p, file-subdir-of-p): New functions.
7155 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7156 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7157 * dired-aux.el (dired-copy-file-recursive): Same.
7158 (dired-create-files): Modify destination when source is equal to
7159 dest when copying files.
53a46cd0 7160 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7161
914260cd
MA
71622012-02-24 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7165 (Bug#10874)
7166
2cb228f7
AM
71672012-02-23 Alan Mackenzie <acm@muc.de>
7168
7169 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7170 parameter "after-hook:" to allow the expansion to run code after
7171 the execution of the mode hooks.
7172
7173 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7174 from font-lock-mode-internal.
2cb228f7 7175
91027d08 7176 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7177 :after-hook.
7178
8f0fde21
SM
71792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7180
3e88618b
SM
7181 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7182 (completion--cache-all-sorted-completions): New function.
7183 (completion-all-sorted-completions): Use it.
7184 (completion--do-completion, minibuffer-force-complete):
7185 Use it to re-instate the flush hook.
7186
8f0fde21
SM
7187 * icomplete.el (icomplete-completions): Replace last fix with a better
7188 one (bug#10850).
7189
8e911f6f
DG
71902012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7191
7192 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7193 when it might call us back infinitely (bug#10797).
7194
49fe4321
GM
71952012-02-23 Glenn Morris <rgm@gnu.org>
7196
7197 * minibuffer.el (completion-category-overrides): Doc fix.
7198
b291b572
SM
71992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7202 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7203
31a9ef2e
GM
72042012-02-23 Glenn Morris <rgm@gnu.org>
7205
5e6e6794 7206 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7207 (authors-obsolete-files-regexps, authors-ignored-files)
7208 (authors-ambiguous-files, authors-renamed-files-alist):
7209 Add more entries.
7210
0bd1e074
JL
72112012-02-23 Juri Linkov <juri@jurta.org>
7212
7213 * isearch.el (isearch-occur): Sync interactive spec with occur's
7214 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7215
b617673c
JL
7216 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7217
19e9789e
JL
72182012-02-22 Juri Linkov <juri@jurta.org>
7219
7220 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7221 (ucs-insert): Doc fix. Check for hex digits in the string.
7222 Don't display `nil' in the error message. (Bug#10857)
7223
f41ce09d
AM
72242012-02-22 Alan Mackenzie <acm@muc.de>
7225
7a71b18d 7226 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 7227
ac2eceee
GM
72282012-02-22 Glenn Morris <rgm@gnu.org>
7229
7230 * ffap.el (ffap-c-path):
7231 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7232
abd1f678
CY
72332012-02-22 Chong Yidong <cyd@gnu.org>
7234
7235 * custom.el (load-theme): Doc fix.
7236
f25aef2e
GM
72372012-02-22 Glenn Morris <rgm@gnu.org>
7238
7239 * dired-x.el (dired-guess-shell-alist-default):
7240 Remove escape sequences from nroff output. (Bug#172)
7241
5f8dc2ca
GM
72422012-02-21 Glenn Morris <rgm@gnu.org>
7243
6ff86ec4
GM
7244 * vc/emerge.el (emerge-defvar-local):
7245 Set `permanent-local' property rather than unused `preserved'.
7246
be3223a3 7247 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
7248 (picture-mode-map): Use it. (Bug#10860)
7249 (picture-mode): Doc fix.
7250
3fe58f4f
JB
72512012-02-21 Juanma Barranquero <lekktu@gmail.com>
7252
7253 * newcomment.el (uncomment-region-default): Remove unused binding.
7254
f9a998c3
GM
72552012-02-21 Glenn Morris <rgm@gnu.org>
7256
7257 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7258 (picture-self-insert, picture-tab-chars): Doc fix.
7259 (picture-mode-map): Fix C-a, C-e.
7260
c6029348
GM
72612012-02-20 Glenn Morris <rgm@gnu.org>
7262
7263 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7264
ab1ce9d7
LL
72652012-02-20 Leo Liu <sdl.web@gmail.com>
7266
7267 * icomplete.el (icomplete-completions): Check FROM arg before
7268 passing to substring (Bug#10850).
7269
0fd40f89
CY
72702012-02-19 Chong Yidong <cyd@gnu.org>
7271
7272 * comint.el: Require ansi-color.
7273 (comint-output-filter-functions): Add ansi-color-process-output.
7274
7275 * ansi-color.el: Don't set comint-output-filter-functions; it is
7276 now in the initial value defined in comint.el.
7277 (ansi-color-apply-face-function): New variable.
7278 (ansi-color-apply-on-region): Use it.
7279 (ansi-color-apply-overlay-face): New function.
7280
7281 * shell.el (shell): No need to require ansi-color.
7282 (shell-mode): Use ansi-color-apply-face-function to highlight
7283 color escapes using font-lock-face property (Bug#10835).
7284
20af2394
CY
72852012-02-19 Chong Yidong <cyd@gnu.org>
7286
7287 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7288 mode-line formats (Bug#10839).
7289
e23a3fbe
GM
72902012-02-18 Glenn Morris <rgm@gnu.org>
7291
b474519e
GM
7292 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7293
7294 * mail/undigest.el (unforward-rmail-message): Doc fix.
7295
e23a3fbe
GM
7296 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7297
57939ff4
EZ
72982012-02-18 Eli Zaretskii <eliz@gnu.org>
7299
7300 * international/characters.el (script-list): Sync with the latest
7301 Unicode Character Database.
7302
0c23686e
AS
73032012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7304
7305 * international/titdic-cnv.el: Remove duplicate coding tag.
7306 * language/cham.el: Likewise.
7307 * language/tai-viet.el: Likewise.
7308
6818b449
GM
73092012-02-18 Glenn Morris <rgm@gnu.org>
7310
7311 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7312 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7313 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7314 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7315 * calendar/holidays.el (holiday-bahai-holidays)
7316 (calendar-holidays, list-holidays):
7317 Use utf-8 Bahá'í in doc-strings, menus, etc.
7318
0311a3fc
TH
73192012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7320
7321 * saveplace.el (save-place-ignore-files-regexp): New variable
7322 allowing for excluding files from saving their location of point.
7323 The default value matches the temporary commit message editing
7324 files from Git, SVN, Bazaar, and Mercurial.
7325 (save-place-to-alist): Use it.
7326
d209e2fb 73272012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 7328 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
7329
7330 * newcomment.el (uncomment-region-default): Don't leave extra space
7331 when an arg is provided (bug#8150).
7332
ee0ce425
TZ
73332012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7334
eb864a71 7335 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 7336
95ddf442
GM
73372012-02-17 Glenn Morris <rgm@gnu.org>
7338
7339 * net/socks.el: Require network-stream. (Bug#10599)
7340
48dd1e39 73412012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
7342
7343 * international/charprop.el:
7344 * international/uni-name.el:
7345 * international/uni-old-name.el:
7346 * international/uni-comment.el: Regenerate.
7347
d68cd087
GM
73482012-02-16 Glenn Morris <rgm@gnu.org>
7349
7350 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7351 Interactively in calendar buffer, give an error if not on a date.
7352
13932042
GM
73532012-02-15 Glenn Morris <rgm@gnu.org>
7354
7355 * shell.el (shell-delimiter-argument-list):
7356 Revert 2011-02-17 change. (Bug#8027)
7357
c3a70e2b
CY
73582012-02-15 Chong Yidong <cyd@gnu.org>
7359
60236b0d
CY
7360 * minibuffer.el (completion-at-point-functions): Doc fix.
7361
c3a70e2b
CY
7362 * custom.el (defcustom): Doc fix; note use of defvar.
7363
9f26dc24
GM
73642012-02-15 Glenn Morris <rgm@gnu.org>
7365
7366 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7367 Doc fixes.
7368
6546b134
GM
73692012-02-14 Glenn Morris <rgm@gnu.org>
7370
7371 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7372
d29b2b4c
LI
73732012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7374
7375 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7376 way the ports list is computed.
835bdcba
LI
7377 (smtpmail-query-smtp-server): Prompt the user for a port number if
7378 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 7379
08dcdbc9
TZ
73802012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7381
7382 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7383
2605051a
GM
73842012-02-13 Glenn Morris <rgm@gnu.org>
7385
7386 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7387
7ee99f32
TZ
73882012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7389
7390 * net/gnutls.el (gnutls-trustfiles): New variable.
7391 (gnutls-negotiate): Use it.
7392
5f0af64f
LI
73932012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7394
7395 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7396 does its stuff if Gnus is running.
7397
c14fcc95
AM
73982012-02-13 Alan Mackenzie <acm@muc.de>
7399
7400 Fix a loop in c-set-fl-decl-start.
7401
7a71b18d 7402 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
7403 c-backward-syntactic-ws actually moves backwards.
7404
142b4d90
LL
74052012-02-13 Leo Liu <sdl.web@gmail.com>
7406
7407 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7408 beginning so that all \C-o chars are removed.
7409
fa9958a6
TZ
74102012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7411
dc9924b8 7412 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 7413
0bc5886a
AM
74142012-02-12 Alan Mackenzie <acm@muc.de>
7415
7416 Fix infinite loop with long macros.
4d6769e1 7417 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 7418
d4bd55e7
CY
74192012-02-12 Chong Yidong <cyd@gnu.org>
7420
7421 * window.el (display-buffer): Doc fix (Bug#10785).
7422
66f3fe22
GM
74232012-02-12 Glenn Morris <rgm@gnu.org>
7424
bd7da63e
GM
7425 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7426 (x-disown-selection-internal, x-get-selection-internal):
7427 Sync docs with the xselect.c versions.
7428
66f3fe22
GM
7429 * allout-widgets.el: Add missing license notice.
7430
3e0d2fa7
GM
74312012-02-11 Glenn Morris <rgm@gnu.org>
7432
cfecdf09
GM
7433 * select.el (x-get-selection-internal, x-own-selection-internal)
7434 (x-disown-selection-internal):
7435 * x-dnd.el (x-get-selection-internal): Update declarations.
7436
6d216d7f
GM
7437 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7438
2bed3f04
GM
7439 * window.el (window-sides-slots):
7440 * tool-bar.el (tool-bar-position):
7441 * term/xterm.el (xterm-extra-capabilities):
7442 * ses.el (ses-self-reference-early-detection):
7443 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7444 (verilog-auto-wire-type)
7445 (verilog-auto-delete-trailing-whitespace)
7446 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7447 (verilog-auto-tieoff-declaration):
7448 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7449 (sql-oracle-statement-starters, sql-oracle-scan-on):
7450 * progmodes/prolog.el (prolog-align-comments-flag)
7451 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7452 (prolog-left-indent-regexp, prolog-paren-indent-p)
7453 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7454 (prolog-types, prolog-mode-specificators)
7455 (prolog-determinism-specificators, prolog-directives)
7456 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7457 (prolog-electric-dot-flag)
7458 (prolog-electric-dot-full-predicate-template)
7459 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7460 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7461 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7462 (prolog-program-switches, prolog-prompt-regexp)
7463 (prolog-debug-on-string, prolog-debug-off-string)
7464 (prolog-trace-on-string, prolog-trace-off-string)
7465 (prolog-zip-on-string, prolog-zip-off-string)
7466 (prolog-use-standard-consult-compile-method-flag)
7467 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7468 (prolog-imenu-max-lines, prolog-info-predicate-index)
7469 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7470 (prolog-char-quote-workaround):
7471 * progmodes/cc-vars.el (c-defun-tactic):
7472 * net/tramp.el (tramp-encoding-command-interactive)
7473 (tramp-local-end-of-line):
7474 * net/soap-client.el (soap-client):
7475 * net/netrc.el (netrc-file):
7476 * net/gnutls.el (gnutls):
7477 * minibuffer.el (completion-category-overrides)
7478 (completion-cycle-threshold)
7479 (completion-pcm-complete-word-inserts-delimiters):
7480 * man.el (Man-name-local-regexp):
7481 * mail/feedmail.el (feedmail-display-full-frame):
7482 * international/characters.el (glyphless-char-display-control):
7483 * eshell/em-ls.el (eshell-ls-date-format):
7484 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7485 (lisp-lambda-list-keyword-parameter-indentation)
7486 (lisp-lambda-list-keyword-parameter-alignment):
7487 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7488 * dired-x.el (dired-omit-verbose):
7489 * cus-theme.el (custom-theme-allow-multiple-selections):
7490 * calc/calc.el (calc-highlight-selections-with-faces)
7491 (calc-lu-field-reference, calc-lu-power-reference)
7492 (calc-note-threshold):
7493 * battery.el (battery-mode-line-limit):
7494 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7495 (archive-7z-update):
7496 * allout.el (allout-prefixed-keybindings)
7497 (allout-unprefixed-keybindings)
7498 (allout-inhibit-auto-fill-on-headline)
7499 (allout-flattened-numbering-abbreviation):
7500 * allout-widgets.el (allout-widgets-auto-activation)
7501 (allout-widgets-icons-dark-subdir)
7502 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7503 (allout-widgets-theme-dark-background)
7504 (allout-widgets-theme-light-background)
7505 (allout-widgets-item-image-properties-emacs)
7506 (allout-widgets-item-image-properties-xemacs)
7507 (allout-widgets-run-unit-tests-on-load)
7508 (allout-widgets-time-decoration-activity)
7509 (allout-widgets-hook-error-post-time)
7510 (allout-widgets-track-decoration):
7511 Add missing :version tags to new defcustoms and defgroups.
7512
5fec1b8e
GM
7513 * progmodes/sql.el (sql-ansi-statement-starters)
7514 (sql-oracle-statement-starters): Add custom type.
7515
3e0d2fa7
GM
7516 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7517 (prolog-system-version): Give it a type.
7518
90b671e2
EZ
75192012-02-11 Eli Zaretskii <eliz@gnu.org>
7520
7521 * term/pc-win.el (x-select-text, x-selection-owner-p)
7522 (x-own-selection-internal, x-disown-selection-internal)
7523 (x-get-selection-internal): Sync doc strings and argument lists
7524 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7525
5eac0c02
LL
75262012-02-11 Leo Liu <sdl.web@gmail.com>
7527
7528 * progmodes/python.el (python-end-of-statement): Fix infinite
7529 loop. (Bug#10788)
7530
f82cb659
GM
75312012-02-10 Glenn Morris <rgm@gnu.org>
7532
7533 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7534 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7535
cc26d239
LI
75362012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7537
7538 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7539 about SMTP before checking the From header.
7540
91027d08 7541 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7542 into own function for reuse by emacsbug.el.
7543
1be3ca5a
LL
75442012-02-10 Leo Liu <sdl.web@gmail.com>
7545
7546 * subr.el (condition-case-unless-debug): Rename from
7547 condition-case-no-debug. All callers changed.
7548 (with-demoted-errors): Fix caller.
7549
7550 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7551 * nxml/rng-valid.el (rng-do-some-validation):
7552 * emacs-lisp/package.el (package-refresh-contents)
7553 (package-menu-execute):
7554 * desktop.el (desktop-create-buffer):
91027d08 7555 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7556
b011fbfe
GM
75572012-02-10 Glenn Morris <rgm@gnu.org>
7558
b2096d72
GM
7559 * textmodes/bibtex.el:
7560 Add missing :version tags for new/changed defcustoms.
7561
b011fbfe
GM
7562 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7563
4c7e65bf
LI
75642012-02-09 Lars Ingebrigtsen <larsi@rusty>
7565
7566 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7567 (smtpmail-via-smtp): Use it, or fall back on the From address.
7568 (smtpmail-send-it): Ditto.
7569
f3934f6f
SM
75702012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7573 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7574 (byte-compile-tmp-var): New const.
7575 (byte-compile-defvar): Use it to minimize .elc size.
7576 Just use `defvar' rather than simulate it (bug#10761).
7577
a075a2c5
GM
75782012-02-09 Glenn Morris <rgm@gnu.org>
7579
cf3aa21b
GM
7580 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7581
354998cd
GM
7582 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7583 Add :version tags.
7584
dc9924b8
SM
7585 * progmodes/compile.el (compilation-error-screen-columns)
7586 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7587
dab3703d
GM
7588 * vc/log-view.el (log-view-toggle-entry-display):
7589 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7590
3f88cd72
GM
7591 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7592 (report-emacs-bug-can-use-xdg-email):
7593 (report-emacs-bug-insert-to-mailer): Doc fixes.
7594 (report-emacs-bug): Message fix.
7595
d95b247d
GM
7596 * net/browse-url.el (browse-url-can-use-xdg-open)
7597 (browse-url-xdg-open): Doc fixes.
7598
a075a2c5
GM
7599 * electric.el (electric-indent-mode, electric-pair-mode)
7600 (electric-layout-rules, electric-layout-mode): Doc fixes.
7601 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7602
ffb6157e
MR
76032012-02-08 Martin Rudalics <rudalics@gmx.at>
7604
7605 * server.el (server-unselect-display): Don't inadvertently kill
7606 the current buffer. (Bug#10729)
7607
e1ac4066
GM
76082012-02-08 Glenn Morris <rgm@gnu.org>
7609
34e8a2da
GM
7610 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7611 (sql-list-table): Doc fixes.
7612
b4ac6e8c
GM
7613 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7614 Comment out (does nothing).
7615
e1ac4066
GM
7616 * completion.el (dynamic-completion-mode):
7617 * dirtrack.el (dirtrack-debug-mode):
7618 * electric.el (electric-layout-mode):
7619 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7620 * face-remap.el (text-scale-mode, buffer-face-mode):
7621 * iimage.el (iimage-mode):
7622 * image-mode.el (image-transform-mode):
7623 * minibuffer.el (completion-in-region-mode):
7624 * scroll-lock.el (scroll-lock-mode):
7625 * simple.el (next-error-follow-minor-mode):
7626 * tar-mode.el (tar-subfile-mode):
7627 * tooltip.el (tooltip-mode):
7628 * vcursor.el (vcursor-use-vcursor-map):
7629 * wid-browse.el (widget-minor-mode):
7630 * emulation/tpu-edt.el (tpu-edt-mode):
7631 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7632 * international/iso-ascii.el (iso-ascii-mode):
7633 * language/thai-util.el (thai-word-mode):
7634 * mail/supercite.el (sc-minor-mode):
7635 * net/goto-addr.el (goto-address-mode):
7636 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7637 * progmodes/cwarn.el (cwarn-mode):
7638 * progmodes/flymake.el (flymake-mode):
7639 * progmodes/glasses.el (glasses-mode):
7640 * progmodes/hideshow.el (hs-minor-mode):
7641 * progmodes/pascal.el (pascal-outline-mode):
7642 * textmodes/enriched.el (enriched-mode):
7643 * vc/smerge-mode.el (smerge-mode):
7644 Doc fixes (minor mode argument).
7645
5e0d957f
EZ
76462012-02-07 Eli Zaretskii <eliz@gnu.org>
7647
7648 * ls-lisp.el (ls-lisp-sanitize): New function.
7649 (ls-lisp-insert-directory): Use it to fix or remove any elements
7650 in file-alist with missing attributes. (Bug#4673)
7651
98d7371e
AM
76522012-02-07 Alan Mackenzie <acm@muc.de>
7653
7654 Fix spurious recognition of c-in-knr-argdecl.
7655
7656 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7657 putative K&R region.
7658
667ced3a
AM
76592012-02-07 Alan Mackenzie <acm@muc.de>
7660
eb864a71
LM
7661 * progmodes/cc-engine.el (c-forward-objc-directive):
7662 Prevent looping in "#pragma mark @implementation".
667ced3a 7663
5b77774d
MA
76642012-02-07 Michael Albinus <michael.albinus@gmx.de>
7665
7666 * notifications.el (notifications-on-closed-signal): Make `reason'
7667 optional. (Bug#10744)
7668
af008560
GM
76692012-02-07 Glenn Morris <rgm@gnu.org>
7670
60d47423
GM
7671 * emacs-lisp/easy-mmode.el (define-minor-mode):
7672 Doc fixes for the macro and the mode it defines.
7673
dd605cc4
GM
7674 * image.el (imagemagick-types-inhibit): Doc fix.
7675
af008560
GM
7676 * cus-start.el (imagemagick-render-type): Add it.
7677
5cc59a37
LI
76782012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7679
4d6769e1
JB
7680 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7681 Set the default at load time, too, so that `font-lock-fontify-buffer'
7682 can be called without setting up the entire mode first. This fixes
7683 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7684
9a6dd747
CY
76852012-02-06 Chong Yidong <cyd@gnu.org>
7686
2d16b285
CY
7687 * simple.el (list-processes--refresh): Delete exited processes
7688 (Bug#8094).
7689
171e9b6e
CY
7690 * comint.el (comint-next-prompt): next-single-char-property-change
7691 and prev-single-char-property-change never return nil (Bug#8657).
7692
9a6dd747
CY
7693 * custom.el (defcustom): Doc fix (Bug#9711).
7694
aa4589a7
CY
76952012-02-05 Chong Yidong <cyd@gnu.org>
7696
5c2a252f
CY
7697 * cus-edit.el (custom-variable-reset-backup): Quote the value
7698 before storing it in the customized-value property (Bug#6712).
4aab9006 7699 (custom-display): Add a customization type tag.
983b9602 7700 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7701
aa4589a7
CY
7702 * wid-edit.el (widget-field-value-get): New optional arg to
7703 suppress trailing whitespace truncation.
7704 (character): Use it (Bug#2689).
7705
1ff980ae
AS
77062012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7707
7708 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7709 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7710
03988c98
CY
77112012-02-05 Chong Yidong <cyd@gnu.org>
7712
eeb6cc88
CY
7713 * cus-edit.el (custom-variable-value-create): For mismatched
7714 types, show the current value (Bug#7600).
7715
03988c98
CY
7716 * custom.el (defcustom): Doc fix.
7717
f8cdeef0
GM
77182012-02-05 Glenn Morris <rgm@gnu.org>
7719
7720 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7721
0696d255
JB
77222012-02-05 Juanma Barranquero <lekktu@gmail.com>
7723
7724 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7725 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7726 (pp-last-sexp): Use `looking-at-p'.
7727
34c99998
GM
77282012-02-04 Glenn Morris <rgm@gnu.org>
7729
8f05da42
GM
7730 * files.el (revert-buffer):
7731 Doc fix (mention revert-buffer-in-progress-p).
7732
f160676e
GM
7733 * emacs-lisp/ert-x.el (ert-simulate-command):
7734 Check deferred-action-list (which is obsolete) is bound.
7735
c7291ad9
GM
7736 * subr.el (with-wrapper-hook): Doc fixes.
7737
34c99998
GM
7738 * simple.el (filter-buffer-substring-functions)
7739 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7740
6283a7d3
LL
77412012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7742
7743 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7744 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7745
e96e3013
LL
77462012-02-04 Leo Liu <sdl.web@gmail.com>
7747
7748 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7749
8ded50f2
GM
77502012-02-04 Glenn Morris <rgm@gnu.org>
7751
82ff1d13
GM
7752 * image.el (image-extension-data): Add obsolete alias.
7753
987a0a16
GM
7754 * isearch.el (isearch-update): Doc fix.
7755
ea32ef46
GM
7756 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7757
8ded50f2
GM
7758 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7759
eea14f31
GM
77602012-02-03 Glenn Morris <rgm@gnu.org>
7761
7762 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7763 (image-animate-timeout): Doc fix.
7764
7765 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7766
12f381b7
GM
77672012-02-02 Glenn Morris <rgm@gnu.org>
7768
953cebf5
GM
7769 * server.el (server-auth-dir): Doc fix.
7770 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7771
12f381b7
GM
7772 * subr.el (run-mode-hooks): Doc fix.
7773
953a8c3b
JL
77742012-02-02 Juri Linkov <juri@jurta.org>
7775
7776 * image-mode.el (image-toggle-display-image): Remove tautological
7777 `major-mode' from the `derived-mode-p' test.
7778
c5d3843c
KH
77792012-02-02 Kenichi Handa <handa@m17n.org>
7780
9f6e692e 7781 * composite.el (compose-region): Cancel previous change.
c5d3843c 7782
159462d4 77832012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7784
7785 * composite.el (compose-region, compose-string): Signal error for
7786 a null string component (Bug#6988).
7787
9f562668
CY
77882012-02-01 Chong Yidong <cyd@gnu.org>
7789
e2cef717
CY
7790 * view.el (view-buffer-other-window, view-buffer-other-frame):
7791 Handle special modes like view-buffer (Bug#10650).
7792 (view-buffer): Simplify.
7793
9f562668
CY
7794 * frame.el (set-frame-font): Tweak meaning of third argument.
7795
9f6e692e
JB
7796 * dynamic-setting.el (font-setting-change-default-font):
7797 Use set-frame-font (Bug#9982).
9f562668 7798
781acb9f
GM
77992012-02-01 Glenn Morris <rgm@gnu.org>
7800
6035be52
GM
7801 * progmodes/compile.el (compilation-internal-error-properties):
7802 Respect compilation-first-column in the "*compilation*" buffer.
7803
781acb9f
GM
7804 * emacs-lisp/easy-mmode.el (define-minor-mode):
7805 Relax :variable's test for a named function.
7806
abbceb00
AM
78072012-01-31 Alan Mackenzie <acm@muc.de>
7808
7809 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7810 off by one error.
7811
fce3fdeb
CY
78122012-01-31 Chong Yidong <cyd@gnu.org>
7813
7814 * frame.el (set-frame-font): New arg ALL-FRAMES.
7815
7816 * menu-bar.el (menu-set-font): Use set-frame-font.
7817
7818 * faces.el (face-spec-reset-face): Don't apply unspecified
7819 attribute values to the default face.
7820
47893581
JB
78212012-01-31 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * progmodes/cwarn.el (cwarn): Remove dead link.
7824 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7825 Remove * from defcustom docstrings.
7826 (turn-on-cwarn-mode): Make obsolete.
7827 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7828 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7829
e58e988a
GM
78302012-01-31 Glenn Morris <rgm@gnu.org>
7831
60dc2671 7832 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7833 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7834 Allow named functions to be used as the cdr of :variable.
e58e988a 7835
7a3f511d
GM
78362012-01-30 Glenn Morris <rgm@gnu.org>
7837
7838 * emacs-lisp/authors.el (authors-fixed-entries):
7839 Remove reference to deleted file rnewspost.el.
7840
cb882333
JB
78412012-01-29 Juanma Barranquero <lekktu@gmail.com>
7842
7843 * window.el (window-with-parameter): Remove unused variable `windows'.
7844 (window--side-check): Remove unused variable `code'.
7845 (window--resize-siblings): Remove unused variable `first'.
7846 (adjust-window-trailing-edge): Remove unused variable `failed'.
7847 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7848 Use `let', not `let*'.
7849 (balance-windows-2): Remove unused variable `found'.
7850 (window--state-put-2): Remove unused variable `splits'.
7851 (window-state-put): Remove unused variable `selected'.
7852 (same-window-p): Use `string-match-p'.
7853 (display-buffer-assq-regexp): Remove unused variable `value'.
7854 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7855 Mark argument ALIST as ignored.
7856 (pop-to-buffer): Remove unused variable `old-window'.
7857
907201af
EZ
78582012-01-29 Eli Zaretskii <eliz@gnu.org>
7859
7860 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7861 and .lzma compressed files.
7862
ea162670
CY
78632012-01-29 Chong Yidong <cyd@gnu.org>
7864
5b95ee8a
CY
7865 * frame.el (window-system-default-frame-alist): Doc fix.
7866
ea162670
CY
7867 * dynamic-setting.el (font-setting-change-default-font): Don't
7868 change the default face if SET-FONT argument is non-nil (Bug#9982).
7869
d6e6f4b1
SB
78702012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7871
7872 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7873
0f29fa41 78742012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7875
7876 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7877 breakpoints in files outside current directory (Bug#6098).
7878
db174434
CY
78792012-01-29 Chong Yidong <cyd@gnu.org>
7880
6b25e4e2
SE
7881 * progmodes/python.el: Require ansi-color at top-level.
7882
6df6ae42
JB
7883 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7884 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7885 (lisp-mode-abbrev-table): Add doc.
7886 (lisp-mode-variables): Don't set local-abbrev-table.
7887 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7888
e70ee681
RW
78892012-01-28 Roland Winkler <winkler@gnu.org>
7890
7891 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7892
ace88aa2
RW
78932012-01-28 Roland Winkler <winkler@gnu.org>
7894
7895 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7896 (bibtex-set-dialect): Use it. Either set global values of
7897 dialect-dependent variables or bind these variables buffer-locally
7898 (Bug#10254).
7899 (bibtex-mode): Call bibtex-set-dialect via
7900 hack-local-variables-hook.
eb864a71
LM
7901 (bibtex-dialect): Update docstring.
7902 Add safe-local-variable predicate.
ace88aa2
RW
7903 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7904 bibtex-set-dialect.
7905 (bibtex-mode-map): Define menu for each dialect.
7906 (bibtex-entry): Fix docstring.
7907
93376c5b
CY
79082012-01-28 Chong Yidong <cyd@gnu.org>
7909
7910 * eshell/esh-arg.el (eshell-quote-argument): New function.
7911
7912 * eshell/esh-ext.el (eshell-invoke-batch-file):
7913 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7914 first arg to eshell-parse-command (Bug#10523).
7915
4372494f
DA
79162012-01-28 Drew Adams <drew.adams@oracle.com>
7917
7918 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7919 `default-directory' is non-nil.
7920
4d4ec1f8
EZ
79212012-01-28 Eli Zaretskii <eliz@gnu.org>
7922
7923 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7924 line that displays system-configuration-options. (Bug#9924)
7925
7c188927
DA
79262012-01-28 Drew Adams <drew.adams@oracle.com>
7927
7928 * descr-text.el (describe-char): Show information about POS, in
7929 addition to information about the character at POS. Improve and
7930 update the doc string. Change "code point" to "code point in
7931 charset", to avoid confusion with the character's Unicode code
7932 point shown above that. (Bug#10129)
7933
e0da685a
EZ
79342012-01-28 Eli Zaretskii <eliz@gnu.org>
7935
7936 * descr-text.el (describe-char): Show the raw character, not only
7937 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7938 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7939 for the reasons.
7940
70550acf
PH
79412012-01-28 Phil Hagelberg <phil@hagelb.org>
7942
eb864a71
LM
7943 * emacs-lisp/package.el (package-install):
7944 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7945
0ce8e868
CY
79462012-01-28 Chong Yidong <cyd@gnu.org>
7947
cb882333
JB
7948 * emacs-lisp/package.el (package-maybe-load-descriptor):
7949 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7950 (package-maybe-load-descriptor): Use it.
7951 (package-download-transaction): Fully load required packages
7952 inside the loop, so that `require' calls work (Bug#10593).
7953 (package-install): No need to call package-initialize now.
7954
2e7f3bea
CY
79552012-01-28 Chong Yidong <cyd@gnu.org>
7956
6e9bad14
CY
7957 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7958
f823b8ca
CY
7959 * tooltip.el (tooltip-mode): Doc fix.
7960 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7961
2680c309
CY
7962 * frame.el (set-cursor-color): Doc fix (Bug#352).
7963
d7a9e63b
CY
7964 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7965 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7966
2e7f3bea
CY
7967 * cus-edit.el (custom-buffer-create-internal): Fix search button
7968 action (Bug#10542).
2ae01800 7969 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7970
fc4f7a23
EW
79712012-01-27 Eduard Wiebe <usenet@pusto.de>
7972
7973 * dired.el (dired-mark-files-regexp):
7974 Include any subdirectory components. (Bug#10445)
7975
7dd37071
ML
79762012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7977
7978 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7979 Handle [host]:port syntax. (Bug#10533)
7980
a268160b
AH
79812012-01-27 Alex Harsanyi <harsanyi@mac.com>
7982
7983 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7984
e43273ef
GM
79852012-01-26 Glenn Morris <rgm@gnu.org>
7986
7987 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7988 * term.el (term-raw-escape-map): Use Control-X-prefix.
7989 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7990
1edf595d
MR
79912012-01-25 Martin Rudalics <rudalics@gmx.at>
7992
7993 * window.el (window-state-get, window--state-get-1): Don't deal
7994 with fixed-sizeness of windows. Simplify code.
7995
fa8eafef
JC
79962012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7997
6df6ae42
JB
7998 * window.el (window--state-get-1, window--state-put-2):
7999 Don't save and restore the mark.
fa8eafef 8000
0b21c100
CY
80012012-01-25 Chong Yidong <cyd@gnu.org>
8002
8003 * custom.el (custom-variable-p): Doc fix.
8004
5ae1a6c8
GM
80052012-01-25 Glenn Morris <rgm@gnu.org>
8006
40047858
GM
8007 * dired.el (dired-goto-file): Handle some of the more common
8008 characters that `ls -b' escapes. (Bug#10596)
8009
5ddce96c
GM
8010 * progmodes/compile.el (compilation-next-error-function):
8011 Respect compilation-first-column in the "*compilation*" buffer.
8012 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8013
5ae1a6c8
GM
8014 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8015
b559f1a9
GM
80162012-01-24 Glenn Morris <rgm@gnu.org>
8017
8018 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8019
6725d21a
JD
80202012-01-24 Julien Danjou <julien@danjou.info>
8021
8022 * color.el (color-rgb-to-hsl): Fix value computing.
8023 (color-hue-to-rgb): New function.
8024 (color-hsl-to-rgb): New function.
8025 (color-clamp, color-saturate-hsl, color-saturate-name)
8026 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8027 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8028
70df4bbe
GM
80292012-01-24 Glenn Morris <rgm@gnu.org>
8030
8031 * vc/vc-rcs.el (vc-rcs-create-tag):
8032 * vc/vc-sccs.el (vc-sccs-create-tag):
8033 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8034
802a2ae2
ML
80352012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8036
8037 * eshell/esh-util.el (eshell-read-hosts-file):
8038 Skip comment lines. (Bug#10549)
8039
d7128bb1
ML
8040 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8041
d1a5c3b4
JB
80422012-01-23 Juanma Barranquero <lekktu@gmail.com>
8043
2724d9c7
JB
8044 * subr.el (display-delayed-warnings): Doc fix.
8045 (collapse-delayed-warnings): New function to collapse identical
8046 adjacent warnings.
8047 (delayed-warnings-hook): Add it.
d1a5c3b4 8048
a5509865
MA
80492012-01-22 Michael Albinus <michael.albinus@gmx.de>
8050
8051 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8052
a5509865
MA
8053 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8054 (tramp-default-user-alist): Don't add "pscp".
8055 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8056 property "login-as", if set. (Bug#10530)
8057
cc6d5805
MA
80582012-01-21 Michael Albinus <michael.albinus@gmx.de>
8059
8060 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8061 "plink1" and "psftp". (Bug#10530)
8062
80632012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8064
8065 * international/mule-cmds.el (prefer-coding-system): Show a
8066 warning message if the default value of file-name-coding-system
8067 was not changed.
8068
f0960428
JC
80692012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8070
cb882333
JB
8071 * windmove.el (windmove-reference-loc):
8072 Fix windmove-reference-loc miscalculation.
f0960428 8073
dd6f2a63
JB
80742012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8075
8076 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8077 default unit.
8078
7b447e9b
GM
80792012-01-21 Glenn Morris <rgm@gnu.org>
8080
117a9ea1
GM
8081 * international/mule.el (auto-coding-alist): Add .tbz.
8082
7b447e9b
GM
8083 * files.el (local-enable-local-variables): Doc fix.
8084 (inhibit-local-variables-regexps): Rename from
8085 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8086 Doc fix. Add some extensions from auto-coding-alist.
8087 (inhibit-local-variables-suffixes):
8088 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8089 (inhibit-local-variables-p):
8090 New function, extracted from set-auto-mode-1.
8091 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8092 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8093 (hack-local-variables): Doc fix. Make the mode-only case
8094 respect enable-local-variables and friends.
8095 Respect inhibit-local-variables-regexps for file-locals, but
8096 not for directory-locals.
8097 (set-visited-file-name):
8098 Take account of inhibit-local-variables-regexps.
8099 Whether it applies may change as the file name is changed.
8100 * jka-cmpr-hook.el (jka-compr-install):
8101 * jka-compr.el (jka-compr-uninstall):
8102 Update for inhibit-first-line-modes-suffixes name change.
8103
dd6e3cdd
MR
81042012-01-20 Martin Rudalics <rudalics@gmx.at>
8105
8106 * help-macro.el (make-help-screen): Temporarily restore original
8107 binding for minor-mode-map-alist (Bug#10454).
8108
0d0deb38
JD
81092012-01-19 Julien Danjou <julien@danjou.info>
8110
8111 * color.el (color-name-to-rgb): Use the white color to find the max
8112 color component value and return correctly computed values.
8113 (color-name-to-rgb): Add missing float conversion for max value.
8114
34a02f46
MR
81152012-01-19 Martin Rudalics <rudalics@gmx.at>
8116
8117 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8118 special state value for window-persistent-parameters.
8119 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8120 (window--state-put-2): Reset all window parameters to nil before
8121 assigning values of persistent parameters.
8122
606c44c4
AM
81232012-01-18 Alan Mackenzie <acm@muc.de>
8124
8125 Eliminate sluggishness and hangs in fontification of "semicolon
8126 deserts".
8127
cb882333
JB
8128 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8129 Change value 10000 -> 3000.
606c44c4
AM
8130 (c-state-safe-place): Reformulate so it doesn't stack up an
8131 infinite number of wrong entries in c-state-nonlit-pos-cache.
8132 (c-determine-limit-get-base, c-determine-limit): New functions to
8133 determine backward search limits disregarding literals.
8134 (c-find-decl-spots): Amend commenting.
8135 (c-cheap-inside-bracelist-p): New function which detects "={".
8136
8137 * progmodes/cc-fonts.el
8138 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8139 backward search.
8140 (c-font-lock-declarations): Fix an occurrence of point being
8141 undefined. Check additionally for point being in a bracelist or
8142 near a macro invocation without a semicolon so as to avoid a
8143 fruitless time consuming search for a declarator. Give a more
8144 precise search limit for declarators using the new
8145 c-determine-limit.
8146
f3860cea
GM
81472012-01-18 Glenn Morris <rgm@gnu.org>
8148
8149 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8150 (set-auto-mode): Doc fixes.
8151
1db03b16
GM
81522012-01-17 Glenn Morris <rgm@gnu.org>
8153
0e6038be
GM
8154 * isearch.el (search-nonincremental-instead): Fix doc typo.
8155
1db03b16
GM
8156 * dired.el (dired-insert-directory): Handle newlines in directory name.
8157 (dired-build-subdir-alist): Unescape newlines in directory name.
8158
4cb0aa75
MA
81592012-01-17 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8162 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8163 (tramp-action-terminal): Use it. (Bug#10530)
8164
1d00653d
SM
81652012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8166
8167 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8168
6a6ee00d
MR
81692012-01-16 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (window-state-ignored-parameters): Remove variable.
8172 (window--state-get-1): Rename argument MARKERS to IGNORE.
8173 Handle persistent window parameters. Make copy of clone-of
8174 parameter only if requested. (Bug#10348)
8175 (window--state-put-2): Install a window parameter only if it has
8176 a non-nil value or an existing parameter shall be overwritten.
8177
97912def
MA
81782012-01-15 Michael Albinus <michael.albinus@gmx.de>
8179
8180 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8181
688070a5
EZ
81822012-01-14 Eli Zaretskii <eliz@gnu.org>
8183
8184 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8185 don't pass the (nil) value of `upnode' to string-match.
8186
301afadc
CY
81872012-01-14 Chong Yidong <cyd@gnu.org>
8188
8189 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8190 Fix values recognized by the cursorBlink resource.
301afadc 8191
9e5788aa
PE
81922012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8193
8194 * epg.el (epg--make-temp-file): Avoid permission race condition
8195 when running on old Emacs versions (bug#10403).
8196
3cdb7f5a
GM
81972012-01-14 Glenn Morris <rgm@gnu.org>
8198
8199 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8200
8c82b1b4
AM
82012012-01-13 Alan Mackenzie <acm@muc.de>
8202
8203 Fix filling for when filladapt mode is enabled.
8204
8205 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8206 c-mask-paragraph, pass in `fill-paragraph' rather than
8207 `fill-region-as-paragraph'. (This is a reversion of a previous
8208 change.)
eb864a71
LM
8209 * progmodes/cc-mode.el (c-basic-common-init):
8210 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8211
e517eda4
GM
82122012-01-13 Glenn Morris <rgm@gnu.org>
8213
1498536e
GM
8214 * dired.el (dired-switches-escape-p): New function.
8215 (dired-insert-directory): Use dired-switches-escape-p.
8216 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8217
e517eda4
GM
8218 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8219
328f984d
GM
82202012-01-12 Glenn Morris <rgm@gnu.org>
8221
8222 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8223 changes in adaptive-fill-regexp. (Bug#10276)
8224
2cc769a8
AM
82252012-01-11 Alan Mackenzie <acm@muc.de>
8226
8227 Fix Emacs bug #10463 - put `widen's around the critical spots.
8228
1d00653d 8229 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
8230 widen around each invocation of c-state-pp-to-literal. Remove an
8231 unused let variable.
8232
e52c37fa
GM
82332012-01-11 Glenn Morris <rgm@gnu.org>
8234
8235 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 8236 Doc fix.
e52c37fa 8237
96f8741e
CY
82382012-01-10 Chong Yidong <cyd@gnu.org>
8239
1d00653d
SM
8240 * net/network-stream.el (network-stream-open-starttls):
8241 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
8242 response to the capability command.
8243
b09a806e
GM
82442012-01-10 Glenn Morris <rgm@gnu.org>
8245
8246 * mail/unrmail.el (unrmail): Tweak previous change.
8247
7655cb66
CY
82482012-01-09 Chong Yidong <cyd@gnu.org>
8249
8250 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8251
9d5a8f0b
AM
82522012-01-08 Alan Mackenzie <acm@muc.de>
8253
8254 Optimise font locking in long enum definitions.
8255
8256 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8257 arm to a cond form to handle enums.
8258 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8259 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8260
9a0115ab 82612012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
8262
8263 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 8264 (Bug#10401)
6bb72cbd 8265
f186bb95
LMI
82662012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8267
29232a68
LMI
8268 * faces.el (set-face-attribute): Clarify the meaning of the nil
8269 frame (bug#10294).
8270
4e5d086d
LMI
8271 * subr.el (with-selected-frame): Mention that the selected frame
8272 is restored (bug#9980).
8273
8e66aebe
LMI
8274 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8275 (bug#9759).
8276
cd394be1 8277 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
8278 (password-read): Don't autoload unused function.
8279
adf4e762
JB
82802012-01-07 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * progmodes/which-func.el (which-func-mode): Turn into a
8283 non-interactive function and mark as obsolete (bug#10428).
8284
89bd9ccd
CY
82852012-01-06 Chong Yidong <cyd@gnu.org>
8286
8287 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8288 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8289 functions, along with 1 and -1.
8290
4afee9d5
EZ
82912012-01-06 Eli Zaretskii <eliz@gnu.org>
8292
8293 * time.el (display-time-load-average)
8294 (display-time-default-load-average): Doc fixes. See the thread
8295 starting at
8296 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8297 for the details.
8298
536aea70
GM
82992012-01-06 Glenn Morris <rgm@gnu.org>
8300
665ae865
GM
8301 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8302 has no messages. (Bug#10377)
8303
c869783d
GM
8304 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8305 than Info-edit. (Bug#10385)
8306
2bb4227e
GM
8307 * time.el (display-time-load-average, display-time-next-load-average):
8308 Doc fixes.
8309
7d5944b9
GM
8310 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8311 local setting of buffer-read-only to the input buffer. (Bug#10419)
8312
536aea70
GM
8313 * calendar/calendar.el (calendar-mode):
8314 Locally set scroll-margin to 0. (Bug#10379)
8315
7dccca16
UM
83162012-01-06 Ulrich Mueller <ulm@gentoo.org>
8317
8318 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8319
afbb7930
GM
83202012-01-05 Glenn Morris <rgm@gnu.org>
8321
8322 * eshell/em-unix.el (diff-no-select): Autoload it.
8323 (eshell/diff): Use diff-no-select. (Bug#10420)
8324
04482335
CY
83252012-01-05 Chong Yidong <cyd@gnu.org>
8326
7baca3bc
CY
8327 * shell.el (shell-dynamic-complete-functions): Revert last change.
8328 (shell-command-completion-function): New function.
8329 (shell-completion-vars): Use it to implement
8330 shell-completion-execonly (Bug#10417).
8331
04482335
CY
8332 * custom.el (enable-theme): Don't set custom-safe-themes.
8333
1d00653d
SM
8334 * cus-theme.el (custom-theme-merge-theme):
8335 Ignore custom-enabled-themes and custom-safe-themes.
04482335 8336
bb5aa5d6
MM
83372012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8338
8339 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8340 first prompt in `sql-interacive-mode'.
8341 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 8342 keywords.
6df6ae42 8343 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
8344 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8345 context of original buffer. Invoke `sql-login-hook'.
8346
a7183d7c
EZ
83472012-01-04 Eli Zaretskii <eliz@gnu.org>
8348
8349 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8350 letters in cite-prefix.
8351
a1eacd1e
LMI
83522012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8353
8354 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8355
787cdb34
CY
83562012-01-03 Chong Yidong <cyd@gnu.org>
8357
1d00653d
SM
8358 * shell.el (shell-dynamic-complete-functions):
8359 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
8360 comint-filename-completion first (Bug#10417).
8361
30710442
RS
83622012-01-02 Richard Stallman <rms@gnu.org>
8363
8364 * battery.el (battery-status-function):
8365 Detect when to use battery-yeeloong-sysfs.
8366 (battery-echo-area-format): Add string for Yeeloong.
8367 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8368 (battery-yeeloong-sysfs): New function.
8369
f75bfc33
CY
83702012-01-02 Chong Yidong <cyd@gnu.org>
8371
8372 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8373 (dirtrack): Merge code for handling relative filenames in prompt
8374 from shell-dir-cookie-watcher.
8375 (dirtrack-debug-message): New arg to avoid excess format calls.
8376
8377 * shell.el (shell-dir-cookie-re): Variable deleted.
8378 (shell-dir-cookie-watcher): Function deleted.
8379 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8380 with dirtrack-mode.
8381
651e947e
EZ
83822012-01-01 Eli Zaretskii <eliz@gnu.org>
8383
1d00653d
SM
8384 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8385 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
8386 libgnutls-26.dll.
8387
94d4c7dc
AS
83882011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8389
8390 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8391
8d43f3cd
EZ
83922011-12-31 Eli Zaretskii <eliz@gnu.org>
8393
8394 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8395 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8396
98c8795a
MA
83972011-12-29 Michael Albinus <michael.albinus@gmx.de>
8398
8399 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8400 also for alternative shells.
8401 (tramp-open-connection-setup-interactive-shell): Check, whether
8402 the shell is a busybox.
8403 (tramp-send-command): Don't suppress multiple prompts for
8404 busyboxes, it hurts.
8405
51281b32
CY
84062011-12-28 Chong Yidong <cyd@gnu.org>
8407
8408 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8409 (gdb-get-source-file): Move mode line update to
8410 gdb-get-source-file (Bug#10087).
8411
2170cb53
CY
84122011-12-25 Chong Yidong <cyd@gnu.org>
8413
8414 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8415 gud-gdb-marker-filter without taking it as an argument.
8416 (gud-gdb-run-command-fetch-lines): Caller changed.
8417 (gud-gdb-completion-function): New variable.
8418 (gud-gdb-completion-at-point): Use it.
8419 (gud-gdb-completions-1): Split from gud-gdb-completions.
8420
8421 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8422 function as separate arguments.
8423 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8424 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8425 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8426 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8427 (gdb-stopped, def-gdb-auto-update-trigger)
8428 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
8429 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8430 Callers changed.
2170cb53
CY
8431 (gud-gdbmi-completions): New function.
8432 (gdb): Use it for generating the completion table.
8433
be8b11bb
AM
84342011-12-24 Alan Mackenzie <acm@muc.de>
8435
8436 Introduce a mechanism to widen the region used in context font
1d00653d 8437 locking. Use this to protect declarations from losing their contexts.
be8b11bb 8438
1d00653d
SM
8439 * progmodes/cc-langs.el (c-before-font-lock-functions):
8440 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8441 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8442 functions to be run just before context (etc.) font locking.
8443
8444 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8445 New, functionality extracted from
be8b11bb 8446 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8447 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8448 (c-after-change): Set c-in-after-change-fontification.
8449 (c-set-fl-decl-start): Rejig its interface, so it can be called
8450 from both after-change and context fontifying.
b81d40f0
JB
8451 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8452 New functions.
8453 (c-standard-font-lock-fontify-region-function): New variable.
8454 (c-font-lock-fontify-region): New function.
be8b11bb 8455
341cf6ac
JL
84562011-12-24 Juri Linkov <juri@jurta.org>
8457
8458 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8459 (Bug#10348)
8460
bffcee0a
MA
84612011-12-23 Michael Albinus <michael.albinus@gmx.de>
8462
8463 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8464 existence of source file. (Bug#10325)
8465
cb5e207c
AM
84662011-12-23 Alan Mackenzie <acm@muc.de>
8467
8468 Fix unstable fontification inside templates.
8469
b81d40f0
JB
8470 * progmodes/cc-langs.el (c-before-font-lock-functions):
8471 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8472 additionally has c-set-fl-decl-start. The other languages (apart
8473 from AWK) have that as a single entry.
8474
b81d40f0
JB
8475 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8476 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8477 c-set-fl-decl-start.
8478
b81d40f0
JB
8479 * progmodes/cc-mode.el (c-common-init, c-after-change):
8480 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8481 (c-set-fl-decl-start): New function, extracted from
8482 c-font-lock-enclosing-decls and enhanced.
8483
60ff536c
JB
84842011-12-23 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8487
1c4757d6
JL
84882011-12-22 Juri Linkov <juri@jurta.org>
8489
8490 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8491
d031f2c7
CY
84922011-12-22 Chong Yidong <cyd@gnu.org>
8493
8494 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8495
bace743a
DA
84962011-12-21 Drew Adams <drew.adams@oracle.com>
8497
8498 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8499
728a1f2b
JC
85002011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8501
8502 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8503
0d373f73
TZ
85042011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8505
fec0aaa4
TZ
8506 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8507 highlighting and support. Fix up comments for capitalization.
8508 (cfengine-mode-debug): New var.
8509 (cfengine3-mode): Change the modeline indicator to "CFE3".
8510 (cfengine3-font-lock-keywords): Improve defun highlighting.
8511 (cfengine2-actions): Rename from `cfengine-actions'.
8512 (cfengine2-font-lock-keywords): Rename from
8513 `cfengine-font-lock-keywords'.
8514 (cfengine2-imenu-expression): Rename from
8515 `cfengine-imenu-expression'.
8516 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8517 (cfengine2-beginning-of-defun): Rename from
8518 `cfengine-beginning-of-defun'.
8519 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8520 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8521 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8522 modeline indicator to "CFE2".
8523 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8524 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8525
bc86f573
CY
85262011-12-21 Chong Yidong <cyd@gnu.org>
8527
8528 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8529 filename argument.
8530
d45ba96b
MR
85312011-12-20 Martin Rudalics <rudalics@gmx.at>
8532
8533 * window.el (window-normalize-buffer-to-display): Remove.
8534 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8535
a6198c90
CY
85362011-12-19 Chong Yidong <cyd@gnu.org>
8537
8538 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8539 Don't signal an error in a predicate function; return non-nil.
8540 (vc-dir-mark-file): Move the error here.
8541 (vc-dir-mark-unmark): If acting on the region, keep going if one
8542 of the entries cannot be marked/unmarked.
8543 (vc-dir-mark-all-files): If current entry is a directory, mark
8544 only child files, as documented.
8545
34c5fb55
VB
85462011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8547
8548 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8549 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8550 addition.
8551
c803b2b7
JD
85522011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8553
8554 * term/ns-win.el (ns-get-selection-internal)
8555 (ns-store-selection-internal): Declare.
1154d12e
JB
8556 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8557 Declare as obsolete.
8558 (ns-get-pasteboard, ns-paste-secondary):
8559 Use ns-get-selection-internal.
8560 (ns-set-pasteboard, ns-copy-including-secondary):
8561 Use ns-store-selection-internal.
c803b2b7 8562
9cff91f8 85632011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8564
8565 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8566 (vc-deduce-fileset): Doc fix.
99a289d9 8567
f16c898a
AS
85682011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8569
8570 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8571
763237c4
SS
85722011-12-13 Sam Steingold <sds@gnu.org>
8573
8574 * man.el (Man-getpage-in-background): When running under a
8575 window-system, ignore $MANWIDTH and $COLUMNS.
8576
5fc1c122
KH
85772011-12-15 Kenichi Handa <handa@m17n.org>
8578
8579 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8580 (setup-ethiopic-environment-internal): Comment out key-binding for
8581 ethio-toggle-punctuation.
8582
13d49cbb
AM
85832011-12-13 Alan Mackenzie <acm@muc.de>
8584
898169a2
AM
8585 Add the switch statement to AWK Mode.
8586
7a71b18d 8587 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8588 "default" to the keywords regexp.
8589
7a71b18d 8590 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8591 expression as the rest.
1d00653d
SM
8592 (c-nonlabel-token-key): Allow string literals for AWK.
8593 Refactor for the other modes.
898169a2 8594
13d49cbb 8595 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8596 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8597 routines. Limit backward searching in c-font-lock-enclosing.decl.
8598
8599 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8600 pp-state and literal type in addition to the limits.
1d00653d 8601 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8602 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8603 (c-slow-in-literal, c-fast-in-literal): Remove.
8604 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8605
8606 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8607 being in a literal. Add a limit for backward searching.
8608
8609 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8610 c-slow-in-literal.
8611
15e0efc7
SM
86122011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8615
454592a6
MR
86162011-12-13 Martin Rudalics <rudalics@gmx.at>
8617
8618 * window.el (delete-other-windows): Use correct frame in call to
8619 window-with-parameter.
8620
87393f26
DP
86212011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8622
8623 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8624 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8625 (makefile-gmake-statements, makefile-makepp-statements):
8626 Use it and add new makepp keywords.
8627 (makefile-makepp-font-lock-keywords): Add new patterns.
8628 (makefile-match-function-end): Match new [...] and [[...]].
8629
11636b22
JB
86302011-12-11 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * ses.el (ses-call-printer-return, ses-cell-property-get)
8633 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8634 (ses-create-cell-variable, ses-reset-header-string)
8635 (ses-cell-set-formula, ses-repair-cell-reference-all)
8636 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8637 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8638 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8639 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8640 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8641 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8642 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8643 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8644 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8645 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8646 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8647 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8648
cf018193
VB
86492011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8650
8651 * ses.el: The overall change is to add cell renaming, that is
8652 setting fancy names for cell symbols other than name matching
8653 "\\`[A-Z]+[0-9]+\\'" regexp .
8654 (ses-create-cell-variable): New defun.
8655 (ses-relocate-formula): Relocate formulas only for cells the
8656 symbols of which are not renamed, i.e. symbols whose names do not
8657 match regexp "\\`[A-Z]+[0-9]+\\'".
8658 (ses-relocate-all): Relocate values only for cells the symbols of
8659 which are not renamed.
8660 (ses-load): Create cells variables as the (ses-cell ...) are read,
8661 in order to check row col consistency with cell symbol name only
8662 for cells that are not renamed.
8663 (ses-replace-name-in-formula): New defun.
8664 (ses-rename-cell): New defun.
8665
ee957461
CY
86662011-12-11 Chong Yidong <cyd@gnu.org>
8667
8668 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8669 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8670
9a9e9ef0
MR
86712011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8672
8673 * window.el (other-window): Fix docstring.
8674
92a8eba5
EZ
86752011-12-10 Eli Zaretskii <eliz@gnu.org>
8676
8677 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8678 `from' or `to' address before taking its substring.
8679 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8680 encoded name is chopped in the middle of the encoded string, and
8681 thus displayed encoded.
8682
e152e577
JB
86832011-12-10 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8686
e5d84bfe
EZ
86872011-12-10 Eli Zaretskii <eliz@gnu.org>
8688
8689 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8690 to use texinfo-update-node and commands that call it if the
8691 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8692 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8693 (texinfo-all-menus-update, texinfo-master-menu)
8694 (texinfo-update-node, texinfo-every-node-update)
8695 (texinfo-multiple-files-update): Doc fix. Warn against updating
8696 all the @node lines.
8697 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8698 argument is numeric. Explain better in the doc string what the
8699 function really does.
8700 (texinfo-insert-master-menu-list): Improve the error message
8701 displayed if there's no menu in the Top node.
8702 (Bug#2975) See also this thread:
e5d84bfe
EZ
8703 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8704
1d84e9bb
MG
87052011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8706
8707 * speedbar.el (speedbar-supported-extension-expressions):
8708 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8709
382c953b
JB
87102011-12-09 Juanma Barranquero <lekktu@gmail.com>
8711
8712 * printing.el (pr-mode-alist):
8713 * simple.el (filter-buffer-substring-functions)
8714 (completion-list-insert-choice-function):
8715 * window.el (window-with-parameter, window-atom-root)
8716 (window-sides-slots, window-size-fixed, window-min-delta)
8717 (window-max-delta, window--resize-mini-window)
8718 (window--resize-child-windows-normal, window-tree)
8719 (delete-other-windows, quit-window, split-window)
8720 (display-buffer-record-window, special-display-buffer-names)
8721 (special-display-regexps, special-display-popup-frame)
8722 (same-window-p, split-window-sensibly)
8723 (display-buffer-overriding-action, display-buffer-alist)
8724 (display-buffer-base-action, display-buffer, switch-to-buffer)
8725 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8726 (fit-window-to-buffer, recenter-positions)
8727 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8728 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8729 and remove unneeded backslashes in docstrings.
8730
39c9faef
SM
87312011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8732
98449af8
SM
8733 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8734
39c9faef
SM
8735 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8736 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8737 end in ".mk".
8738 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8739 when reading the makefile (bug#10116).
8740
86ed9fdc
SM
87412011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8744 (bug#10116).
8745
5580f89d
GM
87462011-12-06 Glenn Morris <rgm@gnu.org>
8747
8748 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8749
28d3917c
CY
87502011-12-06 Chong Yidong <cyd@gnu.org>
8751
8752 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8753
a98edce9
JB
87542011-12-06 Juanma Barranquero <lekktu@gmail.com>
8755
8756 * textmodes/table.el (table-shorten-cell): Fix typo.
8757
e65adfac
CG
87582011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8759
8760 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8761
71cc0b74
EZ
87622011-12-05 Eli Zaretskii <eliz@gnu.org>
8763
8764 * descr-text.el (describe-char): Fix display of strong
8765 right-to-left characters and directional embeddings and overrides.
8766
8767 * simple.el (what-cursor-position): Fix display of codepoints of
8768 strong right-to-left characters.
8769
315bc30d
CY
87702011-12-05 Chong Yidong <cyd@gnu.org>
8771
8772 * faces.el (read-color): Doc fix.
8773
58a70b94
GM
87742011-12-05 Glenn Morris <rgm@gnu.org>
8775
8776 * align.el (align--set-marker): Add doc-string.
8777 Don't try to move something that is not a marker. (Bug#10216)
8778
5158face
GM
87792011-12-04 Glenn Morris <rgm@gnu.org>
8780
8781 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8782 overly zealous deletion of trailing whitespace.
8783
520fca41
JB
87842011-12-04 Juanma Barranquero <lekktu@gmail.com>
8785
8786 * server.el (server-delete-client): On Windows, do not try to delete
8787 the only terminal.
8788 (server-process-filter): On Windows, treat requests for a tty frame as
8789 if they were for a GUI frame if the running server is in GUI mode.
8790
5e605a2e
GM
87912011-12-03 Glenn Morris <rgm@gnu.org>
8792
8793 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8794
5c3fe83f
SM
87952011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8796
6f5e57e7
SM
8797 * electric.el: Streamline electric-indent's hook.
8798 (electric-indent-chars): Revert to simple list.
8799 (electric-indent-functions): New var.
8800 (electric-indent-post-self-insert-function): Use it.
8801
5c3fe83f
SM
8802 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8803 there's no inferior buffer (bug#10196).
8804 (prolog-consult-compile): Don't use toggle-read-only.
8805
6bdac736
MA
88062011-12-02 Michael Albinus <michael.albinus@gmx.de>
8807
8808 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8809 interrupt. (Bug#10187)
8810
6131ba7f
SM
88112011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8812
99c79fee
SM
8813 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8814 (bug#9160).
8815
6131ba7f
SM
8816 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8817 (bug#10191).
8818
cb0a02ea
JL
88192011-12-02 Juri Linkov <juri@jurta.org>
8820
8821 * info.el (Info-search): Display "end of manual" when Isearch
8822 reaches the end of single-file Info manual. (Bug#9918)
8823
66e0570c
EZ
88242011-12-02 Eli Zaretskii <eliz@gnu.org>
8825
8826 * isearch.el (isearch-message-prefix): Run the input method part
8827 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8828
02b16839
JL
88292011-12-02 Juri Linkov <juri@jurta.org>
8830
8831 * isearch.el (isearch-occur): Use `word-search-regexp' for
8832 `isearch-word'.
8833 (isearch-search-and-update): Add condition for `isearch-word' and
8834 call `word-search-regexp'. (Bug#10145)
8835
0b950688
GM
88362011-12-01 Glenn Morris <rgm@gnu.org>
8837
8838 * eshell/em-hist.el (eshell-hist-initialize):
8839 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8840 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8841
9505c3c7
SM
88422011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8845
1bbe96b2 88462011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8847
a1beca85
SM
8848 * progmodes/verilog-mode.el (verilog-pretty-expr):
8849 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8850 verilog, such as += *= and the like.
8851 (verilog-assignment-operator-re): Regular expression to find the
8852 assigment operator in a verilog assignment.
8853 (verilog-assignment-operation-re): Regular expression to find an
8854 assignment statement for pretty-expr.
8855 (verilog-in-attribute-p): Query returns true if point is in an
8856 attribute context; used to skip these for expression line up from
8857 pretty-expr.
8858 (verilog-in-parameter-p): Query returns true if point is in an
8859 parameter definition context; used to skip these for expression
8860 line up from pretty-expr.
8861 (verilog-in-parenthesis-p): Query returns true if point is in a
8862 parenthetical expression, specifically ( ) but not [ ] or { };
8863 used by pretty-expr.
8864 (verilog-just-one-space): If there is no space, don't add one.
8865 (verilog-get-lineup-indent-2): Specifically skip just attribute
8866 contexts for expression lineup, rather than skipping all
8867 parenthetical expressions.
8868 (verilog-calculate-indent): Fix comment, and fix indent.
8869 (verilog-do-indent): Indent declarations in lists (suggested by
8870 Joachim Lechner).
8871 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8872 skeleton items.
8873 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8874 by Alain Mellan).
8875
1bbe96b2 88762011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8877
8878 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8879 parameters with embedded comments. Reported by Ray Stevens.
8880 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8881 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8882 Reported by Tim Holt.
8883 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8884 instantiated by upper module causing wrong expansion until AUTOed a
8885 second time. Reported by K C Buckenmaier.
8886 (verilog-diff-auto): Fix showing .* as a difference when
8887 `verilog-auto-star-save' off. Reported by Dan Dever.
8888 (verilog-auto-reset, verilog-read-always-signals)
8889 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8890 temporary signals in reset list if
8891 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8892 style to each signal's assignment type, bug381.
8893 Reported by Thomas Esposito.
6288f0ca
WS
8894 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8895 (verilog-uvm-statement-re): Support UVM indentation and
8896 highlighting, with old OVM keywords only.
a1beca85 8897 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8898 Support AUTOTIEOFF creating non-wire data types.
8899 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8900 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8901 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8902 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8903 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8904 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8905 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8906 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8907 non-numeric vector width. Reported by Alex Reed.
8908 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8909 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8910 (verilog-auto-delete-trailing-whitespace):
8911 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8912 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8913 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8914 Fix verilog-scan-cache corruption when running user AUTO expansion
8915 hooks that call indentation routines.
8916 (verilog-simplify-range-expression): Fix typo ignoring lower case
8917 identifiers.
8918 (verilog-delete-auto): Fix delete-autos to also remove user created
8919 automatics, as long as they start with AUTO.
8920 (verilog-batch-diff-auto, verilog-diff-auto)
8921 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8922 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8923 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8924 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8925 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8926 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8927 is disabled and its cache will get corrupt, causing AUTOS not to
8928 expand. Instead use only -quick functions.
8929 (verilog-scan-region): Fix scanning over escaped quotes.
8930 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8931 (verilog-re-search-backward-quick)
8932 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8933 related functions now ignore strings, to fix misparsing of strings
8934 with magic comments embedded in them.
a1beca85
SM
8935 (verilog-read-auto-template):
8936 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8937 Reported by Brad Dobbie.
8938 (verilog-read-auto-template):
8939 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8940 Reported by Brad Dobbie.
6288f0ca
WS
8941 (verilog-auto-inst, verilog-auto-inst-param)
8942 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8943 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8944 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8945 debugging templates without merge conflicts, bug357.
8946 Reported by Brad Dobbie.
8947 (verilog-read-auto-template):
8948 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8949 Reported by Brad Dobbie.
8950 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8951 abbrevs so user won't be asked to save.
8952 (verilog-read-auto-lisp-present): Fix to start at beginning of
8953 buffer in case called outside of verilog-auto.
8954 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8955 to "X-2". Reported by Matthew Myers.
8956 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8957 all inputs from module templates. Reported by Leith Johnson.
8958 (verilog-module-inside-filename-p): Fix locating programs as with
8959 modules.
8960 (verilog-auto-inst-port): Fix vl-width expressions when using
8961 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8962 (verilog-decls-get-regs, verilog-decls-get-signals,
8963 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8964 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8965 verilog-read-decls): Combine reg and wire structures into one var
8966 structure to represent SystemVerilog concepts.
8967 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8968 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8969 (verilog-auto-wire-type, verilog-insert-definition):
8970 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8971 SystemVerilog "logic" keyword instead of "wire"/"reg".
8972 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8973 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8974 ifdef or generate if so there's not a driver conflict).
8975 Reported by Matthew Myers.
8976 (verilog-auto-declare-nettype, verilog-insert-definition):
8977 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8978 `default_nettype none. Reported by Julian Gorfajn.
8979 (verilog-read-always-signals-recurse, verilog-read-decls)
8980 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8981 malformed end statement, bug325. Reported by Joshua Wise and
8982 Andrew Drake.
8983 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8984 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8985 when expanding .* in interfaces, bug320.
8986 Reported by Pierre-David Pfister.
6288f0ca 8987 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8988 name and open parenthesis, bug317.
8989 Reported by Pierre-David Pfister.
6288f0ca
WS
8990 (verilog-simplify-range-expression): Fix simplification of
8991 multiplications inside AUTOWIRE connections, bug303.
8992 (verilog-auto-inst-port): Support parameter expansion in
8993 multidimensional arrays.
8994 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8995 after "assert property". Reported by Julian Gorfajn.
8996 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8997 with multiplication, bug303.
8998 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8999 Reported by Jan Frode Lonnum.
9000
1bbe96b2
GM
90012011-11-30 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9004 (hfy-shell-file-name, hfy-shell):
9005 * international/fontset.el (x-decompose-font-name): Fix typos.
9006
90072011-11-29 Ken Brown <kbrown@cornell.edu>
9008
9009 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9010 (gdb-version): Remove defvar.
9011 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9012 (gdb-gud-context-command, gdb-non-stop-handler)
9013 (gdb-current-context-command, gdb-stopped): Use it.
9014 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9015 (gdb-non-stop-handler): Don't enable pretty-printing here.
9016 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9017 non-stop mode. Use the following.
9018 (gdb-check-target-async): New defun.
9019 (gud-watch, gdb-stopped): Fix whitespace.
9020 (gdb-get-source-file): Don't try to display the source file if
9021 `gdb-main-file' is nil.
9022
90232011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * align.el: Try to generate fewer markers (bug#10047).
9026 (align--set-marker): New macro.
9027 (align-region): Use it.
9028
c935221f
SM
90292011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9032
e70b5064
CY
90332011-11-29 Chong Yidong <cyd@gnu.org>
9034
9035 * indent.el (indent-for-tab-command, indent-according-to-mode):
9036 Doc fix.
9037 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9038
f3af92b7
MA
90392011-11-29 Michael Albinus <michael.albinus@gmx.de>
9040
9041 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9042 aware of remote file names. (Bug#10124)
9043
ed472be9
CY
90442011-11-29 Chong Yidong <cyd@gnu.org>
9045
9046 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9047
24510c22
SM
90482011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * files.el (find-file): Don't use force-same-window (bug#10144).
9051 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9052 use pop-to-buffer if the selected window can't be used.
9053 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9054
c60c3703
EZ
90552011-11-28 Eli Zaretskii <eliz@gnu.org>
9056
9057 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9058 special-mode-map.
9059
e95def75
CY
90602011-11-28 Chong Yidong <cyd@gnu.org>
9061
9062 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9063
c3f1c606
NR
90642011-11-27 Nick Roberts <nickrob@snap.net.nz>
9065
9066 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9067 gdb-get-source-file-list on gdb-create-source-file-list.
9068
00db469c
EZ
90692011-11-26 Eli Zaretskii <eliz@gnu.org>
9070
9071 * whitespace.el (whitespace-newline): Use a different foreground
9072 color for 16-color light-background displays.
9073
4ad3bc2a
CY
90742011-11-24 Chong Yidong <cyd@gnu.org>
9075
9076 * window.el (display-buffer--special-action): Doc fix.
9077
e9fce1ac
JB
90782011-11-25 Juanma Barranquero <lekktu@gmail.com>
9079
9080 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9081 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9082 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9083 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9084 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9085 (avl-tree-stack-first):
9086 * emacs-lisp/cconv.el (cconv--analyse-use):
9087 * net/gnutls.el (gnutls-negotiate): Fix typos.
9088
cb825e5d
GM
90892011-11-24 Glenn Morris <rgm@gnu.org>
9090
3adbe224
GM
9091 * lpr.el (lpr-windows-system, lpr-lp-system):
9092 * mail/binhex.el (binhex-begin-line):
9093 * progmodes/grep.el (grep-history, grep-find-history):
9094 * textmodes/flyspell.el:
9095 * vc/pcvs-defs.el (cvs-global-menu):
9096 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9097 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9098 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9099
321decc8
GM
9100 * net/tls.el: Fix case of "GnuTLS".
9101
420b63ad
GM
9102 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9103
cb825e5d
GM
9104 * version.el (emacs-build-system): Give it a doc-string.
9105
a0649f08
JL
91062011-11-24 Juri Linkov <juri@jurta.org>
9107
9108 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9109
c0bc0fd4
GM
91102011-11-24 Glenn Morris <rgm@gnu.org>
9111
9112 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9113 if called on a non-mime message just toggle the headers. (Bug#8006)
9114
20db1522
JB
91152011-11-24 Juanma Barranquero <lekktu@gmail.com>
9116
9117 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9118 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9119 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9120 (allout-rebullet-heading, allout-open-sibtopic)
9121 (allout-toggle-current-subtree-encryption)
9122 (allout-toggle-subtree-encryption, allout-encrypt-string)
9123 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9124 (allout-distinctive-bullets-string, allout-auto-activation):
9125 * window.el (window-normalize-buffer-to-display):
9126 * progmodes/verilog-mode.el (verilog-batch-indent):
9127 * textmodes/bibtex.el (bibtex-field-braces-opt)
9128 (bibtex-field-strings-opt):
9129 * vc/cvs-status.el (cvs-tree-merge):
9130 Fix typos.
9131
7262a87c
MA
91322011-11-23 Michael Albinus <michael.albinus@gmx.de>
9133
9134 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9135 `non-essential' to t, in order to avoid remote connections.
9136
283430a1
EZ
91372011-11-23 Eli Zaretskii <eliz@gnu.org>
9138
a1beca85
SM
9139 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9140 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9141 case-insensitively.
9142
d2992a38
ML
91432011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9144
9145 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9146
50419064
GM
91472011-11-23 Glenn Morris <rgm@gnu.org>
9148
da94eca1
GM
9149 * paths.el (rmail-file-name): Reformat the doc-string so that it
9150 is picked up.
9151
9aac4de2
GM
9152 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9153 (rmail-auto-file): Ignore case in the "special" field names,
9154 as mail-fetch-field does for all others.
9155
8038d2d2
GM
9156 * mail/rmail.el (rmail-forward):
9157 * mail/rmailkwd.el (rmail-set-label):
9158 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9159 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9160
f3fe222a
GM
9161 * mail/rmail.el (rmail-current-message): Doc fix.
9162
50419064
GM
9163 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9164
28109f49
SM
91652011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9168
394c65f1
GM
91692011-11-22 Glenn Morris <rgm@gnu.org>
9170
9171 * mail/rmailmm.el (test-rmail-mime-handler)
9172 (test-rmail-mime-bulk-handler)
9173 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9174
f2a0aa3a
JL
91752011-11-21 Juri Linkov <juri@jurta.org>
9176
1154d12e
JB
9177 * calc/calc.el (calc-read-key-sequence):
9178 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9179
9c34a344
LMI
91802011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9181
9182 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9183 Tell the caller that the next line needs recomputation, even
9184 though it doesn't start a sexp (bug#10094).
9185
f04a3be9
SM
91862011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9187
9188 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9189
7978747f
SM
91902011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9191
f04a3be9
SM
9192 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9193 Use force-same-window.
7978747f 9194
fe7a3057
JB
91952011-11-20 Juanma Barranquero <lekktu@gmail.com>
9196
9197 * descr-text.el (describe-char-unicode-data):
9198 * json.el (json-string-escape):
9199 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9200 (Footnote-unicode, Footnote-style-p):
9201 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9202
24901d61
CY
92032011-11-20 Chong Yidong <cyd@gnu.org>
9204
9205 * window.el (replace-buffer-in-windows): Restore interactive spec.
9206
bac7ff22
SM
92072011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9208
24f3d7b9
SM
9209 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9210
bac7ff22
SM
9211 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9212 (byte-compile-global-not-obsolete-vars): New var.
9213 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9214 Use it.
9215 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9216
cd1181db
JB
92172011-11-20 Juanma Barranquero <lekktu@gmail.com>
9218
9219 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9220 * progmodes/pascal.el (electric-pascal-equal):
9221 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9222 * xml.el (xml-substitute-special): Fix typos.
9223
7fb18e9e
GM
92242011-11-20 Glenn Morris <rgm@gnu.org>
9225
9226 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9227 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9228 Doc fixes.
9229 (rmail-decode-mime-charset): Mark as obsolete.
9230
9231 * mail/rmailsum.el (rmail-message-regexp-p-1):
9232 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9233 Before using mime functions, check they are set. (Bug#10077)
9234
d5a6b3ba
JL
92352011-11-19 Juri Linkov <juri@jurta.org>
9236
9237 * info.el (Info-finder-find-node): Use `package--builtins' instead
9238 of `package-alist'. Use node names formed by the pattern "Keyword "
9239 and the keyword name.
9240
e981b61f
AS
92412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9242
1d00653d 9243 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 9244
3ffbc301
JL
92452011-11-19 Juri Linkov <juri@jurta.org>
9246
9247 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9248 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9249 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9250 `old-history', `old-history-forward'. Add let-binding
9251 `window-selected'. Remove calls to `kill-buffer',
9252 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9253 before calling `Info-find-node', so `Info-find-node-2' will reread
9254 the Info file. Restore window positions only when `window-selected'
9255 is non-nil.
9256
30c62133
JL
92572011-11-19 Juri Linkov <juri@jurta.org>
9258
9259 * isearch.el (isearch-lazy-highlight-new-loop):
9260 Remove condition `(not isearch-error)'. (Bug#9918)
9261
9262 * misearch.el (multi-isearch-search-fun): Add condition
9263 `(not bound)' to ignore lazy-highlighting search.
9264 Add the search-failed message "end of multi" when the end of
9265 multi-sequence is reached. Uncapitalize the search-failed
9266 message "Repeat for next buffer".
9267
9268 * info.el (Info-search): Add the search-failed message
9269 "end of the manual" when the end of the manual is reached
9270 in Isearch mode.
9271
645ca9cf
JL
92722011-11-19 Juri Linkov <juri@jurta.org>
9273
9274 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9275 Use non-destructive `remove' instead of `delete' because
9276 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9277 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9278
df754f66
JL
92792011-11-19 Juri Linkov <juri@jurta.org>
9280
9281 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9282 to nil instead of binding `search-ring' and `regexp-search-ring'.
9283 (Bug#9185)
9284
0e23d96a
EZ
92852011-11-19 Eli Zaretskii <eliz@gnu.org>
9286
9287 * simple.el (line-move): Force movement by logical lines for any
9288 hscrolled window, not only when auto-hscroll-mode is on.
9289 (line-move-visual): Update doc string to that effect. (Bug#10076)
9290
8a6ccb66
AS
92912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9292
9293 * language/european.el (macintosh): Define as alias for mac-roman.
9294
49ae5b39
EZ
92952011-11-19 Eli Zaretskii <eliz@gnu.org>
9296
9297 * mail/rmailmm.el (rmail-mime-display-header)
9298 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9299 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9300 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9301 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9302 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9303 of a raw aref.
9304 (rmail-mime-entity-segment): To get past the tagline, move forward
9305 2 more lines, to account for the 2 empty lines that precede and
9306 follow the line with the buttons.
9307 (rmail-mime-update-tagline): Move one more line, to get past the
9308 empty line that follows the buttons in the tagline. (Bug#9520)
9309
c56cad4a
MR
93102011-11-19 Martin Rudalics <rudalics@gmx.at>
9311
9312 * window.el (window-max-delta-1, window-min-delta-1)
9313 (window-min-size-1, window-state-get-1, window-state-put-1)
9314 (window-state-put-2): Use "window--" prefix.
9315
cbe71af3
SM
93162011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9317
2ad52c60
SM
9318 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9319 (smie-warning-count): New var.
9320 (smie-set-prec2tab): Use it.
9321 (smie-bnf->prec2): Improve warnings. Add docstring.
9322 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9323 (smie-bnf--set-class): New function.
9324 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9325 corner case.
9326
6944dbc1
SM
9327 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9328 (compilation-error-properties, compilation-move-to-column):
9329 Handle compilation-first-column while in the target buffer.
9330
c400c4d7
SM
9331 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9332 Don't hardcode point-min==1.
9333
6dbe3e96
SM
9334 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9335 (eshell-rewrite-for-command): Remove workaround.
9336 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9337 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9338 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9339
cbe71af3
SM
9340 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9341
a8e1496d
GM
93422011-11-17 Glenn Morris <rgm@gnu.org>
9343
9344 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9345 Ignore buffer-local generated-autoload-file if it is the same
9346 as the global value. (Bug#10049)
9347
df85d315
JB
93482011-11-17 Juanma Barranquero <lekktu@gmail.com>
9349
9350 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9351 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9352 (reftex-toc-previous-heading, reftex-toc-max-level)
9353 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9354 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9355 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9356 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9357 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9358 (reftex-toc-rename-label, reftex-toc-visit-location)
9359 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9360 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9361 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9362 leaving "*toc*" only for references to the buffer.
9363
a0c2d0ae
MR
93642011-11-17 Martin Rudalics <rudalics@gmx.at>
9365
9366 * window.el (window-resize, delete-window, split-window):
9367 Replace window-splits by window-combination-resize.
1d00653d 9368 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 9369
35c0bac8
GM
93702011-11-17 Glenn Morris <rgm@gnu.org>
9371
9372 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9373 Make bash entry derive from sh entry, not shell entry.
9374
d0c8fc8a
MA
93752011-11-16 Michael Albinus <michael.albinus@gmx.de>
9376
7262a87c
MA
9377 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9378 local file name.
9379
7877f373
JB
93802011-11-16 Juanma Barranquero <lekktu@gmail.com>
9381
9382 * menu-bar.el (menu-bar-file-menu):
9383 * printing.el (pr-ps-utility):
9384 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9385 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9386 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9387 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9388 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9389 (icalendar--convert-cyclic-to-ical)
9390 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9391 (icalendar--convert-ical-to-diary)
9392 (icalendar--convert-recurring-to-diary)
9393 (icalendar--convert-non-recurring-all-day-to-diary)
9394 (icalendar-import-format-sample):
9395 * progmodes/idlw-shell.el (idlwave-shell-mode):
9396 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9397 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9398 (vhdl-ps-print-init): Fix typos.
9399
10649b82
KM
94002011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9401
9d0cfcd6
GM
9402 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9403 FSF and collapse date sequence, obscure author/maintainer email address
9404 better, remove extra version line, track relocation of author's webpage.
10649b82 9405
9d0cfcd6
GM
9406 * progmodes/python.el (python-pdbtrack-input-prompt)
9407 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9408 regular python pdb prompts. Adjustments shamelessly taken exactly as
9409 suggested in EmacsWiki page (tiny change):
9410 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 9411
58179cce
JB
94122011-11-16 Juanma Barranquero <lekktu@gmail.com>
9413
9414 * expand.el (expand-pos, expand-index, expand-point):
9415 Remove redundant info from docstring.
9416 (expand-add-abbrevs): Doc fix.
9417 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9418 (expand-sample-perl-mode-expand-list): Fix typos.
9419
9420 * net/dbus.el (dbus-event-member-name):
9421 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9422 * term/pc-win.el (msdos-create-frame-with-faces):
9423 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9424
b6f67890
MR
94252011-11-16 Martin Rudalics <rudalics@gmx.at>
9426
9427 * window.el (split-window, window-state-get-1)
9428 (window-state-put-1, window-state-put-2): Rename occurrences of
9429 window-nest to window-combination-limit.
1d00653d 9430 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 9431
ce7ddba0
CY
94322011-11-16 Chong Yidong <cyd@gnu.org>
9433
9434 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9435 regexp (Bug#10033).
9436
3ae704f4
SM
94372011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9440 `completing-read' will remove *Completions* and will preserve
9441 current-buffer for us.
9442 (tmm-add-prompt): Users of *Completions* will always (re)set its
9443 major mode.
9444 (tmm-old-comp-map): Remove.
9445
6ad1cdde
GM
94462011-11-16 Glenn Morris <rgm@gnu.org>
9447
9448 * mail/rmailedit.el: Require rmailmm when compiling.
9449 (rmail-old-mime-state): New declaration.
9450 (rmail-edit-current-message): If editing a mime message,
9451 edit the "raw" message from the mbox buffer.
9452 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9453
d20faa20
GM
94542011-11-15 Glenn Morris <rgm@gnu.org>
9455
9456 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9457 which wasn't being used. Add optional arg to force given state.
9458 (rmail-mime): Add optional arg to force given state.
9459
c7015153
JB
94602011-11-15 Juanma Barranquero <lekktu@gmail.com>
9461
9462 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9463 * frame.el (display-mm-dimensions-alist):
9464 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9465 (outline-move-subtree-down):
9466 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9467 (newsticker--treeview-do-get-node):
9468 * net/quickurl.el (quickurl-list-buffer-name):
9469 * progmodes/dcl-mode.el (dcl-mode):
9470 * progmodes/gdb-mi.el (gdb-mapcar*):
9471 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9472
45261b50
GM
94732011-11-15 Glenn Morris <rgm@gnu.org>
9474
9475 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9476 in a boolean sense, so just make it a boolean, and fix the doc.
9477 (rmail-show-mime-function, rmail-mime-feature)
9478 (rmail-require-mime-maybe): Doc fixes.
9479 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9480
9481 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9482
0d26e0b6
JB
94832011-11-15 Juanma Barranquero <lekktu@gmail.com>
9484
9485 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9486 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9487 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9488 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9489
447f30f6
GM
94902011-11-15 Glenn Morris <rgm@gnu.org>
9491
672b871d
GM
9492 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9493 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9494 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9495 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9496 (rmail-mime, rmail-show-mime): Doc fixes.
9497
f6aa5bb1
GM
9498 * term/ns-win.el (mode-line-frame-identification):
9499 Leave it alone. (Bug#10051)
9500
947cd66b
GM
9501 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9502
447f30f6
GM
9503 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9504 Handle empty buffers. (Bug#9978)
9505
0b381c7e
JB
95062011-11-14 Juanma Barranquero <lekktu@gmail.com>
9507
9508 * international/mule.el (define-charset):
9509 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9510 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9511 * progmodes/verilog-mode.el (verilog-backward-token):
9512 * textmodes/ispell.el (lookup-words):
9513 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9514
71e027ac
GM
95152011-11-14 Glenn Morris <rgm@gnu.org>
9516
56632ce4
GM
9517 * progmodes/executable.el
9518 (executable-make-buffer-file-executable-if-script-p):
9519 Handle file-modes returning nil.
9520
40500957
GM
9521 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9522 message - not necessary, and causes problems. (Bug#9831)
9523
071c2340
GM
9524 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9525
d3cfca60
GM
9526 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9527
71e027ac
GM
9528 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9529 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9530 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9531
89d61221
MR
95322011-11-12 Martin Rudalics <rudalics@gmx.at>
9533
9534 * window.el (window-resize, delete-window): Use window-splits
9535 variable instead of function.
9536 (window-state-get-1, window-state-put-2, window-state-put):
9537 Don't deal with windows' splits status.
9538
98282f6f
GM
95392011-11-12 Glenn Morris <rgm@gnu.org>
9540
9541 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9542 (apropos-documentation): Doc fixes.
9543
40a8bdf6
JB
95442011-11-11 Juanma Barranquero <lekktu@gmail.com>
9545
9546 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9547 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9548
65bd19ff
SM
95492011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * electric.el (electric-indent-post-self-insert-function): Make it
9552 possible for a char to only indent in some circumstances.
9553 (electric-indent-mode): Simplify.
9554
54f9154c
MR
95552011-11-11 Martin Rudalics <rudalics@gmx.at>
9556
9557 * window.el (windows-with-parameter): Remove unused function.
9558 (windows-at-side): Rename to window-at-side-list.
9559 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9560 (window-side-check, window-size-ignore, window-size-fixed-1)
9561 (window-in-direction-2): Prefix with "window--".
9562 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9563
68cbc58b
GM
95642011-11-11 Glenn Morris <rgm@gnu.org>
9565
9566 * subr.el (eval-after-load): If FILE is already loaded,
9567 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9568
b2621720
GM
95692011-11-10 Glenn Morris <rgm@gnu.org>
9570
9a4de110
GM
9571 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9572 Call svn via vc-svn-command rather than vc-do-command.
9573 (vc-svn-command): Add --non-interactive. (Bug#9993)
9574 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9575
b2621720
GM
9576 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9577 Add toggle-read-only. (Bug#7292)
9578 * files.el (toggle-read-only): Mention that it should only
9579 be used interactively. (Bug#10006)
9580
1dce7193
SM
95812011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9582
d9ac1a1e
SM
9583 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9584 Adjust regexp for OCaml warnings.
9585
0c325082
SM
9586 * electric.el (electric-pair-post-self-insert-function): Let user
9587 turn it off buffer-locally (bug#9932).
9588
90132c14
SM
9589 * progmodes/python.el (python-beginning-of-statement):
9590 Rewrite (bug#2703).
9591
1dce7193
SM
9592 * progmodes/compile.el: Better handle TABs (bug#9749).
9593 (compilation-internal-error-properties)
9594 (compilation-next-error-function): Obey the target buffer's
9595 compilation-error-screen-columns.
9596
c4e7c63a
JB
95972011-11-09 Juanma Barranquero <lekktu@gmail.com>
9598
9599 * progmodes/meta-mode.el: Remove obsolete comments.
9600 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9601 Fix typos in docstrings.
9602
2cffd681
MR
96032011-11-09 Martin Rudalics <rudalics@gmx.at>
9604
9605 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9606 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9607 (window--resizable): New function. Make all callers of
9608 window-resizable call window--resizable instead.
9609 (window-resizable): Rewrite in terms of window--resizable.
9610
0edcba87
GM
96112011-11-08 Glenn Morris <rgm@gnu.org>
9612
9613 * progmodes/delphi.el (delphi-mode-syntax-table):
9614 Let define-derived-mode define a proper syntax table. (Bug#9994)
9615
4b0d61e3
SM
96162011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * window.el: Stay away from defsubst.
9619 (window-list-no-nils): Remove.
9620 (window-state-get-1, window-state-get): Use backquote instead.
9621
cd394be1 96222011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9623
4b0d61e3 9624 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9625 Fix incorrect use of default argument in `completing-read'.
9626
e1c2c6f2
MR
96272011-11-08 Martin Rudalics <rudalics@gmx.at>
9628
9629 * window.el (display-buffer-function, special-display-function):
9630 Mention display-buffer-record-window but do not mention
9631 help-setup parameter in doc-strings.
b3f4a882 9632 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9633
105216ed
CY
96342011-11-08 Chong Yidong <cyd@gnu.org>
9635
9636 * window.el (window-total-height, window-total-width): Doc fix.
9637 (window-body-size): Move from C.
9638 (window-body-height, window-body-width): Move to C.
9639
0a9f9ab5
SM
96402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * window.el: Make special-display like display-buffer-alist (bug#9532).
9643 (display-buffer--special-action): New function, morphed
9644 from display-buffer--special.
9645 (display-buffer): Use it to handle special-display-buffers at higher
9646 priority (just after display-buffer-alist).
9647 (display-buffer-fallback-action, display-buffer--other-frame-action)
9648 (pop-to-buffer-same-window): Remove display-buffer--special.
9649
a769dd15
GM
96502011-11-07 Glenn Morris <rgm@gnu.org>
9651
9652 * calendar/cal-menu.el (cal-menu-set-date-title):
9653 Do nothing if not in a calendar. (Bug#9976)
9654
05a61ee3
SM
96552011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * files.el (find-file): Always use selected-window.
9658
be7f5545
MR
96592011-11-07 Martin Rudalics <rudalics@gmx.at>
9660
9661 * window.el (window-combinations): Make WINDOW argument
9662 mandatory. Rewrite doc-string.
9663 (walk-window-subtree, window-atom-check, window-min-delta)
9664 (window-max-delta, window--resize-this-window)
9665 (window--resize-root-window-vertically, window-tree)
9666 (balance-windows, window-state-put): Rewrite doc-strings as to
9667 not mention the term "subwindow".
9668 (window--resize-subwindows-skip-p): Rename to
9669 window--resize-child-windows-skip-p.
9670 (window--resize-subwindows-normal): Rename to
9671 window--resize-child-windows-normal.
9672 (window--resize-subwindows): Rename to
9673 window--resize-child-windows.
9674 (window-or-subwindow-p): Rename to window--in-subtree-p.
9675
3c6702ef
ML
96762011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9677
9678 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9679 Ensure that mbox format messages end in two newlines (Bug#9974).
9680
49745b39
CY
96812011-11-06 Chong Yidong <cyd@gnu.org>
9682
9683 * window.el (window-combination-p): Function deleted; its
9684 side-effect is not used in any existing code.
9685 (window-combinations, window-combined-p): Call window-*-child
9686 directly.
9687
24300f5f
CY
96882011-11-05 Chong Yidong <cyd@gnu.org>
9689
9690 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9691 (window-size-ignore, window-state-get): Callers changed.
9692 (window-normalize-window): Rename from window-normalize-any-window.
9693 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9694 (window-normalize-live-window): Delete.
447f16b8
CY
9695 (window-combination-p, window-combined-p, window-combinations)
9696 (walk-window-subtree, window-atom-root, window-min-size)
9697 (window-sizable, window-sizable-p, window-size-fixed-p)
9698 (window-min-delta, window-max-delta, window-resizable)
9699 (window-resizable-p, window-full-height-p, window-full-width-p)
9700 (window-current-scroll-bars, window-point-1, set-window-point-1)
9701 (window-at-side-p, window-in-direction, window-resize)
9702 (adjust-window-trailing-edge, maximize-window, minimize-window)
9703 (window-deletable-p, delete-window, delete-other-windows)
9704 (record-window-buffer, unrecord-window-buffer)
9705 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9706 (quit-window, split-window, window-state-put)
9707 (set-window-text-height, fit-window-to-buffer)
9708 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9709
89bd5ee1
EZ
97102011-11-04 Eli Zaretskii <eliz@gnu.org>
9711
53479029
EZ
9712 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9713 rfc2047-decode-string.
9714 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9715 warnings.
9716
89bd5ee1
EZ
9717 * window.el (window-body-height, window-body-width): Mention in
9718 the doc string that the return values are in frame's canonical
9719 units. (Bug#9949)
9720
bd17fdee
AM
97212011-11-03 Alan Mackenzie <acm@muc.de>
9722
9723 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9724 change in cc-engine.el.
9725
acc825c5
SM
97262011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9729
1885e5b8
MR
97302011-11-02 Martin Rudalics <rudalics@gmx.at>
9731
9732 * window.el (quit-window): Call unrecord-window-buffer after
9733 showing another buffer in the window. (Bug#9937)
acc825c5 9734 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9735
ebe06da9
JB
97362011-11-02 Juanma Barranquero <lekktu@gmail.com>
9737
9738 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9739 Accept status with more than 9 shelves. (Bug#9935)
9740 Reported by Colin D Bennett <colin@gibibit.com>.
9741
4ee88440
MR
97422011-11-01 Martin Rudalics <rudalics@gmx.at>
9743
9744 * help.el (with-help-window): Don't reference
9745 temp-buffer-show-specifiers in doc-string.
9746
08e1d82c
AS
97472011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9748
9749 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9750 menu-item.
9751
84bd6e9e
VJL
97522011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9753
9754 * whitespace.el: New version 13.2.2.
9755 (whitespace-newline-mode): Disable properly. Reported by Sarah
9756 <EmacsWiki>.
9757
dba0634a
UJ
97582011-10-30 Ulf Jasper <ulf.jasper@web.de>
9759
9760 * net/newst-treeview.el: Remove "Time-stamp".
9761 (newsticker--group-manage-orphan-feeds): Do not call
9762 newsticker--treeview-tree-update.
db22a3c2
JB
9763 (newsticker-treeview-update, newsticker-treeview):
9764 Call newsticker--treeview-tree-update if necessary.
dba0634a 9765
3d8daefe
MR
97662011-10-30 Martin Rudalics <rudalics@gmx.at>
9767
9768 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9769 (window-iso-combinations): Remove "iso-" infix.
9770 Suggested by Chong Yidong.
3d8daefe
MR
9771 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9772 (window-max-delta-1, window-resize, window--resize-siblings)
9773 (window--resize-this-window, adjust-window-trailing-edge)
9774 (split-window, balance-windows-1)
9775 (shrink-window-if-larger-than-buffer):
9776 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9777 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9778
1bc4c3ae
SM
97792011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9782 in place (bug#9907).
9783 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9784 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9785 (eshell-structure-basic-command, eshell-rewrite-while-command)
9786 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9787 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9788 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9789 (eshell-do-pipelines-synchronously, eshell-eval-command):
9790 Use backquotes and prefer setq to set.
9791 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9792 (eshell-macrop): Use functionp.
c1e2f5fa 9793 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9794
30b65d9c
CY
97952011-10-30 Chong Yidong <cyd@gnu.org>
9796
9797 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9798 instead of set-mark (Bug#9810).
9799
2d197ffb
CY
98002011-10-30 Chong Yidong <cyd@gnu.org>
9801
9802 * window.el (split-window-below, split-window-right): Rename from
9803 split-window-above-each-other and split-window-side-by-side
9804 respectively. All callers changed.
9805 (split-window-sensibly, split-window-sensibly): Use them.
9806 (split-window-keep-point): Doc fix.
9807
9808 * isearch.el: Add isearch-scroll property to split-window-below
9809 and split-window-right.
9810
9811 * follow.el (follow-mode):
9812 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9813 * progmodes/ada-xref.el (ada-gdb-application):
9814 * emulation/vip.el (vip-buffer-in-two-windows):
9815 * image-dired.el (image-dired-dired-with-window-configuration):
9816 * dired-x.el (dired-do-find-marked-files):
9817 * dired.el (dired-pop-to-buffer):
9818 * bs.el (bs--show-with-configuration):
9819 * vc/emerge.el (emerge-setup-windows):
9820 * textmodes/two-column.el (2C-two-columns):
9821 * textmodes/reftex-toc.el (reftex-toc):
9822 * progmodes/gdb-mi.el (gdb-setup-windows):
9823 * progmodes/fortran.el (fortran-window-create):
9824 * net/newst-treeview.el (newsticker--treeview-window-init):
9825 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9826 * emulation/tpu-edt.el (tpu-gold-map):
9827 * emulation/crisp.el (crisp-mode-map):
9828 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9829
38bb2ca8
CY
98302011-10-29 Chong Yidong <cyd@gnu.org>
9831
aa4de341
CY
9832 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9833
e1eb5385
CY
9834 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9835
5d2ece3c
CY
9836 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9837 forged Ispell output (Bug#7904).
9838
38bb2ca8
CY
9839 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9840
d0af9f77
SM
98412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * doc-view.el: Avoid ugly errors about not finding nil.
9844 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9845 (doc-view-dvipdf-program, doc-view-unoconv-program)
9846 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9847 Avoid nil or absolute file name as default value.
9848 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9849
52bedd34
AM
98502011-10-28 Alan Mackenzie <acm@muc.de>
9851
db22a3c2 9852 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9853
7e43cfa5
AM
98542011-10-28 Alan Mackenzie <acm@muc.de>
9855
9856 Amend the handling of c-beginning/end-of-defun in nested declaration
9857 scopes.
9858
52bedd34
AM
9859 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9860 cc-langs.el. Change it to a defcustom.
7e43cfa5 9861
52bedd34
AM
9862 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9863 cc-vars.el.
7e43cfa5 9864
d0af9f77
SM
9865 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9866 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9867
52bedd34 9868 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9869 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9870 (c-widen-to-enclosing-decl-scope): New function.
9871 (c-while-widening-to-decl-block): New macro.
9872 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9873 outward for defun boundaries, and correspondingly change symbol
9874 `respect-enclosure' to `go-outward'.
9875 (c-declaration-limits): Change algorithm to report only the "innermost"
9876 defun's boundaries.
9877
1a2ce9ee
DD
98782011-10-28 Deniz Dogan <deniz@dogan.se>
9879
9880 * net/rcirc.el (rcirc-mode): Use hard newlines.
9881
bc97a826
AM
98822011-10-28 Alan Mackenzie <acm@muc.de>
9883
9884 Amend to indent and fontify macros "which include their own semicolon"
9885 correctly, using the "virtual semicolon" mechanism.
9886
52bedd34 9887 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9888
d0af9f77 9889 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9890 Recode to scan one line at a time rather than having \n and \r
58179cce 9891 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9892 (c-forward-label): Amend for virtual semicolons.
58179cce 9893 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9894
52bedd34
AM
9895 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9896 of the new C macros.
bc97a826 9897
52bedd34 9898 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9899 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9900 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9901 (c-opt-cpp-macro-define): Make into a full language variable.
9902 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9903 AWK Mode (including \n, \r) removed, no longer needed.
9904
d0af9f77
SM
9905 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9906 Invoke c-make-macro-with-semi-re.
bc97a826 9907
52bedd34
AM
9908 * progmodes/cc-vars.el (c-macro-with-semi-re):
9909 (c-macro-names-with-semicolon): New variables.
58179cce 9910 (c-make-macro-with-semi-re): New function.
bc97a826 9911
7a6c0941
SM
99122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * vc/log-edit.el: Fill empty field rather than adding new one.
9915 (log-edit-add-field): New function.
9916 (log-edit-insert-changelog): Use it.
9917
b0c4cdcf
ML
99182011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9919
9920 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9921
ee1f1da9
SM
99222011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9925 (gdb--check-interpreter): New function.
9926 (gdb): Use it.
9927
51bc5f8b
GM
99282011-10-27 Glenn Morris <rgm@gnu.org>
9929
416a2c45
GM
9930 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9931 (least-positive-float, least-negative-float)
9932 (least-positive-normalized-float, least-negative-normalized-float)
9933 (float-epsilon, float-negative-epsilon):
9934 Remove unnecessary declarations.
9935
9936 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9937 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9938 (least-positive-float, least-negative-float)
9939 (least-positive-normalized-float, least-negative-normalized-float)
9940 (float-epsilon, float-negative-epsilon): Add doc-strings,
9941 based on those in cl.texi.
9942
51bc5f8b
GM
9943 * files.el (set-visited-file-name): If the major-mode changed,
9944 reload the local variables. (Bug#9796)
9945
15de15c6
CY
99462011-10-27 Chong Yidong <cyd@gnu.org>
9947
9948 * subr.el (change-major-mode-after-body-hook): New hook.
9949 (run-mode-hooks): Run it.
9950
ee1f1da9
SM
9951 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9952 Use change-major-mode-before-body-hook.
15de15c6
CY
9953
9954 * simple.el (fundamental-mode):
9955 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9956 change introducing fundamental-mode-hook.
9957
5430d399
JB
99582011-10-26 Juanma Barranquero <lekktu@gmail.com>
9959
acc825c5 9960 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9961
ad74a69e
MA
99622011-10-26 Michael Albinus <michael.albinus@gmx.de>
9963
9964 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9965 tramp.el explicitly. (Bug#7583)
ad74a69e 9966
71d4c2a5
SM
99672011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 * progmodes/octave-mod.el:
9970 * progmodes/octave-inf.el: Update maintainer.
9971
b1f6fa26
CY
99722011-10-26 Chong Yidong <cyd@gnu.org>
9973
9974 * subr.el (with-wrapper-hook): Rewrite doc.
9975
3f04efd6
MA
99762011-10-25 Michael Albinus <michael.albinus@gmx.de>
9977
9978 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9979 filenames "/method:foo:". (Bug#9793)
3f04efd6 9980
410488d3
SM
99812011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9984 (bug#9865).
9985
c1ebb47e
GM
99862011-10-24 Glenn Morris <rgm@gnu.org>
9987
9988 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9989
7f5c46c7
MA
99902011-10-24 Michael Albinus <michael.albinus@gmx.de>
9991
9992 * notifications.el: Add the requirement of a running D-Bus session
9993 bus to the Commentary.
9994
db2440b6
JL
99952011-10-24 Juri Linkov <juri@jurta.org>
9996
9997 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9998 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9999 (Bug#9364)
10000
feecf435
JL
100012011-10-24 Juri Linkov <juri@jurta.org>
10002
10003 * info.el (Info-following-node-name-re): Add newline to the list
10004 of allowed characters for leading space. (Bug#9824)
10005
a3839de2
SM
100062011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10007
acc825c5
SM
10008 * progmodes/octave-inf.el (inferior-octave-mode-map):
10009 Fix C-c C-h binding.
a3839de2
SM
10010 * progmodes/octave-mod.el (octave-help): Remove.
10011
09388e76
MA
100122011-10-23 Michael Albinus <michael.albinus@gmx.de>
10013
10014 Sync with Tramp 2.2.3.
10015
10016 * net/tramp-cache.el (top): Pacify byte-compiler using
10017 `init-file-user' and `site-run-file'.
10018
10019 * net/trampver.el: Update release number.
10020
86c60681
CY
100212011-10-23 Chong Yidong <cyd@gnu.org>
10022
10023 * files.el (toggle-read-only): Remove obsolete comment about
10024 version control.
10025
10026 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10027 for toggle-read-only. Note that this hasn't called vc-next-action
10028 since 2008-05-02, though it wasn't documented at the time.
10029
a3839de2
SM
10030 * vc/ediff-init.el (ediff-toggle-read-only-function):
10031 Use toggle-read-only.
86c60681 10032
cd5495ff
AM
100332011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10034
10035 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10036 of c-parse-state.
10037
00b77525 10038 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10039 correct faulty logical expression.
cd5495ff
AM
10040 (c-parse-state-state, c-record-parse-state-state):
10041 (c-replay-parse-state-state): New defvar/defuns.
10042 (c-debug-parse-state): Use new functions.
10043
42ee24ed
MR
100442011-10-22 Martin Rudalics <rudalics@gmx.at>
10045
10046 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10047 last fix. Use window-in-direction correctly.
42ee24ed 10048
a7dee7e7
CY
100492011-10-21 Chong Yidong <cyd@gnu.org>
10050
10051 * progmodes/idlwave.el (idlwave-mode):
10052 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10053 require-final-newline; that's done in prog-mode.
10054 Suggested by Stefan Monnier.
a7dee7e7 10055
e07b9a6d
MR
100562011-10-21 Martin Rudalics <rudalics@gmx.at>
10057
10058 * mouse.el (mouse-drag-window-above)
10059 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10060 (mouse-drag-mode-line-1, mouse-drag-header-line)
10061 (mouse-drag-vertical-line-rightward-window): Remove.
10062 (mouse-drag-line): New function.
10063 (mouse-drag-mode-line, mouse-drag-header-line)
10064 (mouse-drag-vertical-line): Call mouse-drag-line.
10065 * window.el (window-at-side-p, windows-at-side): New functions.
10066
7e1361d9
UM
100672011-10-21 Ulrich Mueller <ulm@gentoo.org>
10068
10069 * tar-mode.el (tar-grind-file-mode):
10070 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10071
30fcaf3a
CY
100722011-10-21 Chong Yidong <cyd@gnu.org>
10073
10074 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10075 * progmodes/vera-mode.el (vera-mode):
10076 Use mode-require-final-newline.
30fcaf3a 10077
516eddb0
GM
100782011-10-20 Glenn Morris <rgm@gnu.org>
10079
db22a3c2 10080 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10081
10d5f513
CS
100822011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10083
10084 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10085
ac6c8639
CY
100862011-10-20 Chong Yidong <cyd@gnu.org>
10087
10088 * emulation/cua-base.el (cua-mode):
10089 * mail/footnote.el (footnote-mode):
10090 * mail/mailabbrev.el (mail-abbrevs-mode):
10091 * net/xesam.el (xesam-minor-mode):
10092 * progmodes/bug-reference.el (bug-reference-mode):
10093 * progmodes/cap-words.el (capitalized-words-mode):
10094 * progmodes/compile.el (compilation-minor-mode)
10095 (compilation-shell-minor-mode):
10096 * progmodes/gud.el (gud-tooltip-mode):
10097 * progmodes/hideif.el (hide-ifdef-mode):
10098 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10099 * progmodes/subword.el (subword-mode):
10100 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10101 * progmodes/which-func.el (which-function-mode):
10102 * term/tvi970.el (tvi970-set-keypad-mode):
10103 * term/vt100.el (vt100-wide-mode):
10104 * textmodes/flyspell.el (flyspell-mode):
10105 * textmodes/ispell.el (ispell-minor-mode):
10106 * textmodes/nroff-mode.el (nroff-electric-mode):
10107 * textmodes/paragraphs.el (use-hard-newlines):
10108 * textmodes/refill.el (refill-mode):
10109 * textmodes/reftex.el (reftex-mode):
10110 * textmodes/rst.el (rst-minor-mode):
10111 * textmodes/sgml-mode.el (html-autoview-mode)
10112 (sgml-electric-tag-pair-mode):
10113 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10114 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10115 * emulation/crisp.el (crisp-mode):
10116 * emacs-lisp/eldoc.el (eldoc-mode):
10117 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10118 minor mode behavior.
10119
aa42ab43
JL
101202011-10-19 Juri Linkov <juri@jurta.org>
10121
10122 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10123 the list of hard-coded chars with escape-glyph face.
10124
89400f1d
SM
101252011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10128
305c07f6
MA
101292011-10-19 Michael Albinus <michael.albinus@gmx.de>
10130
10131 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10132 running process.
10133
13754b54
GM
101342011-10-19 Glenn Morris <rgm@gnu.org>
10135
10136 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10137 Ignore ignored files. (Bug#9726)
10138
06e21633
CY
101392011-10-19 Chong Yidong <cyd@gnu.org>
10140
10141 Doc fix for minor modes, stating that an omitted argument enables
10142 the mode unconditionally when called from Lisp.
10143
10144 * abbrev.el (abbrev-mode):
10145 * allout.el (allout-mode):
10146 * autoinsert.el (auto-insert-mode):
10147 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10148 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10149 (global-auto-revert-mode):
10150 * battery.el (display-battery-mode):
10151 * composite.el (global-auto-composition-mode)
10152 (auto-composition-mode):
10153 * delsel.el (delete-selection-mode):
10154 * desktop.el (desktop-save-mode):
10155 * dired-x.el (dired-omit-mode):
10156 * dirtrack.el (dirtrack-mode):
10157 * doc-view.el (doc-view-minor-mode):
10158 * double.el (double-mode):
10159 * electric.el (electric-indent-mode, electric-pair-mode):
10160 * emacs-lock.el (emacs-lock-mode):
10161 * epa-hook.el (auto-encryption-mode):
10162 * follow.el (follow-mode):
10163 * font-core.el (font-lock-mode):
10164 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10165 * help.el (temp-buffer-resize-mode):
10166 * hilit-chg.el (highlight-changes-mode)
10167 (highlight-changes-visible-mode):
10168 * hi-lock.el (hi-lock-mode):
10169 * hl-line.el (hl-line-mode, global-hl-line-mode):
10170 * icomplete.el (icomplete-mode):
10171 * ido.el (ido-everywhere):
10172 * image-file.el (auto-image-file-mode):
10173 * image-mode.el (image-minor-mode):
10174 * iswitchb.el (iswitchb-mode):
10175 * jka-cmpr-hook.el (auto-compression-mode):
10176 * linum.el (linum-mode):
10177 * longlines.el (longlines-mode):
10178 * master.el (master-mode):
10179 * mb-depth.el (minibuffer-depth-indicate-mode):
10180 * menu-bar.el (menu-bar-mode):
10181 * minibuf-eldef.el (minibuffer-electric-default-mode):
10182 * mouse-sel.el (mouse-sel-mode):
10183 * msb.el (msb-mode):
10184 * mwheel.el (mouse-wheel-mode):
10185 * outline.el (outline-minor-mode):
10186 * paren.el (show-paren-mode):
10187 * recentf.el (recentf-mode):
10188 * reveal.el (reveal-mode, global-reveal-mode):
10189 * rfn-eshadow.el (file-name-shadow-mode):
10190 * ruler-mode.el (ruler-mode):
10191 * savehist.el (savehist-mode):
10192 * scroll-all.el (scroll-all-mode):
10193 * scroll-bar.el (scroll-bar-mode):
10194 * server.el (server-mode):
10195 * shell.el (shell-dirtrack-mode):
10196 * simple.el (auto-fill-mode, transient-mark-mode)
10197 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10198 (line-number-mode, column-number-mode, size-indication-mode)
10199 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10200 * strokes.el (strokes-mode):
10201 * time.el (display-time-mode):
10202 * t-mouse.el (gpm-mouse-mode):
10203 * tool-bar.el (tool-bar-mode):
10204 * tooltip.el (tooltip-mode):
10205 * type-break.el (type-break-mode-line-message-mode)
10206 (type-break-query-mode):
10207 * view.el (view-mode):
10208 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10209 (global-whitespace-mode, global-whitespace-newline-mode):
10210 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10211
a3839de2
SM
10212 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10213 Fix autogenerated docstring.
06e21633 10214
5214e501
JL
102152011-10-19 Juri Linkov <juri@jurta.org>
10216
10217 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10218 by checking environment variables "DESKTOP_SESSION" and
10219 "XDG_CURRENT_DESKTOP". (Bug#9779)
10220
195f8db9
JL
102212011-10-19 Juri Linkov <juri@jurta.org>
10222
10223 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10224 (browse-url-chromium-program, browse-url-chromium-arguments):
10225 New defcustoms.
10226 (browse-url-default-browser): Check for `browse-url-chromium' and
10227 call `browse-url-chromium-program'.
10228 (browse-url-chromium): New command. (Bug#9779)
10229
343a34ff
JB
102302011-10-18 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * facemenu.el (list-colors-duplicates): On Windows, detect more
10233 duplicates by assuming that only colors matching "^System" are
10234 special "system colors". (Bug#9722)
10235
6978a151
SM
102362011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10239 to distinguish the author from the committer.
10240
6a80b297
MA
102412011-10-18 Michael Albinus <michael.albinus@gmx.de>
10242
10243 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10244
b31a5677
JK
102452011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10246
10247 * international/mule.el (sgml-html-meta-auto-coding-function):
10248 Add support for detecting encoding in HTML5 specified only as
10249 <meta charset="UTF-8">. Implementation just makes http-equiv and
10250 content-type parts from HTML4 encoding string optional. (Bug#9716)
10251
80c6d77f
GM
102522011-10-18 Glenn Morris <rgm@gnu.org>
10253
10254 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10255
08b0fee8
CY
102562011-10-18 Chong Yidong <cyd@gnu.org>
10257
10258 * faces.el (cursor): Doc fix.
10259
67e729a5
CY
102602011-10-17 Chong Yidong <cyd@gnu.org>
10261
10262 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10263
343a34ff 102642011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
10265
10266 * dirtrack.el (dirtrack): Support shell buffers with path
10267 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10268
0bc06380
TZ
102692011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10270
10271 * json.el: Bump version to 1.3 and note change in History.
10272 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10273
8b79f3e0
SM
102742011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10275
5a7c536b
SM
10276 * comint.el (comint-insert-input, comint-send-input)
10277 (comint-get-old-input-default, comint-backward-matching-input)
10278 (comint-next-prompt): Use nil instead of `input' for field property of
10279 past user input (bug#114).
10280
96a8a0df
SM
10281 * minibuffer.el (completion--replace): Inherit surrounding properties
10282 (bug#114).
10283 (minibuffer-complete-and-exit): Use it.
10284
8b79f3e0
SM
10285 * comint.el (comint--table-subvert): Quote the all-completions output
10286 (bug#9160).
10287
b8f7ff0d
MR
102882011-10-17 Martin Rudalics <rudalics@gmx.at>
10289
8b79f3e0 10290 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 10291
b8f7ff0d 10292 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 10293 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
10294 entries and separate them from frame entries.
10295
c235b555
GM
102962011-10-15 Glenn Morris <rgm@gnu.org>
10297
10298 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10299 Doc fixes.
10300
6bbfa6e1
CY
103012011-10-15 Chong Yidong <cyd@stupidchicken.com>
10302
8b79f3e0
SM
10303 * net/network-stream.el (network-stream-open-starttls):
10304 Improve detection of failure due to lack of TLS support.
ec5c990d 10305
6bbfa6e1
CY
10306 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10307 putting the input text in front and in bold.
10308
98488977
SM
103092011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10310
3d1337be
SM
10311 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10312
ee0b45e4
SM
10313 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10314 empty buffer.
10315
98488977
SM
10316 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10317 unread-command-events rather than pushing yet-another event.
10318
186f4720
EZ
103192011-10-14 Eli Zaretskii <eliz@gnu.org>
10320
10321 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10322 the explanation of the possible choices. Make the options passed
10323 to completing-read shorter.
10324
8b7a997c
AM
103252011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10326
10327 * textmodes/flyspell.el (flyspell-large-region): Make sure
10328 extended character mode is used if defined (Bug#1339).
10329
12587bbb
EZ
103302011-10-13 Eli Zaretskii <eliz@gnu.org>
10331
10332 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
10333 character info for LRE, LRO, RLE, and RLO characters by appending
10334 an invisible PDF.
12587bbb 10335
bad41229
SM
103362011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10339 even in case of error; add debug spec; simplify data flow.
10340 (with-timeout-handler): Remove.
10341
28dbc92f
MA
103422011-10-12 Michael Albinus <michael.albinus@gmx.de>
10343
10344 Fix Bug#6019, Bug#9315.
10345
10346 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10347 complete `buffer-file-name', the local file name part could look
10348 remotely (for example on VMS).
10349
10350 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10351 `tramp-run-real-handler'.
10352 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10353 already quoted by '"'.
10354
10355 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10356 Let `file-name-handler-alist' be nil, the local file name part
10357 could look remotely (for example on VMS).
10358
e1b0b23a
SM
103592011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10360
10361 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10362 from here...
10363 (flyspell-post-command-hook): ...to here.
10364
a120bde9
SM
103652011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10368 if not needed.
10369 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10370 using completion. Protect against "slow" callers.
10371 Remove the "message hack".
10372
7ce7717b
JL
103732011-10-11 Juri Linkov <juri@jurta.org>
10374
10375 * isearch.el (isearch-lazy-highlight-word): New variable.
10376 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10377 Use it. (Bug#9727)
10378
c02ee9d6
GM
103792011-10-11 Glenn Morris <rgm@gnu.org>
10380
10381 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10382 like f90-previous-statement does.
10383
93e616fd 103842011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10385
1f190e73 10386 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
10387 only in interactive use, to avoid error.
10388
af7b6078
SM
103892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * minibuffer.el (completion-file-name-table): Fix last change,
10392 i.e. ignore normal errors but not the other ones.
10393
0563dae9
MR
103942011-10-10 Martin Rudalics <rudalics@gmx.at>
10395
10396 * window.el (special-display-buffer-names)
10397 (special-display-regexps): Remove some remnants of earlier
10398 changes from doc-strings.
366ca7f3
MR
10399 (quit-windows-on): New function.
10400
10401 * vc/vc.el (vc-revert, vc-rollback):
10402 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10403 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 10404 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 10405
49677495
MR
104062011-10-09 Martin Rudalics <rudalics@gmx.at>
10407
10408 * window.el (frame-auto-hide-function): Add version tag.
10409 (Bug#9699)
10410
56f2d1e1
MA
104112011-10-09 Michael Albinus <michael.albinus@gmx.de>
10412
10413 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10414 condition.
10415
112a6592
LL
104162011-10-09 Leo Liu <sdl.web@gmail.com>
10417
10418 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10419 (Bug#9701)
10420
0812589b
GM
104212011-10-08 Glenn Morris <rgm@gnu.org>
10422
10423 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10424 before the first code statement zero indent. (Bug#9690)
10425
b2b0776e
CY
104262011-10-08 Chong Yidong <cyd@stupidchicken.com>
10427
10428 * simple.el (count-words-region): Always count in the region.
10429 Report the number of lines and characters too.
10430 (count-words): New command, which counts in the buffer if the
10431 region is inactive, as count-words-region used to.
10432 (count-words--message): New function. Handle plurals.
10433 (count-lines-region): Make it an alias for count-words-region.
10434
10435 * bindings.el (esc-map): Replace count-lines-region with
10436 count-words-region.
10437
c557cd6b
MR
104382011-10-08 Martin Rudalics <rudalics@gmx.at>
10439
10440 * window.el (window--delete): Delete dedicated frame
10441 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10442 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10443
61a57ef4 104442011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10445
3a7d293b 10446 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10447
c3833279
CY
104482011-10-07 Chong Yidong <cyd@stupidchicken.com>
10449
10450 * bindings.el ([M-left],[M-right]): Bind to left-word and
10451 right-word respectively.
10452
21ce8245
GM
104532011-10-07 Glenn Morris <rgm@gnu.org>
10454
10455 * cus-start.el (debug-on-quit): Fix custom type.
10456
6d823bb2
LMI
104572011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10458
0181e193
LMI
10459 * subr.el (define-key-after): Clarify that the function is not
10460 useful for non-menu keymaps.
10461
6d823bb2
LMI
10462 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10463
8e3459ce 104642011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10465
21ce8245 10466 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10467 in current minibuffer (Fix bug with recursive minibuffers).
10468
a1c2d21e
CY
104692011-10-06 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * progmodes/gdb-mi.el (gdb): Doc fix.
10472
5a4cf282
MR
104732011-10-05 Martin Rudalics <rudalics@gmx.at>
10474
10475 * window.el (frame-auto-hide-function): New option replacing
10476 frame-auto-delete. Suggested by Stefan Monnier.
10477 (window--delete): Call frame-auto-hide-function instead of
10478 investigating frame-auto-delete.
c96111ea
MR
10479 (window-point-1, set-window-point-1): New functions.
10480 (window-in-direction, record-window-buffer, window-state-get-1)
10481 (display-buffer-record-window): Use window-point-1 instead of
10482 window-point.
10483 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10484
9854542e
SM
104852011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10488
8943cfb0
GM
104892011-10-05 Glenn Morris <rgm@gnu.org>
10490
10491 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10492 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10493
647ab967
LL
104942011-10-05 Leo Liu <sdl.web@gmail.com>
10495
10496 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10497 works with buffer object.
10498
3ddfbced
SM
104992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * mpc.el (mpc-tool-bar-map): Add labels.
10502
bdfa5dd2
GM
105032011-10-04 Glenn Morris <rgm@gnu.org>
10504
10505 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10506
0e2070b5
MR
105072011-10-04 Martin Rudalics <rudalics@gmx.at>
10508
10509 * window.el (window--delete): New function.
10510 (frame-auto-delete): Resuscitate option.
10511 (bury-buffer, replace-buffer-in-windows)
10512 (quit-window): Rewrite using window--delete.
10513 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10514 Pass display-buffer-mark-dedicated to window--display-buffer-2
10515 (Bug#9639).
10516
3dc61a09
SM
105172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10518
915a9b64
SM
10519 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10520 returns a list (bug#9554). Add remote file name completion.
10521 * comint.el (comint--table-subvert): Curry and get quote&unquote
10522 functions as arguments.
10523 (comint--complete-file-name-data): Adjust call accordingly.
10524 * pcomplete.el (pcomplete--table-subvert): Remove.
10525 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10526
3dc61a09
SM
10527 * minibuffer.el (completion-table-case-fold): Use currying.
10528 (completion--styles-type, completion--cycling-threshold-type):
10529 New constants.
10530 (completion-styles, completion-category-overrides)
10531 (completion-cycle-threshold): Use them.
10532 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10533 completion-table-case-fold.
10534
8ea0a993
SB
105352011-10-03 Stephen Berman <stephen.berman@gmx.net>
10536
10537 * minibuffer.el (completion-category-overrides): Fix type of styles
10538 and add more user friendly tags (bug#9660).
10539
8c24b7f6
SM
105402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10543 (mule-input-method-string): New widget.
10544 (default-input-method, language-info-custom-alist): Use it.
10545
428fe61a
SM
105462011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10547
32c1fffd
SM
10548 * pcomplete.el: Require comint.
10549 (pcomplete--common-suffix): Remove.
10550 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10551 (pcomplete--table-subvert): Sync with comint--table-subvert.
10552 (pcomplete--entries): Use comint-completion-file-name-table.
10553 * comint.el (comint-unquote-filename): Simplify.
10554 (comint-completion-file-name-table): New function (bug#9616).
10555 (comint--complete-file-name-data): Use it.
10556
428fe61a
SM
10557 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10558 (pcmpl-gnu-tar-buffer): Remove.
10559 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10560 around. Make sure pcomplete-suffix-list is only changed temporarily.
10561 Don't look inside the tar's file if it's too large.
428fe61a 10562
04c52e2f
CY
105632011-10-01 Chong Yidong <cyd@stupidchicken.com>
10564
ce3cefcc
CY
10565 * cus-edit.el (custom-mode-map):
10566 * epa.el (epa-key-list-mode-map):
10567 * man.el (Man-mode-map):
10568 * startup.el (splash-screen-keymap):
10569 * simple.el (special-mode-map): Use scroll-up-command and
10570 scroll-down-command.
10571
10572 * progmodes/idlw-help.el (idlwave-help-mode-map):
10573 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10574 * net/newst-plainview.el (newsticker-mode-map):
10575 * emulation/ws-mode.el (wordstar-mode-map):
10576 * emulation/vi.el (vi-com-map):
10577 * calc/calc-graph.el (calc-graph-show-dumb):
10578 * term/sun.el (terminal-init-sun):
10579 * term/ns-win.el (global-map):
10580 * progmodes/grep.el (grep-mode-map):
10581 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10582 * mail/rmail.el (rmail-mode-map):
10583 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10584
04c52e2f
CY
10585 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10586 custom-safe-themes as special.
10587
79adf8c8
JD
105882011-10-01 Julien Danjou <julien@danjou.info>
10589
10590 * notifications.el (notifications-notify): Fix docstring.
10591
63bd50d3
PS
105922011-10-01 Per Starbäck <per@starback.se>
10593
10594 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10595
199e4c7e
MR
105962011-09-30 Martin Rudalics <rudalics@gmx.at>
10597
10598 * startup.el (command-line-1): Fix last fix by inserting
10599 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10600 (Bug#9605) and (Bug#9636)
199e4c7e 10601
fe5f08dd
EZ
106022011-09-29 Eli Zaretskii <eliz@gnu.org>
10603
10604 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10605 window is hscrolled, move by logical lines. (Bug#9607)
10606 (line-move-visual): Update the doc string to the above effect.
10607
b5516bbd
MR
106082011-09-29 Martin Rudalics <rudalics@gmx.at>
10609
ccee00c0
MR
10610 * window.el (display-buffer-record-window): When WINDOW is the
10611 selected window use `point' instead of `window-point'. (Bug#9626)
10612
b5516bbd
MR
10613 * startup.el (command-line-1): Use insert-before-markers when
10614 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10615
b5516bbd
MR
10616 * help.el (help-window): Remove variable.
10617
52aa0014
GM
106182011-09-29 Glenn Morris <rgm@gnu.org>
10619
10620 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10621
df9a7357
JB
106222011-09-29 Juanma Barranquero <lekktu@gmail.com>
10623
10624 * descr-text.el (describe-char-categories): Accept category
10625 descriptions more than one line long.
10626
a8406c20
SM
106272011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10628
88d9610c
SM
10629 * simple.el (delete-trailing-whitespace): Fix last change.
10630
a5daf810
SM
10631 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10632 Don't confuse "y => 3" as the beginning of a `y' operation.
10633
a8406c20
SM
10634 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10635 object has more than 4 slots (bug#9613).
10636
a239d4e9
JB
106372011-09-28 Juanma Barranquero <lekktu@gmail.com>
10638
10639 * subr.el (with-output-to-temp-buffer):
10640 * net/quickurl.el (quickurl, quickurl-browse-url):
10641 Fix typos in docstrings.
10642
693fbdb6
EZ
106432011-09-27 Eli Zaretskii <eliz@gnu.org>
10644
10645 * minibuffer.el (completion-styles)
10646 (completion-category-overrides): Cross reference each other in doc
10647 strings.
10648
8b457e28
GM
106492011-09-27 Glenn Morris <rgm@gnu.org>
10650
10651 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10652 to split-string. (Bug#9606)
10653
85a16208
LMI
106542011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10655
10656 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10657 (bug#9615).
10658
502f9ebd
CY
106592011-09-27 Chong Yidong <cyd@stupidchicken.com>
10660
10661 * emacs-lisp/package.el (list-packages): Fix echo area message.
10662
7690bdea
LL
106632011-09-27 Leo Liu <sdl.web@gmail.com>
10664
10665 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10666
e2ee6f30
MA
106672011-09-25 Michael Albinus <michael.albinus@gmx.de>
10668
10669 * net/dbus.el (dbus-unregister-object): Don't release services for
10670 registered signals. (Bug#9581)
10671
f3f98342
TZ
106722011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10673
10674 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10675 function that picks between cfengine 2 and 3 support
10676 automatically. Update docs accordingly.
10677
dd7aa8dd
KH
106782011-09-22 Kenichi Handa <handa@m17n.org>
10679
10680 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10681 ZERO.
10682 (indian-itrans-v5-table-for-tamil): New variable.
10683 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10684
3f2b07f8
KM
106852011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10686
10687 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10688 that's true if the current command involved collapsing of text.
10689 It's reset to false at the beginning of the next command.
10690 (allout-post-command-business): Move the cursor to the beginning
10691 of entry if the cursor is hidden and collapsing activity just
10692 happened.
10693
371d6a61
CY
106942011-09-24 Chong Yidong <cyd@stupidchicken.com>
10695
10696 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10697 tracking (Bug#9541).
10698
2ac2721a
UJ
106992011-09-24 Ulf Jasper <ulf.jasper@web.de>
10700
10701 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10702 (newsticker-show-news): Automatically load html rendering package
10703 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10704 because w3m-fill-column is let-bound" and the error "Symbol's value
10705 as variable is void: w3m-fill-column".
2ac2721a 10706
fac7ae53
MA
107072011-09-24 Michael Albinus <michael.albinus@gmx.de>
10708
10709 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10710 Release services only if they are defined. (Bug#9581)
10711
e08b633b
RS
107122011-09-23 Richard Stallman <rms@gnu.org>
10713
e488d29c
RS
10714 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10715 distinguish start of paragraph from start of its text.
10716
19c38752
RS
10717 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10718
e08b633b
RS
10719 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10720 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10721 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10722
0a39f27e
AS
107232011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10724
10725 * international/mule-diag.el (mule-diag): Insert a newline after
10726 each fontset description.
10727
db4e950d
SM
107282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * simple.el (delete-trailing-whitespace):
10731 Document last change; simplify.
10732
eca3f3ea
PW
107332011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10734
d68e189a
PW
10735 * simple.el (delete-trailing-whitespace): Also delete
10736 extra newlines at the end of the buffer.
10737
eca3f3ea
PW
10738 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10739 (picture-newline): Use forward-line so as to ignore fields.
10740
01c157cc
SM
107412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * subr.el (with-wrapper-hook): Fix edebug spec.
10744
022de23e
LMI
107452011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10746
10747 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10748 (bug#4538).
10749
91683089
MA
107502011-09-23 Michael Albinus <michael.albinus@gmx.de>
10751
eca3f3ea
PW
10752 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10753 Fix nasty bug using wrong cached values.
91683089 10754
5bdd6fa4
AM
107552011-09-23 Alan Mackenzie <acm@muc.de>
10756
10757 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10758
97adfb97
CY
107592011-09-23 Chong Yidong <cyd@stupidchicken.com>
10760
10761 * window.el (pop-to-buffer): Ensure right window is selected if we
10762 chose another frame.
10763
d4ef2b50
EZ
107642011-09-22 Eli Zaretskii <eliz@gnu.org>
10765
10766 * simple.el (what-cursor-position): Use get-char-property-change
10767 and next-single-char-property-change, to be able to show display
10768 properties that come from overlays as well as text properties.
10769
72258fe5
CY
107702011-09-22 Chong Yidong <cyd@stupidchicken.com>
10771
10772 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10773
10774 * cmuscheme.el (run-scheme, switch-to-scheme):
10775 * cus-edit.el (customize-group, custom-buffer-create)
10776 (customize-browse):
10777 * info.el (info):
10778 * shell.el (shell):
10779 * mail/sendmail.el (mail):
10780 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10781
8f098516
RS
107822011-09-22 Richard Stallman <rms@gnu.org>
10783
10784 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10785 move back only to line beg, don't move back over blank lines.
10786
e74f1bb6
MA
107872011-09-22 Michael Albinus <michael.albinus@gmx.de>
10788
10789 * files.el (copy-directory): Set directory attributes only in case
10790 they could be retrieved from the source directory. (Bug#9565)
10791
bfeef8b6
DK
107922011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10793
10794 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10795 (hs-find-block-beginning, hs-hide-level-recursive):
10796 Ignore strings as well as comments. (Bug#9502)
10797
7e423bb8
AS
107982011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10799
10800 * progmodes/sql.el (sql-comint-postgres):
10801 Convert port number to a string. (Bug#9566)
10802
b4d72fcf
MR
108032011-09-22 Martin Rudalics <rudalics@gmx.at>
10804
10805 * window.el (quit-window): Undedicate window when switching to
10806 previous buffer. Reported by Thierry Volpiatto
10807 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10808 (special-display-popup-frame): When popping up a new frame reset
10809 its previous buffers to nil. Simplify code.
b4d72fcf 10810
a7b88dc6
MA
108112011-09-21 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10814 and process filter, as done also in `shell-command'.
10815
cf4eacfd
MR
108162011-09-21 Martin Rudalics <rudalics@gmx.at>
10817
eca3f3ea 10818 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10819 Call set-window-start with NOFORCE argument t.
10820 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10821 (quit-window): Reword doc-string. Handle new format of
10822 quit-restore parameter. Don't delete window if it has a
10823 previous buffer we can show instead of the present one.
10824 (display-buffer-record-window): Rewrite using a new format for
10825 the quit-restore window parameter
10826 (special-display-popup-frame, display-buffer-same-window)
10827 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10828 (display-buffer-pop-up-window, display-buffer-use-some-window):
10829 Adapt symbol passed to display-buffer-record-window.
10830 * help.el (help-window-setup): Handle new format of quit-restore
10831 parameter.
10832
8d28cb95
SM
108332011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10834
94ab793f
SM
10835 * faces.el (face-list): Fix docstring (bug#9564).
10836
8d28cb95
SM
10837 * window.el (display-buffer--action-function-custom-type):
10838 Don't include internal functions in the Custom interface.
10839
3820edeb
JL
108402011-09-20 Juri Linkov <juri@jurta.org>
10841
10842 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10843 (Info-forward-node, Info-backward-node, Info-next-preorder)
10844 (Info-last-preorder): Use it. (Bug#9528)
10845
5147931d
JL
108462011-09-20 Juri Linkov <juri@jurta.org>
10847
10848 * info.el (Info-last-preorder): Visit last menu item only when
10849 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10850
cf499a1a
JD
108512011-09-20 Julien Danjou <julien@danjou.info>
10852
10853 * password-cache.el (password-cache-remove): Remove entries even if the
10854 value is nil, so that password with a nil value (negative caching) is
10855 possible to invalidate.
10856
f84e2fe2
LM
108572011-09-20 Lawrence Mitchell <wence@gmx.li>
10858
10859 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10860 all whitespace around breakpoint. (Bug#9553)
10861 (f90-find-breakpoint): Only break at whitespace inside a comment.
10862
78054a46
SM
108632011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * minibuffer.el (completion-file-name-table): Keep track of errors.
10866 (completion-table-with-predicate): Handle the case where pred1 is nil.
10867 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10868
345083b2
SM
108692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10870
e24e27be
SM
10871 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10872 (debugger-return-value): Signal an error if the debugging context does
10873 not await any return value.
10874
345083b2
SM
10875 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10876 * image-mode.el (image-toggle-display-text)
10877 (image-toggle-display-image): Stay away from evil `intangible'.
10878
08d355e3
LL
108792011-09-19 Leo Liu <sdl.web@gmail.com>
10880
10881 * replace.el (occur-revert-arguments): Make it permanent-local.
10882 (occur-mode): Don't call font-lock-defontify.
10883
f01da43f
CY
108842011-09-19 Chong Yidong <cyd@stupidchicken.com>
10885
10886 * net/ldap.el (ldap-search-internal): Don't push empty search
10887 result (Bug#9508).
10888
b6072fa6
SM
108892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10892
443d6696
MA
108932011-09-19 Michael Albinus <michael.albinus@gmx.de>
10894
10895 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10896 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10897
7cc6e154
JL
108982011-09-18 Juri Linkov <juri@jurta.org>
10899
10900 * buff-menu.el (Buffer-menu-mode-map):
10901 * dired.el (dired-mode-map):
10902 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10903 (lisp-interaction-mode-map):
10904 * emacs-lisp/package.el (package-menu-mode-map):
10905 * epa.el (epa-key-list-mode-map):
10906 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10907 (menu-bar-options-menu):
10908 * outline.el (outline-mode-menu-bar-map):
10909 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10910 * vc/vc-dir.el (vc-dir-menu-map):
10911 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10912 Capitalize non-function content words in menu item strings.
10913
10914 * dired.el (dired-mode-map): Add menu item for
10915 `image-dired-dired-toggle-marked-thumbs'.
10916
80302a81
JL
109172011-09-18 Juri Linkov <juri@jurta.org>
10918
10919 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10920 to `isearch-case-fold-search' and restore its original value
10921 after the `isearch-mode' call.
10922
46c5cf66
JL
109232011-09-18 Juri Linkov <juri@jurta.org>
10924
10925 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10926 because `zgrep' returns 1 for successful matches (bug#9226).
10927
d18b513b
JL
109282011-09-18 Juri Linkov <juri@jurta.org>
10929
10930 * info.el (Info-extract-menu-node-name): Check the second match
10931 for empty string (second test-case of bug#9528).
10932 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10933 intermediate nodes to the history (first test-case of bug#9528).
10934
72753f87
JL
109352011-09-18 Juri Linkov <juri@jurta.org>
10936
10937 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10938 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10939
c9384295
JL
109402011-09-18 Juri Linkov <juri@jurta.org>
10941
1154d12e
JB
10942 * info.el (Info-file-supports-index-cookies):
10943 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10944 outputs one more line for long file names (bug#4142).
c9384295 10945
d473dce8
CY
109462011-09-18 Chong Yidong <cyd@stupidchicken.com>
10947
10948 * newcomment.el (comment-normalize-vars): If prompting for
10949 comment-start, set comment-start-skip too (Bug#8424).
10950
2176854d
JB
109512011-09-18 Johan Bockgård <bojohan@gnu.org>
10952
10953 * icomplete.el: Fix previous fix of Bug#5849.
10954 (icomplete-mode): Don't set completion-show-inline-help.
10955 (icomplete-minibuffer-setup): Set completion-show-inline-help
10956 locally during icompletion.
10957
3aace4e4
CY
109582011-09-18 Chong Yidong <cyd@stupidchicken.com>
10959
c940224f
CY
10960 * woman.el (woman2-process-escapes): Don't delete unrecognized
10961 escapes (Bug#7843).
10962
3aace4e4
CY
10963 * files.el (inhibit-first-line-modes-regexps): Add image files.
10964 (hack-local-variables-prop-line): Return nil for malformed
10965 prop-lines (Bug#9044).
10966
710dec63
MA
109672011-09-18 Michael Albinus <michael.albinus@gmx.de>
10968
10969 * net/tramp.el (top): Don't require 'shell.
10970 (tramp-methods): Fix docstring.
10971 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10972 Return complete remote file name. Handle "smb" case.
10973 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10974 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10975
10976 * net/tramp-compat.el (top): Require 'shell.
10977
10978 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10979 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10980 `tramp-current-host'.
10981 (tramp-get-remote-tmpdir): Remove.
10982
10983 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10984 `tramp-tmpdir' entries.
10985 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10986 (tramp-smb-handle-file-attributes): Ignore errors.
10987 (tramp-smb-wait-for-output): Check also for process end.
10988
5d5ac8ec
LMI
109892011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10990
10991 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10992 when sending QUIT (bug#9312).
10993
8c0f49f0
CY
109942011-09-17 Chong Yidong <cyd@stupidchicken.com>
10995
10996 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10997 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10998 occur-mode-display-occurrence.
10999 (occur-edit-mode): Add usage message.
11000 (occur-cease-edit): New command.
11001 (occur-after-change-function): Use text properties to find the
11002 position of the prefix text.
11003 (occur-engine): Set stickiness of prefix text properties.
11004
8f1383f7
GM
110052011-09-17 Glenn Morris <rgm@gnu.org>
11006
11007 * progmodes/etags.el (complete-tag):
11008 Fix call to completion-in-region. (Bug#9526)
11009
744ba0e3
JL
110102011-09-17 Juri Linkov <juri@jurta.org>
11011
11012 * textmodes/ispell.el (ispell-word): Add to the error message
11013 the word, ispell program name and current dictionary (bug#9121).
11014 (ispell-tex-arg-end): Capitalize "error" in the error message.
11015
d9bbf400
AS
110162011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11017
11018 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11019 check. (Bug#4251)
11020
8da11505
JL
110212011-09-17 Juri Linkov <juri@jurta.org>
11022
11023 * window.el (window-safe-min-height, window-safe-min-width):
11024 Fix typos (followup to bug#9522).
11025
a91adc7e
SJ
110262011-09-17 Sven Joachim <svenjoac@gmx.de>
11027
11028 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11029
064f328a
EZ
110302011-09-16 Eli Zaretskii <eliz@gnu.org>
11031
11032 * simple.el (line-move): If goal-column is set, move by logical
11033 lines, not by display lines. (Bug#971)
11034 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11035 to reflect the above change.
11036
e69df516
SM
110372011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 * image.el (imagemagick-register-types): Use regexp-opt.
11040
cbb0f9ab
CY
110412011-09-15 Chong Yidong <cyd@stupidchicken.com>
11042
11043 * window.el (display-buffer-base-action): Rename from
11044 display-buffer-default-action. Make default value empty.
11045 (display-buffer-overriding-action): Convert to defvar.
11046 (display-buffer-fallback-action): New var.
11047
25322144
CY
110482011-09-15 Chong Yidong <cyd@stupidchicken.com>
11049
11050 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11051 declaration.
11052 (package--add-to-archive-contents): If there is a duplicate entry
11053 with an older version, remove it.
11054 (package-menu-mark-delete, package-menu-mark-install)
11055 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11056 (package-menu-mark-obsolete-for-deletion):
11057 Use package-menu-get-status instead of a regexp search.
25322144
CY
11058 (package-menu-get-status): Use tabulated-list-entry.
11059 (package-menu-mark-upgrades): New command.
d770725a 11060 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11061 (package-menu-execute): Do installation before deletion.
11062 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11063 instead of checking major-mode.
11064 (package-menu--find-upgrades): New function.
11065
7520339c
LMI
110662011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11067
11068 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11069 passwords in the log buffer.
65a046c4
LMI
11070 (smtpmail-process-filter): Update the process marker so that the
11071 "broken by peer" status message is inserted in the right place.
7520339c 11072
d3c30954
SM
110732011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11074
3fe48822
SM
11075 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11076 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11077 bibtex-completion-at-point-function.
11078 (bibtex-completion-at-point-function): Use them.
11079
1b8b3954
SM
11080 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11081
d3c30954
SM
11082 * mpc.el (mpc-constraints-tag-lookup): New function.
11083 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11084 also to browser "album|playlist".
11085
72779976
JL
110862011-09-14 Juri Linkov <juri@jurta.org>
11087
11088 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11089 (isearch-edit-string): Use length of `isearch-string' when
11090 `isearch-fail-pos' returns nil.
11091 (isearch-message): Remove duplicate code and call
11092 `isearch-fail-pos' with arg `t'.
11093
a0bf2bcd
CY
110942011-09-14 Chong Yidong <cyd@stupidchicken.com>
11095
17bb0a2d
CY
11096 * replace.el (occur-mode-goto-occurrence): Don't force using other
11097 window (Bug#9499).
11098
a0bf2bcd
CY
11099 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11100
f678e0b6
MR
111012011-09-14 Martin Rudalics <rudalics@gmx.at>
11102
11103 * window.el (display-buffer-window): Remove.
11104 (display-buffer-record-window): Use help-setup window parameter
11105 instead of variable display-buffer-window.
11106 (display-buffer-function, special-display-buffer-names)
11107 (special-display-function): Mention help-setup parameter instead
11108 of display-buffer-window in doc-string.
d3c30954
SM
11109 * help.el (help-window-setup): New argument help-window.
11110 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11111 Reword some messages.
11112 (with-help-window): Pass window used for displaying the buffer
11113 to help-window-setup. Don't set display-buffer-window.
11114
8e39b2e8
GM
111152011-09-13 Glenn Morris <rgm@gnu.org>
11116
11117 * emacs-lisp/debug.el (debugger-make-xrefs):
11118 Preserve point. (Bug#9462)
11119
85e9c04b
CY
111202011-09-13 Chong Yidong <cyd@stupidchicken.com>
11121
11122 * window.el (window-deletable-p): Use next-frame.
11123
1b36ed6a
MR
111242011-09-13 Martin Rudalics <rudalics@gmx.at>
11125
11126 * window.el (window-auto-delete): Remove.
11127 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11128 dedication and previous buffers.
1b36ed6a
MR
11129 (switch-to-prev-buffer): Don't delete window.
11130 (delete-windows-on): Delete a window's frame if and only if the
11131 window is dedicated.
11132 (replace-buffer-in-windows): Delete buffer's window or frame if
11133 and only if window is dedicated.
11134 (quit-window): Handle quit-restore as before last change.
4d61f28d 11135 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11136
ef8ef9fb
CY
111372011-09-13 Chong Yidong <cyd@stupidchicken.com>
11138
11139 * window.el (window-deletable-p): Never delete the last frame on a
11140 given terminal.
11141
b2cba41e
GM
111422011-09-13 Glenn Morris <rgm@gnu.org>
11143
11144 * help.el (describe-key-briefly): Copy previous standard-output change.
11145
51553db6 111462011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11147
11148 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11149
b7556719
GM
111502011-09-13 Glenn Morris <rgm@gnu.org>
11151
11152 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11153 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11154
64b51947
CY
111552011-09-12 Chong Yidong <cyd@stupidchicken.com>
11156
11157 * dired-aux.el (dired-mark-read-string): Don't return default
11158 value on empty input (Bug#9361).
11159 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11160 Omit initial minibuffer contents.
11161 (dired-do-chmod): Signal an error on empty input.
11162 (dired-mark-read-string): Don't return default on empty input.
11163
11164 * files.el (file-modes-symbolic-to-number): Doc fix.
11165
393a301e
SM
111662011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * international/mule-cmds.el (ucs-completions): Remove.
11169 (read-char-by-name): Use complete-with-action instead; add metadata.
11170
fa5660f9
CY
111712011-09-11 Chong Yidong <cyd@stupidchicken.com>
11172
11173 * window.el (display-buffer--action-function-custom-type)
11174 (display-buffer--action-custom-type): New vars.
11175 (display-buffer-alist, display-buffer-default-action)
11176 (display-buffer-overriding-action): Add defcustom types.
11177
4a592f66
CY
11178 * frame.el (delete-other-frames): Doc fix (Bug#276).
11179
73d56dbd
LMI
111802011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11181
11182 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11183
37ac18a3
CY
111842011-09-11 Chong Yidong <cyd@stupidchicken.com>
11185
11186 Change modes that used same-window-* vars to use switch-to-buffer.
11187
11188 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11189 Use switch-to-buffer.
11190
11191 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11192 (customize-browse, custom-buffer-create-other-window):
11193 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11194
11195 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11196 (Info-prev, Info-up, Info-speedbar-goto-node)
11197 (info-display-manual): Use switch-to-buffer.
11198 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11199
11200 * mail/sendmail.el (mail): Use switch-to-buffer.
11201 (mail-recover): Use switch-to-buffer-other-window.
11202
11203 * cmuscheme.el (run-scheme, switch-to-scheme):
11204 * ielm.el (ielm):
11205 * shell.el (shell):
11206 * net/rlogin.el (rlogin):
11207 * net/telnet.el (telnet, rsh):
11208 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11209
10195bd6
AS
112102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11211
11212 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11213
b322f63a
LMI
112142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11215
39d7fed6
LMI
11216 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11217 so don't mention it (bug#9301).
ba5a81f1 11218 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 11219
ee0e9f11
LMI
11220 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11221 match `x', `w32' and `ns', like the manual says (bug#9029).
11222
0b1c89c1 11223 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
11224 (process-kill-buffer-query-function): Mention the buffer name in
11225 the query.
0b1c89c1 11226
77549ea8
LMI
11227 * image-mode.el (image-next-line): The line parameter is mandatory
11228 (bug#9258).
11229
803ef892
LMI
11230 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11231 which can be useful (bug#9301).
11232
12980837
LMI
11233 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11234
91054f8f
LMI
11235 * subr.el (match-string): Mention that the current buffer should
11236 be the same as the search was done in (bug#9282).
11237
b322f63a
LMI
11238 * facemenu.el: Disable the remove-* commands if the mark isn't
11239 active (bug#9162).
11240
3199b96f
CY
112412011-09-10 Chong Yidong <cyd@stupidchicken.com>
11242
11243 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11244 of display-buffer.
11245 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11246
11247 * replace.el (occur-mode-goto-occurrence)
11248 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11249 and display-buffer.
11250
11251 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11252 display-buffer.
11253
11254 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11255 special-display and same-window variables.
11256 (mail-other-window): Use switch-to-buffer-other-window.
11257 (mail-other-frame): USe switch-to-buffer-other-frame.
11258
393a301e
SM
11259 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11260 Use display-buffer-other-frame.
3199b96f
CY
11261 (gdb-display-gdb-buffer): Use pop-to-buffer.
11262
11263 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11264
11265 * progmodes/python.el: Don't set same-window-buffer-names.
11266
11267 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11268
11269 * window.el (display-buffer-alist): Add *Python*.
11270
8319e0bf
CY
112712011-09-10 Chong Yidong <cyd@stupidchicken.com>
11272
11273 * window.el (display-buffer-alist): Add entry for buffers
11274 previously handled same-window-*.
11275 (display-buffer-alist, display-buffer-default-action)
11276 (display-buffer-overriding-action): Mark as risky.
11277 (display-buffer-alist): Document action function changes.
11278 (display-buffer--same-window-action)
11279 (display-buffer--other-frame-action): New variables.
11280 (switch-to-buffer, display-buffer-other-frame): Use them.
11281 (display-buffer): Rename reuse-frame entry to reusable-frames.
11282 (display-buffer-reuse-selected-window): Function deleted.
11283 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11284 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11285 (display-buffer-special): New function.
11286 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11287 display-buffer-reuse-or-pop-window. Split off special-display
11288 part into display-buffer-special.
11289 (display-buffer-use-some-window): Don't perform any special
11290 pop-up-frames handling.
11291 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 11292 (display-buffer--maybe-same-window): Rename from
0d3ff375 11293 display-buffer-maybe-same-window.
8319e0bf 11294
919a69aa
CY
11295 * info.el: Don't set same-window-regexps.
11296 (info-setup): New function.
11297 (info-other-window, info): Call it.
11298
11299 * cus-edit.el: Don't set same-window-regexps.
11300 (customize-group): New argument.
11301 (customize-group-other-window): Use it.
11302 (customize-face, customize-face-other-window): Likewise.
11303 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11304
8319e0bf
CY
11305 * net/rlogin.el:
11306 * net/telnet.el:
11307 * progmodes/gud.el: Don't set same-window-regexps.
11308
11309 * cmuscheme.el:
11310 * ielm.el:
11311 * shell.el:
11312 * mail/sendmail.el:
11313 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11314
25173000
JL
113152011-09-10 Juri Linkov <juri@jurta.org>
11316
11317 * isearch.el (isearch-edit-string): Remove obsolete mention of
11318 `C-w' (`isearch-yank-word-or-char') from docstring.
11319 (isearch-query-replace): Fix typo in docstring (bug#9466).
11320
056e44ef
JL
113212011-09-10 Juri Linkov <juri@jurta.org>
11322
11323 * paren.el (show-paren-function): Don't show escaped parens.
11324 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11325
c3760c17
EZ
113262011-09-10 Eli Zaretskii <eliz@gnu.org>
11327
11328 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11329 (mm-default-file-encoding): Remove autoload forms, they are
11330 replaced with autoload cookies in mml.el and mm-encode.el.
11331 (mail-add-attachment): New command.
11332 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11333 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11334 the doc string.
11335 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11336
fece895e
RT
113372011-09-10 Reuben Thomas <rrt@sc3d.org>
11338
e69df516
SM
11339 * simple.el (count-words-region): Use buffer if there's no region
11340 (bug#9429).
fece895e 11341
5e68ce4a
JL
113422011-09-09 Juri Linkov <juri@jurta.org>
11343
11344 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11345 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11346 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11347
0a6b9622
AM
113482011-09-09 Alan Mackenzie <acm@muc.de>
11349
11350 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11351 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11352
14a29deb
EZ
113532011-09-09 Eli Zaretskii <eliz@gnu.org>
11354
11355 Fix for Savannah bug#9392.
11356 * simple.el (mail-encode-mml): New defvar.
11357
11358 * mail/rmail.el (mail-encode-mml): Add a defvar.
11359 (rmail-enable-mime-composing): Default to t.
11360 (rmail-forward): Use MIME method of forwarding only if both
11361 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11362 Set mail-encode-mml non-nil if the MIME method was used.
11363
11364 * mail/sendmail.el (mml-to-mime): Add autoload form.
11365 (mail-encode-mml): Add a defvar.
11366 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11367 to nil.
11368 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11369 message through mml-to-mime, and reset mail-encode-mml to nil.
11370
28c45130
GM
113712011-09-09 Glenn Morris <rgm@gnu.org>
11372
11373 * woman.el (woman-if-body): When processing an .el block,
11374 do not delete the next .el block as well. (Bug#9447)
69f4b618 11375 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 11376
9b1c252e
MR
113772011-09-08 Martin Rudalics <rudalics@gmx.at>
11378
11379 * window.el (window-deletable-p): Make sure window is live before
11380 invoking window-prev-buffers.
11381
567457e3
LL
113822011-09-08 Leo Liu <sdl.web@gmail.com>
11383
11384 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11385
97f05794
JL
113862011-09-08 Juri Linkov <juri@jurta.org>
11387
11388 * progmodes/compile.el (compilation-environment): Make it
11389 a defcustom (bug#8340).
11390
8b0874b5
MR
113912011-09-08 Martin Rudalics <rudalics@gmx.at>
11392
11393 * window.el (frame-auto-delete): Rename to window-auto-delete.
11394 Make it control auto-deletion of windows and/or frames.
11395 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 11396 for deleting window/frame. (Bug#9419)
8b0874b5
MR
11397 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11398 Rewrite handling of case when window/frame can be deleted.
11399 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 11400 argument t. (Bug#9456)
8b0874b5 11401
4feb6e73
CY
114022011-09-07 Chong Yidong <cyd@stupidchicken.com>
11403
11404 * help-mode.el (help-mode): Restore autoload.
11405
91ab9c13
JL
114062011-09-07 Juri Linkov <juri@jurta.org>
11407
11408 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11409 `compilation-environment'. Set buffer-local
11410 `compilation-environment' to `thisenv' later after (funcall mode).
11411 (Bug#8340)
11412
11413 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11414 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11415 instead of replacing its value. (Bug#8340)
11416
0527e251
JL
114172011-09-07 Juri Linkov <juri@jurta.org>
11418
11419 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11420 based on text properties put by `grep-filter' instead of matching
11421 escape sequences.
11422 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11423 to the value of `grep-error-screen-columns' (bug#9438).
11424
249f792c
JL
114252011-09-07 Juri Linkov <juri@jurta.org>
11426
11427 * simple.el (next-error-highlight, next-error-highlight-no-select):
11428 Doc fix (bug#9432).
11429
ff7271b9
OT
114302011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11431
11432 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11433 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11434
183fc730
LL
114352011-09-07 Leo Liu <sdl.web@gmail.com>
11436
11437 * net/rcirc.el (rcirc-mode): Conditionally initialize
11438 rcirc-input-ring.
11439
77694924
SM
114402011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * emacs-lisp/find-func.el (find-function-C-source): Only set
11443 find-function-C-source-directory after checking that we found a source
11444 file there (bug#9440).
11445
d809b8eb
AM
114462011-09-06 Alan Mackenzie <acm@muc.de>
11447
11448 * isearch.el (isearch-other-meta-char): Wherever a key list is
11449 unread, "unread" the prefix arg, too. This fixes bug #8901.
11450
453de99f
OG
114512011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11452
11453 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11454
90439906
JL
114552011-09-05 Juri Linkov <juri@jurta.org>
11456
11457 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11458
f62bd846
JL
114592011-09-05 Juri Linkov <juri@jurta.org>
11460
11461 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11462 keeping point where processing of grep matches begins, and
11463 continue to delete remaining escape sequences from the same point.
11464 (grep-filter): Make leading zero optional in "0?1;31m" because
11465 git-grep emits "\033[1;31m" escape sequences unlike expected
11466 "\033[01;31m" as GNU Grep does (bug#9408).
11467 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11468
045820ec
JL
114692011-09-05 Juri Linkov <juri@jurta.org>
11470
11471 * subr.el (y-or-n-p): Capitalize "yes".
11472
f5e29b9b
MA
114732011-09-04 Michael Albinus <michael.albinus@gmx.de>
11474
11475 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11476 `tramp-cache-unload-hook' where appropriate.
11477 (tramp-methods): Rename `tramp-remote-sh' to
11478 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11479 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11480
11481 * net/tramp-sh.el (top): Don't require 'shell.
11482 (tramp-methods): Add `tramp-remote-shell' and
11483 `tramp-remote-shell-args' entries.
11484 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11485 (tramp-sh-handle-shell-command): Remove.
11486 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11487 Use `tramp-remote-shell'.
11488
2784c434
CY
114892011-09-03 Chong Yidong <cyd@stupidchicken.com>
11490
393a301e 11491 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11492 (sendmail-query-once): Save directly to send-mail-function.
11493 Update message-send-mail-function too.
11494
11495 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11496
464cdf56
CS
114972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11498
11499 * progmodes/python.el (python-mode-map): Use correct function to
11500 start python interpreter from menu-bar (as reported by Geert
11501 Kloosterman).
11502 (inferior-python-mode-map): Fix typo.
393a301e 11503 (python-shell-map): Remove.
464cdf56 11504
d37e5c87
DD
115052011-09-03 Deniz Dogan <deniz@dogan.se>
11506
11507 * net/rcirc.el (rcirc-print): Simplify code for
11508 rcirc-scroll-show-maximum-output. There is no need to walk
11509 through all windows to find the right one.
11510
f3ada0ee
CS
115112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11512
11513 * help.el (help-return-method): Doc fix.
11514
1f3c99ca
MR
115152011-09-03 Martin Rudalics <rudalics@gmx.at>
11516
11517 * window.el (window-deletable-p): Don't return a non-nil value
11518 when there's a buffer that was shown in the window before.
11519 (Bug#9419)
393a301e
SM
11520 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11521 Set window's previous buffers to nil.
1f3c99ca 11522
a3cf097f
EZ
115232011-09-03 Eli Zaretskii <eliz@gnu.org>
11524
11525 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11526 newline before and after the tag line, so it doesn't interfere
11527 with determining the paragraph direction of bidirectional text.
11528
3d03de90
LL
115292011-09-03 Leo Liu <sdl.web@gmail.com>
11530
11531 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11532
c3313451
CY
115332011-09-02 Chong Yidong <cyd@stupidchicken.com>
11534
393a301e 11535 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11536 (pop-to-buffer): Change interactive spec. Pass second argument
11537 directly to display-buffer.
11538 (display-buffer): Fix interactive spec. Use functionp to
11539 distinguish between a function and a list of functions.
11540
11541 * abbrev.el (edit-abbrevs):
11542 * arc-mode.el (archive-extract):
11543 * autoinsert.el (auto-insert):
11544 * bookmark.el (bookmark-bmenu-list):
11545 * files.el (find-file):
11546 * view.el (view-buffer):
11547 * progmodes/compile.el (compilation-goto-locus):
11548 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11549
89894cd8
CY
115502011-09-02 Chong Yidong <cyd@stupidchicken.com>
11551
11552 * window.el (display-buffer-alist): Doc fix.
11553 (display-buffer): Add docstring. Don't treat
11554 display-buffer-default specially.
11555 (display-buffer-reuse-selected-window)
11556 (display-buffer-same-window, display-buffer-maybe-same-window)
11557 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11558 (display-buffer-pop-up-window)
11559 (display-buffer-reuse-or-pop-window)
11560 (display-buffer-use-some-window): New functions.
11561 (display-buffer-default-action): Use them.
393a301e 11562 (display-buffer-default): Delete.
89894cd8
CY
11563 (pop-to-buffer-1): Fix choice of actions.
11564
ae0bc9fb
SM
115652011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * minibuffer.el (completion--insert-strings): Don't get confused by
11568 completion entries that end with an LF char.
11569
e9d90883
EZ
115702011-09-01 Eli Zaretskii <eliz@gnu.org>
11571
11572 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11573
437014c8
CY
115742011-09-01 Chong Yidong <cyd@stupidchicken.com>
11575
11576 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11577 (display-buffer-same-window, display-buffer-other-window):
11578 New functions.
437014c8
CY
11579 (pop-to-buffer-1): New function. Use the above.
11580 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11581 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11582
11583 * view.el (view-buffer-other-window, view-buffer-other-frame):
11584 Just use pop-to-buffer.
11585
a5e063d5
TV
115862011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11587
11588 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11589
793d32bb
WH
115902011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11591
11592 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11593
d65e4c15
RS
115942011-08-31 Richard Stallman <rms@gnu.org>
11595
11596 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11597 of the separation of rmail-view-buffer from rmail-buffer.
11598 If you say no to "replace original", the decrypt is in the
11599 view buffer. If you say yes, the decrypt goes into the
11600 rmail buffer also.
11601
f818cd2a
MR
116022011-08-31 Martin Rudalics <rudalics@gmx.at>
11603
11604 * window.el (display-buffer-window): Rewrite doc-string.
11605 (display-buffer-record-window): New function.
11606 (display-buffer-macro-specifiers)
11607 (display-buffer-even-window-sizes, display-buffer-set-height)
11608 (display-buffer-set-width, display-buffer-in-window)
11609 (display-buffer-reuse-window, display-buffer-split-specifiers)
11610 (display-buffer-side-specifiers, display-buffer-split-window-1)
11611 (display-buffer-split-window, display-buffer-split-atom-window)
11612 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11613 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11614 (display-buffer-other-window-means-other-frame)
11615 (display-buffer-normalize-special)
11616 (display-buffer-normalize-default)
11617 (display-buffer-normalize-argument)
11618 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11619 (display-buffer-normalize-specifiers, display-buffer-frame)
11620 (display-buffer-same-window, display-buffer-same-frame)
11621 (display-buffer-other-window)
11622 (display-buffer-same-frame-other-window)
11623 (display-buffer-other-frame, pop-to-buffer-same-window)
11624 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11625 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11626 (switch-to-buffer-same-frame)
11627 (switch-to-buffer-other-window-same-frame)
11628 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11629 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11630 (display-buffer-alist-set): Remove.
11631 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11632 (special-display-regexps, special-display-function):
11633 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11634 parameter.
11635 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11636 (special-display-frame-alist, special-display-popup-frame)
11637 (same-window-buffer-names, same-window-regexps, same-window-p)
11638 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11639 (split-window-preferred-function, split-height-threshold)
11640 (split-width-threshold, window-splittable-p)
11641 (split-window-sensibly, window--try-to-split-window)
11642 (window--frame-usable-p, even-window-heights)
11643 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11644 (window--display-buffer-2, display-buffer-other-frame):
11645 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11646 (display-buffer-default, display-buffer-assq-regexp): New functions.
11647 (display-buffer-alist): Rewrite doc-string.
11648 (display-buffer-default-action)
11649 (display-buffer-overriding-action): New variables.
11650 (display-buffer, switch-to-buffer): Rewrite.
11651 (pop-to-buffer): Restore Emacs 23 behavior but use
11652 window-normalize-buffer-to-display.
11653 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11654 Restore Emacs 23 behavior but use
11655 window-normalize-buffer-to-switch-to.
11656 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11657 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11658 Rewrite using Emacs 23 options.
f818cd2a 11659
5bc3b51d
MA
116602011-08-31 Michael Albinus <michael.albinus@gmx.de>
11661
11662 * net/tramp.el (tramp-root-regexp): Remove.
11663 (tramp-completion-file-name-regexp-unified)
11664 (tramp-completion-file-name-regexp-separate)
11665 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11666 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11667 (tramp-drop-volume-letter): Simplify definition.
11668 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11669
b1a4f8e1
SM
116702011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11673 (bug#9356).
11674
5664fa7b
RT
116752011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11676
b1a4f8e1 11677 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11678
9a45d6c3
JL
116792011-08-29 Juri Linkov <juri@jurta.org>
11680
11681 * isearch.el (isearch-done): Don't display message "Mark saved"
11682 when arg `edit' is non-nil to prevent its flicker in the echo area.
11683
fb87e0fb
CY
116842011-08-28 Chong Yidong <cyd@stupidchicken.com>
11685
11686 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11687 obsolete packages for deletion.
11688
09ac1c2a
CS
116892011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11690
11691 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11692 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11693 view-mode from help-mode.
11694 (help-xref-override-view-map): Remove.
11695 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11696 view-mode is not used anymore.
11697
7a1ff57f
CY
116982011-08-28 Chong Yidong <cyd@stupidchicken.com>
11699
11700 * server.el (server-port): Doc fix.
11701
b9696605
CY
11702 * cus-theme.el (custom-theme-choose-mode): Inherit from
11703 special-mode (Bug#9124).
11704 (custom-theme-choose-mode-map): Add special-mode to parent.
11705
ef8cdf8c
AM
117062011-08-28 Alan Mackenzie <acm@muc.de>
11707
11708 * progmodes/cc-fonts.el
11709 (c-make-font-lock-BO-decl-search-function): New function.
11710 (c-basic-matchers-after - "Fontify the clauses after various
11711 keywords"): Extract the three keyword lists for the 3 erroneous
11712 constructs from the list of four, and use the new function above
11713 in place of an old one.
11714
27de4e20
DD
117152011-08-28 Deniz Dogan <deniz@dogan.se>
11716
11717 * net/rcirc.el (rcirc-insert-prev-input)
11718 (rcirc-insert-next-input): Remove unused argument.
11719
356a3681
SM
117202011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11721
11722 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11723
3fc9b218
AM
117242011-08-27 Alan Mackenzie <acm@muc.de>
11725
11726 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11727 handle function pointer parameters properly.
11728
538a061c
MR
117292011-08-27 Martin Rudalics <rudalics@gmx.at>
11730
11731 * window.el (display-buffer-reuse-window): Fix case where
11732 selected window was reused with non-nil OTHER-WINDOW argument.
11733 (Bug#9381)
11734
35b1c40c
DD
117352011-08-27 Deniz Dogan <deniz@dogan.se>
11736
11737 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11738 oftc's NickServ messages.
11739
2f6a3e79
GM
117402011-08-27 Glenn Morris <rgm@gnu.org>
11741
11742 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11743
7254299e
CY
117442011-08-26 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * emacs-lisp/package.el (package-install): Call package-initialize
11747 if called interactively.
11748
f8ccf167
LL
117492011-08-26 Leo Liu <sdl.web@gmail.com>
11750
11751 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11752
3e8cd5ce
JL
117532011-08-25 Juri Linkov <juri@jurta.org>
11754
11755 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11756 `search-whitespace-regexp' (bug#9364).
11757
93eb7113
JL
117582011-08-25 Juri Linkov <juri@jurta.org>
11759
11760 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11761 `regexp-search-ring' to their global values to protect from
11762 updating by `read-from-minibuffer' (bug#9185).
11763
f65d1611
JL
117642011-08-25 Juri Linkov <juri@jurta.org>
11765
11766 * textmodes/ispell.el (ispell-command-loop): Add newline
11767 at the end of the "Use option `i'..." line.
11768
f1cf7a31
JL
117692011-08-25 Juri Linkov <juri@jurta.org>
11770
11771 * battery.el (display-battery-mode): If `battery-status-function'
11772 or `battery-mode-line-format' is nil, display the message and set
11773 `display-battery-mode' to nil (bug#9363).
11774
0c95fcf7
EZ
117752011-08-25 Eli Zaretskii <eliz@gnu.org>
11776
11777 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11778 bidi-string-mark-left-to-right; they are unnecessary now.
11779
a2ebe600
DD
117802011-08-25 Deniz Dogan <deniz@dogan.se>
11781
11782 * net/quickurl.el: Documentation typo fixes.
11783
e4ed06f1
CY
117842011-08-25 Chong Yidong <cyd@stupidchicken.com>
11785
11786 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11787
e5f1c99e
GM
117882011-08-25 Glenn Morris <rgm@gnu.org>
11789
b2948976
GM
11790 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11791
e5f1c99e
GM
11792 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11793 (smtpmail-via-smtp): Handle nil response from smtp.
11794
f22f4808
JL
117952011-08-24 Juri Linkov <juri@jurta.org>
11796
11797 * proced.el (proced-marked): Inherit from `error' instead of
11798 `font-lock-warning-face'.
11799
11800 * ibuffer.el (ibuffer-marked-face): Change default face from
11801 `font-lock-warning-face' to `warning'.
11802 (ibuffer-deletion-face): Change default face from
11803 `font-lock-type-face' to `error'.
11804
11805 * battery.el (battery-update): Use the face `error' instead of
11806 `font-lock-warning-face' (bug#6117).
11807
6a93965e
JL
118082011-08-24 Juri Linkov <juri@jurta.org>
11809
11810 * faces.el (success): Change face color from "Green3" to
11811 "ForestGreen" on light background (bug#9353).
11812
1ed43b09
CY
118132011-08-24 Chong Yidong <cyd@stupidchicken.com>
11814
5664fa7b
RT
11815 * window.el (quit-window): Rename from quit-restore-window.
11816 Use same arglist as old quit-window.
1ed43b09
CY
11817 (frame-auto-delete): Doc fix.
11818
11819 * view.el (view-mode-exit): Use quit-window.
11820
11dcdbb2
JL
118212011-08-24 Juri Linkov <juri@jurta.org>
11822
11823 * isearch.el (isearch-ring-adjust1): Start visiting previous
11824 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11825 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11826 for empty search string (when the last search string is reused
11827 automatically) to adjust the isearch ring to the last element and
11828 prepare the correct index for further M-p commands (bug#9185).
11829
de62b4df
KH
118302011-08-24 Kenichi Handa <handa@m17n.org>
11831
11832 * international/ucs-normalize.el: If decomposition property of
11833 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11834 nil.
11835 (nfd, nfkd): Likewise.
11836
963b492b
SM
118372011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11840 from process filters aren't reliably transmitted to the surrounding
11841 accept-process-output.
11842 (mpc-proc-check): New function.
11843 (mpc-proc-sync): Use it (bug#8293)
11844
93b6b5e1
SM
118452011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11848 Add compatibility functions (bug#9313).
11849
bca633fb
EZ
118502011-08-23 Eli Zaretskii <eliz@gnu.org>
11851
b177498a
EZ
11852 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11853
6df6ae42 11854 * international/uni-bidi.el: Regenerate.
bca633fb 11855
0902a04e
KH
118562011-08-23 Kenichi Handa <handa@m17n.org>
11857
11858 * international/charprop.el:
11859 * international/uni-bidi.el:
11860 * international/uni-category.el:
11861 * international/uni-combining.el:
11862 * international/uni-comment.el:
11863 * international/uni-decimal.el:
11864 * international/uni-decomposition.el:
11865 * international/uni-digit.el:
11866 * international/uni-lowercase.el:
11867 * international/uni-mirrored.el:
11868 * international/uni-name.el:
11869 * international/uni-numeric.el:
11870 * international/uni-old-name.el:
11871 * international/uni-titlecase.el:
11872 * international/uni-uppercase.el: Regenerate.
11873
3bbf23bc
MR
118742011-08-23 Martin Rudalics <rudalics@gmx.at>
11875
11876 * help.el (help-window-setup): Fix message displayed when other
11877 window is reused. (Bug#9341)
11878
b3fd59bd
SM
118792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11880
1802e444
SM
11881 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11882 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11883
b3fd59bd
SM
11884 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11885 Mark obsolete.
11886 * shell.el (shell-parse-pcomplete-arguments): New function.
11887 (shell-completion-vars): Use it instead (bug#9160).
11888
4eb61348
SM
118892011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11890
867cab74
SM
11891 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11892 strings and comments (bug#9333).
11893
4eb61348
SM
11894 * emacs-lisp/debug.el (debug-arglist): New function.
11895 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11896 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11897
262a1439
JL
118982011-08-22 Juri Linkov <juri@jurta.org>
11899
56ee679c
JL
11900 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11901 Revert regexp that highlights output switches to its old
11902 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11903
262a1439
JL
11904 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11905 to check for empty output (bug#9226).
11906
f13f86fb
CY
119072011-08-22 Chong Yidong <cyd@stupidchicken.com>
11908
11909 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11910 symbol-constituent as the default, as that stops font-lock from
11911 working properly (Bug#8843).
11912
c65c9622
LMI
119132011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11914
11915 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11916 `coding-system-for-*' around the process open call to avoid
11917 auth-source side effects.
e7f2c178 11918 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11919 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11920 probe hangs.
c65c9622 11921
23a8a5ab
CY
119222011-08-21 Chong Yidong <cyd@stupidchicken.com>
11923
ff98b2dd
CY
11924 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11925
23a8a5ab
CY
11926 * emacs-lisp/find-func.el (find-function-noselect): New arg
11927 lisp-only.
11928
11929 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11930 signal an error for built-in functions (Bug#6664).
11931
f5e3c598
LMI
119322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11933
11934 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11935 (smtpmail-try-auth-methods): Use it.
11936
a3f2468a
CY
119372011-08-21 Chong Yidong <cyd@stupidchicken.com>
11938
2c34e8da
CY
11939 * font-lock.el (font-lock-fontify-region)
11940 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11941 (font-lock-default-unfontify-buffer)
11942 (font-lock-default-fontify-region)
11943 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11944
b3fd59bd
SM
11945 * progmodes/compile.el (compilation-error-properties):
11946 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11947 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11948 `ant' regexp.
ee31aabc 11949
a3f2468a
CY
11950 * net/browse-url.el (browse-url-firefox): Don't call
11951 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11952
8e999f70
GM
119532011-08-20 Glenn Morris <rgm@gnu.org>
11954
c21a496a
GM
11955 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11956
59ee0542
GM
11957 * tutorial.el (tutorial--default-keys): Update some default bindings.
11958
8e999f70
GM
11959 * files.el (hack-local-variables): Fully ignore case for "mode:".
11960
e3715033
AM
119612011-08-20 Alan Mackenzie <acm@muc.de>
11962
11963 Resolve invalid use of a regexp in regexp-opt.
11964
4d61f28d
JB
11965 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11966 detection for a java annotation.
e3715033 11967
4d61f28d 11968 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11969 detection for a java annotation.
11970
4d61f28d
JB
11971 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11972 handling for java.
e3715033
AM
11973 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11974
04ed2e9c
CY
119752011-08-20 Chong Yidong <cyd@stupidchicken.com>
11976
11977 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11978 (Bug#9274).
11979
826cee64
AM
119802011-08-20 Alan Mackenzie <acm@muc.de>
11981
58179cce 11982 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11983 such a construct. Mainly for when jit-lock etc. starts a chunk
11984 here.
11985
58179cce 11986 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11987 variable.
58179cce 11988 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11989 c-make-font-lock-search-function.
11990 (c-make-font-lock-search-function): Use the above function.
11991 (c-make-font-lock-context-search-function): New function.
11992 (c-cpp-matchers): Enhance the preprocessor expression case with
11993 the above function
11994 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11995 which takes an expression.
11996
11997 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11998
13009bd8
MR
119992011-08-20 Martin Rudalics <rudalics@gmx.at>
12000
12001 * window.el (display-buffer-reuse-window)
12002 (display-buffer-pop-up-window): Don't reuse or split a side
12003 window.
12004
9234ff7f
GM
120052011-08-19 Glenn Morris <rgm@gnu.org>
12006
12007 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12008 Downcase "Mode:". (Bug#9331)
9234ff7f 12009
f635daa1
CY
120102011-08-18 Chong Yidong <cyd@stupidchicken.com>
12011
12012 * international/characters.el: Add L and R categories.
12013
12014 * subr.el (bidi-string-mark-left-to-right): Rename from
12015 string-mark-left-to-right. Use category search.
12016
12017 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12018
bc987f8b
JL
120192011-08-18 Juri Linkov <juri@jurta.org>
12020
12021 * faces.el (error, warning, success): New faces with definitions
12022 copied from old default values of `font-lock-warning-face',
12023 `compilation-warning', `compilation-info' (bug#6117).
12024
12025 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12026
12027 * progmodes/compile.el (compilation-error): Inherit from `error'.
12028 (compilation-warning): Inherit from `warning'.
12029 (compilation-info): Inherit from `success'.
12030
12031 * dired.el (dired-marked): Inherit from `warning'.
12032 (dired-flagged): Inherit from `error'.
12033
57173b96
LMI
120342011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12035
3e79eb87
LMI
12036 * mail/smtpmail.el (auth-source): Require to avoid problems with
12037 binding variables (bug#9298). Also clean up some unused
12038 autoloads.
12039
b3fd59bd
SM
12040 * net/network-stream.el (network-stream-open-starttls):
12041 Support using starttls.el without using gnutls-cli.
57173b96 12042
02b404de
JL
120432011-08-17 Juri Linkov <juri@jurta.org>
12044
12045 * progmodes/grep.el (rgrep): Handle the case when
12046 `grep-find-command' is a cons cell (bug#9278).
12047
8c9177f2
MR
120482011-08-17 Martin Rudalics <rudalics@gmx.at>
12049
12050 * window.el (display-buffer-pop-up-frame): Run frame creation
12051 function with BUFFER current (as special-display-popup-frame
12052 does). Reported by Drew Adams.
12053
3644a0ab
DU
120542011-08-17 Daiki Ueno <ueno@unixuser.org>
12055
12056 * epa-mail.el: Simplify GnuPG group expansion using
12057 epg-expand-group.
12058 (epa-mail-group-alist, epa-mail-group-modtime)
12059 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12060 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12061 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12062 Remove.
12063
5e617bc2 120642011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12065
12066 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12067
9c4aeabf
AM
120682011-08-16 Alan Mackenzie <acm@muc.de>
12069
12070 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12071 Correct, to avoid the inside of macros.
12072
3a99bf64
RS
120732011-08-16 Richard Stallman <rms@gnu.org>
12074
04963aa8
RS
12075 * epa-mail.el: Handle GnuPG group definitions.
12076 (epa-mail-group-alist, epa-mail-group-modtime)
12077 (epa-mail-gnupg-conf-file): New variables.
12078 (epa-mail-parse-groups, epa-mail-sync-groups)
12079 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12080 (epa-mail-expand-recipients): New functions.
12081 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12082
177549d0
RS
12083 * mail/rmail.el (rmail-epa-decrypt): New command.
12084
fe38beef
RS
12085 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12086 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12087 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12088 (epa-decrypt-armor-in-region): Make error message clearer.
12089
934eacb9
SM
120902011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12091
12092 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12093 and "a2b" to "ab" for `prefix'.
12094
d024fb4e
CY
120952011-08-14 Chong Yidong <cyd@stupidchicken.com>
12096
12097 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12098 filter groups.
de148fee
CY
12099 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12100 Fourquet (Bug#8804).
d024fb4e 12101
62f1ca49
JB
121022011-08-12 Juanma Barranquero <lekktu@gmail.com>
12103
12104 * startup.el (argi): Declare as global variable (bug#9275).
12105
9ccaaa4b
CY
121062011-08-12 Chong Yidong <cyd@stupidchicken.com>
12107
12108 * subr.el (string-mark-left-to-right): Search the entire string
12109 for RTL script, not just the terminating character. Doc fix.
12110
a3dae87a
SM
121112011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12112
6cd18349
SM
12113 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12114 New function.
12115 (js--regexp-literal, js-syntax-propertize-function): Remove.
12116 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12117 (js-mode-map): Don't rebind electric keys.
12118 (js-insert-and-indent): Remove.
12119 (js-mode): Setup electric-layout and electric-indent instead.
12120
a3dae87a
SM
12121 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12122
9d5cb631
DU
121232011-08-12 Daiki Ueno <ueno@unixuser.org>
12124
12125 * epa.el (epa-progress-callback-function): Fix the logic of
12126 displaying progress.
12127 * epa-file.el (epa-file-insert-file-contents): Make progress
12128 display more user-friendly.
12129 (epa-file-write-region): Ditto.
12130
3e26a4a2
CY
121312011-08-10 Chong Yidong <cyd@stupidchicken.com>
12132
12133 * subr.el (string-mark-left-to-right): New function.
12134
12135 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12136 Use string-mark-left-to-right.
12137 (list-buffers-noselect): Caller changed.
12138
a3dae87a
SM
12139 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12140 Use string-mark-left-to-right.
3e26a4a2
CY
12141 (tabulated-list-print): Recenter after moving point.
12142
ac8cf6e6
JL
121432011-08-10 Juri Linkov <juri@jurta.org>
12144
12145 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12146 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12147 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12148
8d96c9a4
CY
121492011-08-09 Chong Yidong <cyd@stupidchicken.com>
12150
12151 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12152 (Bug#7554).
12153
7be1c708 121542011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12155
12156 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12157 character. (Bug#6594)
12158
37e11a63
CY
121592011-08-08 Chong Yidong <cyd@stupidchicken.com>
12160
839dde57
CY
12161 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12162 (image-dired--with-db-file): New macro.
12163 (image-dired-write-tags, image-dired-remove-tag)
12164 (image-dired-create-gallery-lists, image-dired-write-comments)
12165 (image-dired-get-comment, image-dired-mark-tagged-files)
12166 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12167 (image-dired-gallery-generate): Use insert-file-contents.
12168
37e11a63
CY
12169 * time.el (display-time-world-list, display-time-world-display):
12170 * time-stamp.el (time-stamp-string):
12171 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12172 set-time-zone-rule (Bug#7337).
12173
0b4946c4
DU
121742011-08-08 Daiki Ueno <ueno@unixuser.org>
12175
12176 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12177 (epg-error-to-string, epg-errors-to-string): New function.
12178 (epg-wait-for-completion): Reverse errors list.
12179 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12180 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12181 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12182 (epg-sign-keys, epg-generate-key-from-file)
12183 (epg-generate-key-from-string): Format errors by using
12184 epg-errors-to-string (bug#9255).
12185 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12186
75bfc667
JL
121872011-08-07 Juri Linkov <juri@jurta.org>
12188
12189 * faces.el (list-faces-display): Remove extra angle bracket
12190 from `help-mode-map'.
12191
12192 * info.el (Info-history-toc-nodes): Doc fix.
12193
12194 * longlines.el (longlines-mode): Doc fix.
12195
673e08bb
SM
121962011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12197
4640dd88
SM
12198 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12199 of statements and in a few more cases (bug#9183).
12200
673e08bb
SM
12201 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12202 New functions.
12203 (cl-transform-lambda): Use them (bug#9239).
12204
89b3f019
MR
122052011-08-05 Martin Rudalics <rudalics@gmx.at>
12206
12207 * window.el (display-buffer-same-window)
12208 (display-buffer-same-frame, display-buffer-other-window)
12209 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12210 (pop-to-buffer-other-window)
12211 (pop-to-buffer-same-frame-other-window)
12212 (pop-to-buffer-other-frame): Make them defuns.
12213 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12214
640c8776
SM
122152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * subr.el (make-composed-keymap): Move from C. Change calling
12218 convention, and improve docstring to bring attention to a subtle point.
12219 * minibuffer.el (completing-read-default): Adjust accordingly.
12220
63648a95
MA
122212011-08-03 Michael Albinus <michael.albinus@gmx.de>
12222
12223 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12224 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12225
12226 * net/trampver.el: Update release number.
12227
b796c9b7
SM
122282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12231 "in" (bug#9190).
12232
2239d7d5
LMI
122332011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
e07dd7c3
LMI
12235 * mail/sendmail.el (sendmail-query-once): Restore the current
12236 buffer after querying (bug#9074).
12237
0e6a2bd7
LMI
12238 * dired.el (dired-flagged): Use different faces for marked and
12239 flagged files (bug#6117).
12240
ce887515
LMI
12241 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12242 (bug#4433).
12243
92f2affc
LMI
12244 * ido.el (ido-mode): Switch off the message if called
12245 non-interactively.
12246
57d5aff0
LMI
12247 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12248 before 587, since it appears that that's more likely to work for
12249 more people.
12250
98cd6c18 12251 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 12252 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
12253 exist.
12254
b96dec83
LMI
12255 * info.el: Remove the `Info-beginning-of-buffer' function
12256 (bug#8325).
12257
b796c9b7
SM
12258 * net/network-stream.el (network-stream-open-starttls):
12259 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 12260
d90e2ea0
MR
122612011-08-01 Martin Rudalics <rudalics@gmx.at>
12262
12263 * window.el (display-buffer-in-window): Don't set dedicated status
12264 of window here (Bug#9215).
12265 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12266 (display-buffer-pop-up-side-window)
b796c9b7 12267 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 12268
cca09170
SM
122692011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12272 before binding generated-autoload-file.
12273
027b979c
DD
122742011-08-01 Deniz Dogan <deniz@dogan.se>
12275
12276 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12277
3c7ee4f3
MA
122782011-07-30 Michael Albinus <michael.albinus@gmx.de>
12279
12280 Sync with Tramp 2.2.2.
12281
12282 * net/trampver.el: Update release number.
12283
2cc8e51a
JL
122842011-07-30 Juri Linkov <juri@jurta.org>
12285
12286 * dired-aux.el (dired-touch-initial): Remove function.
12287 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12288 current time, and `default' to the last modification time of the
12289 current marked file (bug#6887).
12290
a514d856
JM
122912011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12292
12293 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 12294 numeric argument to read-number (bug#9163).
a514d856 12295
8a7eddd7
MA
122962011-07-27 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12299 connection process, it could be nil.
12300
1ddd96f5
LL
123012011-07-27 Leo Liu <sdl.web@gmail.com>
12302
12303 Simplify url handling in rcirc-mode.
12304
12305 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12306 (rcirc-browse-url-at-mouse): Remove.
12307 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12308
b248a85d
AM
123092011-07-26 Alan Mackenzie <acm@muc.de>
12310
12311 Fontify bitfield declarations properly.
12312
12313 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12314 (c-symbol-chars): Now exported as a lang variable.
12315 (c-not-primitive-type-keywords): New lang variable.
12316
12317 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12318 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 12319 parsed as a bitfield declaration.
b248a85d 12320
b796c9b7
SM
12321 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12322 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
12323 (c-punctuation-in): New function.
12324 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12325 declarations properly.
12326
68575ab0
UJ
123272011-07-26 Ulf Jasper <ulf.jasper@web.de>
12328
12329 * calendar/icalendar.el (icalendar--all-events): Take care of
12330 multiple vcalendars in a single file.
b796c9b7 12331 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 12332
0f0a88b9
DD
123332011-07-25 Deniz Dogan <deniz@dogan.se>
12334
12335 * image.el (insert-image): Clarifying docstring.
12336
0b3f36df
MA
123372011-07-24 Michael Albinus <michael.albinus@gmx.de>
12338
12339 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12340 `tramp-send-command-and-check' if there is no error.
12341 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12342
a9901f61
AM
123432011-07-22 Alan Mackenzie <acm@muc.de>
12344
12345 Prevent cc-langs.elc being loaded at run time.
12346
12347 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12348 cc-langs.
12349
4d61f28d 12350 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
12351 "(require 'cc-langs)". Quote a form so it will evaluate at
12352 (cc-mode's) compilation time.
12353
11d074b2
MA
123542011-07-22 Michael Albinus <michael.albinus@gmx.de>
12355
12356 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12357 loading. (Bug#9114)
12358
938b94c8
MR
123592011-07-21 Martin Rudalics <rudalics@gmx.at>
12360
12361 * window.el (display-buffer-pop-up-window)
12362 (display-buffer-pop-up-side-window)
12363 (display-buffer-in-side-window): Call display-buffer-set-height
12364 and display-buffer-set-width after setting the new window's
b796c9b7 12365 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 12366
bfa4f190
SS
123672011-07-20 Sam Steingold <sds@gnu.org>
12368
12369 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12370 (etags-tags-included-tables): Call `convert-standard-filename' on
12371 the file names contained in TAGS so that windows Emacs can handle
12372 TAGS files created by cygwin ctags.
12373
8ca42262
LMI
123742011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12375
12376 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12377 which apparently didn't work.
12378
5db2afd2 123792011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 12380
5db2afd2
RW
12381 * proced.el (proced-send-signal): For *Marked Processes* buffer
12382 put point at beginning of buffer.
12383
92e15d10
SB
123842011-07-19 Stephen Berman <stephen.berman@gmx.net>
12385
12386 * proced.el (proced-format): Make header lines align with the text
12387 (bug#1779).
12388
1bfd59e5
LMI
123892011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390
12391 * view.el (view-buffer): Allow running in `special' modes if we're
12392 visiting a file (bug#8615).
12393
f5aae37c
MR
123942011-07-19 Martin Rudalics <rudalics@gmx.at>
12395
12396 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
12397 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12398 New functions.
f5aae37c
MR
12399 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12400 more accurately.
12401
bf2c1571
AM
124022011-07-18 Alan Mackenzie <acm@muc.de>
12403
12404 Fontify declarators properly when, e.g., a jit-lock chunk begins
12405 inside a declaration.
12406
12407 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12408
b796c9b7
SM
12409 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12410 New function.
bf2c1571
AM
12411 (c-complex-decl-matchers): Insert reference to
12412 c-font-lock-enclosing-decls.
12413
12414 * progmodes/cc-engine.el (c-backward-single-comment):
12415 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12416 to nil around calls to (forward-comment -1).
12417
4e190b80
LMI
124182011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12419
12dc863d
LMI
12420 * image.el (put-image): Doc typo fix.
12421
a762e966
LMI
12422 * progmodes/etags.el (tags-search): Doc typo fix.
12423
4e190b80
LMI
12424 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12425 password if we get errors 550 to 554.
12426
f019fb21
LMI
124272011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12428
b796c9b7 12429 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 12430
81746738
LMI
12431 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12432 indentation character (bug#6380).
12433
3ee3a1b5
LMI
12434 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12435
c82f64de
LMI
12436 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12437 to clarify what the problem is (bug#4291).
12438
f019fb21
LMI
12439 * simple.el (current-kill): Clarify what
12440 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12441 (auto-fill-mode): Document `auto-fill-function' in relation to
12442 `auto-fill-mode' (bug#2470).
f019fb21 12443
0794775d
LM
124442011-07-16 Lawrence Mitchell <wence@gmx.li>
12445
12446 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12447 method if slot is read-only (bug#9035).
12448
be39b8cc
MR
124492011-07-16 Martin Rudalics <rudalics@gmx.at>
12450
b796c9b7 12451 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12452 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12453 selected before, see discussion of (Bug#8615), (Bug#6954).
12454 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12455
6ccf7859
GM
124562011-07-15 Glenn Morris <rgm@gnu.org>
12457
12458 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12459 Respect help-form.
6ccf7859 12460
87e86684
LM
124612011-07-09 Lawrence Mitchell <wence@gmx.li>
12462
12463 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12464 (gnutls-negotiate): Use it.
12465
d6066239
LMI
124662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12467
b796c9b7
SM
12468 * net/gnutls.el (gnutls-negotiate):
12469 Upcase `gnutls-algorithm-priority'.
d6066239 12470
bd23ebc0
GM
124712011-07-15 Glenn Morris <rgm@gnu.org>
12472
c65bca65
GM
12473 * jka-compr.el (jka-compr-verbose): Move from here...
12474 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12475 Add missing :version tag.
12476 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12477
478615cc
LMI
124782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12479
7b41decb
LMI
12480 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12481 (gnutls-negotiate): Use it.
12482
dbc44fcd
LMI
12483 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12484
06789f97
LMI
12485 * info.el (Info-beginning-of-buffer): New command.
12486 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12487 announcing `b' as the key (bug#8325).
ab896c37 12488 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12489
c39da690
LMI
12490 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12491
3aa5f34b
LMI
12492 * international/mule-cmds.el
12493 (describe-specified-language-support): Make the error message
12494 clearer (bug#8905).
12495
4bf0979f
LMI
12496 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12497
478615cc
LMI
12498 * isearch.el (isearch-barrier): Add a doc string, since it's
12499 mentioned in a function doc string (bug#8678).
12500
75c68aa1
MR
125012011-07-15 Martin Rudalics <rudalics@gmx.at>
12502
12503 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12504 buffer argument (Bug#9083) and self-identifying label argument.
12505
a7c33da2
GM
125062011-07-15 Glenn Morris <rgm@gnu.org>
12507
12508 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12509
2f5c6024
LMI
125102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511
12512 * man.el (Man-fontify-manpage): Fix message when formatting the
12513 man page (bug#7929).
12514
0bb23927 125152011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12516
12517 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12518 argument LRM; if non-nil, append an invisible LRM character to the
12519 buffer name.
12520 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12521 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12522 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12523 paragraph direction.
cce4b0a7 12524
621ef9ab
LMI
125252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12526
d1583c48
LMI
12527 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12528 the man page name (bug#7929).
12529
6a57fb5f
LMI
12530 * image.el (put-image): Mention the `put-image' overlay property
12531 (bug#7834).
12532
d7956b14
LMI
12533 * scroll-bar.el (set-scroll-bar-mode): Mention that
12534 `scroll-bar-mode' lists the values (bug#7772).
12535
5b2d4a66
LMI
12536 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12537 command (bug#7729).
12538
7509a874
LMI
12539 * rect.el (apply-on-rectangle): Return the point after the last
12540 operation.
12541 (string-rectangle): Go to the point after the last operation
12542 (bug#7522).
12543
4fe74b19
LMI
12544 * printing.el (pr-toggle-region): Clarify the documentation
12545 slightly (bug#7493).
12546
b796c9b7
SM
12547 * time.el (display-time-update):
12548 Allow `display-time-mail-function' to return nil (bug#7158).
12549 Fix suggested by Detlev Zundel.
ab283561 12550
fc233c9d
LMI
12551 * vc/diff.el (diff): Clarify the order the file names are read
12552 (bug#7111).
12553
43f5740b
LMI
12554 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12555 the doc string (bug#7015).
12556
f2182a76
LMI
12557 * font-lock.el (font-lock-maximum-decoration): Mention what
12558 numeric levels mean (bug#6935).
12559
621ef9ab
LMI
12560 * startup.el (initial-buffer-choice): Don't mention the `none'
12561 selection, which is against policy.
12562
adc47434
MR
125632011-07-14 Martin Rudalics <rudalics@gmx.at>
12564
b796c9b7
SM
12565 * window.el (display-buffer-normalize-special):
12566 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12567
7e5bfb8f
EZ
125682011-07-14 Eli Zaretskii <eliz@gnu.org>
12569
12570 * subr.el (version<, version<=, version=): Mention "-CVS" and
12571 "-12345" alpha version numbers.
12572
27fa387a
CY
125732011-07-14 Chong Yidong <cyd@stupidchicken.com>
12574
12575 * bindings.el: Add advertised binding for set-mark-command
12576 (Bug#5772).
12577
8bdfa064
CY
125782011-07-14 Chong Yidong <cyd@stupidchicken.com>
12579
12580 * bindings.el (mode-line-other-buffer):
12581 * bookmark.el (bookmark-bmenu-2-window):
12582 * bs.el (bs-cycle-next, bs-cycle-previous):
12583 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12584 switch-to-buffer.
12585
12586 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12587 Delete.
8bdfa064 12588
5eba16a3
JB
125892011-07-14 Juanma Barranquero <lekktu@gmail.com>
12590
12591 * follow.el (follow-debug-message, follow-redisplay):
12592 * jka-cmpr-hook.el (with-auto-compression-mode):
12593 Fix typos in docstrings.
12594
15853710
LMI
125952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12596
a28e4607
LMI
12597 * subr.el (with-silent-modifications): Clarify somewhat what the
12598 macro inhibits (bug#6525).
12599
15853710
LMI
12600 * simple.el (eval-expression): Note what it does if called
12601 interactively (bug#6495).
12602
bee0fcef
CY
126032011-07-13 Chong Yidong <cyd@stupidchicken.com>
12604
b796c9b7
SM
12605 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12606 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12607
12608 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12609 Remove switch-to-buffer.
12610
58274504
LMI
126112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12612
bd2fcc8d
LMI
12613 * files.el (make-directory): Clarify that an error will be raised
12614 if there's an error (bug#6397).
12615
0f04b32c
LMI
12616 * startup.el (initial-buffer-choice): Add `none' as a choice
12617 (bug#6234).
12618
465c5fc8
LMI
12619 * subr.el (add-hook): Clarify section about buffer-local hooks
12620 (bug#6218).
12621
58274504
LMI
12622 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12623
bead9a43
JB
126242011-07-13 Juanma Barranquero <lekktu@gmail.com>
12625
12626 * tabify.el (untabify): Preserve the current column so that point
12627 doesn't move (bug#6032).
12628
3af98a7b
LMI
126292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12630
b796c9b7
SM
12631 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12632 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12633
6240145a
GM
126342011-07-13 Glenn Morris <rgm@gnu.org>
12635
12636 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12637 (dired-insert-directory): Give a message the first time
12638 if ls is found not to support --dired.
12639
1d8c2ccc
LMI
126402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12641
12642 * simple.el (toggle-truncate-lines): Clarify what is toggled
12643 (bug#5580). Text by Drew Adams.
12644
5fc4038e
CY
126452011-07-13 Chong Yidong <cyd@stupidchicken.com>
12646
12647 * simple.el (blink-matching-open): Make the error message from the
12648 last change less verbose.
12649
bf6012e5
DN
126502011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12651
12652 * font-lock.el (font-lock-comment-face): Use the high contrast
12653 "yellow" color for font-lock-comment-face on low color terminals
12654 using a dark background color (bug#4221).
12655
343c3b5a
LMI
126562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12657
7e9505c5
LMI
12658 * dired.el (dired-insert-set-properties): Make the doc string
12659 reflect what it does now (bug#5325).
12660
c26fdcf5
LMI
12661 * simple.el (blink-matching-open): Say that we were unable to find
12662 the match within the limit, if we're limited (bug#5122).
12663
bb388cc5
LMI
12664 * international/mule-cmds.el (prefer-coding-system): Add an
12665 example (bug#4869).
12666
343c3b5a
LMI
12667 * progmodes/etags.el (tags-search): Document `file-list-form'
12668 (bug#4731).
12669
2a517d45
LM
126702011-07-13 Lawrence Mitchell <wence@gmx.li>
12671
12672 * net/browse-url.el (browse-url-default-browser)
12673 (browse-url-browser-function): Make the default browser choice a
12674 bit more logical (bug#4300). Also clean up the doc string.
12675
b6c78ef2
JB
126762011-07-13 Juanma Barranquero <lekktu@gmail.com>
12677
12678 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12679 binary endings (bug#4440).
12680
1c4dd947
LMI
126812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682
a2014063
LMI
12683 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12684 which can be pretty annoying (bug#8971).
12685
9c9c2d88
LMI
12686 * jka-compr.el (jka-compr-verbose): New variable, and use
12687 throughout (bug#8971).
12688
1c4dd947
LMI
12689 * info.el (Info-find-file): Fall back on the installation
12690 directory if we can't find the info node anywhere else.
12691
a1c9f41b
SO
126922011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12693
12694 * vc/vc.el (vc-revert-file):
12695 Don't set file time-stamp in the past. (Bug#5181)
12696
536f3d36
LMI
126972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12698
7152b011
LMI
12699 * files.el (after-find-file): Give a better error message when
12700 trying to find a symlink that points to a file that doesn't exist
12701 (bug#4398).
12702
536f3d36
LMI
12703 * progmodes/cc-vars.el: Remove (probably) misleading comment
12704 (bug#4396).
12705
460c0fba
JB
127062011-07-12 Johan Bockgård <bojohan@gnu.org>
12707
12708 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12709
7a6bda45
CY
127102011-07-12 Chong Yidong <cyd@stupidchicken.com>
12711
12712 * mouse-sel.el: Hack restoring functionality, while keeping
12713 compatibility with 2010-07-03 changes to mouse selection.
12714 (mouse-sel-primary-overlay): New var.
12715 (mouse-sel-selection-alist): Use it.
12716 (mouse-sel-mode): Doc fix; remove points that are default features
12717 of mouse.el.
12718
c79598ef
JB
127192011-07-12 Johan Bockgård <bojohan@gnu.org>
12720
12721 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12722 Fix previous fix (bug#2490).
12723
ff8be6ef
RW
127242011-07-12 Roland Winkler <winkler@gnu.org>
12725
b796c9b7
SM
12726 * textmodes/bibtex.el (bibtex-initialize):
12727 Use pop-to-buffer-same-window.
ff8be6ef
RW
12728 (bibtex-search-entries): Fix interactive call.
12729
296ba3ee
LMI
127302011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12731
f5242a02 12732 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12733 Fontise bytecomp Error lines more correctly (bug#2490).
12734 Fix suggested by Johan Bockgård.
f5242a02 12735
296ba3ee
LMI
12736 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12737
12738 * dired-x.el (dired-guess-default): Use `delete-dups'.
12739
f69fd0d2
CY
127402011-07-12 Chong Yidong <cyd@stupidchicken.com>
12741
12742 * dired.el (dired-mark-prompt):
12743 * dired-aux.el (dired-read-shell-command): Doc fix.
12744
eab5dc07
LMI
127452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12746
b796c9b7
SM
12747 * mail/sendmail.el (sendmail-query-once):
12748 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12749 emacs -Q.
12750
12751 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12752
eab5dc07
LMI
12753 * cus-edit.el (custom-file): Take an optional no-error variable.
12754 (customize-save-variable): Set the variable, and give a warning if
12755 running under "emacs -q".
12756
a1e65d42
JB
127572011-07-11 Juanma Barranquero <lekktu@gmail.com>
12758
12759 * loadhist.el (unload-feature-special-hooks):
12760 Add `auto-coding-functions', `fill-nobreak-predicate' and
12761 `find-directory-functions' (bug#5327).
12762
1d52da10
LMI
127632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12764
be958f1d
LMI
12765 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12766
5bedb26c
LMI
12767 * cus-edit.el (custom-guess-name-alist): -alist variables should
12768 use the `alist' type (bug#3120). Suggested by Drew Adams.
12769
1d52da10
LMI
12770 * printing.el: Add documentation to all the `pr-toggle-' commands.
12771
cd394be1 127722011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12773
12774 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12775 backends where it makes sense (bug#2623).
12776
dcc88d8a
LMI
127772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12778
c3de9feb
LMI
12779 * dired-x.el (dired-guess-default): Remove duplicate shell command
12780 entries (bug#2028).
8a93078b 12781 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12782 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12783
dcc88d8a
LMI
12784 * subr.el (remove-duplicates): New conveniency function.
12785
505e3645
LMI
127862011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12787
12788 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12789 (bug#1526).
12790
127912011-07-10 Martin Rudalics <rudalics@gmx.at>
12792
12793 * window.el (display-buffer-normalize-default): Don't invert
12794 meaning of even-window-heights. Reported by Eli Zaretskii
12795 <eliz@gnu.org>.
12796
455e4fa1
BR
127972011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12798
12799 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12800
8e0bc3e9
CY
128012011-07-10 Chong Yidong <cyd@stupidchicken.com>
12802
12803 * window.el (display-buffer): Fix arguments to
12804 display-buffer-reuse-window in last change.
12805
fa7c3228
CY
12806 * faces.el (link): Use a less saturated blue on light backgrounds.
12807
12808 * startup.el (fancy-startup-text, fancy-about-text)
12809 (fancy-startup-tail): Use font-lock faces, for background safety.
12810
c0a7f300
BN
128112011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12812
b796c9b7
SM
12813 * emulation/viper-cmd.el (viper-change-state-to-vi):
12814 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12815
4dc2a129
MR
128162011-07-09 Martin Rudalics <rudalics@gmx.at>
12817
12818 * window.el (display-buffer-default-specifiers): Remove.
12819 (display-buffer-macro-specifiers): Remove default specifiers.
12820 (display-buffer-alist): Default to nil.
b796c9b7 12821 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12822 (display-buffer-pop-up-window): Allow splitting internal
12823 windows. Check whether a live window was created.
12824 (display-buffer-other-window-means-other-frame)
12825 (display-buffer-normalize-arguments): Rename to
12826 display-buffer-normalize-argument and rewrite. Set the
12827 other-window specifier.
12828 (display-buffer-normalize-special): New function.
12829 (display-buffer-normalize-options): Rename to
12830 display-buffer-normalize-default and rewrite.
12831 (display-buffer-normalize-options-inhibit): Remove.
12832 (display-buffer-normalize-specifiers): Rewrite.
12833 (display-buffer): Process other-window specifier and call
12834 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12835 more faithfully.
b796c9b7 12836 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12837 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12838 (display-buffer-in-window, display-buffer-alist-set):
12839 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12840 <tassilo@member.fsf.org>.
12841
2d43b8c9
LL
128422011-07-09 Leo Liu <sdl.web@gmail.com>
12843
12844 * register.el (insert-register): Restore accidental change on
12845 2011-06-26. (Bug#9028)
12846
7f9b7c53
GM
128472011-07-09 Glenn Morris <rgm@gnu.org>
12848
12849 * subr.el (remq): Handle the empty list. (Bug#9024)
12850
f042cfd8
AS
128512011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12852
12853 * mail/sendmail.el (send-mail-function): No longer delay custom
12854 initialization.
12855 * custom.el (custom-initialize-delay): Doc fix.
12856
856b2f11
SM
128572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12860
afae1d68
MA
128612011-07-08 Michael Albinus <michael.albinus@gmx.de>
12862
12863 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12864 human-friendly prompt.
12865
0757af94
SM
128662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12869 provided by a particular plugin.
12870
d760b731
LMI
128712011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872
12873 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12874 save customizations (with "emacs -Q"), just set the variable
12875 instead of erroring out.
12876
12877 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12878
cd79ce90
JL
128792011-07-08 Juri Linkov <juri@jurta.org>
12880
12881 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12882 (archive-zip-update-case): Use 7z if found by `executable-find'.
12883 The order of searching the available programs is the same as in
12884 `archive-zip-extract' (bug#8968).
12885
14cc04aa
CY
128862011-07-07 Chong Yidong <cyd@stupidchicken.com>
12887
12888 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12889 (menu-bar-options-menu): Tweak descriptions.
12890
0a1848ec
LMI
128912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12892
12893 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12894 menu items into verb phrases (bug#1421). Also refill to fit under
12895 80 columns.
12896
f5bd0689
CY
128972011-07-07 Chong Yidong <cyd@stupidchicken.com>
12898
538e85c6
CY
12899 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12900 (Info-read-node-name): Doc fix (Bug#1084).
12901
f5bd0689
CY
12902 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12903 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12904 (end-of-sexp, beginning-of-sexp)
12905 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12906 (forward-symbol, forward-same-syntax, word-at-point)
12907 (sentence-at-point): Doc fix (Bug#1144).
12908
56ec5115
LMI
129092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12910
f3f8e37f
LMI
12911 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12912 should cover it (bug#1281).
12913
0757af94 12914 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12915
e9fce1ac 12916 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12917 negotiation fails, then possibly try again with a non-encrypted
12918 connection (bug#9017).
12919
56ec5115
LMI
12920 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12921 be used.
12922
c2f9aec8
RS
129232011-07-07 Richard Stallman <rms@gnu.org>
12924
12925 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12926 property, and handle its changed format.
12927 Look for the correct line number.
12928 Use file's line contents (but not past first =) to find
12929 correct line in message.
12930
ef7b981d 129312011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12932
12933 * international/characters.el (build-unicode-category-table):
12934 Delete it.
0757af94 12935 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12936
0757af94 12937 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12938 to src/chartab.c.
12939 (get-char-code-property): Call unicode-property-table-internal to
12940 load a file. Call get-unicode-property-internal where necessary.
12941 (put-char-code-property): Call unicode-property-table-internal to
12942 load a file. Call put-unicode-property-internal where necessary.
12943 put-unicode-property-internal where necessary.
0757af94
SM
12944 (char-code-property-description):
12945 Call unicode-property-table-internal to load a file.
c805dec0
KH
12946
12947 * international/charprop.el:
12948 * international/uni-bidi.el:
12949 * international/uni-category.el:
12950 * international/uni-combining.el:
12951 * international/uni-comment.el:
12952 * international/uni-decimal.el:
12953 * international/uni-decomposition.el:
12954 * international/uni-digit.el:
12955 * international/uni-lowercase.el:
12956 * international/uni-mirrored.el:
12957 * international/uni-name.el:
12958 * international/uni-numeric.el:
12959 * international/uni-old-name.el:
12960 * international/uni-titlecase.el:
12961 * international/uni-uppercase.el: Regenerate.
12962
12963 * loadup.el: Load international/charprop.el before
12964 international/characters.
12965
e14b388a
CY
129662011-07-07 Chong Yidong <cyd@stupidchicken.com>
12967
12968 * window.el (next-buffer, previous-buffer): Signal an error if
12969 called from a minibuffer window.
12970
12971 * bindings.el: Revert 2011-07-04 change.
12972
354cf0ba
RS
129732011-07-06 Richard Stallman <rms@gnu.org>
12974
12975 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12976 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12977 Treat markers like ints.
12978 (rmail-mime-entity): Doc fix.
12979
a48868a7
LMI
129802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12981
4906cd3d
LMI
12982 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12983 defcustom again for backwards compatibility.
12984
e0457abe
LMI
12985 * simple.el (shell-command-on-region): Fill.
12986
d67f7e1f
LMI
12987 * dired-aux.el (dired-kill-line): Add a doc string.
12988
fe204702
LMI
12989 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12990 to "\\sw\\|\\s_" (bug#358).
12991
a48868a7
LMI
12992 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12993 (dired-unmark-backward): Ditto.
12994 (dired-flag-backup-files): Ditto.
12995
12996 * dired-x.el (dired-mark-sexp): Ditto.
12997
aa8a705c
RS
129982011-07-06 Richard Stallman <rms@gnu.org>
12999
13000 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13001 (rmail-mime-entity): New arg TRUNCATED.
13002 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13003 New functions.
13004 (rmail-mime-save): Warn if entity is truncated.
13005 (rmail-mime-toggle-hidden): Likewise, for showing.
13006 (rmail-mime-process-multipart): Record when an entity is truncated.
13007
a9a936b9
RS
13008 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13009 if ENTITY is a string.
13010
1f2b92cb
LMI
130112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13012
f4f73198 13013 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13014 of faces when `M-C-x'-ing their definitions (bug#8378).
13015 Also clean up the code slightly.
f4f73198 13016
12b16734 13017 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13018 because that makes the colors go away.
12b16734 13019
f0691d22
LMI
13020 * mail/sendmail.el (send-mail-function): Change the default to
13021 `sendmail-query-once'.
9e87df06 13022 (sendmail-query-once): Add an autoload cookie.
f0691d22 13023
1f2b92cb
LMI
13024 * net/network-stream.el (network-stream-open-starttls): Try using
13025 a plain connection even if the server offered STARTTLS, and we
13026 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13027 capability. This should make smtpmail.el work in slightly more
13028 configurations.
13029
1cdd2a1b
MA
130302011-07-06 Michael Albinus <michael.albinus@gmx.de>
13031
13032 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13033 New defun.
13034 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13035
fbcc67e2
MM
130362011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13037
13038 * progmodes/sql.el: Version 3.0
0757af94 13039 (sql-product-alist): Add product :completion-object,
fbcc67e2 13040 :completion-column, and :statement attributes.
0757af94 13041 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13042 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13043 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13044 ansi keywords.
13045 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13046 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13047 (sql-oracle-show-reserved-words): New function for development.
13048 (sql-product-font-lock): Simplify for source code buffers.
13049 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13050 New functions.
13051 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13052 (sql-mode-map): Add statement movement functions.
13053 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13054 New variable.
fbcc67e2
MM
13055 (sql-statement-regexp, sql-beginning-of-statement)
13056 (sql-end-of-statement, sql-signum): New functions.
0757af94 13057 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13058 (sql-show-sqli-buffer): Bug fix.
13059 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13060 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13061 with sql-interactive-mode.
13062 (sql-save-connection): Save buffer local settings.
0757af94 13063 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13064 (sql-product-interactive): Bug fix.
13065 (sql-preoutput-hold): New variable.
13066 (sql-interactive-remove-continuation-prompt): Bug fixes.
13067 (sql-debug-redirect): New variable.
13068 (sql-str-literal): New function.
13069 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13070 Redesign.
fbcc67e2
MM
13071 (sql-oracle-save-settings, sql-oracle-restore-settings)
13072 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13073 (sql-completion-object, sql-completion-column)
13074 (sql-completion-sqlbuf): New variables.
13075 (sql-build-completions-1, sql-build-completions)
13076 (sql-try-completion): New functions.
13077 (sql-read-table-name): Use them.
13078 (sql-contains-names): New buffer local variable.
13079 (sql-list-all, sql-list-table): Use it.
13080 (sql-oracle-completion-types): New variable.
13081 (sql-oracle-completion-object, sql-sqlite-completion-object)
13082 (sql-postgres-completion-object): New functions.
13083
d4eaeab1
GM
130842011-07-06 Glenn Morris <rgm@gnu.org>
13085
13086 * window.el (pop-to-buffer): Doc fix.
13087
322b7dab 130882011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13089
13090 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13091
322b7dab 130922011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13093
322b7dab 13094 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13095
322b7dab 13096 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13097
605dd5bf
CY
130982011-07-05 Chong Yidong <cyd@stupidchicken.com>
13099
13100 * button.el (button): Inherit from link face. Suggested by Dan
13101 Nicolaescu.
13102
7dbfa719
SM
131032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13104
3db614b0
SM
13105 * progmodes/gdb-mi.el: Fit in 80 columns.
13106 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13107 switch-to-buffer.
13108
7dbfa719
SM
13109 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13110 if imenu is simply not configured (bug#8941).
13111
919d884a
KM
131122011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13113
13114 * allout.el (allout-post-undo-hook): New allout outline-change
13115 event hook to signal undo activity.
13116 (allout-post-command-business): Run allout-post-undo-hook if an
13117 undo just occurred.
7dbfa719
SM
13118 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13119 * allout-widgets.el (allout-widgets-after-undo-function):
13120 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13121 in the vicinity of an undo.
13122 (allout-widgets-mode): Include allout-widgets-after-undo-function
13123 on the new allout-post-undo-hook.
13124
450a0f09
SM
131252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13128 Let define-derived-mode define it.
13129 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13130 cycles of abbrev-table inheritance (bug#8998).
13131
2de69e00
RW
131322011-07-05 Roland Winkler <winkler@gnu.org>
13133
13134 * textmodes/bibtex.el: Add support for biblatex.
13135 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13136 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13137 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13138 (bibtex-entry-alist, bibtex-field-alist): New variables.
13139 (bibtex-entry-field-alist): Obsolete alias for
13140 bibtex-BibTeX-entry-alist.
13141 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13142 (bibtex-set-dialect): New command.
13143 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13144 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13145 Bind via bibtex-set-dialect.
2de69e00
RW
13146 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13147 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13148 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13149 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13150 Define via bibtex-set-dialect.
450a0f09
SM
13151 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13152 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13153 (bibtex-vec-push, bibtex-vec-incr): New functions.
13154 (bibtex-format-entry, bibtex-field-list)
13155 (bibtex-print-help-message, bibtex-validate)
13156 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13157
2dcdbdd9
SM
131582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13159
13160 * progmodes/compile.el (compilation-goto-locus):
13161 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13162 * bs.el (bs-cycle-next, bs-cycle-previous):
13163 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13164 * bindings.el (mode-line-other-buffer):
13165 * autoinsert.el (auto-insert):
13166 * arc-mode.el (archive-extract):
13167 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13168
b27640fe
JB
131692011-07-05 Juanma Barranquero <lekktu@gmail.com>
13170
13171 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13172 Fix check of `emacs-lock-unlockable-modes'.
13173 Coerce true values of `emacs-lock--try-unlocking' to t.
13174
53bbe3ad
JB
131752011-07-05 Juanma Barranquero <lekktu@gmail.com>
13176
13177 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13178 * emacs-lock.el: New file.
13179
1d3cdbc7
JD
131802011-07-05 Julien Danjou <julien@danjou.info>
13181
13182 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13183 than `boundp' to check if face is set.
13184
9173deec
JB
131852011-07-05 Juanma Barranquero <lekktu@gmail.com>
13186
13187 * register.el (registerv-make):
13188 * window.el (window-min-height): Fix typos in docstrings.
13189
869795d6
JD
131902011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13191
9173deec 13192 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13193 Update doc string.
13194
b768cdcd
JB
131952011-07-04 Juanma Barranquero <lekktu@gmail.com>
13196
13197 * server.el (server-execute): Catch quit and call
13198 `server-return-error' to pass the error back to emacsclient and
13199 close the connection (bug#8942).
13200
13aa217b
KM
132012011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13202
13203 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13204 insecure exception for current topic. Also note that auto-saves
13205 are handled differently.
13206
5d3385a0 13207 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13208 State variables for tracking auto-save inhibition situation.
13209
13210 (allout-write-contents-hook-handler): Rename from
13211 'allout-write-file-hook-handler', and describe how it depends on
13212 write-contents-functions sensitivity to non-nil value to prevent
13213 file write.
13214
13215 (allout-auto-save-hook-handler): Remove. auto-save does not check
13216 this in individual buffers, only in the starting buffer, so this
13217 is not the right way for us to inhibit auto-save in a buffer
13218 according to its condition.
13219
13220 (allout-mode): Use new allout-write-contents-hook-handler, and
13221 only with write-contents-functions. Remove auto-save provisions -
13222 they're implemented elsewhere.
13223
13224 (allout-before-change-handler): If undo is in progress, note that
13225 for attention of allout-post-command-business.
13226
13227 (allout-post-command-business): If the command we're following was
13228 an undo, check for change in the status of encrypted items and
13229 adjust auto-save inhibitions accordingly.
13230
13231 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13232 according to whether there are or aren't any plain-text topics
13233 pending encryption.
13234
2dcdbdd9 13235 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
13236 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13237 if there are plain-text topics pending encryption.
13aa217b
KM
13238
13239 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13240 buffer-saved-size and some allout state to not inhibit auto-saves
13241 if there are no longer any plain-text topics pending encryption.
13242
0757af94
SM
13243 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13244 No longer provide for exemption of the current topic.
13aa217b 13245
ac89b32c
JL
132462011-07-04 Juri Linkov <juri@jurta.org>
13247
13248 Add 7z operations to delete and save changed members (bug#8968).
13249 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13250 New defcustoms.
13251 (archive-7z-write-file-member): New function.
13252 (archive-7z-summarize): Fix the number of dashes in the
13253 listing output.
13254
8fa39615
SM
132552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13258 (bug#8958).
13259
2f11b3f1
CY
132602011-07-04 Chong Yidong <cyd@stupidchicken.com>
13261
d66fef2b
CY
13262 * bindings.el: Ignore next-buffer and previous-buffer in
13263 minibuffer-local-map.
13264
2f11b3f1
CY
13265 * font-lock.el (font-lock-builtin-face): Change light background
13266 color to dark slate blue (Bug#6693).
13267
f932a347
WD
132682011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13269
13270 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13271
c8af70e1
SM
132722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13275 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13276 Add switch-to-buffer.
13277
f158badc
LMI
132782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13279
13280 * isearch.el (isearch-search-fun-function): Clarify further the
13281 meaning of the function returned.
13282
6d95bd46
MA
132832011-07-04 Michael Albinus <michael.albinus@gmx.de>
13284
13285 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13286
13287 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13288 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13289 Use it.
13290 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13291 `tramp-default-remote-path' does not exist.
13292 (tramp-send-command-and-read): New optional argument NOERROR.
13293 (tramp-open-connection-setup-interactive-shell)
13294 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13295 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13296 (tramp-process-sentinel): Flush also process' connection property.
13297 (tramp-sh-handle-start-file-process): Do not set process
13298 sentinel. It is done now ...
13299 (tramp-maybe-open-connection): ... here. (Bug#8929)
13300
909e6b67
MK
133012011-07-04 MON KEY <monkey@sandpframing.com>
13302
13303 * play/animate.el (animate-string): Doc fixes and allow changing
13304 the buffer name (bug#5417).
13305
133062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13307
c8af70e1 13308 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 13309
f34755dc
PE
133102011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13311
396cec72
PE
13312 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13313 This is simpler and helps future-proof the code.
13314 (timer-until): Use time-subtract and float-time.
08235028 13315 (timer--time-less-p): Use time-less-p.
f34755dc 13316
56e6cc31
JB
133172011-07-04 Juanma Barranquero <lekktu@gmail.com>
13318
3abb79e5
JB
13319 * type-break.el (timep): Use the value of `float-time' to avoid a
13320 byte-compiler warning.
13321
56e6cc31
JB
13322 * server.el (server-eval-and-print): Return any result, even nil.
13323
7b9430b4
PE
133242011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13325
13326 * type-break.el: Accept time formats that the builtins accept.
13327 (timep, type-break-time-difference): Accept any format that
13328 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13329 This is simpler and helps future-proof the code.
13330 (type-break-time-difference): Round rather than ignoring
13331 subseconds components.
13332
3034e9e7
LMI
133332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13334
13335 * info.el (Info-apropos-matches): Make non-interactive, since it
13336 doesn't seem to do anything useful as a command (bug#8829).
13337
1485f4c0
CY
133382011-07-03 Chong Yidong <cyd@stupidchicken.com>
13339
13340 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 13341 Move from faces.el.
1485f4c0
CY
13342 (frame-default-terminal-background): New function.
13343
13344 * custom.el (custom-push-theme): Don't record faces in `changed'
13345 theme; this doesn't work correctly for per-frame face settings.
13346 (disable-theme): Use face-set-after-frame-default to reset faces.
13347 (custom--frame-color-default): New function.
13348
9fa3dd45
LMI
133492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13350
c8af70e1 13351 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
13352 (bug#8769).
13353
6cbbc20c
KR
133542011-03-29 Kevin Ryde <user42@zip.com.au>
13355
13356 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13357 `perl-Test2' extend to match possible "fail #N" rep count
13358 (bug#8377).
13359
c7f98048
LMI
133602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13361
65676592
LMI
13362 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13363 `smtpmail-via-smtp' now returns the error instead of nil.
13364
c7f98048
LMI
13365 * isearch.el (isearch-search-fun-function): Clarify the doc string
13366 (bug#8101).
13367
56e6cc31 133682011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
13369
13370 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13371 unnecessary spaces (bug#8987).
13372
2b216704
LMI
133732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13374
13375 * net/network-stream.el (open-network-stream): Use the
13376 :end-of-capability command thoughout.
13377
133782011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13379
13380 * net/network-stream.el (open-network-stream): Add the
13381 :end-of-capability command parameter, used by pop3.el.
13382
36adf6ce
LMI
133832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13384
1ca0da0e
LMI
13385 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13386
fc00f69c
LMI
13387 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13388 for list)" (bug#6475).
13389
28fd8759 13390 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 13391 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
13392 an error (bug#6297).
13393
0dd8b6da
LMI
13394 * man.el (Man-reference-regexp): Allow matching possible
13395 word-wrapped references (bug#6289).
13396
ce1438d6
LMI
13397 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13398 for consistency with the other vc buffers (bug#6197).
13399 (vc-checkin): Ditto.
13400
13401 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13402
36adf6ce
LMI
13403 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13404
e83cc1f7
LMI
134052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13406
8a20ca4c
LMI
13407 * custom.el (defcustom): Clarify that :set is only used in the
13408 Customize user interface (bug#6089).
13409
83319045
LMI
13410 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13411 associated with a file, refuse to run instead of erroring out
13412 (bug#6084).
13413
a8392169
LMI
13414 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13415 the doc string, since it appears that using `fill-column' always
13416 controls the width (bug#7845).
13417
e83cc1f7
LMI
13418 * simple.el (shell-command-on-region): Say where the error output
13419 went if `shell-command-default-error-buffer' is set (bug#6857).
13420
e47ca23b
KM
134212011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13422
13423 * allout.el (allout-yank-processing): Adjust cursor position for
13424 backwards-deleted space.
13425
13426 (allout-rebullet-heading): Register changes with
13427 allout-exposure-changed-hook, so the modified topic is properly
13428 decorated.
13429
5cf56143
LMI
134302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13431
08549772
LMI
13432 * minibuffer.el (completion-in-region): Document PREDICATE
13433 (bug#7136).
13434
48e96771
LMI
13435 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13436 of keyword/argument pairs (bug#6904).
13437
c8af70e1
SM
13438 * replace.el (multi-occur):
13439 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13440
e17d05e2
LMI
134412011-07-02 Drew Adams <drew.adams@oracle.com>
13442
13443 * dired.el (dired-mark-if): Make the message about whether it's
13444 marking or unmarking clearer (bug#8523).
13445
063b0e45
LMI
134462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13447
13448 * disp-table.el (display-table-print-array): New function.
13449 (describe-display-table): Use it to print the vectors more pretty
13450 (Bug#8859).
13451
28545e04
MR
134522011-07-02 Martin Rudalics <rudalics@gmx.at>
13453
13454 * window.el (window-state-get-1): Don't assign clone numbers.
13455 Add clone-of item to list of window parameters.
13456 (window-state-put-2): Don't process clone numbers.
13457 (display-buffer-alist): Fix doc-string.
13458
3349e122
SM
134592011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * subr.el (remq): Don't allocate if it's not needed.
13462 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13463 (keymap--merge-bindings): New functions.
13464 (keymap-canonicalize): Use them to refine the canonicalization.
13465 * minibuffer.el (minibuffer-local-completion-map)
13466 (minibuffer-local-must-match-map): Move initialization from C.
13467 (minibuffer-local-filename-completion-map): Move initialization from C;
13468 don't inherit from anything here.
13469 (minibuffer-local-filename-must-match-map): Make obsolete.
13470 (completing-read-default): Use make-composed-keymap to combine
13471 minibuffer-local-filename-completion-map with either
13472 minibuffer-local-must-match-map or
13473 minibuffer-local-filename-completion-map.
13474
d224ac83
GM
134752011-07-01 Glenn Morris <rgm@gnu.org>
13476
3de63bf8
GM
13477 * type-break.el (type-break-time-sum): Use dolist.
13478
d224ac83
GM
13479 * textmodes/flyspell.el (flyspell-word-search-backward):
13480 Replace CL function.
13481
1a1e3f32
SM
134822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13483
fe3f64d5
SM
13484 * mouse.el (mouse--strip-first-event): New function.
13485 (function-key-map): Use it to map fringe clicks to normal clicks
13486 by default.
13487
eb604e34
SM
13488 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13489 (vc-bzr-revision-completion-table): Add support for annotate and date.
13490
1a1e3f32
SM
13491 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13492 inherit from parent.
13493
5bd35902
LMI
134942011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13495
ace6c69c 13496 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13497 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13498
191e2bed
LMI
13499 * dired.el (dired-mode): Fix up the doc string as suggested by
13500 Drew Adams (bug#8817).
13501
5bd35902
LMI
13502 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13503 cookie, since the manual says that it should be possible to add
13504 this function to `find-file-hook' (bug#8709).
13505
eee8207a
TZ
135062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13507
13508 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13509 here. Noted Ted Zlatanov as the maintainer.
13510 (cfengine-common-settings, cfengine-common-syntax): New functions
13511 to set up common things between `cfengine-mode' and
13512 `cfengine3-mode'.
13513 (cfengine3-mode): New mode.
13514 (cfengine3-defuns cfengine3-defuns-regex
13515 (cfengine3-class-selector-regex cfengine3-category-regex)
13516 (cfengine3-vartypes cfengine3-font-lock-keywords)
13517 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13518 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13519
36b148cf
MA
135202011-07-01 Michael Albinus <michael.albinus@gmx.de>
13521
13522 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13523
13524 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13525
0bf4ba9a
MR
135262011-07-01 Martin Rudalics <rudalics@gmx.at>
13527
13528 * window.el (same-window-buffer-names, same-window-regexps)
13529 (same-window-p, special-display-frame-alist)
13530 (special-display-popup-frame, special-display-function)
13531 (special-display-buffer-names, special-display-regexps)
13532 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13533 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13534 (split-window-preferred-function, split-height-threshold)
13535 (split-width-threshold, even-window-heights)
13536 (display-buffer-mark-dedicated, window-splittable-p)
13537 (split-window-sensibly, window-safely-shrinkable-p):
13538 Un-obsolete.
13539 (display-buffer): Don't spread args with function specifier
13540 because special-display-popup-frame won't like it.
13541
35837f51
PE
135422011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13543
d0672f86
PE
13544 Time-stamp simplifications and fixes.
13545 These improve accuracy slightly, and future-proof the code
13546 against some potential changes to current-time format.
13547
b9444d97
PE
13548 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13549 by using time-since and float-time.
13550
0ef923dc
PE
13551 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13552 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13553 + NNN microseconds".
13554
2f81380d
PE
13555 * type-break.el (type-break-time-sum): Rewrite using time-add.
13556
845b5c3e
PE
13557 * play/hanoi.el (hanoi-current-time-float): Remove.
13558 All uses replaced by float-time.
13559
ee6f1be0
PE
13560 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13561 This yields a more-accurate answer.
13562 (rng-time-to-float): Remove; no longer needed.
13563
fe955043
PE
13564 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13565
5777162a
PE
13566 * calendar/timeclock.el (timeclock-seconds-to-time):
13567 Defalias to seconds-to-time, since they're the same thing.
13568
3103f8b6 13569 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13570 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13571 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13572
0e61a35f
SM
135732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * window.el (bury-buffer): Don't iconify the only frame.
13576 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13577 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13578
ddd63a1e
CY
135792011-07-01 Chong Yidong <cyd@stupidchicken.com>
13580
0e61a35f
SM
13581 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13582 Add mouse-yank-primary.
ddd63a1e 13583
055f4923
TZ
135842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13585
13586 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13587
6a2fb145
SM
135882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13589
13590 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13591 (find-library-name): Use it to find relative load names when provided
13592 absolute file name (bug#8803).
13593
fd4983f2
LMI
135942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13595
887d14ad
LMI
13596 * textmodes/flyspell.el (flyspell-word): Consider words that
13597 differ only in case as potential doublons (bug#5687).
13598
c53dc7fc
LMI
13599 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13600 Remove two rather uninteresting debugging-like messages to make
13601 debbugs.el more silent.
13602
fd4983f2
LMI
13603 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13604 a password-like phrase.
13605
7a71b18d 136062011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13607
13608 * progmodes/cc-guess.el: New file.
13609
6a2fb145 13610 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13611
13612 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13613 derived from `c-basic-common-init'.
13614
13615 * progmodes/cc-mode.el (top-level): Require cc-guess.
13616 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13617
1fa280a3
LM
136182011-06-30 Lawrence Mitchell <wence@gmx.li>
13619
13620 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13621
e6597158
AM
136222011-06-30 Alan Mackenzie <acm@muc.de>
13623
1fa280a3
LM
13624 * progmodes/cc-engine.el (c-guess-continued-construct):
13625 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13626 lock is disabled. Name this case as "CASE G".
13627
68ba37fb
KM
136282011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13629
13630 * allout.el (allout-yank-processing): Fix injection of extra space
13631 between bullet and non-whitespace character in first topic when
13632 pasting, ensuring that the actual spacing in the pasted topic
13633 following the bullet char is preserved. This extra space was
13634 causing pasted encrypted topics to get a decrypted status even
13635 when the content was actually still encrypted. Now the decryption
13636 status from before the paste is preserved.
13637
13638 (allout-flag-region): Set all allout overlays so they evaporate
13639 when reduced to zero length (evanescent), to prevent overlay
13640 leakage.
13641
887a0b34
GM
136422011-06-30 Glenn Morris <rgm@gnu.org>
13643
94b9acce
GM
13644 * w32-fns.el (w32-charset-info-alist): Declare.
13645
1d9b46d4
GM
13646 * find-dired.el (find-grep-options): Simplify.
13647
cc232200
GM
13648 * term/ns-win.el (ns-set-resource): Declare.
13649
28e77c46
GM
13650 * ses.el (row, col): Declare dynamic variables honestly.
13651
887a0b34
GM
13652 * textmodes/reftex-parse.el (index-tags): Declare.
13653
658d8eb8
CY
136542011-06-30 Chong Yidong <cyd@stupidchicken.com>
13655
13656 * cus-edit.el (customize-push-and-save): New function.
13657
13658 * files.el (hack-local-variables-confirm): Use it.
13659
1fa280a3
LM
13660 * custom.el (load-theme): New arg NO-CONFIRM.
13661 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13662 (custom-enabled-themes): Doc fix.
13663
13664 * cus-theme.el (customize-create-theme)
13665 (custom-theme-merge-theme): Callers to load-theme changed.
13666
bb617717
LMI
136672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13668
d61bdd5d
LMI
13669 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13670 short URLs have at least one dot in them (bug #7614).
13671
bb617717
LMI
13672 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13673 nil, because using a pty is apparently too slow (bug #895).
13674
2f31f37a
LMI
136752011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13676
13677 * mail/sendmail.el (sendmail-query-once): New function.
13678 (sendmail-query-once-function): New variable.
13679
3076b24e
GM
136802011-06-29 Glenn Morris <rgm@gnu.org>
13681
faf2a174
GM
13682 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13683
3076b24e
GM
13684 * ses.el (top-level): Require cl when compiling.
13685 (ses-set-localvars): Fix error statement.
13686 Call it at compile time to silence a storm of warnings.
13687
5386012d
MR
136882011-06-29 Martin Rudalics <rudalics@gmx.at>
13689
13690 * window.el (normalize-live-buffer): Rename to
13691 window-normalize-buffer.
13692 (normalize-live-frame): Rename to window-normalize-frame.
13693 (normalize-any-window): Rename to window-normalize-any-window.
13694 (normalize-live-window): Rename to window-normalize-live-window.
13695 (make-window-atom): Rename to window-make-atom.
13696 (window-resize-reset): Rename to window--resize-reset.
13697 (window-resize-reset-1): Rename to window--resize-reset-1.
13698 (resize-mini-window): Rename to window--resize-mini-window.
13699 (resize-subwindows-skip-p): Rename to
13700 window--resize-subwindows-skip-p.
13701 (resize-subwindows-normal): Rename to
13702 window--resize-subwindows-normal.
13703 (resize-subwindows): Rename to window--resize-subwindows.
13704 (resize-other-windows): Rename to window--resize-siblings.
13705 (resize-this-window): Rename to window--resize-this-window.
13706 (resize-root-window): Rename to window--resize-root-window.
13707 (resize-root-window-vertically): Rename to
13708 window--resize-root-window-vertically.
13709 (normalize-buffer-to-display): Rename to
13710 window-normalize-buffer-to-display.
13711 (normalize-buffer-to-switch-to): Rename to
13712 window-normalize-buffer-to-switch-to.
13713 Correspondingly update all callers of the functions listed
13714 above.
13715 (display-buffer-alist, display-buffer-normalize-arguments)
13716 (display-buffer-normalize-options, display-buffer)
13717 (display-buffer-alist-set): Use "function" instead of
13718 "fun-with-args".
13719
1176868d
CY
137202011-06-28 Chong Yidong <cyd@stupidchicken.com>
13721
13722 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13723 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13724 debbugs.gnu.org. Mention acknowledgment email.
13725
20a7a65f
LMI
137262011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13727
13728 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13729 buffer multibyteness, since it shouldn't matter.
13730
5f45cca5
MR
137312011-06-28 Martin Rudalics <rudalics@gmx.at>
13732
13733 * window.el (display-buffer-in-side-window): Handle dedicated
13734 windows as in display-buffer-reuse-window.
13735 (display-buffer-normalize-alist): Use value of override
13736 specifier.
13737 (display-buffer-normalize-specifiers): Use value of
13738 other-window-means-other-frame specifier.
13739 (display-buffer-alist): Rewrite some texts in widgets.
13740 (display-buffer): Spread arguments when calling function
13741 specified by fun-with-args.
13742
ad85fe1f
DD
137432011-06-28 Deniz Dogan <deniz@dogan.se>
13744
1fa280a3
LM
13745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13746 Unnest `let'.
da68c4c8 13747
ad85fe1f
DD
13748 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13749 selectors (Bug#5732).
ec49bd31 13750 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13751
a08cc025
JA
137522011-06-27 Jari Aalto <jari.aalto@cante.net>
13753
13754 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13755 (eshell-ls-date-format): New defcustom.
13756 (eshell-ls-file): Use it.
13757
e2b551c5
SM
137582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13761
8982b231
KY
137622011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13763
13764 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13765 (ange-ftp-make-tmp-name): New arg.
13766 (ange-ftp-file-local-copy): Use it.
13767
36c9fa27
J
137682011-06-27 Jambunathan K <kjambunathan@gmail.com>
13769
13770 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13771 no-conversion (Bug#8870).
13772
d68443dc
MR
137732011-06-27 Martin Rudalics <rudalics@gmx.at>
13774
13775 * window.el (window-right, window-left, window-child)
13776 (window-child-count, window-last-child)
13777 (window-iso-combination-p, walk-window-tree-1)
13778 (window-atom-check-1, window-tree-1, delete-window)
13779 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13780 new naming conventions - window-vchild, window-hchild,
13781 window-next and window-prev are now called window-top-child,
13782 window-left-child, window-next-sibling and window-prev-sibling
13783 respectively.
d615d6d2
MR
13784 (resize-window-reset): Rename to window-resize-reset.
13785 (resize-window-reset-1): Rename to window-resize-reset-1.
13786 (resize-window): Rename to window-resize.
13787 (window-min-height, window-min-width)
13788 (resize-mini-window, resize-this-window, resize-root-window)
13789 (resize-root-window-vertically, adjust-window-trailing-edge)
13790 (enlarge-window, shrink-window, maximize-window)
13791 (minimize-window, delete-window, quit-restore-window)
13792 (split-window, balance-windows, balance-windows-area-adjust)
13793 (balance-windows-area, window-state-put-2)
13794 (display-buffer-even-window-sizes, display-buffer-set-height)
13795 (display-buffer-set-width, set-window-text-height)
13796 (fit-window-to-buffer): Rename all "resize-window" prefixed
13797 calls to use the "window-resize" prefix convention.
13798 (display-buffer-alist): Fix symbol for label specifier.
13799 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13800 corresponding specifier.
13801 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13802
b6458526
VB
138032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13804
13805 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13806 convention.
13807 (ses-call-printer): Does not pass an empty string to formatter when the
13808 cell is empty to keep from barking printer Calc math-format-value.
13809
d31fd9ac
RS
138102011-06-27 Richard Stallman <rms@gnu.org>
13811
43d5bf84
RS
13812 * battery.el (battery-mode-line-limit): New variable.
13813 (battery-update): Handle it.
13814
d31fd9ac
RS
13815 * mail/rmailmm.el (rmail-mime-process-multipart):
13816 Handle truncated messages.
13817
819a6054
GM
138182011-06-27 Glenn Morris <rgm@gnu.org>
13819
13820 * progmodes/flymake.el (flymake-err-line-patterns):
13821 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13822
cedc73f2
VB
138232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13824
819a6054 13825 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13826 (ses--clean-!, ses--clean-_): New functions.
13827 (ses-range): Add configurability of readout order, and conversion
13828 to Calc vector.
13829
5e5d49b6
VB
13830 * ses.el (ses-repair-cell-reference-all): New function.
13831 (ses-cell-symbol): Set macro as safe, so that it can be used in
13832 formulas.
13833
56e6cc31 13834 * ses.el: Update cycle detection algorithm.
90ca8b49 13835 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13836 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13837 (ses-set-localvars): New function.
13838 (ses-make-cell): Add property-list as a cell element.
13839 (ses-cell-property-get-fun, ses-cell-property-get)
13840 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13841 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13842 New functions.
90ca8b49
VB
13843 (ses-cell-property-set, ses-cell-property-pop)
13844 (ses-cell-property-get-handle): New macro.
13845 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13846 New aliases, used for code readability.
13847 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13848 cycle detection.
13849 (ses-self-reference-early-detection): New defcustom.
fac916bf 13850 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13851 (ses-mode): Use ses-set-localvars.
13852 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13853 before lauching the update processing.
13854 (ses-initialize-Dijkstra-attempt): New function.
13855 (ses-recalculate-cell): Update for cycle detection based on
13856 Dijkstra algorithm.
13857
2bb63e81
VB
13858 * ses.el: Fix commenting and indenting convention.
13859
c9d29fb8
SM
138602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * bs.el (bs-cycle-next): Complete last change.
13863
d8e4b68b
JB
138642011-06-27 Drew Adams <drew.adams@oracle.com>
13865
13866 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13867
40098786
LMI
138682011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13869
c9d29fb8
SM
13870 * net/network-stream.el (network-stream-open-starttls):
13871 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13872 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13873
40098786
LMI
13874 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13875 to binary to possibly avoid line encoding issues on Windows (among
13876 other things).
13877
468d09d4
LMI
138782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13879
13880 * net/network-stream.el (open-network-stream): Return an :error
13881 saying what the problem was, if possible.
13882
13883 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13884 server.
13885
13886 * net/network-stream.el (network-stream-open-starttls): If we
13887 wanted to use STARTTLS, and the server offered it, but we weren't
13888 able to because we had no STARTTLS support, then close the connection.
13889 (open-network-stream): Return an :error element, if present.
13890
16f07dd7
CY
138912011-06-26 Chong Yidong <cyd@stupidchicken.com>
13892
88821ca0
CY
13893 * hl-line.el (hl-line-sticky-flag): Doc fix.
13894 (global-hl-line-sticky-flag): New option (Bug#8323).
13895 (global-hl-line-highlight): Obey it.
13896
16f07dd7
CY
13897 * vc/vc.el (vc-revert-show-diff): Default to t.
13898
6b5ccddf
KM
138992011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13900
c9d29fb8
SM
13901 * allout-widgets.el (allout-widgets-post-command-business):
13902 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13903 undecorated when an isearch is continued past, and isearch
13904 automatically collapses them. This leads to "widget leaks", where
13905 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13906 hidden widgets can slow down cursor travel, substantially.
13907 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13908 so we're doing without this nicety.
13909
13910 (allout-widgets-tally-string): Don't try to do a hash-table-count
13911 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13912 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13913 *Messages* when allout-widgets-maintain-tally is t.
13914
355f2e07
MR
139152011-06-26 Martin Rudalics <rudalics@gmx.at>
13916
13917 * window.el (display-buffer-normalize-argument): Rename to
13918 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13919 LABEL argument. Respect special-display-function when popping up
13920 a new frame. Fix code searching for a window showing the buffer
13921 on another frame.
c9d29fb8
SM
13922 (display-buffer-normalize-specifiers):
13923 Call display-buffer-normalize-arguments.
355f2e07
MR
13924 (display-buffer-in-window): Don't undedicate the window if its
13925 buffer remains the same.
13926 Reported by Drew Adams <drew.adams@oracle.com>.
13927 (display-buffer-alist): Add choice for same-window macro
13928 specfier.
13929 (display-buffer): Mention special meaning of LABEL argument in
13930 doc-string. Fix quoting. Don't pop up a new frame even as
13931 fallback.
13932
7ca8fc42
JB
139332011-06-26 Juanma Barranquero <lekktu@gmail.com>
13934
13935 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13936 avoid deleting the current window in some cases (bug#8911).
13937
bc312254
AS
139382011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13939
13940 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13941 (Bug#8934)
13942
2db18f3f
LMI
139432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13944
c9d29fb8
SM
13945 * net/network-stream.el (network-stream-open-starttls):
13946 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13947 (network-stream-open-tls): Ditto.
13948
6302e0d3
LL
139492011-06-26 Leo Liu <sdl.web@gmail.com>
13950
13951 * register.el (registerv): New struct.
13952 (registerv-make): New function.
c9d29fb8
SM
13953 (jump-to-register, describe-register-1, insert-register):
13954 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13955 struct. (Bug#8415)
13956
5fdd4046
CY
139572011-06-26 Chong Yidong <cyd@stupidchicken.com>
13958
2afef60a
CY
13959 * vc/vc.el (vc-revert-show-diff): New defcustom.
13960 (vc-diff-internal): New arg specifying diff buffer.
13961 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13962 reuse an existing *vc-diff* buffer (Bug#8927).
13963
5fdd4046
CY
13964 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13965
e93db24a
GM
139662011-06-26 Glenn Morris <rgm@gnu.org>
13967
13968 * progmodes/f90.el (f90-critical-indent): New option.
13969 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13970 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13971 (f90-mode): Doc fix.
13972 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13973 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13974 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13975 (f90-match-end): Handle block, critical.
13976
eefff499
GM
139772011-06-25 Glenn Morris <rgm@gnu.org>
13978
f6ba4cc9
GM
13979 * calendar/diary-lib.el (diary-included-files): Doc fix.
13980 (diary-include-files): New function, extracted from
13981 diary-include-other-diary-files and diary-mark-included-diary-files.
13982 (diary-include-other-diary-files, diary-mark-included-diary-files):
13983 Just call diary-include-files.
13984 (diary-mark-entries): Reset diary-included-files on first call.
13985
16712304
GM
13986 * calendar/diary-lib.el (diary-mark-entries)
13987 (diary-mark-included-diary-files):
13988 Visit included diary-files in temp buffers.
13989
5d8e0d43
GM
13990 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13991 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13992 (f90-start-block-re, f90-imenu-generic-expression)
13993 (f90-looking-at-program-block-start, f90-no-block-limit):
13994 Add support for submodules.
13995
ccf7a5d5
GM
13996 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13997 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13998
11fdef7d 139992011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14000
14001 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14002 buffer-file-type before setting its value, to avoid disastrous
eefff499 14003 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14004
74f53697
JB
140052011-06-25 Juanma Barranquero <lekktu@gmail.com>
14006
14007 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14008
14009 * ses.el (ses-unload-function):
14010 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14011
14012 * proced.el (proced-unload-function):
14013 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14014
18a4ce5e
AR
140152011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14016
14017 * server.el (server-create-window-system-frame): Add parameters arg.
14018 (server-process-filter): Doc fix. Handle frame-parameters.
14019
519d22cc
JB
140202011-06-25 Juanma Barranquero <lekktu@gmail.com>
14021
14022 Fix bug#8730, bug#8781.
14023
14024 * loadhist.el (unload--set-major-mode): New function.
14025 (unload-feature): Use it.
14026
14027 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14028 (python-unload-function): New function.
14029
c206f5b0
SM
140302011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14033
f9ad64f3
GS
140342011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14035
14036 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14037 the candidates list.
14038
7d0da90e
JB
140392011-06-24 Juanma Barranquero <lekktu@gmail.com>
14040
14041 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14042
14b4e83d
RS
140432011-06-23 Richard Stallman <rms@gnu.org>
14044
14045 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14046 (rmail-variables): Set next-error-move-function.
14047 (rmail-what-message): Take argument POS.
14048 (rmail-next-error-move): New function.
14049
273d2baf
SM
140502011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14053 messages for adjacent non-terminals.
14054
56c2cc9a
RS
140552011-06-23 Richard Stallman <rms@gnu.org>
14056
14057 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14058 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14059 (rmail-start-mail): Don't specify use of rmail-mail-return;
14060 that's done by mail-bury now.
14061 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14062
d59eb518
MA
140632011-06-23 Michael Albinus <michael.albinus@gmx.de>
14064
14065 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14066 SIZE is a number.
14067
02cfc6d6
MR
140682011-06-23 Martin Rudalics <rudalics@gmx.at>
14069
14070 * window.el (get-lru-window, get-mru-window)
14071 (get-largest-window): Never return a minibuffer window.
14072 (display-buffer-pop-up-window): Fix a bug that could lead to
14073 reusing the minibuffer window.
14074 (display-buffer): Pass original specifier argument to
14075 display-buffer-function instead of the normalized one.
14076 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14077
4e323265
LL
140782011-06-22 Leo Liu <sdl.web@gmail.com>
14079
14080 * minibuffer.el (completing-read-function)
14081 (completing-read-default): Move from minibuf.c
14082
7a70468f
RS
140832011-06-22 Richard Stallman <rms@gnu.org>
14084
50718fc2
RS
14085 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14086 to Rmail even if not started by a special Rmail command.
14087
7a70468f
RS
14088 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14089 Copy the buffer currently showing just one message.
14090
297dde5a
RW
140912011-06-22 Roland Winkler <winkler@gnu.org>
14092
14093 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14094 (bibtex-clean-entry): First delete the old key so that a
14095 customized algorithm for generating the new key does not get
14096 confused by the old key.
14097 (bibtex-url): Obey regexp of first step.
14098 (bibtex-search-entries): Do not use add-to-list with local
14099 list-var.
14100
97bb1093
LMI
141012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14102
14103 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14104 stored a user name, then query for the password first, instead of
14105 waiting for SMTP to give an error message and the trying again.
14106
1c0f1a19
JD
141072011-06-22 Lawrence Mitchell <wence@gmx.li>
14108
14109 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14110 BUFFER in call-process.
14111
396f7c9d
LMI
141122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14113
14114 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14115 QUIT twice.
ddb7ffee
LMI
14116 (smtpmail-try-auth-methods): Require user name and password from
14117 auth-source.
396f7c9d 14118
8998d1b3
MR
141192011-06-22 Martin Rudalics <rudalics@gmx.at>
14120
14121 * window.el (display-buffer-default-specifiers)
14122 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14123 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14124 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14125
14126 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14127 (special-display-frame-alist, special-display-popup-frame):
14128 Remove duplicate declarations. These are now in window.el.
14129
4ea31e07
LMI
141302011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14131
c9d29fb8
SM
14132 * mail/smtpmail.el (smtpmail-via-smtp):
14133 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14134 server supports it. SMTP servers that support STARTTLS commonly
14135 require it.
14136
14137 * net/network-stream.el (network-stream-open-starttls): Support
14138 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14139 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14140
95f41d9a
LMI
14141 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14142 upgrades with `open-network-stream', and rely solely on
14143 auth-source for all credentials. Big changes throughout the file,
14144 but in particular:
c9d29fb8
SM
14145 (smtpmail-auth-credentials): Remove.
14146 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14147 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14148 MAIL FROM, too.
95f41d9a 14149
c9d29fb8
SM
14150 * net/network-stream.el (network-stream-open-starttls):
14151 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14152 STARTTLS.
14153 (auth-source): Require.
14154 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14155 (network-stream-certificate): Change cert-cert to cert and
14156 cert-key to key.
4ea31e07 14157
065ec2c7
MA
141582011-06-21 Michael Albinus <michael.albinus@gmx.de>
14159
14160 * net/tramp-cache.el (top): Don't load the persistency file when
14161 "emacs -Q" has been called.
14162
cd93b359
DR
141632011-06-21 Tim Harper <timcharper@gmail.com>
14164
d8e4b68b
JB
14165 * term/ns-win.el (ns-initialize-window-system):
14166 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14167 resource to NO as it is not yet supported by the NS port.
14168
ae9c0411
JB
141692011-06-21 Juanma Barranquero <lekktu@gmail.com>
14170
14171 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14172 (list-dynamic-libraries): ...not here.
14173
7f3f739f
LL
141742011-06-21 Leo Liu <sdl.web@gmail.com>
14175
14176 * subr.el (sha1): Implement sha1 using secure-hash.
14177
327c8fb1
MR
141782011-06-21 Martin Rudalics <rudalics@gmx.at>
14179
14180 * window.el (display-buffer-alist): In default value do not
14181 enforce searching a window on any but the selected frame.
14182 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14183 (display-buffer-select-window): Remove function.
14184 (display-buffer-in-window): When a window on another frame gets
14185 reused, do not select it any more but just raise its frame if
14186 necessary (Bug#8851) and (Bug#8856).
14187 (display-buffer-normalize-options): Handle pop-up-frames related
14188 options more faithfully.
14189 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14190 window if it is on another frame.
c9d29fb8
SM
14191 (display-buffer-alist, display-buffer-default-specifiers):
14192 Don't make new frame unsplittable by default.
9e9de014
MR
14193 (display-buffer-normalize-argument): Fix doc-string typo and use
14194 'same-frame-other-window instead of 'other-window when associating
14195 with display-buffer-macro-specifiers.
327c8fb1 14196
7cf3f556
VB
141972011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14198
14199 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14200 New functions.
14201 (5x5-mode-map, 5x5-mode-menu): Bind them.
14202 (5x5-draw-grid): Tweak the solver's rendering.
14203
60a406cf
SM
142042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14205
14206 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14207 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14208
d8e4b68b 142092011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14210
14211 * menu-bar.el: Use function variable instead of switch-to-buffer.
14212 (menu-bar-select-buffer-function): New variable.
60a406cf 14213 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14214
478d6f95
SM
142152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14216
14217 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14218 variable's status.
14219
ca530739
JD
142202011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14221
14222 * x-dnd.el (x-dnd-version-from-flags)
14223 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14224 and long as number (Bug#8899).
14225 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14226
bcd70d97
SM
142272011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14228
60a406cf 14229 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
14230 (completion-try-completion, completion-all-completions): Compute the
14231 metadata argument if it's missing; make it optional (bug#8795).
14232
60a406cf 14233 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
14234 (widget-complete): Use new :completion-function property.
14235 (widget-completions-at-point): New function.
14236 (default): Use :completion-function instead of :complete.
60a406cf
SM
14237 (widget-default-completions): Rename from widget-default-complete;
14238 Rewrite.
bcd70d97
SM
14239 (widget-string-complete, widget-file-complete, widget-color-complete):
14240 Remove functions.
14241 (file, symbol, function, variable, coding-system, color):
14242 * international/mule-cmds.el (default-input-method, charset)
14243 (language-info-custom-alist):
14244 * cus-edit.el (face): Use new property :completions.
14245
14246 * progmodes/pascal.el (pascal-completions-at-point): New function.
14247 (pascal-mode): Use it.
14248 (pascal-mode-map): Use completion-at-point.
14249 (pascal-toggle-completions): Make obsolete.
14250 (pascal-complete-word, pascal-show-completions):
14251 * progmodes/octave-mod.el (octave-complete-symbol):
14252 Redefine as obsolete alias.
14253 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14254 Signal absence of completion info for old Octave,
14255 (inferior-octave-complete): Redefine as obsolete alias.
14256 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14257 (meta-completions-at-point): Rename from meta-complete-symbol and
14258 adapt it for use on completion-at-point-functions.
14259 (meta-common-mode): Use it.
14260 (meta-looking-at-backward, meta-match-buffer): Remove.
14261 (meta-complete-symbol): Redefine as obsolete alias.
14262 (meta-common-mode-map): Use completion-at-point.
14263 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14264 (makefile-mode-map): Use completion-at-point.
14265 (makefile-completions-at-point): Rename from makefile-complete and
14266 adapt it for use on completion-at-point-functions.
14267 (makefile-mode): Use it.
14268 (makefile-complete): Redefine as obsolete alias.
14269
aebf69c8
DD
142702011-06-20 Deniz Dogan <deniz@dogan.se>
14271
14272 * net/rcirc.el: Delete trailing whitespaces once and for all.
14273
bfbbb27d
DC
142742011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14275
14276 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14277
d264a46b
CY
142782011-06-19 Chong Yidong <cyd@stupidchicken.com>
14279
4ca009e5
CY
14280 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14281
d264a46b
CY
14282 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14283
fbf5b3ce
MR
142842011-06-19 Martin Rudalics <rudalics@gmx.at>
14285
14286 * window.el (display-buffer-other-window-means-other-frame):
14287 Call display-buffer-normalize-alist.
14288 (display-buffer-normalize-specifiers-1): Rename to
14289 display-buffer-normalize-argument. New argument other-frame.
14290 Rewrite.
14291 (display-buffer-normalize-specifiers-2): Rename to
14292 display-buffer-normalize-options.
14293 (display-buffer-normalize-alist-1): New function.
14294 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
14295 display-buffer-normalize-alist.
14296 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
14297 (display-buffer-normalize-options-inhibit): New variable.
14298 (display-buffer-normalize-specifiers): Rewrite calling
14299 display-buffer-normalize-alist,
14300 display-buffer-normalize-argument, and
14301 display-buffer-normalize-options. Don't call the latter if
14302 display-buffer-normalize-options-inhibit is non-nil.
14303 (frame-auto-delete): New option.
14304 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
14305 (window-list-no-nils, window-state-ignored-parameters)
14306 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
14307 (window-state-put-1, window-state-put-2, window-state-put):
14308 New functions.
9a028c23
MR
14309 (display-buffer-normalize-options): Move special-display-p group
14310 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 14311
6d10d800
CY
143122011-06-18 Chong Yidong <cyd@stupidchicken.com>
14313
6420d28b
CY
14314 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14315 groups (Bug#8776).
14316 (rx-submatch-n): New function.
14317 (rx): Document it.
14318
ddb8b596
CY
14319 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14320 (Bug#8768).
14321
14322 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14323
77080289
CY
14324 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14325
61dfb316
CY
14326 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14327 anytime existing face settings are present (Bug#8889).
14328
6d10d800
CY
14329 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14330 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14331 Remove unused argument.
14332
be3fb2b8
MR
143332011-06-18 Martin Rudalics <rudalics@gmx.at>
14334
bcd70d97
SM
14335 * window.el (display-buffer-default-specifiers):
14336 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
14337 pop-up-window-min-width, and another reuse-window specifier
14338 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
14339 (display-buffer-normalize-specifiers-2):
14340 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
14341 pop-up-windows is unset. Add a reuse-window specifier for the
14342 case popping up a new window fails.
14343 (special-display-popup-frame): Remove double quoting.
28dec25a 14344 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 14345
1c6d8c76
SM
143462011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14347
14348 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14349 according to comint-completion-addsuffix.
14350
14351 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14352 (pcomplete-suffix-list): Mark as obsolete.
14353 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14354 pcomplete-seen in the closure.
14355 (pcomplete-comint-setup): Setup completion-at-point as well.
14356 (pcomplete--entries): New function.
14357 (pcomplete--env-regexp): New var.
14358 (pcomplete-entries): Rewrite to work with partial-completion and
14359 without relying on pcomplete-suffix-list.
14360 (pcomplete-pare-list): Remove, unused.
14361
25aef8b8
MR
143622011-06-17 Martin Rudalics <rudalics@gmx.at>
14363
14364 * window.el (display-buffer-alist): Set pop-up-window-min-height
14365 and pop-up-window-min-width in default value. Reported by
14366 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14367 other-window-means-other-frame.
14368 (display-buffer-macro-specifiers): Comment out entry for
14369 other-window specifier.
14370 (display-buffer-other-window-means-other-frame): New function.
14371 (display-buffer-normalize-specifiers-1): New arguments
14372 buffer-name and label. Treat other-window case specially.
14373 (display-buffer-normalize-specifiers-2): Treat other-window case
14374 specially.
14375 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
14376 (display-buffer-normalize-specifiers):
14377 Call display-buffer-normalize-specifiers-3.
25aef8b8 14378
dbad4f69
MR
143792011-06-17 Martin Rudalics <rudalics@gmx.at>
14380
14381 * window.el (same-window-p): Fix two typos introduced when
14382 adding with-no-warnings.
d1067961
MR
14383 (display-buffer-normalize-specifiers-1): Don't check
14384 pop-up-frames for 'unset initialization.
14385 (display-buffer-normalize-specifiers-2): Major rewrite using
14386 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14387 (pop-up-frames, display-buffer-reuse-frames)
14388 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14389 Suggested by David Engster <deng@randomsample.de>.
14390 (even-window-heights): Initialize to 'unset.
14391 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
14392 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14393 other window case.
dbad4f69 14394
9b9c9e3a
MR
143952011-06-16 Martin Rudalics <rudalics@gmx.at>
14396
bcd70d97
SM
14397 * window.el (display-buffer-normalize-specifiers-1):
14398 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 14399 second argument of display-buffer (Bug#8865).
981d5c09
MR
14400 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14401 (switch-to-buffer-other-window-same-frame)
14402 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14403 Adams (Bug#8875).
9c2755e9
MR
14404 (display-buffer): Don't check noninteractive when calling
14405 display-buffer-pop-up-frame.
14406 (display-buffer-pop-up-frame): Never pop up a frame in
14407 noninteractive mode (Bug#8857).
67222e1d
MR
14408 (enlarge-window, shrink-window): Don't report an error when the
14409 window can't be resized as requested (Bug#8862).
9b9c9e3a 14410
2b75be67
SM
144112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14412
9ffdd3ba
SM
14413 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14414
cb581a67
SM
14415 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14416
2b75be67
SM
14417 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14418
8c0e3589
AM
144192011-06-15 Alan Mackenzie <acm@muc.de>
14420
cb581a67
SM
14421 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14422 for declarators, disable knr checking to speed up for normal files.
14423 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 14424
b96e6cde
LMI
144252011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14426
4bba86e6
LMI
14427 * net/network-stream.el (open-network-stream): Add the keyword
14428 :always-query-capabilities for the case where you want to force a
14429 `plain' network connection, but the protocol still requires the
14430 capabilitiy command (i.e., SMTP and EHLO).
14431
2b75be67 14432 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
14433 consistency with other `-live-p' functions.
14434
efdcdbf8
SM
144352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * window.el (same-window-buffer-names, same-window-regexps)
14438 (special-display-frame-alist, special-display-popup-frame)
14439 (special-display-function, special-display-buffer-names)
14440 (special-display-regexps, pop-up-frame-alist)
14441 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14442 (pop-up-windows, split-window-preferred-function)
14443 (split-height-threshold, split-width-threshold, even-window-heights)
14444 (display-buffer-mark-dedicated): Don't encourage the use of
14445 display-buffer-alist from Elisp code.
14446
c5cde042
DN
144472011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14448
14449 * progmodes/python.el (python-mode): Derive from prog-mode.
14450 * progmodes/ps-mode.el (ps-mode):
14451 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14452 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14453 * progmodes/ld-script.el (ld-script-mode): Likewise.
14454
baa1c9ab
MR
144552011-06-15 Martin Rudalics <rudalics@gmx.at>
14456
14457 * window.el (display-buffer-alist): Trim default value to avoid
14458 popping up a new frame (Bug#8857) or reusing an arbitrary window
14459 on another frame.
14460 (display-buffer): Do not fall back on popping up a new frame in
14461 batch mode (Bug#8857).
14462
c5dd5a51
CY
144632011-06-14 Chong Yidong <cyd@stupidchicken.com>
14464
14465 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14466 (custom-theme-summary): New function.
14467 (customize-themes): Use it.
14468
d647b7c4
GM
144692011-06-13 Glenn Morris <rgm@gnu.org>
14470
14471 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14472
9481c002
MR
144732011-06-13 Martin Rudalics <rudalics@gmx.at>
14474
357f93d2
MR
14475 * help.el (help-window): Remove variable.
14476 (help-window-point-marker, temp-buffer-max-height)
14477 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14478 (help-print-return-message): Don't set help-window.
14479 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14480 (help-window-setup-finish): Remove.
14481 (help-window-display-message, help-window-setup)
14482 (with-help-window): Major rewrite based on new
14483 display-buffer-window variable.
14484
14485 * help-mode.el (help-mode-finish): Remove help-window related
14486 code.
14487
14488 * view.el (view-exits-all-viewing-windows): Remove reference to
14489 view-return-to-alist in doc-string.
14490 (view-return-to-alist): Make obsolete.
14491 (view-buffer): Call pop-to-buffer-same-window and remove
14492 undo-window code.
14493 (view-buffer-other-window): Call pop-to-buffer-other-window and
14494 simplify code. Ignore second argument.
14495 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14496 simplify code. Ignore second argument.
14497 (view-return-to-alist-update): Make obsolete.
14498 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14499 Rewrite using quit-restore window parameters.
2b75be67
SM
14500 (view-mode-exit): Rename second argument to EXIT-ONLY.
14501 Rewrite using quit-restore-window.
357f93d2
MR
14502 (View-exit, View-exit-and-edit, View-leave, View-quit)
14503 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14504 appropriate arguments.
14505 (view-end-message): Use quit-restore window parameter.
14506
9481c002
MR
14507 * window.el (display-buffer-function): Rewrite doc-string.
14508 (display-buffer-window, display-buffer-alist): New variables.
14509 (display-buffer-split-specifiers)
14510 (display-buffer-side-specifiers)
14511 (display-buffer-macro-specifiers): New constants.
14512 (display-buffer-even-window-sizes, display-buffer-set-height)
14513 (display-buffer-set-width, display-buffer-select-window)
14514 (display-buffer-in-window, display-buffer-reuse-window)
14515 (display-buffer-split-window-1, display-buffer-split-window)
14516 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14517 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14518 (display-buffer-in-side-window, normalize-buffer-to-display)
14519 (display-buffer-normalize-specifiers-1)
14520 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14521 (display-buffer-normalize-specifiers, display-buffer-frame):
14522 New functions.
9481c002
MR
14523 (display-buffer): Major rewrite.
14524 (display-buffer-other-window, display-buffer-other-frame)
14525 (pop-to-buffer, switch-to-buffer-other-window)
14526 (switch-to-buffer-other-frame): Rewrite.
14527 (display-buffer-same-window, display-buffer-same-frame)
14528 (display-buffer-same-frame-other-window)
14529 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14530 (pop-to-buffer-other-window)
14531 (pop-to-buffer-same-frame-other-window)
14532 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14533 (switch-to-buffer-other-window-same-frame): New functions.
14534 (same-window-p, special-display-p): Rewrite disabling warnings.
14535 Make obsolete.
14536 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14537 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14538 Make obsolete
14539 (same-window-buffer-names, same-window-regexps)
14540 (special-display-frame-alist, special-display-popup-frame)
14541 (special-display-function, special-display-buffer-names)
14542 (special-display-regexps, pop-up-frame-alist)
14543 (pop-up-frame-function, split-window-preferred-function)
14544 (split-height-threshold, split-width-threshold)
14545 (even-window-heights): Make obsolete.
14546
9db51aca
GM
145472011-06-12 Glenn Morris <rgm@gnu.org>
14548
14549 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14550 Misc simplifications.
9db51aca 14551
39cffb44
MR
145522011-06-12 Martin Rudalics <rudalics@gmx.at>
14553
14554 * window.el (window-safely-shrinkable-p): Restore function which
14555 was inadvertently removed in change from 2011-06-11. Declare as
14556 obsolete.
14557
2b75be67
SM
14558 * calendar/calendar.el (calendar-generate-window):
14559 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14560 window-safely-shrinkable-p.
14561
a8955be7
GM
145622011-06-12 Glenn Morris <rgm@gnu.org>
14563
14564 * progmodes/fortran.el (fortran-mode-syntax-table):
14565 * progmodes/f90.el (f90-mode-syntax-table):
14566 Set % to punctuation. (Bug#8820)
14567 (f90-find-tag-default): Remove, no longer needed.
14568
f0d4059d
DC
145692011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14570
14571 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14572
1100a63c
CY
145732011-06-11 Chong Yidong <cyd@stupidchicken.com>
14574
14575 * image.el (image-animated-p): Return animation delay in seconds.
14576 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14577 (image-animate-timeout): Remove DELAY argument. Don't assume
14578 every subimage has the same delay; get it from image-animated-p.
14579 (image-animate): Caller changed.
14580
def722bf
MA
145812011-06-11 Michael Albinus <michael.albinus@gmx.de>
14582
14583 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14584 to ignored backtrace functions.
14585
0a2bb1a9
GM
145862011-06-11 Glenn Morris <rgm@gnu.org>
14587
14588 * calendar/appt.el (appt-disp-window-function): Doc fix.
14589 (appt-check): Handle overlapping appointments. (Bug#8337)
14590
6198ccd0
MR
145912011-06-11 Martin Rudalics <rudalics@gmx.at>
14592
14593 * window.el (window-tree-1, window-tree): New functions, moving
14594 the latter to window.el.
14595 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14596 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14597 (bw-refresh-edges): Remove.
14598 (balance-windows-1, balance-windows-2): New functions.
14599 (balance-windows): Rewrite in terms of window tree functions,
14600 balance-windows-1 and balance-windows-2.
14601 (bw-adjust-window): Remove.
14602 (balance-windows-area-adjust): New function with functionality of
14603 bw-adjust-window but using resize-window.
2b75be67
SM
14604 (set-window-text-height): Rewrite doc-string.
14605 Use normalize-live-window and resize-window.
14606 (enlarge-window-horizontally, shrink-window-horizontally):
14607 Rename argument to DELTA.
6198ccd0
MR
14608 (window-buffer-height): New function.
14609 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14610 Rewrite using new window resize routines.
2b75be67
SM
14611 (kill-buffer-and-window, mouse-autoselect-window-select):
14612 Use ignore-errors instead of condition-case.
6198ccd0
MR
14613 (quit-window): Call delete-frame instead of delete-windows-on
14614 for the only buffer on frame.
14615
9397e56f
MR
146162011-06-10 Martin Rudalics <rudalics@gmx.at>
14617
14618 * loadup.el (top-level): Load window before files for the sake
14619 of replace-buffer-in-windows.
14620
14621 * files.el (read-buffer-to-switch)
14622 (switch-to-buffer-other-window)
2b75be67
SM
14623 (switch-to-buffer-other-frame, display-buffer-other-frame):
14624 Move to window.el.
9397e56f
MR
14625
14626 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14627 (previous-buffer): Move to window.el.
14628
14629 * bindings.el (unbury-buffer): Move to window.el.
14630
14631 * window.el (delete-other-windows-vertically): Move after
14632 definition of delete-other-windows.
14633 (other-window, delete-windows-on, replace-buffer-in-windows):
14634 Move here from window.c.
14635 (record-window-buffer, unrecord-window-buffer)
14636 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14637 (switch-to-next-buffer): New functions.
14638 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14639 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14640 (previous-buffer): Move here from simple.el.
14641 Call switch-to-prev-buffer.
9397e56f
MR
14642 (bury-buffer): Move here from buffer.c. Switch to previous
14643 buffer when window cannot be deleted.
14644 (unbury-buffer): Move here from bindings.el.
14645 (ctl-x-map): Move binding for other-window from window.c to
14646 here.
14647 (read-buffer-to-switch, switch-to-buffer-other-window)
14648 (switch-to-buffer-other-frame): Move here from files.el.
14649 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14650 (switch-to-buffer): Move here from buffer.c.
14651 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14652
562dd5e9
MR
146532011-06-10 Martin Rudalics <rudalics@gmx.at>
14654
14655 * window.el (window-min-height, window-min-width): Move here
14656 from window.c. Add defcustoms and rewrite doc-strings.
14657 (resize-mini-window, resize-window): New functions.
14658 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14659 Move here from window.c.
14660 (maximize-window, minimize-window): New functions.
14661 (delete-window, delete-other-windows, split-window): Move here
14662 from window.c.
14663 (window-split-min-size): New function.
14664 (split-window-keep-point): Mention split-window-above-each-other
14665 instead of split-window-vertically.
2b75be67 14666 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14667 Rename split-window-vertically to split-window-above-each-other
14668 and provide defalias for old definition.
14669 (split-window-side-by-side, split-window-horizontally):
14670 Rename split-window-horizontally to split-window-side-by-side
14671 and provide defalias for the old definition.
562dd5e9
MR
14672 (ctl-x-map): Move bindings for delete-window,
14673 delete-other-windows and enlarge-window here from window.c.
14674 Replace bindings for split-window-vertically and
14675 split-window-horizontally by bindings for
14676 split-window-above-each-other and split-window-side-by-side.
14677
14678 * cus-start.el (all): Remove entries for window-min-height and
14679 window-min-width. Add entries for window-splits and
14680 window-nest.
14681
f0da764a
GM
146822011-06-09 Glenn Morris <rgm@gnu.org>
14683
80675c21
GM
14684 * calendar/appt.el (appt-mode-line): New function.
14685 (appt-check, appt-disp-window): Use it.
14686
f0da764a
GM
14687 * files.el (hack-one-local-variable-eval-safep):
14688 Allow minor-modes with explicit +/-1 arguments.
14689
59f623b7
TZ
146902011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14691
14692 * term/xterm.el (xterm): Add defgroup.
14693 (xterm-extra-capabilities): Add defcustom to supply known xterm
14694 capabilities, skip querying them, or query them (default).
14695 (terminal-init-xterm): Use it.
14696 (terminal-init-xterm-modify-other-keys): New function to set up
14697 modifyOtherKeys support to simplify `terminal-init-xterm'.
14698
9aab8e0d
MR
146992011-06-09 Martin Rudalics <rudalics@gmx.at>
14700
14701 * window.el (resize-window-reset, resize-window-reset-1)
14702 (resize-subwindows-skip-p, resize-subwindows-normal)
14703 (resize-subwindows, resize-other-windows, resize-this-window)
14704 (resize-root-window, resize-root-window-vertically)
14705 (window-deletable-p, window-or-subwindow-p)
14706 (frame-root-window-p): New functions.
14707
e8b08aee
GM
147082011-06-09 Glenn Morris <rgm@gnu.org>
14709
14710 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14711 (ange-ftp-get-files): Use it.
14712
254c37a5
AK
147132011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14714
14715 * mail/sendmail.el (mail-recover-1, mail-recover):
14716 * files.el (recover-file, recover-session):
14717 Handle dired-listing-switches not being just a single short option.
14718
35d7dbd3
GM
147192011-06-09 Glenn Morris <rgm@gnu.org>
14720
14721 * calendar/appt.el (appt-display-message, appt-disp-window):
14722 Handle lists of appointments.
14723
387522b2
MR
147242011-06-08 Martin Rudalics <rudalics@gmx.at>
14725
2b75be67
SM
14726 * window.el (one-window-p): Move down in code.
14727 Rewrite doc-string.
14728 (window-current-scroll-bars): Rewrite doc-string.
14729 Normalize live window argument.
387522b2
MR
14730 (walk-windows, get-window-with-predicate, count-windows):
14731 Rewrite doc-string. Use window-list-1.
14732 (window-in-direction-2, window-in-direction, get-mru-window):
14733 New functions.
14734
d8e4b68b 147352011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14736
14737 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14738 Doc fix (Bug#8713).
14739
147402011-06-08 Chong Yidong <cyd@stupidchicken.com>
14741
14742 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14743
147442011-06-08 Juanma Barranquero <lekktu@gmail.com>
14745
14746 * loadhist.el (unload-feature-special-hooks):
14747 Add `comint-output-filter-functions'.
14748
0de12c52
IK
147492011-06-08 Ivan Kanis <gnu@kanis.fr>
14750
14751 * calendar/appt.el (appt-check): Move some initializations into the let.
14752
f3d1777e
MR
147532011-06-08 Martin Rudalics <rudalics@gmx.at>
14754
14755 * window.el (window-height): Defalias to window-total-height.
14756 (window-width): Defalias to window-body-width.
14757
18af70d0
CY
147582011-06-07 Chong Yidong <cyd@stupidchicken.com>
14759
14760 * image-mode.el (image-toggle-animation): New command.
14761 (image-mode-map): Bind it to RET.
14762 (image-mode): Update message.
14763 (image-toggle-display-image): Avoid a spurious cache flush.
14764 (image-transform-rotation): Doc fix.
14765 (image-transform-properties): Return quickly in the normal case.
14766 (image-animate-loop): Rename from image-animate-max-time.
14767
2b75be67 14768 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14769 (create-animated-image): Remove unnecessary function.
14770 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14771 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14772 (image-animate-timer): Use car-safe.
14773 (image-animate-timeout): Rename argument.
14774
190b47e6
MR
147752011-06-07 Martin Rudalics <rudalics@gmx.at>
14776
14777 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14778 window.c. Rename first argument to ALL-FRAMES.
14779 Rephrase doc-strings.
14780 (get-buffer-window-list): Rewrite using window-list-1.
14781 Rephrase doc-string.
a1511caf
MR
14782 (window-safe-min-height, window-safe-min-width): New constants.
14783 (window-size-ignore, window-min-size, window-min-size-1)
14784 (window-sizable, window-sizable-p, window-size-fixed-1)
14785 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14786 (window-max-delta-1, window-max-delta, window-resizable)
14787 (window-resizable-p, window-total-height, window-total-width)
14788 (window-body-width): New functions.
14789 (window-full-height-p, window-full-width-p): Rewrite using
14790 window-total-size.
14791 (window-body-height): Rewrite using window-body-size.
190b47e6 14792
85cc1f11
MR
147932011-06-06 Martin Rudalics <rudalics@gmx.at>
14794
14795 * window.el (window-right, window-left, window-child)
14796 (window-child-count, window-last-child, window-any-p)
14797 (normalize-live-buffer, normalize-live-frame)
14798 (normalize-any-window, normalize-live-window)
14799 (window-iso-combination-p, window-iso-combined-p)
14800 (window-iso-combinations)
14801 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14802 (windows-with-parameter, window-with-parameter)
14803 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14804 (window-atom-check, window-side-check, window-check):
14805 New functions.
85cc1f11
MR
14806 (ignore-window-parameters, window-sides, window-sides-vertical)
14807 (window-sides-slots): New variables.
14808 (window-size-fixed): Move down in code. Minor doc-string fix.
14809
e7156492
AS
148102011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14811
14812 * comint.el (comint-dynamic-complete-as-filename)
14813 (comint-dynamic-complete-filename): Correctly call
14814 completion-in-region.
14815
7e821d0d
DD
148162011-06-05 Deniz Dogan <deniz@dogan.se>
14817
14818 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14819 in last change.
14820
ac09b8a1
DD
148212011-06-05 Deniz Dogan <deniz@dogan.se>
14822
14823 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14824 (rcirc): Use it to prompt for encryption.
14825
34699b85
RW
148262011-06-05 Roland Winkler <winkler@gnu.org>
14827
14828 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14829 (bibtex-search-entries): New command bound to C-c C-a.
14830 (bibtex-display-entries): New function.
14831
004dedd3
RW
148322011-06-05 Roland Winkler <winkler@gnu.org>
14833
14834 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14835 (bibtex-insert-kill): After yanking insert newline if necessary.
14836 (bibtex-initialize): Call bibtex-string-files-init only once.
14837 (bibtex-mode): Do not call easy-menu-add.
14838 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14839 (bibtex-yank): Set arg properly if nil.
14840
022fe7ce
RW
148412011-06-05 Roland Winkler <winkler@gnu.org>
14842
2b75be67
SM
14843 * textmodes/bibtex.el (bibtex-search-entry-globally):
14844 New variable.
022fe7ce
RW
14845 (bibtex-search-entry): Use it.
14846
b7c3692a
RW
148472011-06-05 Roland Winkler <winkler@gnu.org>
14848
14849 * textmodes/bibtex.el (bibtex-entry-format): New option
14850 sort-fields.
14851 (bibtex-format-entry, bibtex-reformat): Honor this option.
14852 (bibtex-parse-entry): Return fields in proper order.
14853
8eda563d
JB
148542011-06-05 Juanma Barranquero <lekktu@gmail.com>
14855
14856 * doc-view.el (doc-view-remove-if): Move computation of result out
14857 of `dolist' to silence misleading lexical-binding warning.
14858
7dbe3dbc
CY
148592011-06-04 Chong Yidong <cyd@stupidchicken.com>
14860
14861 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14862 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14863
0c33dd17
MA
148642011-06-04 Michael Albinus <michael.albinus@gmx.de>
14865
14866 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14867 "SunOS 5.10".
14868
f8f91c2b
MA
148692011-06-04 Michael Albinus <michael.albinus@gmx.de>
14870
14871 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14872 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14873 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14874 (tramp-parse-putty):
14875 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14876 (tramp-completion-function-alist-ssh)
14877 (tramp-completion-function-alist-telnet)
14878 (tramp-completion-function-alist-su)
14879 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14880 cookie.
14881
14882 * net/tramp-ftp.el:
14883 * net/tramp-sh.el:
14884 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14885 load "tramp.el" `tramp-set-completion-function'.
14886
e17d9003
SM
148872011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 * shell.el: Require and use pcomplete.
14890 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14891 (shell-completion-vars): Set pcomplete-default-completion-function.
14892
6c4cab03
DD
148932011-06-04 Deniz Dogan <deniz@dogan.se>
14894
14895 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14896 `memq' (Bug#8799).
14897
ea9fafe0
SM
148982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14899
14900 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14901
b3e945d3
JB
149022011-06-02 Juanma Barranquero <lekktu@gmail.com>
14903
14904 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14905 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14906 * vc/log-view.el (log-view-beginning-of-defun):
14907 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14908 (smerge-refine-forward, smerge-refine-chopup-region):
14909 Silence warning for unused `dotimes' counter variables.
14910
7d520089
SM
149112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * net/tramp.el (tramp-with-progress-reporter): Rename from
14914 with-progress-reporter. Use `declare'.
14915 * net/tramp-smb.el:
14916 * net/tramp-sh.el:
14917 * net/tramp-gvfs.el: Update all uses.
14918
a1c2400f
JB
149192011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14920
14921 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14922 buffer isn't killed before making it current.
14923
2403c841
SM
149242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14925
14926 Silence various byte-compiler warnings.
14927 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14928 `access-type' and new obsolescence format.
14929 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14930 new format.
14931 (byte-compile-check-variable): New `access-type' argument.
14932 Only warn if the access-type is obsolete.
14933 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14934 (byte-compile-variable-set): Adjust callers.
14935 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14936 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14937 setting it as obsolete.
14938 * simple.el (minibuffer-completing-symbol):
14939 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14940 access as obsolete.
14941 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14942 obsolete yet.
14943 * international/quail.el (quail-mouse-choose-completion): Remove unused
14944 code referring to obsolete var.
14945 (quail-choose-completion-string): Remove.
14946 * server.el (server-clients-with, server-kill-buffer-query-function)
14947 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14948 * proced.el (proced-send-signal):
14949 * emacs-lisp/lisp.el (lisp-complete-symbol):
14950 Replace completion-annotate-function with completion-extra-properties.
14951
2462470b
SM
149522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14953
fb5b2591
SM
14954 * simple.el (goto-line): Use read-number.
14955 (overriding-map-is-bound): Remove.
14956 (saved-overriding-map): Change default.
14957 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14958 Take the map as argument.
14959 (universal-argument, negative-argument, digit-argument): Use it.
14960 (restore-overriding-map): Adjust.
14961 (do-auto-fill): Use fill-forward-paragraph.
14962 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14963
fd6fa53f
SM
14964 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14965 (minibuffer-inactive-mode): New major mode.
14966 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14967 the *Messages* buffer" hack.
14968 (mouse-popup-menubar): Don't burp if the event is a normal key.
14969
2462470b
SM
14970 Miscellaneous tweaks.
14971 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14972 lexical scoping as in subr.el's dolist and dotimes.
14973 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14974 Silence compiler warning.
14975 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14976 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14977 * international/ccl.el (ccl-compile): Trivial simplification.
14978 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14979 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14980 `printflag' argument.
14981 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14982 Purecopy the whole obsolescence data.
14983
108bf785
LL
149842011-06-01 Leo Liu <sdl.web@gmail.com>
14985
14986 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14987 improve doc-string as suggested by Marco Pessotto
14988 <melmothx@gmail.com>.
14989 (rcirc-print): Fix last change.
14990
30a23501
SM
149912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14992
14993 * minibuffer.el (complete-with-action): Return nil for the metadata and
14994 boundaries of non-functional tables.
14995 (completion-table-dynamic): Return nil for the metadata.
14996 (completion-table-with-terminator): Add default case, using
14997 complete-with-action.
14998 (completion--metadata): New function.
14999 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15000 to try and avoid pathological performance problems.
15001 (completion--embedded-envvar-table): Return `category' metadata.
15002
bcd54f83
LMI
150032011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15004
15005 * subr.el (process-alive-p): New tiny convenience function.
15006
e227544d
SM
150072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15008
15009 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15010 content but also its previous major mode.
15011
e8296fdc
HE
150122011-05-31 Helmut Eller <eller.helmut@gmail.com>
15013
4d61f28d 15014 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15015 *Backtrace* buffer when we exit with C-M-c.
15016
620c53a6
SM
150172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * minibuffer.el: Add metadata method to completion tables.
15020 (completion-category-overrides): New defcustom.
15021 (completion-metadata, completion--field-metadata)
15022 (completion-metadata-get, completion--styles)
15023 (completion--cycle-threshold): New functions.
15024 (completion-try-completion, completion-all-completions):
15025 Add `metadata' argument to choose completion-styles.
15026 (completion--do-completion): Use metadata to choose cycling.
15027 (completion-all-sorted-completions): Use metadata for sorting.
15028 Remove :completion-cycle-penalty which is not needed any more.
15029 (completion--try-word-completion): Add `metadata' argument.
15030 (minibuffer-completion-help): Check metadata for annotation function
15031 and sorting.
15032 (completion-file-name-table): Return `category' metadata.
15033 (minibuffer-completing-file-name): Make obsolete.
15034 * simple.el (minibuffer-completing-symbol): Make obsolete.
15035 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15036 completion-try-completion.
15037
1257e755
SM
150382011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15039
15040 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15041
3767e706
LL
150422011-05-30 Leo Liu <sdl.web@gmail.com>
15043
15044 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15045 (rcirc-print): Decode all incoming messages (bug#8744).
15046 (rcirc-decode-coding-system): Allow value nil for automatic coding
15047 system detection.
3767e706 15048
d1a5d56a
GM
150492011-06-01 Glenn Morris <rgm@gnu.org>
15050
15051 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15052
e8cbec34
CY
150532011-05-29 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * image.el (image-animate-max-time): Allow nil and t values.
15056 Default to nil.
15057 (create-animated-image): Doc fix.
15058 (image-animate-start): Remove second arg; just use
15059 image-animate-max-time.
15060 (image-animate-timeout): Doc fix. Args changed.
15061
15062 * image-mode.el (image-toggle-display-image): Ensure that the
15063 image spec passed to the animate timer is the same object as in
58179cce 15064 the buffer's display property (Bug#6981).
e8cbec34
CY
15065 (image-transform-properties): Doc fix.
15066
15067 * image.el (image-animate-max-time): Default to nil.
15068
159daf87
MR
150692011-05-29 Martin Rudalics <rudalics@gmx.at>
15070
15071 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15072 entire buffer list (Bug#8184).
15073
d66c4c7c
CY
150742011-05-29 Chong Yidong <cyd@stupidchicken.com>
15075
15076 * image.el (imagemagick-types-inhibit)
15077 (imagemagick-register-types): Doc fix.
15078
80aec780
DD
150792011-05-29 Deniz Dogan <deniz@dogan.se>
15080
15081 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15082 default.
15083
1dd3c2d9
CY
150842011-05-29 Chong Yidong <cyd@stupidchicken.com>
15085
15086 * select.el: Don't perform clipboard-manager saving in hooks;
15087 leave the hooks empty.
15088
60e56523
LL
150892011-05-28 Leo Liu <sdl.web@gmail.com>
15090
15091 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15092 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15093 (occur-edit-mode): New major mode (Bug#8463).
15094 (occur-after-change-function): New function.
15095 (occur-engine): Give Occur tags a read-only property.
15096
2b1e1a22
KR
150972011-05-28 Kevin Ryde <user42@zip.com.au>
15098
15099 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15100
5d344e88
CY
151012011-05-28 Chong Yidong <cyd@stupidchicken.com>
15102
8e6ca83d
CY
15103 * bindings.el (help-echo): Make the initial non-indicator dash
15104 empty on graphical terminals (Bug#7295).
15105
5d344e88
CY
15106 * files.el (auto-mode-alist): Move config rule after the
15107 in-stripping one (Bug#8547).
15108
bfbbace7
CY
15109 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15110
fbeba6e2
CY
15111 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15112 setting (Bug#8740).
15113
60ed8c72
AA
151142011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15115
4ac619f0
AA
15116 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15117 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15118 (Bug#8539).
60ed8c72 15119
23db196e
CY
151202011-05-28 Chong Yidong <cyd@stupidchicken.com>
15121
15122 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15123
5012f24c
DK
151242011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15125
15126 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15127 (hs-hide-block-at-point, hs-find-block-beginning)
15128 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15129 (Bug#8279).
15130
6a639b16
GM
151312011-05-28 Glenn Morris <rgm@gnu.org>
15132
15133 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15134
d43eaf2c
CY
151352011-05-28 Chong Yidong <cyd@stupidchicken.com>
15136
5199bde1
CY
15137 * help-fns.el (describe-function-1): If the function is a derived
15138 major mode, print the parent mode.
15139
d43eaf2c
CY
15140 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15141 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15142
423428a8
SM
151432011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15144
0ff8e1ba 15145 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15146 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15147 * progmodes/etags.el (tags-completion-at-point-function):
15148 * info-look.el (info-lookup-completions-at-point): Mark as
15149 non-exclusive.
15150 (info-complete): Adjust accordingly.
15151
423428a8
SM
15152 * info-look.el: Convert to lexical-binding and completion-at-point.
15153 (info-lookup-completions-at-point): New function.
15154 (info-complete): Use it and completion-in-region.
15155
b74aa22b
DA
151562011-05-28 Drew Adams <drew.adams@oracle.com>
15157
15158 * isearch.el: Let M-e start with point at the first mismatched char.
15159 (isearch-fail-pos): New function.
15160 (isearch-edit-string): Use it.
15161
66e2e71d
DK
151622011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15163
15164 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15165
b1890b0f 151662011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15167
15168 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15169 traversal functions for avl-trees.
15170 (avl-tree--stack): New struct.
15171 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15172 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15173 (avl-tree--do-enter): Add optional `updatefun' arg.
15174 Change return value.
eb95d01d 15175 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15176 (avl-tree--do-delete): Add `test' and `nilflag' args.
15177 Change return value.
eb95d01d
TC
15178 (avl-tree-member): Add optional `nilflag'
15179 (avl-tree-member-p): New function.
15180 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15181 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15182 (avl-tree-stack-empty-p): New functions.
15183
3769ddcf
TC
15184 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15185 avl-tree--del-balance1 and make it work both ways.
15186 (avl-tree--del-balance2): Remove.
15187 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15188 make it work both ways.
15189 (avl-tree--enter-balance2): Remove.
15190 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15191 New macros.
15192 (avl-tree--mapc, avl-tree-map): Add direction argument.
15193
eb95d01d 151942011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15195
15196 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15197
a9f737ee
CY
151982011-05-27 Chong Yidong <cyd@stupidchicken.com>
15199
15200 * select.el: Support clipboard managers with built-in function
15201 x-clipboard-manager-save, via delete-frame-functions and
15202 kill-emacs-hook.
15203 (xselect-convert-to-targets): Add MULTIPLE target to list.
15204 (xselect-convert-to-save-targets): New function.
15205
c92a1e54
KH
152062011-05-27 Kenichi Handa <handa@m17n.org>
15207
15208 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15209 let-binding rfc2047-encode-encoded-words to nil.
15210
e145f188
GM
152112011-05-27 Glenn Morris <rgm@gnu.org>
15212
5ec8a862
GM
15213 * mail/emacsbug.el: Don't require url-util.
15214
4b29d9fb
GM
15215 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15216
e145f188
GM
15217 * files.el (set-auto-mode):
15218 Also respect mode: entries at the end of the file. (Bug#8586)
15219
7d15102b
GM
152202011-05-26 Glenn Morris <rgm@gnu.org>
15221
98f593b8
GM
15222 * files.el (hack-local-variables-prop-line, hack-local-variables):
15223 Downcase mode names, as seems to be traditional.
27b48e63 15224 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 15225
7d15102b
GM
15226 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15227 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15228
51d5b4ec
JD
152292011-05-25 Julien Danjou <julien@danjou.info>
15230
15231 * textmodes/rst.el (rst-define-level-faces): Do not define face
15232 symbol if it is already defined.
15233
91513f63
VB
152342011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15235
15236 * play/5x5.el (5x5-new-game, 5x5-randomize):
15237 Reset 5x5-solver-output to nil when a new grid is cast.
15238 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15239 these debugging traces, as defmacro breaks the compiled code.
15240
4d90d6d0
DK
152412011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15242
15243 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15244
e1b90ef6
LL
152452011-05-24 Leo Liu <sdl.web@gmail.com>
15246
15247 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15248 (vc-bzr-sha1): Adapt.
15249
d8e4b68b 15250 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
15251
15252 * bindings.el: Provide sha1 feature.
15253
db0406bb 152542011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
15255
15256 * mail/sendmail.el: Require `rfc2047'.
15257 (mail-insert-from-field): Do not perform RFC2047 encoding.
15258 (mail-encode-header): New function.
15259 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
15260 buffer to the return value of select-message-coding-system.
15261 Call mail-encode-header.
b8d747b9
KH
15262
15263 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15264
db0406bb 152652011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 15266
4d90d6d0
DK
15267 * mail/supercite.el (sc-default-cite-frame):
15268 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 15269
eb8a5e9b
GM
152702011-05-24 Glenn Morris <rgm@gnu.org>
15271
f8630703
GM
15272 * progmodes/python.el (brm-menu): Declare.
15273
8831bbed
GM
15274 * emulation/viper.el (viper-set-hooks): Declare.
15275
eb8a5e9b
GM
15276 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15277 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15278 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15279 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15280 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15281 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15282
a2a25d24
SM
152832011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15284
15285 Add an :exit-function for completion-at-point.
15286
15287 * minibuffer.el (completion--done): New fun.
15288 (completion--do-completion): Use it. New arg `expect-exact'.
15289 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15290 since completion--do-completion does it for us now.
15291 (minibuffer-force-complete): Use completion--done and
15292 completion--replace. Handle sole-completion case with more care.
15293 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15294 (completion-extra-properties): New var.
15295 (completion-annotate-function): Make obsolete.
15296 (minibuffer-completion-help): Adjust accordingly.
15297 Use completion-list-insert-choice-function.
15298 (completion-at-point, completion-help-at-point):
15299 Bind completion-extra-properties.
15300 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15301 * simple.el (completion-list-insert-choice-function): New var.
15302 (completion-setup-function): Preserve it.
15303 (choose-completion): Pay attention to it, shuffle the code a bit.
15304 (choose-completion-string): New arg `insert-function'.
15305
15306 * textmodes/bibtex.el: Convert to lexical binding.
15307 (bibtex-mode-map): Use completion-at-point.
15308 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15309 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15310 (bibtex-complete): Define as obsolete alias.
15311 (bibtex-complete-internal): Remove.
15312 (bibtex-format-entry): Remove unused sub-group in regexp.
15313 * shell.el (shell--command-completion-data)
15314 (shell-environment-variable-completion):
15315 * pcomplete.el (pcomplete-completions-at-point):
15316 * comint.el (comint--complete-file-name-data): Use :exit-function
15317 instead of completion-table-with-terminator so it also works for
15318 choose-completion.
15319
e44e373d
SM
153202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15321
4f91a816
SM
15322 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15323
782fc819
SM
15324 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15325 (bug#8710).
15326
e44e373d
SM
15327 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15328
381987c3
KM
153292011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15330
15331 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15332 customization variable and implement: If non-nil, auto-fill will
15333 be inhibited while on topic's header line.
15334
b776bc70
VB
153352011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15336
15337 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 15338 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
15339 always have a solution in grid size = 5 cases.
15340 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15341 (5x5-solver-output, 5x5-log-buffer): New vars.
15342 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15343 Make these variables buffer local to achieve 5x5 multi-session-ness.
15344 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15345 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15346 (5x5-solve-suggest): New funs.
15347 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15348 randomize a grid so that we ensure that there is always a solution.
15349 (5x5-make-random-grid): Allow other movement than flipping.
15350
7de88b6e
KR
153512011-05-23 Kevin Ryde <user42@zip.com.au>
15352
15353 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 15354 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
15355 advice and passes PREDICATE.
15356
b1ef1257
SM
153572011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15358
bbca48fe
SM
15359 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15360 byte-compile-lambda if it's actually a lambda.
15361
b1ef1257
SM
15362 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15363 Fix function quoting. Use backquote better.
15364
92a9cc65
YS
153652011-05-22 Yuanle Song <sylecn@gmail.com>
15366
15367 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15368 matching (Bug#8516).
15369
f0fb8059
JA
153702011-01-22 Jari Aalto <jari.aalto@cante.net>
15371
15372 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15373 different face (Bug#8178).
15374
d5b44c93
CY
153752011-05-22 Chong Yidong <cyd@stupidchicken.com>
15376
15377 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15378 defface (Bug#8144).
15379
79106a44
SM
153802011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15381
9c848d8a
SM
15382 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15383 funcall as well (bug#8712). Warn when performing those conversions.
15384 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15385
79106a44
SM
15386 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15387
88dfa756
GM
153882011-05-22 Glenn Morris <rgm@gnu.org>
15389
15390 * files.el (hack-local-variables-prop-line): Small simplifications.
15391 (hack-local-variables, hack-local-variables-prop-line):
15392 If MODE-ONLY, return the mode, rather than just `t'.
15393
b7cf2c79
SM
153942011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15395
15396 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15397
3f1a8558
GM
153982011-05-21 Glenn Morris <rgm@gnu.org>
15399
7e4ccca3
GM
15400 * files.el (hack-local-variables-prop-line, hack-local-variables):
15401 If only interested in the mode, don't bother doing the other stuff.
15402
637d46ca
GM
15403 * image-mode.el (image-after-revert-hook):
15404 Redraw all frames on which the image is visible. (Bug#8567)
15405
973d955b
GM
15406 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15407
3f1a8558
GM
15408 * wid-edit.el (widget-checklist-match-inline):
15409 Fix 2011-04-19 change. (Bug#8649)
15410
96479927
SM
154112011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15412
1dcf791f
SM
15413 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15414 Also allow singlespace after single-letter capitals followed by a dot.
15415
96479927
SM
15416 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15417 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15418
35fd0881
N
154192011-05-20 Nix <nix@esperi.org.uk>
15420
15421 * files.el (basic-save-buffer-2):
15422 Fix handling of break-hardlink-on-save with non-existent files.
15423
82745640
DD
154242011-05-19 Deniz Dogan <deniz@dogan.se>
15425
15426 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 15427 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 15428
4a720484
GM
154292011-05-19 Glenn Morris <rgm@gnu.org>
15430
d1f21341
GM
15431 * progmodes/f90.el (f90-type-def-re):
15432 Handle "type, bind(c)". (Bug#8691)
15433
4a720484
GM
15434 * emacs-lisp/autoload.el (batch-update-autoloads):
15435 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15436
2fb0a219
MA
154372011-05-18 Michael Albinus <michael.albinus@gmx.de>
15438
15439 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15440 property for the correct connection in case of multihops.
15441
e565dd37
GM
154422011-05-18 Glenn Morris <rgm@gnu.org>
15443
c2571358 15444 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15445 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15446
e565dd37
GM
15447 Rationalize calendar handling of day and month abbrev-arrays.
15448 * calendar/calendar.el (calendar-customized-p): New function.
15449 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15450 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15451 Add :set function.
15452 (calendar-abbrev-length, calendar-day-abbrev-array)
15453 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15454 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15455 Elements may no longer be nil.
15456 (calendar-day-name, calendar-month-name):
15457 Update for changed nature of abbrev arrays.
15458 * calendar/diary-lib.el (diary-name-pattern):
15459 Update for changed nature of abbrev arrays.
15460 (diary-mark-entries-1): Update calendar-make-alist calls.
15461 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15462 * calendar/cal-html.el (cal-html-day-abbrev-array):
15463 Simply inherit from calendar-day-abbrev-array.
15464
1d99a745
SM
154652011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15466
15467 * progmodes/grep.el (grep-mode): Disable default
15468 compilation-directory-matcher setting (bug#8684).
15469
7c1d9aa0
MA
154702011-05-17 Michael Albinus <michael.albinus@gmx.de>
15471
15472 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15473 instead of "head" and "tail". There were problems with SunOS 5.9,
15474 and it performs better.
15475
3952e9d8
GM
154762011-05-17 Glenn Morris <rgm@gnu.org>
15477
2dd12e7f
GM
15478 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15479
e4157b9c
GM
15480 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15481 Replace obsolete function.
15482
8e249bbd
GM
15483 * shell.el (pcomplete-parse-arguments-function): Declare.
15484
3952e9d8
GM
15485 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15486 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15487 (appt-check): Doc fixes.
15488 (appt-disp-window-function, appt-delete-window-function):
15489 Remove needless special case in custom :type.
15490 (appt-display-count): Default to 0, not nil.
15491 (appt-check): Reset appt-display-count to 0, not nil.
15492
c71a0d48 154932011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15494
c71a0d48
GM
15495 * progmodes/python.el (python-font-lock-keywords):
15496 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15497
31d55be9
SM
154982011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15499
15500 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15501
3bfacb2f
KR
155022011-05-16 Kevin Ryde <user42@zip.com.au>
15503
15504 * info-look.el (makefile-automake-mode): New setups, looking in
15505 automake manual, then makefile-mode.
15506 (makefile-mode): Remove automake manual, have it just in
15507 makefile-automake-mode since there's various things different or
15508 not relevant to plain make.
15509 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15510 believe a hypothetical automake-mode would go to makefile-mode,
15511 not the other way around.
15512
c8e83751
CY
155132011-05-15 Chong Yidong <cyd@stupidchicken.com>
15514
5e9e35cd
CY
15515 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15516 hunk-end tags (Bug#8672).
15517
c8e83751
CY
15518 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15519 vc-annotate-show-diff-revision-at-line (Bug#8671).
15520
50b23e5a
GM
155212011-05-14 Glenn Morris <rgm@gnu.org>
15522
7210a739
GM
15523 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15524 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15525 (change-log-font-lock-keywords): Also handle multiple author lines
15526 with leading tabs. (Bug#8644)
7210a739 15527
4691905a
GM
15528 * calendar/appt.el (appt-check): Rename some local variables.
15529 Some simplification/reordering.
15530
50b23e5a
GM
15531 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15532 (feedmail-sendmail-f-doesnt-sell-me-out)
15533 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15534 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15535 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15536 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15537 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15538 (feedmail-binmail-gnulinuxish-template):
15539 Rename from feedmail-binmail-linuxish-template.
15540 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15541 Use insert-buffer-substring.
15542
215cda7c
BC
155432011-05-14 Bill Carpenter <bill@carpenter.org>
15544
15545 * mail/feedmail.el (feedmail-patch-level): Increase.
15546 (feedmail-debug): New custom group.
15547 (feedmail-confirm-outgoing-timeout)
15548 (feedmail-sendmail-f-doesnt-sell-me-out)
15549 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15550 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15551 (feedmail-sender-line, feedmail-from-line)
15552 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15553 (feedmail-spray-this-address)
215cda7c
BC
15554 (feedmail-spray-address-fiddle-plex-list)
15555 (feedmail-queue-use-send-time-for-date)
15556 (feedmail-queue-use-send-time-for-message-id)
15557 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15558 (feedmail-buffer-eating-function):
15559 Doc fixes.
15560 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15561 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15562 (feedmail-message-action-scroll-down): New functions.
15563 (feedmail-queue-directory, feedmail-queue-draft-directory):
15564 Use expand-file-name.
15565 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15566 Remove C-v help entry.
15567 (feedmail-queue-buffer-file-name): New variable.
15568 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15569 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15570 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15571 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15572 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15573 (feedmail-message-action-toggle-spray)
15574 (feedmail-run-the-queue-no-prompts)
15575 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15576 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15577 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15578 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15579 (feedmail-envelope-deducer, feedmail-fiddle-from)
15580 (feedmail-fiddle-sender, feedmail-default-date-generator)
15581 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15582 (feedmail-fiddle-spray-address)
15583 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15584 (feedmail-fiddle-list-of-fiddle-plexes)
15585 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15586 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15587 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15588 Change default. Doc fix.
15589 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15590 (feedmail-binmail-linuxish-template): New constant.
15591 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15592 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15593 (feedmail-send-it): Add debug call.
15594 Use feedmail-queue-buffer-file-name, and
15595 feedmail-send-it-immediately-wrapper.
15596 (feedmail-message-action-send): Add debug call.
15597 Use feedmail-send-it-immediately-wrapper.
15598 (feedmail-queue-express-to-queue): Add debug call.
15599 Run feedmail-queue-express-hook.
15600 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15601 (feedmail-message-action-help-blat):
15602 Rename from feedmail-queue-send-edit-prompt-help-first.
15603 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15604 Check line-endings. Handle errors better.
15605 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15606 Doc fix. Add debug call.
15607 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15608 Use feedmail-queue-send-edit-prompt-inner.
15609 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15610 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15611 from feedmail-queue-send-edit-prompt.
15612 (feedmail-queue-send-edit-prompt-help)
15613 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15614 (feedmail-tidy-up-slug): Add debug call.
15615 Respect feedmail-queue-slug-suspect-regexp.
15616 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15617 (feedmail-dump-message-to-queue): Add debug call.
15618 Expand queue-directory.
15619 (feedmail-dump-message-to-queue): Change message slightly.
15620 Use feedmail-say-chatter.
15621 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15622 (feedmail-send-it-immediately-wrapper): New function.
15623 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15624 Insert empty string rather than newline. Handle full-frame case.
15625 Use catch/throw. Use feedmail-say-chatter.
15626 (feedmail-fiddle-from): Try mail-host-address.
15627 (feedmail-default-message-id-generator): Doc fix.
15628 Bind system-time-locale. Handle missing end.
15629 (feedmail-fiddle-x-mailer): Add debug call.
15630 Handle feedmail-x-mailer-line being nil.
15631 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15632 Add debug call. Use buffer-substring-no-properties.
15633 (feedmail-say-debug, feedmail-say-chatter): New functions.
15634 (feedmail-find-eoh): Give an explicit error.
15635
42c7e61e
UJ
156362011-05-13 Ulf Jasper <ulf.jasper@web.de>
15637
c2571358 15638 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15639 family from helvetica to sans.
c2571358 15640 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15641 etc/images/newsticker.
15642
c2571358 15643 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15644 family from helvetica to sans.
15645
15646 * net/newst-plainview.el (newsticker-new-item-face)
15647 (newsticker-old-item-face, newsticker-immortal-item-face)
15648 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15649 (newsticker-statistics-face): Change default family from
42c7e61e 15650 helvetica to sans.
c2571358 15651 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15652 etc/images/newsticker.
15653
5d3385a0
JB
15654 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15655 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15656 auto-marking.
15657
8497a297
DV
156582011-05-13 Didier Verna <didier@xemacs.org>
15659
15660 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15661 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15662 TODO entries.
8497a297
DV
15663 (lisp-lambda-list-keyword-parameter-indentation)
15664 (lisp-lambda-list-keyword-parameter-alignment)
15665 (lisp-lambda-list-keyword-alignment): New customizable user options.
15666 (lisp-indent-defun-method): Improve docstring.
15667 (extended-loop-p): Fix comment.
15668 (lisp-indent-lambda-list-keywords-regexp): New variable.
15669 (lisp-indent-lambda-list): New function.
15670 (lisp-indent-259): Use it.
15671 (lisp-indent-defmethod): Support for more than one
15672 method qualifier and properly indent methods lambda-lists.
15673 (defgeneric): Provide a missing common-lisp-indent-function property.
15674
f278f87f
SM
156752011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15678 bounds for the empty string (bug#8667).
15679
5233edd7
GM
156802011-05-13 Glenn Morris <rgm@gnu.org>
15681
5237a44f
GM
15682 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15683
8340026c 15684 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15685 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15686
5233edd7 15687 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15688 (appt-time-msg-list): Doc fix.
a5464014 15689 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15690
92d10796
AS
156912011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15692
15693 * progmodes/ld-script.el (ld-script-keywords)
15694 (ld-script-builtins): Update keywords list.
15695
914a0ae1
SM
156962011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15697
c89be45f
SM
15698 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15699
914a0ae1
SM
15700 * shell.el (shell-completion-vars): New function.
15701 (shell-mode):
15702 * simple.el (read-shell-command): Use it.
15703 (blink-matching-open): No need for " [...]" in minibuffer-message.
15704
98dc3df3
GM
157052011-05-12 Glenn Morris <rgm@gnu.org>
15706
15707 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15708 (appt-check): Simplify.
15709
d2fc7e3d 157102011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15711
4d61f28d 15712 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15713 literal "/dev/null".
15714
d2fc7e3d 157152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15716
15717 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15718 Fix typo.
15719
d2fc7e3d 157202011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15721
3f254caa
SM
15722 * progmodes/which-func.el (which-function):
15723 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15724 which might not be defined (Bug#8260).
15725
d45885f7
GM
157262011-05-12 Glenn Morris <rgm@gnu.org>
15727
15728 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15729 Let byte-compile-initial-macro-environment always take precedence.
15730
488086f4
SM
157312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15732
15733 * net/rcirc.el: Add support for SSL/TLS connections.
15734 (rcirc-server-alist): New field `encryption'.
15735 (rcirc): Check `encryption' settings.
15736 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15737 Merge make-local-variable into `set'.
15738 (rcirc--connection-open-p): New function.
15739 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15740 the process is not a network process (e.g. running gnutls-cli).
15741 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15742 Make rcirc-(en|de)code-coding-system local here.
15743 (rcirc-mode): Merge make-local-variable into `set'.
15744 (rcirc-parent-buffer): Make permanent buffer-local.
15745 (rcirc-multiline-minor-mode): Don't do it here.
15746 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15747 there's no server buffer.
15748
7d3b9d44
GM
157492011-05-11 Glenn Morris <rgm@gnu.org>
15750
f64049c6
GM
15751 * newcomment.el (comment-kill): Prefix "unused" local.
15752
93c9df73
GM
15753 * term/w32console.el (get-screen-color): Declare.
15754
7d3b9d44
GM
15755 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15756 Handle symbol elements of byte-compile-initial-macro-environment.
15757
9e2dd53f
LL
157582011-05-10 Leo Liu <sdl.web@gmail.com>
15759
488086f4
SM
15760 * bookmark.el (bookmark-bmenu-mode-map):
15761 Bind bookmark-bmenu-search to `/'.
8b340240 15762
9e2dd53f 15763 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15764 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15765 (Footnote-unicode): New function.
15766 (footnote-style-alist): Add unicode style to the list.
15767 (footnote-style): Doc fix.
9e2dd53f 15768
79b70037
GM
157692011-05-10 Jim Meyering <meyering@redhat.com>
15770
15771 Fix doubled-word typos.
15772 * international/quail.el (quail-insert-kbd-layout): and and -> and
15773 * kermit.el: and and -> and
15774 * net/ldap.el (ldap-search-internal): to to -> to
15775 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15776 * progmodes/js.el (js-mode): and and -> and
15777 * textmodes/artist.el (artist-move-to-xy): at at -> at
15778 (artist-draw-region-trim-line-endings): if if -> if
15779 And Safetyc -> Safety.
15780 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15781
b8f82dc1 157822011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15783 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15784
15785 * files.el (hack-one-local-variable-eval-safep):
15786 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15787
4f99f44b
GM
157882011-05-10 Glenn Morris <rgm@gnu.org>
15789
15790 * calendar/diary-lib.el (diary-list-entries-hook)
15791 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15792 (diary-nongregorian-marking-hook, diary-list-entries)
15793 (diary-include-other-diary-files, diary-mark-entries)
15794 (diary-mark-included-diary-files): Doc fixes.
15795
84f29e6b
JB
157962011-05-09 Juanma Barranquero <lekktu@gmail.com>
15797
15798 * misc.el: Require tabulated-list.el during compilation.
15799
9bedd73a
CY
158002011-05-09 Chong Yidong <cyd@stupidchicken.com>
15801
488086f4
SM
15802 * progmodes/compile.el (compilation-start):
15803 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15804 (compilation-filter-hook): Doc fix.
15805
797c735c
DD
158062011-05-09 Deniz Dogan <deniz@dogan.se>
15807
15808 * wdired.el: Remove outdated installation comment. Fix usage
15809 comment.
15810
5f4b1dfe
JB
158112011-05-09 Juanma Barranquero <lekktu@gmail.com>
15812
15813 * misc.el: Implement new command `list-dynamic-libraries'.
15814 (list-dynamic-libraries--loaded-only-p): New variable.
15815 (list-dynamic-libraries--refresh): New function.
15816 (list-dynamic-libraries): New command.
15817
4c44026c
CY
158182011-05-09 Chong Yidong <cyd@stupidchicken.com>
15819
488086f4
SM
15820 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15821 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15822 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15823 higher priority to avoid clobbering by gnu.
15824
027f966d
CY
158252011-05-08 Chong Yidong <cyd@stupidchicken.com>
15826
15827 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15828 if the face has existing theme settings (Bug#8454).
15829
085f5d7d
CY
158302011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15831
488086f4
SM
15832 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15833 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15834
2a86a00c
RS
15835 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15836 special file names `.' and `..' (Bug#8259).
15837
d9c54a06
CY
158382011-05-08 Chong Yidong <cyd@stupidchicken.com>
15839
488086f4
SM
15840 * progmodes/grep.el (grep-mode-font-lock-keywords):
15841 Remove buffer-changing entries.
d9c54a06
CY
15842 (grep-filter): New function.
15843 (grep-mode): Add it to compilation-filter-hook.
15844
15845 * progmodes/compile.el (compilation-filter-hook)
15846 (compilation-filter-start): New defvars.
15847 (compilation-filter): Call compilation-filter-hook prior to
15848 updating the process mark.
15849
c4662635
SM
158502011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15851
15852 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15853
b0512a1d
EZ
158542011-05-07 Eli Zaretskii <eliz@gnu.org>
15855
605c9376
EZ
15856 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15857 mailclient-send-it even if window-system is nil. (Bug#8595)
15858
c4662635
SM
15859 * term/w32console.el (terminal-init-w32console):
15860 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15861 background-mode. (Bug#8597)
15862
d1dc2cc2
SM
158632011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15866 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15867 New functions.
15868 (defgeneric, eieio--defmethod): Use them.
15869 (eieio-defgeneric): Remove.
15870 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15871
915d1300
GM
158722011-05-07 Glenn Morris <rgm@gnu.org>
15873
a3961c3e
GM
15874 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15875 Use let rather than let*.
15876 (timeclock-find-discrep): Remove unused local.
15877
314347b9
GM
15878 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15879
915d1300
GM
15880 * calendar/appt.el (appt-time-msg-list): Doc fix.
15881
275b59b0
NF
158822011-05-06 Noah Friedman <friedman@splode.com>
15883
15884 * apropos.el (apropos-print-doc): Only use
15885 emacs-lisp-docstring-fill-column when it is bound to an integer,
15886 per that variable's documentation.
15887
6c19f744
SM
158882011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15889
15890 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15891 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15892
60f884b2
GM
158932011-05-06 Glenn Morris <rgm@gnu.org>
15894
5006e634
GM
15895 * calendar/appt.el (appt-message-warning-time): Doc fix.
15896 (appt-warning-time-regexp): New option.
15897 (appt-make-list): Respect appt-message-warning-time.
15898
548d0a63
GM
15899 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15900 New options.
15901 (diary-add-to-list): Strip comments from the displayed string.
15902 (diary-mode): Set comment-start and comment-end.
15903
60f884b2
GM
15904 * vc/diff-mode.el (smerge-refine-subst): Declare.
15905 (diff-refine-hunk): Don't require smerge-mode when compiling.
15906
989681bb
JB
159072011-05-06 Juanma Barranquero <lekktu@gmail.com>
15908
15909 * simple.el (list-processes): Return nil as the docstring says.
15910
a6bc05e1
MA
159112011-05-05 Michael Albinus <michael.albinus@gmx.de>
15912
15913 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15914 to "".
15915 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15916 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15917 determining of binary transfer. (Bug#7383)
15918
23c22e9a
MA
159192011-05-05 Michael Albinus <michael.albinus@gmx.de>
15920
c4662635
SM
15921 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15922 Fix port computation bug. (Bug#8618)
23c22e9a 15923
0bff894f
GM
159242011-05-05 Glenn Morris <rgm@gnu.org>
15925
b8296902
GM
15926 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15927
1f522ce8
GM
15928 * simple.el (shell-dynamic-complete-functions)
15929 (comint-dynamic-complete-functions): Declare.
15930
cf5bee67
GM
15931 * net/network-stream.el (gnutls-negotiate):
15932 * simple.el (tabulated-list-print): Fix declarations.
15933
15934 * progmodes/gud.el (syntax-symbol, syntax-point):
15935 Remove unnecessary and incorrect declarations.
15936
0bff894f
GM
15937 * emacs-lisp/check-declare.el (check-declare-scan):
15938 Handle byte-compile-initial-macro-environment in bytecomp.el
15939
9869b3ae
SM
159402011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15941
15942 Fix earlier half-done eieio-defmethod change (bug#8338).
15943 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15944 Streamline and change calling convention.
15945 (defmethod): Adjust accordingly and simplify.
15946 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15947 new eieio--defmethod.
15948 (slot-boundp): Minor CSE simplification.
15949
9c1d5ac5
MZ
159502011-05-05 Milan Zamazal <pdm@zamazal.org>
15951
15952 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15953 (glasses-make-readable): Use glasses-separate-capital-groups.
15954
455c834e
JB
159552011-05-05 Juanma Barranquero <lekktu@gmail.com>
15956
15957 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15958 (warning-series): Doc fix.
15959 (display-warning): Don't try to create the buffer if we just found it.
15960
9ed7c8cb
CY
159612011-05-04 Chong Yidong <cyd@stupidchicken.com>
15962
15963 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15964 (autoload-find-generated-file): New function.
15965 (generate-file-autoloads): Bind generated-autoload-file to
15966 buffer-file-name.
9869b3ae
SM
15967 (update-file-autoloads, update-directory-autoloads):
15968 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15969 output file (Bug#7989).
15970 (batch-update-autoloads): Doc fix.
15971
0898ca10
JB
159722011-05-04 Juanma Barranquero <lekktu@gmail.com>
15973
15974 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15975
31dfb76c
GM
159762011-05-04 Glenn Morris <rgm@gnu.org>
15977
f330b642
GM
15978 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15979 function, so it follows changes in calendar-date-style.
15980 (diary-fancy-date-matcher): New function.
15981 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15982 (diary-fancy-font-lock-fontify-region-function):
15983 Use diary-fancy-date-pattern as a function.
15984
31dfb76c
GM
15985 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15986 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15987
48e79d6a
TZ
159882011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15989
15990 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15991 instead of positional arguments. Allow :keylist and :crlfiles
15992 arguments.
15993 (open-gnutls-stream): Call it.
15994
15995 * net/network-stream.el (network-stream-open-starttls): Adjust to
15996 call `gnutls-negotiate' with :process and :hostname arguments.
15997
dd5a5ee0
SM
159982011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15999
ef80fc09
SM
16000 * minibuffer.el (completion--message): New function.
16001 (completion--do-completion, minibuffer-complete)
16002 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16003 (completion--do-completion): Don't ignore completion-auto-help when in
16004 icomplete-mode.
16005
dd5a5ee0
SM
16006 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16007 internal encoding (e.g. tibetan zero is not whitespace).
16008 (global-whitespace-mode): Prefer save-current-buffer.
16009 (whitespace-trailing-regexp): Remove useless save-match-data.
16010 (whitespace-empty-at-bob-regexp): Minor simplification.
16011
b7d22a83
CY
160122011-05-03 Chong Yidong <cyd@stupidchicken.com>
16013
16014 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16015
5192af46
AM
160162011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16017
16018 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16019 Use `concat' to create string for insertion.
5192af46 16020
5767d190
SM
160212011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16024 Avoid open-line which runs post-self-insert-hook.
16025 (bibtex-fill-entry): Remove unused `end' var.
16026
bf242939
AM
160272011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16028
5767d190
SM
16029 * textmodes/ispell.el (ispell-add-per-file-word-list):
16030 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16031
25666126
LL
160322011-05-03 Leo Liu <sdl.web@gmail.com>
16033
16034 * isearch.el (isearch-yank-pop): New command.
5767d190 16035 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16036 (isearch-forward): Mention it.
16037
52d3c2d0
SM
160382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16039
1bcace58
SM
16040 * simple.el (minibuffer-complete-shell-command): Remove.
16041 (minibuffer-local-shell-command-map): Use completion-at-point.
16042 (read-shell-command): Setup completion vars here instead.
16043 (read-expression-map): Bind TAB to symbol completion.
16044
52d3c2d0
SM
16045 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16046 error directly rather via storing it into `results'.
16047
35813471
LL
160482011-05-02 Leo Liu <sdl.web@gmail.com>
16049
16050 * vc/diff.el: Fix description.
16051
e793a940
LMI
160522011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16053
16054 * server.el (server-eval-at): New function.
16055
8de66e05
LMI
160562011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16057
16058 * net/network-stream.el (open-network-stream): Take a :nowait
16059 parameter and pass it on to `make-network-process'.
16060 (network-stream-open-plain): Ditto.
16061
dcb79f20
AS
160622011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16063
16064 * faces.el (face-spec-set-match-display): Don't match toolkit
16065 options on terminal frames.
16066
14a7fbd8
SM
160672011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16068
7eabc1be
SM
16069 * progmodes/pascal.el: Use lexical binding.
16070 (pascal-mode-map): Remove author preferences.
16071
14a7fbd8
SM
16072 * pcomplete.el (pcomplete-std-complete): Don't abuse
16073 completion-at-point.
16074
50f84510
JB
160752011-04-28 Juanma Barranquero <lekktu@gmail.com>
16076
6e087a44
JB
16077 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16078 removing code that has been dead since 1991 or so.
16079
50f84510
JB
16080 * startup.el (command-line): When warning about "_emacs", use a
16081 delayed warning to allow the user to filter it out.
16082
0ba690bd
DD
160832011-04-28 Deniz Dogan <deniz@dogan.se>
16084
16085 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16086 user has not joined.
16087
08abfaad
SM
160882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16089
16090 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16091 aren't any completions at point.
16092
638f053a
JB
160932011-04-28 Juanma Barranquero <lekktu@gmail.com>
16094
16095 * subr.el (display-delayed-warnings): New function.
16096 (delayed-warnings-hook): New variable.
16097
8fff8daa
SM
160982011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16099
08abfaad
SM
16100 * minibuffer.el (completion-at-point, completion-help-at-point):
16101 Don't presume that a given completion-at-point-function will always
16102 use the same calling convention.
16103
8fff8daa
SM
16104 * pcomplete.el (pcomplete-completions-at-point):
16105 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16106 pcomplete-seen is non-nil.
16107 (pcomplete-comint-setup): Also recognize the new comint/shell
16108 completion functions.
16109 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16110 pcomplete-seen is non-nil.
16111
841a1577 161122011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16113
841a1577 16114 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16115 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16116 the first character in the entry. This allows for code to add its
211ec907
UJ
16117 own uid to the entry.
16118 (icalendar--convert-float-to-ical): Add export of
16119 `diary-float'-entries save for those with the optional DAY
16120 argument.
16121
2a782793
DC
161222011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16123
16124 * subr.el (shell-quote-argument): Use alternate escaping strategy
16125 when we spot a variable reference in a string.
16126
0438ce91
DC
161272011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16128
16129 * cus-start.el (all): Define customization for debug-on-event.
16130
841a1577 161312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16132
16133 * subr.el (shell-quote-argument): Escape correctly under Windows.
16134
d090ed6c
SM
161352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16138
bfd31217
MA
161392011-04-25 Michael Albinus <michael.albinus@gmx.de>
16140
d090ed6c
SM
16141 * net/tramp.el (tramp-process-actions): Add POS argument.
16142 Delete region between POS and (pos).
bfd31217 16143
d090ed6c
SM
16144 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16145 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16146 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16147
16148 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16149 position in `tramp-process-actions' call.
16150
16151 * net/trampver.el: Update release number.
16152
e92f3bd3
SM
161532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16154
850256b5
SM
16155 * custom.el (defcustom): Obey lexical-binding.
16156
e92f3bd3
SM
16157 Fix octave-inf completion problems reported by Alexander Klimov.
16158 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16159 Inherit from octave-mode-syntax-table.
16160 (inferior-octave-mode): Set info-lookup-mode.
16161 (inferior-octave-completion-at-point): New function.
16162 (inferior-octave-complete): Use it and completion-in-region.
16163 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16164 comint-filename-completion.
16165 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16166 symbol elements which shouldn't be word elements.
16167 (octave-font-lock-keywords, octave-beginning-of-defun)
16168 (octave-function-header-regexp): Adjust regexps accordingly.
16169 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16170
cd22b309
JB
161712011-04-25 Juanma Barranquero <lekktu@gmail.com>
16172
16173 * net/gnutls.el (gnutls-errorp): Declare before first use.
16174
8b492194
TZ
161752011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16176
16177 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16178 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16179 default trustfile exists before going to use it. Add missing
5a5fa834 16180 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16181 Reported by Claudio Bley <claudio.bley@gmail.com>.
16182 (open-gnutls-stream): Add usage example.
16183
16184 * net/network-stream.el (network-stream-open-starttls): Give host
16185 parameter to `gnutls-negotiate'.
16186 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16187 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16188
841a1577 161892011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16190
cd22b309
JB
16191 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16192 Use correct match group (bug#8438).
05842630 16193
3ba7869c
CY
161942011-04-24 Chong Yidong <cyd@stupidchicken.com>
16195
512e3ae1
CY
16196 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16197 (package-menu--generate): New arg specifying packages to show.
16198 (package-menu-refresh, package-menu-execute, list-packages):
16199 Callers changed.
16200 (package-show-package-list): New function, replacing deleted
16201 package--list-packages (renamed because it is non-internal).
16202
16203 * finder.el (finder-list-matches): Use package-show-package-list
16204 instead of deleted package--list-packages.
16205
e92f3bd3
SM
16206 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16207 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16208 (vc-annotate-mode-map): Bind it to RET.
16209
7031be6d
UR
162102011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16211
16212 * progmodes/etags.el (next-file): Don't use set-buffer to change
16213 buffers (Bug#8478).
16214
4ef177aa
CY
162152011-04-24 Chong Yidong <cyd@stupidchicken.com>
16216
c8d173eb
CY
16217 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16218
4ef177aa
CY
16219 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16220 (apropos-accumulator): Doc fix.
16221 (apropos-function, apropos-macro, apropos-command)
16222 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16223 (apropos-plist): Add face property.
16224 (apropos-symbols-internal): Fix indentation.
16225 (apropos-print): Simplify help, and recognize apropos-multi-type.
16226 (apropos-print-doc): Use button-type-get to extract the button's
16227 face property. Fill docstring (Bug#8352).
16228
4ffd0d6b 162292011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
16230
16231 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16232
c6c32125 16233 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 16234 (mpuz-mode-map): Use mapc.
c6c32125
JB
16235 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16236 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16237 Fix typos in docstrings.
16238
58d468b4
JB
16239 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16240 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16241
6470c3c6
JB
16242 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16243
4ffd0d6b 162442011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
16245
16246 * minibuffer.el (completion--do-completion): Avoid the "Next char
16247 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16248
3ad8bad0
CY
16249 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16250 mouse-2 into unread-command-events, it is interpreted correctly.
16251
71d73c9c 16252 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 16253 (image-toggle-display): Doc fix.
71d73c9c 16254
841a1577 162552011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 16256
4ffd0d6b
GM
16257 * textmodes/page.el (what-page): Use line-number-at-pos to
16258 calculate line number (Bug#6825).
6e1dbaa9 16259
c2fb1b60
JB
162602011-04-22 Juanma Barranquero <lekktu@gmail.com>
16261
16262 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16263 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16264 Pass argument NO-DEFAULT to `find-tag-interactive'.
16265
e02f48d7
JB
162662011-04-22 Juanma Barranquero <lekktu@gmail.com>
16267
16268 Lexical-binding cleanup.
16269
16270 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16271 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16272 * progmodes/ada-prj.el (ada-prj-initialize-values)
16273 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16274 (ada-prj-show-value):
16275 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16276 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16277 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16278 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16279 * progmodes/bug-reference.el (bug-reference-push-button):
16280 * progmodes/fortran.el (fortran-line-length):
16281 * progmodes/glasses.el (glasses-change):
16282 * progmodes/octave-mod.el (octave-fill-paragraph):
16283 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16284 (python-pdbtrack-grub-for-buffer, python-sentinel):
16285 * progmodes/sql.el (sql-save-connection):
16286 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16287 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16288 Mark unused parameters.
16289
16290 * progmodes/compile.el (compilation--flush-directory-cache)
16291 (compilation--flush-parse, compile-internal): Mark unused parameters.
16292 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16293 (compilation-next-error-function): Remove unused variable `timestamp'.
16294
16295 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16296 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16297
16298 * progmodes/dcl-mode.el (dcl-end-of-command):
16299 Remove unused variable `start'.
16300 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16301 (dcl-option-value-basic, dcl-option-value-offset)
16302 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16303 Mark unused parameters.
16304 (dcl-save-local-variable): Remove unused variable `val'.
16305 (mode): Declare.
16306
16307 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16308 Mark unused parameters.
16309 (delphi-ignore-changes): Move before first use.
16310 (delphi-charset-token-at): Remove unused variable `start'.
16311 (delphi-else-start): Remove unused variable `if-count'.
16312 (delphi-comment-block-start, delphi-comment-block-end):
16313 Remove unused variable `kind'.
16314 (delphi-indent-line): Remove unused variable `new-point'.
16315
16316 * progmodes/ebrowse.el (ebrowse-files-list)
16317 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16318 Mark unused parameters. Don't quote `lambda'.
16319 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16320 Don't quote `lambda'.
16321 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16322 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16323 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16324 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16325 Use `ignore-errors'.
16326 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16327 (ebrowse-view/find-file-and-search-pattern)
16328 (ebrowse-view/find-member-declaration/definition):
16329 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16330 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16331 Rename parameter PREFIX-ARG to PREFIX.
16332 (ebrowse-tags-read-name): Remove unused variables `start' and
16333 `member-info'.
16334 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16335 to `tags-file'.
16336
16337 * progmodes/etags.el (local-find-tag-hook): Declare.
16338 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16339 Mark unused parameters.
16340
16341 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16342 (executable-interpret): Mark unused parameter.
16343
16344 * progmodes/flymake.el (flymake-process-sentinel)
16345 (flymake-after-change-function)
16346 (flymake-create-temp-with-folder-structure)
16347 (flymake-get-include-dirs-dot): Mark unused parameters.
16348 (flymake-safe-delete-directory): Remove unused variable `err'.
16349
16350 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16351 (speedbar-timer-fn, speedbar-line-text)
16352 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16353 (speedbar-center-buffer-smartly): Declare functions.
16354 (gdb-find-watch-expression): Remove unused variable `array'.
16355 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16356 (gdb-starting): Mark unused parameters.
16357 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16358 (gdb-table-string): Remove unused variable `res'.
16359 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16360 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16361 (gdb-display-buffer): Remove unused variable `cur-size'.
16362
16363 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16364 allow lexical-binding compilation.
16365 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16366 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16367 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16368 Mark unused parameters.
16369 (gud-gdb-marker-filter): Remove unused variable `match'.
16370 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16371 lambda expressions and funcall them, instead of using `fset'.
16372
16373 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16374 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16375
16376 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16377 variable `header-beg'; use `let'.
16378
16379 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16380 `restart', `last-sexp' and `at-do'.
16381
16382 * progmodes/js.el (js--debug): Mark unused parameter.
16383 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16384 (js--splice-into-items): Remove unused variable `item'.
16385 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16386
16387 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16388 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16389 (makefile-complete): Remove unused variable `try'.
16390 (makefile-fill-paragraph, makefile-match-function-end):
16391 Mark unused parameters.
16392
16393 * progmodes/octave-inf.el (inferior-octave-complete):
16394 Remove unused variable `proc'.
16395 (inferior-octave-output-digest): Mark unused parameter.
16396
16397 * progmodes/perl-mode.el (perl-calculate-indent):
16398 Remove unused variable `err'.
16399
16400 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16401 (prolog-indent-line): Mark unused parameters.
16402 (prolog-indent-line): Remove unused variable `beg'.
16403
16404 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16405 (reporter-dont-compact-list): Declare.
16406
16407 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16408 Remove unused variable `char'.
16409 (sh-debug): Mark unused parameter.
16410 (sh-get-indent-info): Remove unused variable `start'.
16411 (sh-calculate-indent): Remove unused variable `var'.
16412
16413 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16414 (simula-electric-keyword): Remove unused variable `null'.
16415 (simula-search-backward, simula-search-forward): Remove unused
16416 variables `begin' and `end'.
16417
16418 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16419 Remove unused variable `pos'.
16420 (vera-electric-tab, vera-comment-uncomment-region):
16421 Mark unused parameters.
16422 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16423
7ede3b65
CY
164242011-04-22 Chong Yidong <cyd@stupidchicken.com>
16425
16426 * emacs-lisp/package.el (package--builtins, package-alist)
16427 (package-load-descriptor, package-built-in-p, package-activate)
16428 (define-package, package-installed-p)
16429 (package-compute-transaction, package-buffer-info)
16430 (package--push): Doc fix. Distinguish more clearly between
16431 version strings and version lists.
16432
121656e9
JB
164332011-04-21 Juanma Barranquero <lekktu@gmail.com>
16434
16435 Lexical-binding cleanup.
16436
16437 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16438 (5x5-make-mutate-best):
16439 * play/fortune.el (fortune-in-buffer):
16440 * play/gomoku.el (gomoku-init-display):
16441 * play/solitaire.el (solitaire, solitaire-do-check):
16442 * play/tetris.el (tetris-default-update-speed-function):
16443 Mark unused parameters.
16444
16445 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16446 (bubbles--shift): Remove unused variable `char-org'.
16447 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16448 (bubbles--show-images): Remove unused variable `char'.
16449
16450 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16451 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16452 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16453 (decipher-analyze-buffer): Use ?\s.
16454 (decipher-make-checkpoint): Remove unused variable `mapping'.
16455
16456 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16457
16458 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16459 Remove unused variable `result'; use `let'.
16460
16461 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16462 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16463 (gametree-children-shown-p, gametree-compute-reduced-score):
16464 Use `ignore-errors'.
16465
16466 * play/handwrite.el (ps-lpr-switches): Declare.
16467 (handwrite): Remove unused variables `pmin' and `lastp'.
16468
16469 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16470
16471 * play/landmark.el (landmark-init-display)
16472 (landmark-update-naught-weights): Mark unused parameters.
16473 (landmark-y): Remove unused variable `noise'. Simplify.
16474 (landmark-human-plays): Remove unused variable `score'.
16475
16476 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16477 (mpuz-try-proposal): Remove unused variable `game'.
16478
16479 * play/zone.el (life-patterns): Declare.
16480
80f499c7
JB
164812011-04-20 Juanma Barranquero <lekktu@gmail.com>
16482
16483 * vc/vc.el (ediff-vc-internal): Declare function.
16484
024ff170
SM
164852011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16486
c0a193ea
SM
16487 * shell.el: Use lexical-binding and std completion UI.
16488 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16489 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16490 comint-preoutput-filter-functions rather than on
16491 comint-output-filter-functions.
16492 (shell-command-completion, shell--command-completion-data)
16493 (shell-filename-completion, shell-environment-variable-completion)
16494 (shell-c-a-p-replace-by-expanded-directory): New functions.
16495 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16496 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16497 (shell-dynamic-complete-environment-variable): Use them.
16498 (shell-dynamic-complete-as-environment-variable)
16499 (shell-dynamic-complete-as-command): Remove.
16500 (shell-match-partial-variable): Match past point.
16501 * comint.el: Clean up use of completion-at-point-functions.
16502 (comint-completion-at-point): New function.
16503 (comint-mode): Use it completion-at-point-functions.
16504 (comint-dynamic-complete): Make it obsolete.
16505 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16506 (comint-c-a-p-replace-by-expanded-history): New function.
16507 (comint-dynamic-complete-functions)
16508 (comint-replace-by-expanded-history): Use it.
16509 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16510 termination strings. Try harder to avoid second try-completion.
16511 (completion-in-region-mode-map): Disable bindings that don't work yet.
16512
2dbaa080
SM
16513 * comint.el: Use lexical-binding. Require CL.
16514 (comint-dynamic-complete-functions): Use comint-filename-completion.
16515 (comint-completion-addsuffix): Tweak custom type.
16516 (comint-filename-completion, comint--common-suffix)
16517 (comint--common-quoted-suffix, comint--table-subvert)
16518 (comint--complete-file-name-data): New functions.
16519 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16520 (comint-dynamic-list-filename-completions): Use them.
16521 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16522
2dbaa080
SM
16523 * minibuffer.el (completion-in-region-mode):
16524 Keep completion-in-region-mode--predicate global.
16525 (completion-in-region--postch):
16526 Assume completion-in-region-mode--predicate is not null.
16527
c79a6f38
SM
16528 * progmodes/flymake.el (flymake-start-syntax-check-process):
16529 Obey `dir'. Simplify.
16530
024ff170
SM
16531 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16532 we're in VC after all.
16533
1c6c854e
CS
165342011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16535
16536 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16537 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16538 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16539
bed7f140
SM
165402011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16541
332e62ab
SM
16542 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16543 add sanity check.
16544
bed7f140
SM
16545 * obsolete/erc-hecomplete.el: Make obsolete.
16546 * obsolete/: Standardize obsolescence info in the header.
16547
f195c582
GM
165482011-04-20 Glenn Morris <rgm@gnu.org>
16549
16550 * calendar/solar.el (solar-horizontal-coordinates):
16551 Use the longitude argument rather than `calendar-longitude'.
16552 (solar-date-next-longitude): Remove unused locals.
16553
cb79b8c0
VJL
165542011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16555
16556 * whitespace.el: New version 13.2.1.
16557
165582011-04-20 felix <EmacsWiki> (tiny change)
16559
d8e4b68b 16560 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16561 switching between major modes on a file.
16562
602ea69d
SM
165632011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16564
16565 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16566 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16567 multi-line comments as well.
16568
06b60517
JB
165692011-04-19 Juanma Barranquero <lekktu@gmail.com>
16570
16571 Lexical-binding cleanup.
16572
16573 * arc-mode.el (archive-mode-revert):
16574 * cmuscheme.el (scheme-interactively-start-process):
16575 * custom.el (custom-initialize-delay):
16576 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16577 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16578 * emacs-lock.el (emacs-lock-clear-sentinel):
16579 * ezimage.el (defezimage):
16580 * follow.el (follow-avoid-tail-recenter):
16581 * fringe.el (set-fringe-mode-1):
16582 * generic-x.el (bat-generic-mode-compile):
16583 * help-mode.el (help-info-variable, help-do-xref)
16584 (help-mode-revert-buffer):
16585 * help.el (view-emacs-todo):
16586 * iswitchb.el (iswitchb-completion-help):
16587 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16588 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16589 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16590 * locate.el (locate-update):
16591 * longlines.el (longlines-encode-region)
16592 (longlines-after-change-function):
16593 * outline.el (outline-isearch-open-invisible):
16594 * ps-def.el (declare-function, charset-dimension, char-width)
16595 (encode-char):
16596 * ps-mule.el (ps-mule-plot-string):
16597 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16598 (recentf-edit-list-select, recentf-edit-list-validate)
16599 (recentf-open-files-action):
16600 * rect.el (delete-whitespace-rectangle-line)
16601 (rectangle-number-line-callback):
16602 * register.el (window-configuration-to-register)
16603 (frame-configuration-to-register):
16604 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16605 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16606 (xselect-convert-to-targets, xselect-convert-to-delete)
16607 (xselect-convert-to-filename, xselect-convert-to-charpos)
16608 (xselect-convert-to-lineno, xselect-convert-to-colno)
16609 (xselect-convert-to-os, xselect-convert-to-host)
16610 (xselect-convert-to-user, xselect-convert-to-class)
16611 (xselect-convert-to-name, xselect-convert-to-integer)
16612 (xselect-convert-to-atom, xselect-convert-to-identity):
16613 * subr.el (declare, ignore, process-kill-without-query)
16614 (text-clone-maintain):
16615 * terminal.el (te-get-char, te-tic-sentinel):
16616 * tool-bar.el (tool-bar-make-keymap):
16617 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16618 * type-break.el (type-break-mode, type-break-noninteractive-query):
16619 * view.el (View-back-to-mark):
16620 * wid-browse.el (widget-browse-action, widget-browse-widget)
16621 (widget-browse-widgets, widget-browse-sexp):
16622 * widget.el (define-widget-keywords):
16623 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16624 Mark unused parameters.
16625
16626 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16627 (align-areas): Remove unused variable `look'.
16628 (align-region): Remove unused variables `real-end' and `pos-list'.
16629
16630 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16631
16632 * bindings.el (mode-line-modified, mode-line-remote):
16633 Mark unused parameters.
16634 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16635
16636 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16637 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16638
16639 * comint.el (comint-history-isearch-pop-state)
16640 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16641 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16642 (comint-substitute-in-file-name): Doc fix.
16643
16644 * completion.el (cmpl-statistics-block): Mark unused parameter.
16645 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16646 (save-completions-to-file, load-completions-from-file):
16647 Remove unused local variable `e'.
16648
16649 * composite.el (compose-chars): Remove unused variable `len'.
16650 (lgstring-insert-glyph): Remove unused variable `g'.
16651 (compose-glyph-string): Remove unused variables `ascent',
16652 `descent', `lbearing' and `rbearing'.
16653 (compose-glyph-string-relative): Remove unused variables
16654 `lbearing', `rbearing' and `wadjust'.
16655 (compose-gstring-for-graphic): Remove unused variables `header',
16656 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16657 (compose-gstring-for-terminal): Remove unused variables `header'
16658 and `nchars'. Use `let', not `let*'.
16659
16660 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16661 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16662 (Custom-buffer-done, custom-buffer-create-internal)
16663 (custom-browse-visibility-action, custom-browse-group-tag-action)
16664 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16665 (widget-magic-mouse-down-action, custom-toggle-parent)
16666 (custom-add-parent-links, custom-toggle-hide-variable)
16667 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16668 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16669 (custom-face-menu-create, custom-variable-menu-create, get)
16670 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16671 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16672 (customize-apropos): Remove unused variable `tests'.
16673 (custom-group-value-create): Remove unused variable `hidden-p'.
16674 (sort-fold-case): Declare.
16675
16676 * cus-theme.el (custom-reset-standard-faces-list)
16677 (custom-reset-standard-variables-list): Declare.
16678 (customize-create-theme, custom-theme-revert, custom-theme-write)
16679 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16680 Mark unused parameters.
16681
16682 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16683
16684 * delim-col.el (delimit-columns-max): Move defvar before first use.
16685
16686 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16687 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16688
16689 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16690 (auto-insert): Declare.
16691 (desktop-restore-file-buffer): Rename desktop-* parameters;
16692 mark unused ones.
16693 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16694 (desktop-buffer): Rename desktop-* parameters.
16695
16696 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16697 (dframe-reposition-frame-xemacs, dframe-help-echo)
16698 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16699 Mark unused parameters.
16700
16701 * dired-aux.el (backup-extract-version-start, overwrite-query)
16702 (overwrite-backup-query, rename-regexp-query)
16703 (rename-non-directory-query): Declare.
16704 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16705 (dired-add-entry): Remove unused variable `orig-file-name'.
16706 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16707 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16708 `dired-copy-preserve-time' directly.
16709 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16710 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16711
16712 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16713 (dired-virtual-revert, dired-make-relative-symlink):
16714 Mark unused parameters.
16715 (manual-program): Declare.
16716 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16717 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16718 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16719
16720 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16721
16722 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16723
16724 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16725 Declare.
16726
16727 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16728
16729 * electric.el (Electric-command-loop): Rename parameter
16730 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16731
16732 * expand.el (expand-in-literal): Remove unused variable `here'.
16733
16734 * facemenu.el (facemenu-add-new-color):
16735 Remove unused variable `docstring'.
16736
16737 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16738 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16739 (face-attr-construct): Mark unused parameter. Doc fix.
16740 (read-color): Remove unused variable `hex-string'.
16741
16742 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16743 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16744 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16745 (display-buffer-other-frame): Remove unused variable `old-window'.
16746 (kill-buffer-hook): Declare.
16747 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16748 Mark unused parameters.
16749 (after-find-file): Pass 1 to `auto-save-mode', not t.
16750
16751 * files-x.el (auto-insert): Declare.
16752 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16753
16754 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16755 variable `buf'. Mark unused parameter.
06b60517
JB
16756 (find-lisp-insert-directory): Mark unused parameter.
16757
16758 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16759 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16760 (format-common-tail): Remove, unused.
16761 (format-deannotate-region): Remove unused variable `loc'.
16762 (format-annotate-region): Remove unused variable `p'.
16763 (format-annotate-single-property-change): Remove unused variables
16764 `default' and `tail'.
16765
16766 * forms.el (read-file-filter): Declare.
16767 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16768
16769 * frame.el (frame-creation-function-alist): Mark unused parameter.
16770 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16771
16772 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16773 Remove unused parameters.
16774 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16775 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16776
16777 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16778 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16779 (hfy-prepare-tag-map): Mark unused parameters.
16780 (htmlfontify-buffer): Use `called-interactively-p'.
16781
16782 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16783 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16784 (ibuffer-do-occur): Mark unused parameters.
16785 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16786 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16787
16788 * ibuffer.el: Don't quote `lambda'.
16789 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16790 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16791 Mark unused parameters.
16792
16793 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16794 (ido-completing-read): Mark unused parameters.
16795 (ido-copy-current-word): Mark unused parameters;
16796 remove unused variable `name'.
16797 (ido-sort-merged-list): Remove unused parameter `dirs'.
16798
16799 * ielm.el (ielm-input-sender): Mark unused parameter.
16800 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16801 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16802 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16803 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16804 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16805
16806 * image-dired.el (image-dired-display-thumbs): Remove unused
16807 variables `curr-file' and `count'.
16808 (image-dired-remove-tag): Remove unused variable `start'.
16809 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16810 variable `curr-file'
16811 (image-dired-rotate-original): Remove unused variable `temp-file'.
16812 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16813 Remove unused variable `file'.
16814 (image-dired-gallery-generate): Remove unused variable `curr'.
16815 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16816
16817 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16818
16819 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16820
16821 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16822
16823 * isearch.el (minibuffer-history-symbol): Declare.
16824 (isearch-edit-string): Remove unused variable `err'.
16825 (isearch-message-prefix, isearch-message-suffix):
16826 Mark unused parameters.
16827
16828 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16829
16830 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16831
16832 * makesum.el (double-column): Remove unused variable `cnt'.
16833
16834 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16835 (ido-ignore-item-temp-list): Declare.
16836
16837 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16838 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16839 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16840 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16841 `mouse-col-delta'.
16842
16843 * mouse-sel.el (mouse-extend-internal):
16844 Remove unused variable `orig-window-frame'.
16845
16846 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16847 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16848 Move declarations before first use.
16849 (pcomplete-opt): Mark unused parameters; doc fix.
16850
16851 * proced.el (proced-revert): Mark unused parameter.
16852 (proced-send-signal): Remove unused variable `err'.
16853
16854 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16855 Rename parameter PREFIX-ARG to ARG.
16856 (ps-basic-plot-string, ps-basic-plot-whitespace):
16857 Mark unused parameters.
16858
16859 * replace.el (replace-count): Define.
16860 (occur-revert-function): Mark unused parameters.
16861 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16862 (isearch-case-fold-search, isearch-string): Declare.
16863 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16864 bind `case-fold-search'. Remove unused variables `beg' and `end',
16865 and simplify.
16866 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16867 COUNT and bind `replace-count'.
16868 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16869 to COUNT.
16870
16871 * savehist.el (print-readably, print-string-length): Declare.
16872
16873 * shadowfile.el (shadow-expand-cluster-in-file-name):
16874 Remove unused variable `cluster'.
16875 (shadow-copy-file): Remove unused variable `i'.
16876 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16877 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16878 (shadow-define-literal-group, shadow-define-regexp-group)
16879 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16880
16881 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16882 (shell): Use `called-interactively-p'.
16883 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16884
16885 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16886 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16887 (delete-backward-char): Remove unused variable `ocol'.
16888 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16889 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16890 (event-apply-hyper-modifier, event-apply-shift-modifier)
16891 (event-apply-control-modifier, event-apply-meta-modifier):
16892 Mark unused parameters.
16893 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16894 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16895
16896 * speedbar.el (speedbar-ignored-directory-expressions)
16897 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16898 (speedbar-find-file, speedbar-dir-follow)
16899 (speedbar-directory-buttons-follow, speedbar-tag-find)
16900 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16901 (speedbar-buffers-line-directory, speedbar-buffer-click):
16902 Mark unused parameters.
16903 (speedbar-tag-file): Remove unused variable `mode'.
16904 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16905
16906 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16907
16908 * talk.el (talk): Remove unused variable `display'.
16909
16910 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16911 (tar-write-region-annotate): Mark unused parameter.
16912
16913 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16914 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16915 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16916 warning by another.
16917
16918 * time-stamp.el (time-stamp-string-preprocess):
16919 Remove unused variable `require-padding'.
16920
16921 * tree-widget.el (widget-glyph-enable): Declare.
16922 (tree-widget-action): Mark unused parameter.
16923
16924 * w32-fns.el (x-get-selection): Mark unused parameter.
16925 (autoload-make-program, generated-autoload-file): Declare.
16926
16927 * wdired.el (wdired-revert): Mark unused parameters.
16928 (wdired-xcase-word): Remove unused variable `err'.
16929
16930 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16931 (whitespace-help-scroll): Remove unused variable `data-help'.
16932
16933 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16934 (widget-image-insert, widget-after-change, default)
16935 (widget-default-format-handler, widget-default-notify)
16936 (widget-default-prompt-value, widget-info-link-action)
16937 (widget-url-link-action, widget-function-link-action)
16938 (widget-variable-link-action, widget-file-link-action)
16939 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16940 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16941 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16942 (widget-insert-button-action, widget-delete-button-action, visibility)
16943 (widget-documentation-link-action, widget-documentation-string-action)
16944 (widget-const-prompt-value, widget-regexp-match, symbol)
16945 (widget-coding-system-prompt-value)
16946 (widget-key-sequence-value-to-external, sexp)
16947 (widget-sexp-value-to-internal, character, vector, cons)
16948 (widget-choice-prompt-value, widget-boolean-prompt-value)
16949 (widget-color--choose-action): Mark unused parameters.
16950 (widget-item-match-inline, widget-choice-match-inline)
16951 (widget-checklist-match, widget-checklist-match-inline)
16952 (widget-group-match): Rename parameter VALUES to VALS.
16953 (widget-field-value-set): Remove unused variable `size'.
16954 (widget-color-action): Remove unused variables `value' and `start'.
16955
16956 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16957 variable `dir'. Doc fix.
06b60517
JB
16958 (windmove-find-other-window): Don't pass it.
16959
16960 * window.el (count-windows): Mark unused parameter.
16961 (bw-adjust-window): Remove unused variable `err'.
16962
16963 * woman.el (woman-file-name): Remove unused variable `default'.
16964 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16965 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16966 (global-font-lock-mode): Declare.
16967 (woman-decode-region): Mark unused parameter.
16968 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16969
16970 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16971 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16972 (x-dnd-handle-moz-url): Remove unused variable `title'.
16973 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16974
16975 * xml.el (xml-parse-tag, xml-parse-attlist):
16976 Remove unused variable `pos'.
16977
bc4f7f3d
GM
169782011-04-19 Glenn Morris <rgm@gnu.org>
16979
16980 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16981 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16982 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16983 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16984 * calendar/cal-html.el (cal-html-insert-minical):
16985 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16986 (calendar-mark-date-pattern):
16987 Prefix "unused" locals.
16988
16989 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16990 optional argument `style'.
16991
16992 * calendar/appt.el (appt-make-list):
16993 * calendar/cal-china.el (calendar-chinese-date-string):
16994 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16995 (diary-hebrew-yahrzeit):
16996 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16997 * calendar/calendar.el (calendar-generate-window):
16998 * calendar/time-date.el (time-to-days):
16999 Remove unused local variables.
17000
16a43933
CY
170012011-04-18 Chong Yidong <cyd@stupidchicken.com>
17002
17003 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17004 glyphless-char-display table.
17005 (tabulated-list-glyphless-char-display): New var.
17006
7eed1860
SS
170072011-04-18 Sam Steingold <sds@gnu.org>
17008
17009 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17010 to acknowledgments.
17011
4d2d1ccd
GM
170122011-04-17 Glenn Morris <rgm@gnu.org>
17013
17014 * calendar/diary-lib.el (diary-sexp-entry):
17015 * calendar/holidays.el (holiday-sexp):
17016 Set debug-on-error rather than the removed stack-trace-on-error.
17017
239da61d
GM
170182011-04-16 Glenn Morris <rgm@gnu.org>
17019
17020 * progmodes/f90.el: Use lexical-binding.
17021 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17022
8b05752a
SM
170232011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17024
daca8ba5
SM
17025 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17026 (mail-mode): Setup mailalias completion here instead.
17027 * mail/mailalias.el: Use lexical-binding.
17028 (pattern, mailalias-done): Declare dynamic.
17029 (mail-completion-at-point-function): New function, from mail-complete.
17030 (mail-complete): Use it.
17031 (mail-completion-expand): New function.
17032 (mail-get-names): Use it.
17033 (mail-directory, mail-directory-process, mail-directory-stream):
17034 Don't use `pattern' for lexically bound arg.
17035
6f542485
SM
17036 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17037
037e7c3f
SM
17038 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17039 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17040 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17041
8b05752a
SM
17042 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17043 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17044 (byte-interactive-p): Define them again, for use when inlining
17045 old code.
17046
49093f60
JB
170472011-04-15 Juanma Barranquero <lekktu@gmail.com>
17048
17049 * loadup.el: Use `string-to-number', not `string-to-int'.
17050
b5b8e7de
SM
170512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17052
17053 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17054 gud-gdb-complete-command.
17055 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17056 (gud-gdb-completion-at-point): New function.
17057 (gud-gdb-completions): Remove.
17058
f42efeb5
MA
170592011-04-14 Michael Albinus <michael.albinus@gmx.de>
17060
49093f60
JB
17061 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17062 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17063 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17064 whether `executable-find' is bound.
f42efeb5
MA
17065
17066 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17067
e240cc21
SM
170682011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17069
17070 * minibuffer.el (completion-in-region-mode-predicate)
17071 (completion-in-region-mode--predicate): New vars.
17072 (completion-in-region, completion-in-region--postch)
17073 (completion-in-region-mode): Use them.
17074 (completion--capf-wrapper): Also return the hook function.
17075 (completion-at-point, completion-help-at-point):
17076 Adjust and provide a predicate.
c2bd2ab0
SM
17077
17078 Preserve arg names for advice of subr and lexical functions (bug#8457).
17079 * help-fns.el (help-function-arglist): Consolidate the subr and
17080 new-byte-code cases. Add argument `preserve-names' to extract names
17081 from the docstring when needed.
17082 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17083 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17084 (ad-arglist): Use help-function-arglist's new arg.
17085 (ad-definition-type): Use cond.
17086
c183f693
JB
170872011-04-13 Juanma Barranquero <lekktu@gmail.com>
17088
06641a47
JB
17089 * autorevert.el (auto-revert-handler):
17090 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17091 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17092 Don't quote lambda.
17093
c183f693
JB
17094 * image-mode.el (image-transform-set-scale):
17095 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17096
1e3b6001
G
170972011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17098
17099 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17100 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17101 Upgrades via gnutls-cli are too slow to be done opportunistically.
17102
2d6af8dd
JB
171032011-04-12 Juanma Barranquero <lekktu@gmail.com>
17104
17105 * dframe.el (dframe-current-frame): Remove spurious quote.
17106
c0749a51
GM
171072011-04-12 Glenn Morris <rgm@gnu.org>
17108
088d0d61
GM
17109 * calendar/cal-tex.el (cal-tex-end-document):
17110 Try to automatically use latin1 input if needed.
17111
c0749a51
GM
17112 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17113 Don't try to cons a mark onto an empty element.
17114
5c90fde0
LL
171152011-04-11 Leo Liu <sdl.web@gmail.com>
17116
17117 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17118 buffers.
17119 (ido-kill-buffer-at-head): Support killing virtual buffers.
17120
369e974d
CY
171212011-04-10 Chong Yidong <cyd@stupidchicken.com>
17122
17123 * minibuffer.el (completion-show-inline-help): New var.
17124 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17125 (minibuffer-force-complete, minibuffer-complete-word):
17126 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17127
17128 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17129 to avoid interference from inline help (Bug#5849).
17130
37f1c930
LL
171312011-04-10 Leo Liu <sdl.web@gmail.com>
17132
099c39a4
JB
17133 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17134 Fix typo.
37f1c930 17135
a32d4040
CY
171362011-04-09 Chong Yidong <cyd@stupidchicken.com>
17137
17138 * image-mode.el (image-toggle-display-image): Signal an error if
17139 not in Image mode.
17140 (image-transform-mode, image-transform-resize)
17141 (image-transform-set-rotation): Doc fix.
daca8ba5 17142 (image-transform-set-resize): Delete.
a32d4040
CY
17143 (image-transform-set-scale, image-transform-fit-to-height)
17144 (image-transform-fit-to-width): Handle image-toggle-display-image
17145 and image-transform-resize directly.
17146
099c39a4 171472011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17148
17149 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17150 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17151 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17152 (doc-view-mode-map): Add bindings for the new functions.
17153
099c39a4 171542011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17155
4d61f28d 17156 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17157 Fix typo in docstring.
17158
3726838a
EZ
171592011-04-08 Eli Zaretskii <eliz@gnu.org>
17160
04f33f1e
EZ
17161 * files.el (file-size-human-readable): Produce one digit after
17162 decimal, like "ls -lh" does.
17163
17164 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17165 the file size representation.
17166
3726838a
EZ
17167 * simple.el (list-processes): If async subprocesses are not
17168 available, error out with a clear error message.
17169
cbb59342
CY
171702011-04-08 Chong Yidong <cyd@stupidchicken.com>
17171
17172 * help.el (help-form-show): New function, to be called from C.
17173 Put help-form output in a buffer named differently than *Help*.
17174
e3971c44
EZ
171752011-04-08 Eli Zaretskii <eliz@gnu.org>
17176
17177 * files.el (file-size-human-readable): New function.
17178
17179 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17180 computing the representation inline. Don't require `cl'.
17181
12544bbe
GM
171822011-04-08 Glenn Morris <rgm@gnu.org>
17183
a1de6c6a
GM
17184 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17185
3c4671f4
GM
17186 * net/browse-url.el (browse-url-firefox):
17187 Test system-type, not system-configuration.
17188
b605679c
GM
17189 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17190 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17191 Use log-edit-empty-buffer-p. (Bug#7598)
17192
56442f0c
GM
17193 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17194 (rlogin-mode-map): Initialize in the defvar.
17195 (rlogin): Use ignore-errors.
17196
12544bbe
GM
17197 * replace.el (occur-mode-map): Some fixes for menu items.
17198
eb237b0f
AH
171992011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17200
17201 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17202
7d668f2c
CY
172032011-04-06 Chong Yidong <cyd@stupidchicken.com>
17204
e67a13ab
CY
17205 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17206 issuing unused warnings.
17207
17208 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17209 macro directly.
17210
7d668f2c
CY
17211 * simple.el: Lisp reimplement of list-processes. Based on an
17212 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17213 (process-menu-mode): New major mode.
17214 (list-processes--refresh, list-processes):
17215 (process-menu-visit-buffer): New functions.
17216
17217 * files.el (save-buffers-kill-emacs): Don't assume any return
17218 value of list-processes, which is undocumented anyway.
17219
a83ec3c9
CY
172202011-04-06 Chong Yidong <cyd@stupidchicken.com>
17221
17222 * emacs-lisp/tabulated-list.el: New file.
17223
e91a96fe
CY
17224 * emacs-lisp/package.el: Use Tabulated List mode.
17225 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17226 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17227 table format using Tabulated List mode variables.
17228 (package--push): New macro, replacing package-list-maybe-add.
17229 (package-menu--generate): Use package--push. Renamed from
17230 package--generate-package-list.
17231 (package-menu-refresh, list-packages): Use it.
daca8ba5 17232 (package-menu--print-info): Rename from package-print-package.
e91a96fe 17233 Return insertion data instead of inserting it directly.
099c39a4
JB
17234 (package-menu-describe-package, package-menu-execute):
17235 Use tabulated-list-get-id.
e91a96fe
CY
17236 (package-menu-mark-delete, package-menu-mark-install)
17237 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
17238 (package-menu-mark-obsolete-for-deletion):
17239 Use tabulated-list-put-tag.
e91a96fe
CY
17240 (package--list-packages, package-menu-revert)
17241 (package-menu-get-package, package-menu-get-version)
17242 (package-menu-sort-by-column): Functions deleted.
17243 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17244 (package-menu--status-predicate, package-menu--version-predicate)
17245 (package-menu--name-predicate)
17246 (package-menu--description-predicate): Handle arguments in the
17247 Tabulated List format.
17248 (package-list-packages-no-fetch): Call list-packages.
17249
3e214b50
JB
172502011-04-06 Juanma Barranquero <lekktu@gmail.com>
17251
17252 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 17253 (after-find-file): Don't bind it.
3e214b50
JB
17254 (revert-buffer-in-progress-p): New variable.
17255 (revert-buffer): Bind it.
17256 Pass nil for `after-find-file-from-revert-buffer'.
17257
17258 * saveplace.el (save-place-find-file-hook): Use new variable
17259 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17260
3f0f1700
GM
172612011-04-06 Glenn Morris <rgm@gnu.org>
17262
c0274801
GM
17263 * Makefile.in (AUTOGEN_VCS): New variable.
17264 (autoloads): Use $AUTOGEN_VCS.
17265
3f0f1700
GM
17266 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17267 * calendar/calendar.el (calendar-mode-map):
17268 Check for toolkit scroll bars. (Bug#8305)
17269
41ea9e48
CY
172702011-04-05 Chong Yidong <cyd@stupidchicken.com>
17271
17272 * minibuffer.el (completion-in-region--postch)
17273 (completion-in-region-mode): Remove unnecessary messages.
17274
6194c800
JB
172752011-04-05 Juanma Barranquero <lekktu@gmail.com>
17276
33256f14
JB
17277 * font-lock.el (font-lock-refresh-defaults):
17278 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17279 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17280
6194c800
JB
17281 * info.el (Info-directory-list, Info-read-node-name-2)
17282 (Info-split-parameter-string): Doc fixes.
17283 (Info-virtual-nodes): Reflow docstring.
17284 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17285 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17286 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17287 Fix typos in docstrings.
17288 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17289 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17290 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17291 (Info-restore-desktop-buffer): Mark unused parameters.
17292 (Info-directory-find-file, Info-directory-find-node)
17293 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17294 (Info-virtual-index-find-node, Info-apropos-find-file)
17295 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 17296 Mark unused parameters; fix typos in docstrings.
6194c800
JB
17297 (Info-virtual-index): Remove unused local variable `nodename'.
17298
b87a8200 172992011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 17300
b87a8200
DD
17301 * net/rcirc.el: Update my e-mail address.
17302 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 17303
3b2ff876
CY
173042011-04-05 Chong Yidong <cyd@stupidchicken.com>
17305
17306 * startup.el (command-line): Save the cursor's theme-face
17307 directly, instead of using face-override-spec.
17308
17309 * custom.el (load-theme): Minor optimization in assigning faces.
17310
8d17e7ca
JB
173112011-04-04 Juanma Barranquero <lekktu@gmail.com>
17312
17313 * help-fns.el (describe-variable): Complete all variables having
17314 documentation, including keywords.
17315 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17316
2fbc1934
JB
173172011-04-04 Juanma Barranquero <lekktu@gmail.com>
17318
17319 Convert to lexical-binding.
17320
17321 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17322 (bs--get-marked-string, bs--get-modified-string)
17323 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17324 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17325 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17326
17327 * ehelp.el (electric-help-execute-extended)
17328 (electric-help-ctrl-x-prefix):
17329 * hexl.el (hexl-revert-buffer-function):
17330 * linum.el (linum-after-change, linum-after-scroll):
17331 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17332
17333 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17334
74f50695
DU
173352011-04-04 Daiki Ueno <ueno@unixuser.org>
17336
17337 * epa-dired.el:
17338 * epa-mail.el:
17339 * epa-hook.el:
17340 * epa-file.el:
17341 * epa.el:
17342 * epg.el: Use lexical binding.
17343
c11325f7
CY
173442011-04-03 Chong Yidong <cyd@stupidchicken.com>
17345
0d9e9a12
CY
17346 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17347
c11325f7 17348 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
17349 dictionary case for flyspell-mark-duplications-exceptions.
17350 Use regexp matching for languages.
c11325f7
CY
17351 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17352 default dictionary (Bug#7926).
17353
da91b5f2
CY
173542011-04-02 Chong Yidong <cyd@stupidchicken.com>
17355
099c39a4
JB
17356 * emacs-lisp/package.el (package--with-work-buffer):
17357 Recognize https URLs.
da91b5f2 17358
099c39a4
JB
17359 * net/network-stream.el: Move from gnus/proto-stream.el.
17360 Change prefix to network-stream throughout.
da91b5f2
CY
17361 (open-protocol-stream): Merge into open-network-stream, leaving
17362 open-protocol-stream as an alias. Handle nil BUFFER args.
17363
17364 * subr.el (open-network-stream): Move to net/network-stream.el.
17365
afa8e9f6
GM
173662011-04-02 Glenn Morris <rgm@gnu.org>
17367
1d2e369d
GM
17368 * find-dired.el (find-exec-terminator): New option.
17369 (find-ls-option): Test for -ls support.
17370 (find-ls-subdir-switches): Test for -b in find-ls-option.
17371 (find-dired, find-grep-dired): Doc fixes.
17372 (find-dired): Use find-exec-terminator.
17373
8abb7da8 17374 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
17375 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17376 (find-name-arg): Remove purecopy.
8abb7da8 17377
f3ca7378
GM
17378 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17379 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17380 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17381 accordingly. Don't add the null-device if not needed.
17382
afa8e9f6
GM
17383 * files.el (save-some-buffers): Doc fix.
17384
35eae264
EZ
173852011-04-02 Eli Zaretskii <eliz@gnu.org>
17386
17387 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17388
26b51db5
JB
173892011-04-01 Juanma Barranquero <lekktu@gmail.com>
17390
17391 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17392 Use `dolist' rather than `mapcar'.
17393
7200d79c
SM
173942011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17395
03408648 17396 Add lexical binding.
7200d79c 17397
03408648
SM
17398 * subr.el (apply-partially): Use new closures rather than CL.
17399 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17400 (dolist, dotimes): Use slightly different expansion for lexical code.
17401 (functionp): Move to C.
17402 (letrec): New macro.
17403 (with-wrapper-hook): Use it and apply-partially instead of CL.
17404 (eval-after-load): Preserve lexical-binding.
17405 (save-window-excursion, with-output-to-temp-buffer): Turn them
17406 into macros.
7200d79c 17407
03408648
SM
17408 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17409
17410 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17411 than the arglist.
17412 (help-add-fundoc-usage): Don't add `Not documented'.
17413 (help-function-arglist): Handle closures, subroutines, and new
17414 byte-code-functions.
17415 (help-make-usage): Remove leading underscores.
17416 (describe-function-1): Handle closures.
17417 (describe-variable): Use special-variable-p for completion.
17418
17419 * files.el (lexical-binding): Declare safe.
f488fb65 17420
03408648
SM
17421 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17422 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17423 (pcase): Add `let' pattern.
17424 Change memoization so it actually works.
17425 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17426 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17427 <let>: New case.
f488fb65 17428
03408648
SM
17429 * emacs-lisp/macroexp.el: Use lexical binding.
17430 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17431 Don't convert ' to #' without checking that it's indeed quoting
17432 a lambda.
17433
17434 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 17435 Use eval-sexp-add-defvars.
03408648
SM
17436 (eval-sexp-add-defvars): New fun.
17437
17438 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17439
17440 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17441 Don't autoload.
17442 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17443 than the internal `byte-compile-lambda'.
17444 (defmethod): Don't hide code under quotes.
17445 (eieio-defmethod): New `code' argument.
17446
17447 * emacs-lisp/eieio-comp.el: Remove.
17448
17449 * emacs-lisp/edebug.el (edebug-eval-defun)
17450 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17451 (edebug-toggle): Avoid `eval'.
17452
17453 * emacs-lisp/disass.el (disassemble-internal): Handle new
17454 `closure' objects.
17455 (disassemble-1): Handle new byte codes.
17456
17457 * emacs-lisp/cl.el (pushnew): Silence warning.
17458
17459 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17460 (cl-byte-compile-throw): Remove.
17461 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17462
17463 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17464 closures.
17465
17466 * emacs-lisp/cconv.el: New file.
17467
17468 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17469 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17470 (byte-compile-initial-macro-environment):
17471 Handle declare-function here.
17472 (byte-compile--lexical-environment): New var.
17473 (byte-stack-ref, byte-stack-set, byte-discardN)
17474 (byte-discardN-preserve-tos): New lap codes.
17475 (byte-interactive-p): Don't use any more.
17476 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17477 New macros.
17478 (byte-compile-lapcode): Use them and handle new lap codes.
17479 (byte-compile-obsolete): Remove.
17480 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17481 (byte-compile-arglist-warn): Check late def of inlinable funs.
17482 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17483 since they should have been expanded by now.
17484 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17485 (byte-compile-from-buffer): Remove unused second arg.
17486 (byte-compile-preprocess): New function.
17487 (byte-compile-toplevel-file-form): New function to distinguish
17488 file-form calls from outside from file-form calls from hunk-handlers.
17489 (byte-compile-file-form): Simplify.
17490 (byte-compile-file-form-defsubst): Remove.
17491 (byte-compile-file-form-defmumble): Simplify now that
17492 byte-compile-lambda always returns a byte-code-function.
17493 (byte-compile): Preprocess.
17494 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17495 Remove, not used any more.
17496 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17497 (byte-compile-make-args-desc): New funs.
17498 (byte-compile-lambda): Handle lexical functions. Always return
17499 a byte-code-function.
17500 (byte-compile-reserved-constants): New var, to make up room for
17501 closed-over variables.
17502 (byte-compile-constants-vector): Obey it.
17503 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17504 (byte-compile-macroexpand-declare-function): New function.
17505 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17506 byte-code-functions.
17507 (byte-compile-form): Check obsolescence here.
17508 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17509 (byte-compile-variable-ref): Remove.
17510 (byte-compile-dynamic-variable-op): New fun.
17511 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17512 (byte-compile-variable-set): New funs.
17513 (byte-compile-discard): Add 2 args.
17514 (byte-compile-stack-ref, byte-compile-stack-set)
17515 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17516 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17517 macroexpand-all instead.
17518 (byte-compile-quote-form): Remove.
17519 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17520 (byte-compile-bind, byte-compile-unbind): New funs.
17521 (byte-compile-let): Handle let* and lexical binding.
17522 (byte-compile-let*): Remove.
17523 (byte-compile-catch, byte-compile-unwind-protect)
17524 (byte-compile-track-mouse, byte-compile-condition-case):
17525 Handle a new :fun-body form, used for lexical scoping.
17526 (byte-compile-save-window-excursion)
17527 (byte-compile-with-output-to-temp-buffer): Remove.
17528 (byte-compile-defun): Simplify.
17529 (byte-compile-stack-adjustment): New fun.
17530 (byte-compile-out): Use it.
17531 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17532
17533 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17534 handler any more.
17535
17536 * emacs-lisp/byte-opt.el: Use lexical binding.
17537 (byte-inline-lapcode): Remove (to bytecomp).
17538 (byte-compile-inline-expand): Pay attention to inlining to/from
17539 lexically bound code.
17540 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17541 any more.
17542 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17543 any more and don't call compiler-macros.
17544 (byte-compile-splice-in-already-compiled-code): Remove.
17545 (byte-code): Don't inline any more.
17546 (disassemble-offset): Receive `bytes' as argument rather than via
17547 dynamic scoping.
17548 (byte-compile-tag-number): Declare before first use.
17549 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17550 `return' even if make-spliceable.
17551 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17552 obsolete interactive-p.
17553 (byte-optimize-lapcode): Optimize new lap-codes.
17554 Don't trip up on new form of `byte-constant' lap code.
17555
17556 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17557
17558 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17559
17560 * custom.el (custom-initialize-default, custom-declare-variable):
17561 Use `defvar'.
17562
17563 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17564 New variables.
17565 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17566 (COMPILE_FIRST): Add macroexp and cconv.
17567 * makefile.w32-in: Mirror changes in Makefile.in.
17568
17569 * vc/cvs-status.el:
17570 * vc/diff-mode.el:
17571 * vc/log-edit.el:
17572 * vc/log-view.el:
17573 * vc/smerge-mode.el:
17574 * textmodes/bibtex-style.el:
090bd7cb 17575 * textmodes/css-mode.el:
03408648
SM
17576 * startup.el:
17577 * uniquify.el:
da91b5f2
CY
17578 * minibuffer.el:
17579 * newcomment.el:
17580 * reveal.el:
17581 * server.el:
17582 * mpc.el:
17583 * emacs-lisp/smie.el:
17584 * doc-view.el:
17585 * dired.el:
03408648
SM
17586 * abbrev.el: Use lexical binding.
17587
0f0c1f27
EZ
175882011-04-01 Eli Zaretskii <eliz@gnu.org>
17589
17590 * info.el (info-display-manual): New function.
17591
c82b2579
SM
175922011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17593
17594 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17595
221ddf68
TH
175962011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17597
17598 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17599 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17600
cba6e77e
GM
176012011-03-31 Glenn Morris <rgm@gnu.org>
17602
e040639f
GM
17603 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17604
cba6e77e
GM
17605 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17606
6d0f1c9e
CS
176072011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17608
17609 * progmodes/python.el (python-default-interpreter)
17610 (python-python-command-args, python-jython-command-args)
17611 (python-which-shell, python-which-args, python-which-bufname)
17612 (python-file-queue, python-comint-output-filter-function)
17613 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17614 variables and functions.
17615
3e2d70fd
SM
176162011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17619 (completion-in-region-mode): New minor mode.
17620 (completion-in-region): Use it.
17621 (completion-in-region--data, completion-in-region-mode-map): New vars.
17622 (completion-in-region--postch): New function.
17623 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17624 New vars.
17625 (completion--capf-wrapper): New function.
17626 (completion-at-point): Use it to track well-behavedness of
17627 hook functions.
17628 (completion-help-at-point): New command.
17629
f3e4086c
JM
176302011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17631
17632 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17633 syntax class to search for whitespace on a single line
17634 (Message-ID: <4D938140.4030905@redhat.com>).
17635
eb7ffc14
LL
176362011-03-30 Leo Liu <sdl.web@gmail.com>
17637
17638 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17639 New commands.
17640 (edit-abbrevs-map): Bind them here.
17641 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17642
d806ab68
KM
176432011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17644
17645 * allout.el (allout-hide-by-annotation, allout-flag-region):
17646 Reduce possibility of overlay leakage by making them volatile.
17647
17648 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17649 hash is not shared between buffers. Mode initialization is
17650 responsible for giving it a useful starting value.
17651 (allout-item-span): Reduce possibility of overlay leakage by
17652 making them volatile.
17653 (allout-widgets-count-buttons-in-region): Add diagnostic function
17654 for tracking down button overlay leaks.
17655
ea622834
LL
176562011-03-29 Leo Liu <sdl.web@gmail.com>
17657
17658 * ido.el (ido-read-internal): Use the default history var
17659 minibuffer-history if no HISTORY is specified.
17660
b62f8267
G
176612011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17662
03408648
SM
17663 * net/imap.el (imap-shell-open, imap-process-connection-type):
17664 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17665 Kerberos, SSL, other subprocesses.
17666
947b6566
LL
176672011-03-28 Leo Liu <sdl.web@gmail.com>
17668
17669 * abbrev.el (abbrev-table-empty-p): New function.
17670 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17671 nonempty ones. (Bug#5937)
17672
5ffb62aa
JD
176732011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17674
17675 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17676
7a097943
LL
176772011-03-27 Leo Liu <sdl.web@gmail.com>
17678
17679 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17680 for foreground and background colors.
17681 (ansi-color-make-color-map): Adapt.
17682
c5b40130
LL
176832011-03-25 Leo Liu <sdl.web@gmail.com>
17684
1f48f7d2
LL
17685 * midnight.el (midnight-time-float): Remove. Note it calculates
17686 the microsecond component incorrectly and seconds-to-time does the
17687 same job.
625897ec 17688 Remove redundant (require 'timer).
1f48f7d2 17689
c5b40130
LL
17690 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17691 (ido-completions): Remove unused arguments. (Bug#8329)
17692
d86d2721
SM
176932011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17694
17695 * minibuffer.el (completion--flush-all-sorted-completions):
17696 Remove itself from hook.
17697 (completion-at-point): Let the functions perform the completion
17698 immediately and return nil or t.
17699 * comint.el (comint-dynamic-complete-functions): Now identical to
17700 completion-at-point-functions.
17701 (comint-dynamic-list-input-ring): Remove unused var `index'.
17702 (comint--match-partial-filename, comint--unquote&expand-filename):
17703 New funs, split from comint-match-partial-filename.
17704 (comint-dynamic-complete): Use completion-at-point.
17705 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17706
e8974c48
DA
177072011-03-24 Drew Adams <drew.adams@oracle.com>
17708
17709 * thingatpt.el: Support `defun'.
17710
def71b5e
LL
177112011-03-23 Leo Liu <sdl.web@gmail.com>
17712
cb5af48e
LL
17713 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17714
def71b5e
LL
17715 * help-mode.el (help-mode-finish): Tweak regexp.
17716
927c53e7
GM
177172011-03-23 Glenn Morris <rgm@gnu.org>
17718
18d05bed
GM
17719 * eshell/esh-opt.el (eshell-eval-using-options):
17720 Do not bind unused local variable `eshell-option-stub'.
17721
927c53e7
GM
17722 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17723
9d0da923
JB
177242011-03-22 Juanma Barranquero <lekktu@gmail.com>
17725
17726 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17727 keymap variable in `with-no-warnings' to avoid a warning when the
17728 keymap has been already `defconst'ed.
17729
4b978a67
LL
177302011-03-22 Leo Liu <sdl.web@gmail.com>
17731
17732 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17733 encode all chars in abbrevs; otherwise use emacs-mule or
17734 utf-8-emacs. (Bug#8308)
17735
5fd62452
JB
177362011-03-22 Juanma Barranquero <lekktu@gmail.com>
17737
0b1596c6
JB
17738 * simple.el (backward-delete-char-untabify):
17739 Avoid warning about using `delete-backward-char'.
17740
5fd62452
JB
17741 * image.el (image-type-file-name-regexps): Make it variable.
17742 `imagemagick-register-types' modifies it, and the user may want
17743 to add new extensions for known image types.
17744 (imagemagick-register-types): Throw error if not using ImageMagick.
17745
0b4e93f1
LL
177462011-03-22 Leo Liu <sdl.web@gmail.com>
17747
17748 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17749 located before rcirc-prompt-end-marker.
17750 (rcirc-complete): Error if point is not after rcirc prompt.
17751 Handle the case when table is nil.
9882e214 17752 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17753
fccee4ab
CY
177542011-03-22 Chong Yidong <cyd@stupidchicken.com>
17755
17756 * custom.el (custom--inhibit-theme-enable): Make it affect only
17757 custom-theme-set-variables and custom-theme-set-faces.
17758 (provide-theme): Ignore custom--inhibit-theme-enable.
17759 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17760 (custom-enabling-themes): Delete variable.
d86d2721
SM
17761 (enable-theme): Accept only loaded themes as arguments.
17762 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17763 (custom-enabled-themes): Forbid themes from setting this.
17764 Eliminate use of custom-enabling-themes.
17765 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17766
af896da6
LL
177672011-03-21 Leo Liu <sdl.web@gmail.com>
17768
17769 * ido.el (ido-read-internal): Add ido-selected to history instead
17770 of user input.
17771
78f64af0
SM
177722011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17773
17774 * subr.el (deferred-action-list, deferred-action-function):
17775 Mark obsolete.
17776
b16ac1ec
LL
177772011-03-21 Leo Liu <sdl.web@gmail.com>
17778
810f7698
LL
17779 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17780 change on 2011-02-13 (bug#8309).
17781
b16ac1ec
LL
17782 * minibuffer.el (read-file-name-function): Change default value.
17783 (read-file-name--defaults): Rename from read-file-name-defaults.
17784 (read-file-name-default): Rename from read-file-name.
17785 (read-file-name): Call read-file-name-function.
17786
4e05e67e
GM
177872011-03-21 Glenn Morris <rgm@gnu.org>
17788
17789 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17790 Doc fixes.
17791
4359915b
CY
177922011-03-21 Chong Yidong <cyd@stupidchicken.com>
17793
17794 * cus-theme.el: Add missing provide statement.
17795 (customize-create-theme): Extract theme value correctly.
17796 (custom-theme-visit-theme): Autoload.
17797 (customize-create-theme): Prompt before inserting default faces.
17798
1fe275ee
JB
177992011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17800
17801 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17802 units and musical notes.
17803
cd394be1 178042011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17805
17806 * ido.el (ido-read-internal): Use completing-read-default.
17807 (ido-completing-read): Fix compatibility with completing-read.
17808
7d476bde
CO
178092011-03-20 Christian Ohler <ohler@gnu.org>
17810
17811 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17812 (ert-delete-all-tests): Use `called-interactively-p' rather than
17813 `interactive-p'.
17814 (ert--make-xrefs-region): Respect END.
17815
fe0fb33e
CY
178162011-03-19 Chong Yidong <cyd@stupidchicken.com>
17817
ff854b0b
CY
17818 * dired-aux.el (dired-create-directory): Signal an error if the
17819 directory already exists (Bug#8246).
17820
fe0fb33e
CY
17821 * facemenu.el (list-colors-display): Call list-faces-display
17822 inside with-help-window.
17823 (list-colors-print): Use display property to align the final
17824 column, instead of checking window-width.
17825
576bce32
EZ
178262011-03-19 Eli Zaretskii <eliz@gnu.org>
17827
4d61f28d 17828 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17829 windows-nt systems.
17830 (emerge-protect-metachars): Quote correctly for ms-dos and
17831 windows-nt systems.
17832
89c41d68 178332011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17834
17835 * info.el (info-initialize): Replace all uses of `:' with
17836 path-separator for compatibility with non-Unix systems.
17837 Cache quoting of path-separator. (Bug#8258)
17838
b14e3e21 178392011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17840
17841 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17842 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17843 (mouse-avoidance-mode): Fix typos in docstrings.
17844
4525ce3e
CY
178452011-03-19 Chong Yidong <cyd@stupidchicken.com>
17846
17847 * startup.el (package-subdirectory-regexp): Move from package.el.
17848 Omit \\` and \\', and let callers add them.
17849
17850 * emacs-lisp/package.el (package-strip-version)
17851 (package-load-all-descriptors): Add \\` and \\' to
17852 package-subdirectory-regexp before using it.
17853 (package-untar-buffer): New arg DIR; ensure that file untars only
17854 into this expected directory. Remove superfluous delete-region.
17855 (package-unpack): Caller changed.
17856 (package-tar-file-info): Use package-subdirectory-regexp.
17857
a904a09a 178582011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17859
a904a09a
SM
17860 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17861 diff-mode-shared-map (bug#8284).
17862 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17863
178642011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
17866 * calendar/time-date.el (format-seconds): Use assoc instead of
17867 assoc-string, since assoc-string doesn't exist in XEmacs.
17868
171fc304
JB
178692011-03-17 Juanma Barranquero <lekktu@gmail.com>
17870
17871 * custom.el (custom-known-themes): Reflow docstring.
17872 (custom-theme-load-path): Fix typo in docstring.
17873 (load-theme): Fix typo in error message.
17874 (custom-available-themes, custom-variable-theme-value):
17875 Use `let', not `let*'.
17876
d71990a1
JB
178772011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17878
17879 * calc/README: Mention inclusion of musical notes.
17880
17881 * calc/calc-units.el (calc-lu-quant): Rename from
17882 `calc-logunits-quantity'.
17883 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17884 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17885 (calc-db): Rename from `calc-dblevel'.
17886 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17887 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17888 (calc-np): Rename from `calc-nplevel'.
17889 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17890 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17891 (calc-lu-plus): Rename from `calc-logunits-add'.
17892 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17893 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17894 (calc-lu-minus): Rename from `calc-logunits-sub'.
17895 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17896 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17897 (calc-lu-times): Rename from `calc-logunits-mul'.
17898 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17899 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17900 (calc-lu-divide): Rename from `calc-logunits-div'.
17901 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17902 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17903
17904 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17905 functions being autoloaded.
17906
17907 * calc/calc.el (calc-lu-power-reference): Rename from
17908 `calc-logunits-power-reference'.
17909 (calc-lu-field-reference): Rename from
17910 `calc-logunits-field-reference'.
17911
7a71b18d
GM
17912 * calc/calc-help.el (calc-l-prefix-help):
17913 Mention musical note functions.
d71990a1 17914
40c2934b
SM
179152011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17916
17917 * minibuffer.el (completion-all-sorted-completions):
17918 Use :completion-cycle-penalty text property if present.
17919
b0911414
KM
179202011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17921
17922 * allout.el (allout-yank-processing): Adjust for new rebulleting
17923 regime so bullet being yanked is used without prompting the user
17924 for a choice.
17925
8a05b668
JB
179262011-03-16 Juanma Barranquero <lekktu@gmail.com>
17927
17928 * startup.el (command-line): Warn the user that _emacs is deprecated.
17929
5ba5fb81
JB
179302011-03-16 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17933 (delphi-verbose, delphi-comment-face, delphi-string-face)
17934 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17935 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17936 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17937 (delphi-new-comment-line, delphi-font-lock-defaults)
17938 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17939 Fix typos in docstrings.
17940
2dab465b
KM
179412011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17942
5ba5fb81 17943 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17944 Invert the roles of character and string values for INSTEAD, so a
17945 string is used for the more common case of a defaulting prompt.
17946
0adf5618
SM
179472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17948
17949 * progmodes/ruby-mode.el (ruby-backward-sexp):
17950 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17951 * play/gamegrid.el (gamegrid-make-face):
17952 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17953 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17954 * notifications.el (notifications-notify):
17955 * net/xesam.el (xesam-search-engines):
17956 * net/quickurl.el (quickurl-list-insert):
17957 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17958
d72700e5
CY
179592011-03-15 Chong Yidong <cyd@stupidchicken.com>
17960
17961 * startup.el (command-line): Update package subdirectory regexp.
17962
49c5410a
SM
179632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17964
c6eee9aa
SM
17965 * allout.el (allout-abbreviate-flattened-numbering)
17966 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17967
49c5410a
SM
17968 * subr.el (read-char-choice): Only show the cursor after the prompt,
17969 not after the answer.
17970
047b2bb9
KR
179712011-03-15 Kevin Ryde <user42@zip.com.au>
17972
17973 * help-fns.el (variable-at-point): Skip leading quotes, if any
17974 (bug#8253).
17975
0a57d256
SM
179762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17977
17978 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17979 warning message.
17980
77c992bc
MA
179812011-03-14 Michael Albinus <michael.albinus@gmx.de>
17982
17983 * shell.el (shell): When called interactively, offer to change the
17984 shell file name on remote hosts.
17985
eebc475d
TZ
179862011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17987
17988 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17989 integration for LDAP parameters. The host, base, user or binddn,
17990 and secret tokens can be specified in a netrc file, for instance.
17991 This is optional because an `auth-source' parameter must be
17992 specified in the search attributes.
17993
9d05d1ba
JB
179942011-03-13 Juanma Barranquero <lekktu@gmail.com>
17995
17996 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17997
09d9db2c
GM
179982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17999
18000 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18001 into declaration. Remove redundant and harmful binding.
18002
180032011-03-12 Eli Zaretskii <eliz@gnu.org>
18004
18005 * files.el (file-ownership-preserved-p): Pass `integer' as an
18006 explicit 2nd argument to `file-attributes'. If the file's owner
18007 is the Administrators group on Windows, and the current user is
18008 Administrator, consider that a match.
18009
18010 * server.el (server-ensure-safe-dir): Consider server directory
18011 safe on MS-Windows if its owner is the Administrators group while
18012 the current Emacs user is Administrator. Use `=' to compare
18013 numerical UIDs, since they could be integers or floats.
18014
219bd536
JB
180152011-03-12 Juanma Barranquero <lekktu@gmail.com>
18016
18017 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18018
f3afd36b
MA
180192011-03-12 Michael Albinus <michael.albinus@gmx.de>
18020
18021 Sync with Tramp 2.2.1.
18022
18023 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18024
18025 * net/trampver.el: Update release number.
18026
3aaaa6f1
SM
180272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18028
94642599
SM
18029 * progmodes/compile.el (compilation--previous-directory): Fix up
18030 various nil/dead-marker mismatches (bug#8014).
18031 (compilation-directory-properties, compilation-error-properties):
18032 Don't call it at a position past the one we're about to change.
18033
3aaaa6f1
SM
18034 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18035 Disable obsolescence warnings in the file that declares it.
18036
14239447
KM
180372011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18038
099c39a4
JB
18039 * allout-widgets.el (allout-widgets-tally):
18040 Initialize allout-widgets-tally as a hash table rather than nil to
18041 prevent mode-line redisplay warnings. Also, clarify the module
18042 description and fix a comment typo.
14239447 18043
135e287c
JB
180442011-03-11 Juanma Barranquero <lekktu@gmail.com>
18045
18046 * help-fns.el (describe-variable): Don't complete keywords.
18047 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18048
ffbf300e
CY
180492011-03-10 Chong Yidong <cyd@stupidchicken.com>
18050
ba08b241
CY
18051 * emacs-lisp/package.el (package-version-join): Impose a standard
18052 string representation for pre/alpha/beta version lists.
18053 (package-unpack-single): Standardize the directory name by passing
18054 it through package-version-join.
18055 (package-strip-rcs-id): Accept any version string that does not
18056 signal an error in version-to-list.
ffbf300e 18057
f346fd6b
MA
180582011-03-10 Michael Albinus <michael.albinus@gmx.de>
18059
18060 * simple.el (delete-trailing-whitespace): Return nil for the
18061 benefit of `write-file-functions'.
18062
ccb55d27
GM
180632011-03-10 Glenn Morris <rgm@gnu.org>
18064
5ceaac0c
GM
18065 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18066
02da65ff
GM
18067 * vc/vc-git.el (vc-git-program): New option.
18068 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18069 (vc-git--call): Use it.
18070
b2f603cc
GM
18071 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18072
5772caab
GM
18073 * cus-edit.el (Custom-newline): If no button at point, look
18074 for a subgroup button at start-of-line. (Bug#2298)
18075
ccb55d27
GM
18076 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18077
ec6ecaed
JD
180782011-03-10 Julien Danjou <julien@danjou.info>
18079
18080 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18081 `cursor-type' is nil.
18082
9d5aa01d
JB
180832011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18084
18085 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18086
b6a5875b
KM
180872011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18088
7a71b18d 18089 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18090 preserves the existing header prefix, rebulleting it if necessary,
18091 rather than replacing it. This is necessary for proper operation
18092 of cooperative addons like allout-widgets.
1154d12e
JB
18093 (allout-make-topic-prefix, allout-rebullet-heading):
18094 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18095 value as alternate bullet to be used, instead of prompting the user
18096 for a bullet character.
b6a5875b 18097
ee545c35
MA
180982011-03-09 Michael Albinus <michael.albinus@gmx.de>
18099
d86d2721
SM
18100 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18101 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18102 `tramp-default-port'.
18103
c47971d7
DD
181042011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18105
18106 * net/rcirc.el (rcirc-handler-001): Remove useless
18107 with-rcirc-process-buffer.
18108 (rcirc-check-auth-status): Swap arguments to string-match.
18109
13522cb4
GM
181102011-03-09 Glenn Morris <rgm@gnu.org>
18111
0be6f4f1
GM
18112 * shell.el (shell-mode):
18113 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18114
13522cb4
GM
18115 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18116 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18117
515de2e3
CY
181182011-03-08 Chong Yidong <cyd@stupidchicken.com>
18119
18120 * emacs-lisp/package.el (package-refresh-contents)
18121 (package-menu-execute): Use condition-case-no-debug.
18122
b511b994
MA
181232011-03-08 Michael Albinus <michael.albinus@gmx.de>
18124
18125 * simple.el (shell-command-to-string): Use `process-file'.
18126
18127 * emacs-lisp/package.el (package-tar-file-info): Handle also
18128 remote files.
18129
d86d2721
SM
18130 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18131 Use `equal' for upload base check.
b511b994 18132
25bbfb31
AM
181332011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18134
18135 * textmodes/texinfo.el (texinfo-environments):
18136 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18137
be996521
GM
181382011-03-08 Glenn Morris <rgm@gnu.org>
18139
e9c8529f
GM
18140 * cus-start.el (cursor-in-non-selected-windows):
18141 Fix :set quoting oddness. (Bug#8192)
18142
be996521
GM
18143 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18144 in some setf expressions. (Bug#2159)
18145
2bb5649e
CY
181462011-03-08 Chong Yidong <cyd@stupidchicken.com>
18147
18148 * custom.el (custom-available-themes): Return themes in
18149 alphabetical order.
18150
33383987 18151See ChangeLog.15 for earlier changes.
e3d51b27
MR
18152
18153;; Local Variables:
18154;; coding: utf-8
e3d51b27
MR
18155;; End:
18156
acaf905b 18157 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18158
18159 This file is part of GNU Emacs.
18160
18161 GNU Emacs is free software: you can redistribute it and/or modify
18162 it under the terms of the GNU General Public License as published by
18163 the Free Software Foundation, either version 3 of the License, or
18164 (at your option) any later version.
18165
18166 GNU Emacs is distributed in the hope that it will be useful,
18167 but WITHOUT ANY WARRANTY; without even the implied warranty of
18168 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18169 GNU General Public License for more details.
18170
18171 You should have received a copy of the GNU General Public License
18172 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.